[Xfce4-commits] <moka:master> Avoid too recent constant.

Jannis Pohlmann noreply at xfce.org
Mon Jan 17 17:42:02 CET 2011


Updating branch refs/heads/master
         to 8cf240345bc6dcc1d38cf4ba66add25d894d0e93 (commit)
       from 615ee5d43768001a3dd917da9f3054dffa4ecdf1 (commit)

commit 8cf240345bc6dcc1d38cf4ba66add25d894d0e93
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Mon Jan 17 17:41:41 2011 +0100

    Avoid too recent constant.

 moka.gemspec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/moka.gemspec b/moka.gemspec
index e6db6a7..fff973d 100644
--- a/moka.gemspec
+++ b/moka.gemspec
@@ -65,7 +65,7 @@ Gem::Specification.new do |s|
     current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
     s.specification_version = 3
 
-    if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+    if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
       s.add_runtime_dependency(%q<pony>, ["= 0.3"])
       s.add_runtime_dependency(%q<sinatra>, ["= 0.9.2"])
       s.add_runtime_dependency(%q<warden>, ["= 0.2.3"])



More information about the Xfce4-commits mailing list