Permalink
Browse files

gem path generation to correct pkg path

  • Loading branch information...
1 parent 89df289 commit b7fc4e0caf75a3e584c288985bb533486e2d173a Bruno Oliveira committed with guilhermesilveira Feb 16, 2011
Showing with 11 additions and 0 deletions.
  1. +11 −0 restfulie.gemspec
View
@@ -18,4 +18,15 @@ Gem::Specification.new do |s|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ else
+ end
+ else
+ end
+
end

0 comments on commit b7fc4e0

Please sign in to comment.