Skip to content
Browse files

fixed version dependency issue

  • Loading branch information...
1 parent 38bdece commit cb57e39902ad00d6669cd32cc51ef8cdf1f0f17e @TwP committed Feb 7, 2011
Showing with 7 additions and 2 deletions.
  1. +5 −0 History.txt
  2. +1 −1 lib/bones/plugins/gem.rb
  3. +1 −1 version.txt
View
5 History.txt
@@ -1,3 +1,8 @@
+== 3.6.5 / 2011-02-07
+
+Bug Fixes
+ - fixed version dependency issue
+
== 3.6.4 / 2011-02-05
Enhancements
View
2 lib/bones/plugins/gem.rb
@@ -18,7 +18,7 @@ def depend_on( name, *args )
development = opts.key?(:development) ? opts[:development] : opts.key?(:dev) ? opts[:dev] : false
spec = Gem.source_index.find_name(name).last
- version = spec.version.to_s if version.nil? and !spec.nil?
+ version = ">= #{spec.version.to_s}" if version.nil? and !spec.nil?
dep = case version
when nil; [name]
View
2 version.txt
@@ -1 +1 @@
-3.6.4
+3.6.5

0 comments on commit cb57e39

Please sign in to comment.
Something went wrong with that request. Please try again.