bagit.gemspec in bagit-0.1.0 vs bagit.gemspec in bagit-0.2.0
- old
+ new
@@ -1,20 +1,13 @@
-require 'semver'
-
-Gem::Specification.new do |spec|
- spec.name = "bagit"
- spec.version = SemVer.find.format '%M.%m.%p'
- spec.summary = "BagIt package generation and validation"
+BAGIT_SPEC = Gem::Specification.new do |spec|
+ spec.name = "bagit"
+ spec.version = '0.2.0'
+ spec.summary = "BagIt package generation and validation"
spec.description = "Ruby Library and Command Line tools for bagit"
- spec.email = "flazzarino@gmail.com"
- spec.homepage = 'http://github.com/flazz/bagit'
- spec.authors = ["Francesco Lazzarino"]
+ spec.email = "flazzarino@gmail.com"
+ spec.homepage = 'http://github.com/flazz/bagit'
+ spec.authors = ["Francesco Lazzarino"]
- spec.files = ["Rakefile", "bagit.gemspec", "lib/bagit/bag.rb",
- "lib/bagit/fetch.rb", "lib/bagit/file.rb",
- "lib/bagit/info.rb", "lib/bagit/manifest.rb",
- "lib/bagit/string.rb", "lib/bagit/valid.rb",
- "lib/bagit.rb" ]
+ spec.add_dependency 'validatable', '~> 1.6'
- spec.has_rdoc = true
- spec.add_dependency 'semver', '~> 0.1.0'
+ spec.files = %w(Rakefile README.md LICENSE.txt bagit.gemspec) + Dir["lib/**/*.rb"]
end