lib/hoe.rb in hoe-3.3.1 vs lib/hoe.rb in hoe-3.4.0
- old
+ new
@@ -89,11 +89,11 @@
class Hoe
include Rake::DSL if defined?(Rake::DSL)
# duh
- VERSION = '3.3.1'
+ VERSION = '3.4.0'
@@plugins = [:clean, :debug, :deps, :flay, :flog, :newb, :package,
:publish, :gemcutter, :signing, :test]
@bad_plugins = []
@@ -796,18 +796,18 @@
end
##
# Declare that your gem requires a specific rubygems version. Last one wins.
- def require_rubygems_version version
- spec_extras[:required_rubygems_version] = version
+ def require_rubygems_version *versions
+ spec_extras[:required_rubygems_version] = versions
end
##
# Declare that your gem requires a specific ruby version. Last one wins.
- def require_ruby_version version
- spec_extras[:required_ruby_version] = version
+ def require_ruby_version *versions
+ spec_extras[:required_ruby_version] = versions
end
##
# Provide a linear degrading value from n to m over start to finis
# dates. If not provided, start and finis will default to 1/1 and