database_cleaner/database_cleaner.gemspec

69 lines
2.4 KiB
Ruby
Raw Normal View History

require 'yaml'
2015-03-09 12:19:16 -04:00
version = YAML.load_file 'VERSION.yml'
2009-03-04 23:48:20 -05:00
Gem::Specification.new do |s|
2012-10-11 11:56:57 -04:00
s.name = "database_cleaner"
2015-03-09 12:19:16 -04:00
s.version = "#{version[:major]}.#{version[:minor]}.#{version[:patch]}"
2009-03-04 23:48:20 -05:00
2013-05-13 23:22:49 -04:00
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
2015-01-22 05:26:47 -05:00
s.required_ruby_version = ">= 1.9.3"
2014-12-22 04:39:47 -05:00
s.require_paths = ["lib"]
s.authors = ["Ben Mabey", "Ernesto Tagwerker"]
2015-03-09 12:19:16 -04:00
s.description = "Strategies for cleaning databases. Can be used to ensure a clean state for testing."
s.email = "ernesto@ombulabs.com"
2009-04-30 23:35:23 -04:00
s.extra_rdoc_files = [
"LICENSE",
"README.markdown",
2012-10-11 11:56:57 -04:00
"TODO"
2009-04-30 23:35:23 -04:00
]
s.files = [
2014-12-22 04:39:47 -05:00
"CONTRIBUTE.markdown",
2010-08-22 17:14:50 -04:00
"Gemfile.lock",
"History.rdoc",
"README.markdown",
2012-10-11 11:56:57 -04:00
"Rakefile",
"VERSION.yml",
"cucumber.yml"]
s.files += Dir['lib/**/*.rb']
2015-01-27 08:01:20 -05:00
s.homepage = "http://github.com/DatabaseCleaner/database_cleaner"
2015-01-22 16:28:40 -05:00
s.license = 'MIT'
2015-01-02 15:14:04 -05:00
s.rubygems_version = "2.4.5"
2012-10-11 11:56:57 -04:00
s.summary = "Strategies for cleaning databases. Can be used to ensure a clean state for testing."
2014-12-22 04:39:47 -05:00
2015-07-11 19:27:15 -04:00
s.add_development_dependency "rake"
s.add_development_dependency "bundler"
s.add_development_dependency "json_pure"
s.add_development_dependency "activerecord-mysql2-adapter" unless RUBY_PLATFORM =~ /java/
s.add_development_dependency "activerecord"
s.add_development_dependency "datamapper"
s.add_development_dependency "dm-migrations"
s.add_development_dependency "dm-sqlite-adapter"
s.add_development_dependency "mongoid"
s.add_development_dependency "tzinfo"
s.add_development_dependency "mongoid-tree"
s.add_development_dependency "mongo_mapper"
s.add_development_dependency "moped"
s.add_development_dependency "neo4j-core"
s.add_development_dependency "couch_potato"
s.add_development_dependency "sequel", "~> 3.21.0"
s.add_development_dependency 'ohm', '~> 0.1.3'
s.add_development_dependency 'guard-rspec'
s.add_development_dependency "rspec-rails", "~> 2.14.2"
2015-07-11 19:27:15 -04:00
s.add_development_dependency "cucumber"
2013-03-04 05:06:10 -05:00
2015-07-11 19:27:15 -04:00
unless RUBY_PLATFORM =~ /java/
s.add_development_dependency "mongo_ext"
s.add_development_dependency "bson_ext"
s.add_development_dependency 'mysql', '~> 2.9.1'
s.add_development_dependency 'mysql2'
s.add_development_dependency 'pg'
s.add_development_dependency "sqlite3-ruby" if RUBY_VERSION < "1.9"
s.add_development_dependency "sqlite3" if RUBY_VERSION >= "1.9"
2014-12-22 04:39:47 -05:00
else
2015-07-11 19:27:15 -04:00
s.add_development_dependency "activerecord-jdbc-adapter"
2014-12-22 04:39:47 -05:00
end
2009-03-04 23:48:20 -05:00
end