Permalink
Browse files

Overhauled gemspec

* Added version constraints for key libraries
* White list ext/ files (don't include .dylib and .so files)
* Updated description
  • Loading branch information...
1 parent c5750ff commit c167b6a91fa04f0910e5352b848afc2a87f22ad8 @jvoorhis jvoorhis committed Jan 17, 2013
Showing with 18 additions and 18 deletions.
  1. +18 −18 ruby-llvm.gemspec
View
@@ -1,29 +1,29 @@
-require File.join(File.dirname(__FILE__), "lib/llvm/version")
+require File.expand_path('lib/llvm/version', File.dirname(__FILE__))
Gem::Specification.new do |s|
s.platform = Gem::Platform::RUBY
- s.name = "ruby-llvm"
+ s.name = 'ruby-llvm'
s.version = LLVM::RUBY_LLVM_VERSION
- s.summary = "LLVM bindings for Ruby"
- s.description = s.summary
- s.author = "Jeremy Voorhis"
- s.email = "jvoorhis@gmail.com"
- s.homepage = "http://github.com/jvoorhis/ruby-llvm"
+ s.summary = 'LLVM bindings for Ruby'
+ s.description = 'Ruby-LLVM is a Ruby language binding to the LLVM compiler infrastructure library.'
+ s.author = 'Jeremy Voorhis'
+ s.email = 'jvoorhis@gmail.com'
+ s.homepage = 'http://github.com/jvoorhis/ruby-llvm'
- s.require_path = "lib"
- s.files = Dir["lib/**/*.rb"] + Dir["ext/**/*"]
- s.test_files = Dir["test/**/*.rb"]
+ s.require_path = 'lib'
+ s.files = Dir['lib/**/*.rb']
+ s.files += %w(ext/ruby-llvm-support/Rakefile ext/ruby-llvm-support/support.cpp)
+ s.test_files = Dir['test/**/*.rb']
s.has_rdoc = true
- s.extra_rdoc_files = "README.rdoc"
+ s.extra_rdoc_files = %w(README.md LICENSE)
- s.extensions << "ext/ruby-llvm-support/Rakefile"
+ s.extensions << 'ext/ruby-llvm-support/Rakefile'
- s.add_dependency "ffi", ">= 1.0.0"
-
- s.add_development_dependency "ffi_gen", ">= 1.1.0"
- s.add_development_dependency "rake"
- s.add_development_dependency "simplecov"
- s.add_development_dependency "yard"
+ s.add_dependency 'ffi', '~> 1.3.1'
+ s.add_development_dependency 'ffi_gen', '~> 1.1.0'
+ s.add_development_dependency 'rake'
+ s.add_development_dependency 'simplecov'
+ s.add_development_dependency 'yard', '~> 0.8.3'
end

0 comments on commit c167b6a

Please sign in to comment.