Skip to content

Commit

Permalink
Updated gem_wrap task to depend on more recent version of Sprouts
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebayes committed Apr 18, 2009
1 parent 102bead commit 5621c04
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
10 changes: 9 additions & 1 deletion sprout/lib/sprout/tasks/gem_wrap_task.rb
Expand Up @@ -105,10 +105,18 @@ def execute(*args) # :nodoc:
s.email = @email
s.homepage = @homepage
s.rubyforge_project = 'sprout'
s.requirements << {'sprout', '>= 0.7.207'}
gem_dependencies.each do |dep|
s.requirements << dep
end

sprout_requirement = s.requirements.collect { |req|
(req[0] == 'sprout')
}

if(!sprout_requirement)
s.requirements << {'sprout', '>= 0.7.209'}
}

if(File.exists?('sprout.spec'))
files << 'sprout.spec'
end
Expand Down
2 changes: 1 addition & 1 deletion sprout/lib/sprout/version.rb
Expand Up @@ -3,7 +3,7 @@ module Sprout
module VERSION #:nodoc:
MAJOR = 0
MINOR = 7
TINY = 207
TINY = 209

STRING = [MAJOR, MINOR, TINY].join('.')
MAJOR_MINOR = [MAJOR, MINOR].join('.')
Expand Down
1 change: 1 addition & 0 deletions sprout/test/gem_wrap_test.rb
Expand Up @@ -39,5 +39,6 @@ def test_wrap_library
assert_file(@gem)
end



end

0 comments on commit 5621c04

Please sign in to comment.