Skip to content

Commit

Permalink
Allow any listen version before 3.0.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed Feb 28, 2014
1 parent e37a516 commit 3103b4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -14,7 +14,7 @@ if RUBY_VERSION =~ /^1\.8/
elsif RUBY_VERSION =~ /^1\.9\.[012]$/ elsif RUBY_VERSION =~ /^1\.9\.[012]$/
gem 'listen', '>= 1.1.0', '< 2.0.0' gem 'listen', '>= 1.1.0', '< 2.0.0'
else else
gem 'listen', '>= 1.1.0', '< 2.5.0' gem 'listen', '>= 1.1.0', '< 3.0.0'
end end


gem 'rubyforge', :group => :development gem 'rubyforge', :group => :development
4 changes: 2 additions & 2 deletions ext/mkrf_conf.rb
Expand Up @@ -14,8 +14,8 @@
Gem::Command.build_args = ARGV Gem::Command.build_args = ARGV
inst = Gem::DependencyInstaller.new inst = Gem::DependencyInstaller.new
if Sass::Util.version_geq(RUBY_VERSION, "1.9.3") if Sass::Util.version_geq(RUBY_VERSION, "1.9.3")
puts "Installing listen >= 1.1.0, < 2.5" puts "Installing listen >= 1.1.0, < 3.0.0"
inst.install "listen", Gem::Requirement.new(">= 1.1.0", "< 2.5") inst.install "listen", Gem::Requirement.new(">= 1.1.0", "< 3.0.0")
else else
puts "Installing listen ~> 1.1.0" puts "Installing listen ~> 1.1.0"
inst.install "listen", "~> 1.1.0" inst.install "listen", "~> 1.1.0"
Expand Down

0 comments on commit 3103b4d

Please sign in to comment.