Permalink
Browse files

cleaned up gemspec file. releasing 1.5.1 version

  • Loading branch information...
kikito committed Jun 8, 2012
1 parent 5006c2e commit 8f541475bfa1c9df740a8743ad6f84f6c0537db7
Showing with 9 additions and 28 deletions.
  1. +1 −1 lib/to_xls/version.rb
  2. +8 −27 to_xls.gemspec
View
@@ -1,3 +1,3 @@
module ToXls
- VERSION = "1.5.0"
+ VERSION = "1.5.1"
end
View
@@ -13,34 +13,15 @@ Gem::Specification.new do |s|
s.rubyforge_project = "to_xls"
- s.files = `git ls-files`.split("\n")
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.files = Dir['**/*'].select{|f| File.file?(f)}
+ s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+ s.test_files = s.files.grep(%r{^(test|spec|features)/})
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
- # specify any dependencies here; for example:
- # s.add_development_dependency "rspec"
- # s.add_runtime_dependency "rest-client"
-
- if s.respond_to? :specification_version then
- s.specification_version = 3
-
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<spreadsheet>, [">= 0"])
- s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
- s.add_development_dependency(%q<rake>, ["~> 0.9.2"])
- else
- s.add_dependency(%q<spreadsheet>, [">= 0"])
- s.add_dependency(%q<rspec>, ["~> 2.3.0"])
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
- s.add_development_dependency(%q<rake>, ["~> 0.9.2"])
- end
- else
- s.add_dependency(%q<spreadsheet>, [">= 0"])
- s.add_dependency(%q<rspec>, ["~> 2.3.0"])
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
- s.add_development_dependency(%q<rake>, ["~> 0.9.2"])
- end
+ s.add_runtime_dependency "spreadsheet"
+ s.add_development_dependency "spreadsheet"
+ s.add_development_dependency "rspec", "~> 2.3.0"
+ s.add_development_dependency "bundler", "~> 1.1.0"
+ s.add_development_dependency "rake", "~> 0.9.2"
end

0 comments on commit 8f54147

Please sign in to comment.