ruote-dm.gemspec in ruote-dm-2.1.11 vs ruote-dm.gemspec in ruote-dm-2.2.0
- old
+ new
@@ -1,72 +1,32 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
-# -*- encoding: utf-8 -*-
+# encoding: utf-8
Gem::Specification.new do |s|
- s.name = %q{ruote-dm}
- s.version = "2.1.11"
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["John Mettraux"]
- s.date = %q{2010-10-01}
- s.description = %q{datamapper storage for ruote (a ruby workflow engine)}
- s.email = %q{jmettraux@gmail.com}
- s.extra_rdoc_files = [
- "LICENSE.txt",
- "README.rdoc"
+ s.name = 'ruote-dm'
+ s.version = File.read('lib/ruote/dm/version.rb').match(/VERSION = '([^']+)'/)[1]
+ s.platform = Gem::Platform::RUBY
+ s.authors = [ 'John Mettraux' ]
+ s.email = [ 'jmettraux@gmail.com' ]
+ s.homepage = 'http://ruote.rubyforge.org'
+ s.rubyforge_project = 'ruote'
+ s.summary = 'datamapper storage for ruote (a workflow engine)'
+ s.description = %q{
+datamapper storage for ruote (a workflow engine)
+}
+
+ #s.files = `git ls-files`.split("\n")
+ s.files = Dir[
+ 'Rakefile',
+ 'lib/**/*.rb', 'spec/**/*.rb', 'test/**/*.rb',
+ '*.gemspec', '*.txt', '*.rdoc', '*.md'
]
- s.files = [
- "CHANGELOG.txt",
- "CREDITS.txt",
- "LICENSE.txt",
- "README.rdoc",
- "Rakefile",
- "TODO.txt",
- "lib/ruote-dm.rb",
- "lib/ruote/dm.rb",
- "lib/ruote/dm/storage.rb",
- "lib/ruote/dm/version.rb",
- "ruote-dm.gemspec",
- "test/functional_connection.rb",
- "test/test.rb"
- ]
- s.homepage = %q{http://github.com/jmettraux/ruote-dm}
- s.rdoc_options = ["--charset=UTF-8"]
- s.require_paths = ["lib"]
- s.rubyforge_project = %q{ruote}
- s.rubygems_version = %q{1.3.6}
- s.summary = %q{datamapper storage for ruote (a ruby workflow engine)}
- s.test_files = [
- "test/test.rb"
- ]
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ s.add_runtime_dependency 'dm-core', '1.0.2'
+ s.add_runtime_dependency 'dm-migrations', '1.0.2'
+ s.add_runtime_dependency 'ruote', ">= #{s.version}"
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<ruote>, [">= 2.1.11"])
- s.add_runtime_dependency(%q<dm-core>, [">= 0"])
- s.add_runtime_dependency(%q<dm-migrations>, [">= 0"])
- s.add_development_dependency(%q<yard>, [">= 0"])
- s.add_development_dependency(%q<rake>, [">= 0"])
- s.add_development_dependency(%q<jeweler>, [">= 0"])
- else
- s.add_dependency(%q<ruote>, [">= 2.1.11"])
- s.add_dependency(%q<dm-core>, [">= 0"])
- s.add_dependency(%q<dm-migrations>, [">= 0"])
- s.add_dependency(%q<yard>, [">= 0"])
- s.add_dependency(%q<rake>, [">= 0"])
- s.add_dependency(%q<jeweler>, [">= 0"])
- end
- else
- s.add_dependency(%q<ruote>, [">= 2.1.11"])
- s.add_dependency(%q<dm-core>, [">= 0"])
- s.add_dependency(%q<dm-migrations>, [">= 0"])
- s.add_dependency(%q<yard>, [">= 0"])
- s.add_dependency(%q<rake>, [">= 0"])
- s.add_dependency(%q<jeweler>, [">= 0"])
- end
+ s.add_development_dependency 'rake'
+
+ s.require_path = 'lib'
end