2018-10-07 21:45:51 -04:00
|
|
|
$LOAD_PATH << File.expand_path("lib", __dir__)
|
2018-08-15 10:39:30 -04:00
|
|
|
require "factory_bot/version"
|
2017-10-20 15:20:28 -04:00
|
|
|
|
|
|
|
Gem::Specification.new do |s|
|
2018-08-15 10:39:30 -04:00
|
|
|
s.name = "factory_bot"
|
2017-10-20 15:20:28 -04:00
|
|
|
s.version = FactoryBot::VERSION
|
2018-08-15 10:39:30 -04:00
|
|
|
s.summary = "factory_bot provides a framework and DSL for defining and "\
|
|
|
|
"using model instance factories."
|
|
|
|
s.description = "factory_bot provides a framework and DSL for defining and "\
|
|
|
|
"using factories - less error-prone, more explicit, and "\
|
|
|
|
"all-around easier to work with than fixtures."
|
2017-10-20 15:20:28 -04:00
|
|
|
|
2018-08-15 10:39:30 -04:00
|
|
|
s.files =
|
|
|
|
Dir.glob("lib/**/*") +
|
2019-02-15 17:38:33 -05:00
|
|
|
%w[CONTRIBUTING.md GETTING_STARTED.md LICENSE NAME.md NEWS.md README.md .yardopts]
|
2017-10-20 15:20:28 -04:00
|
|
|
|
2018-08-15 10:39:30 -04:00
|
|
|
s.require_path = "lib"
|
2019-01-04 22:19:11 -05:00
|
|
|
s.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
2017-10-20 15:20:28 -04:00
|
|
|
|
|
|
|
s.authors = ["Josh Clayton", "Joe Ferris"]
|
|
|
|
s.email = ["jclayton@thoughtbot.com", "jferris@thoughtbot.com"]
|
|
|
|
|
|
|
|
s.homepage = "https://github.com/thoughtbot/factory_bot"
|
2020-04-06 16:49:11 -04:00
|
|
|
s.metadata["changelog_uri"] = "https://github.com/thoughtbot/factory_bot/blob/master/NEWS.md"
|
2017-10-20 15:20:28 -04:00
|
|
|
|
2019-01-04 22:19:11 -05:00
|
|
|
s.add_dependency("activesupport", ">= 4.2.0")
|
2017-10-20 15:20:28 -04:00
|
|
|
|
2019-01-04 20:59:12 -05:00
|
|
|
s.add_development_dependency("activerecord")
|
|
|
|
s.add_development_dependency("appraisal")
|
2018-08-15 10:39:30 -04:00
|
|
|
s.add_development_dependency("aruba")
|
2019-01-04 20:59:12 -05:00
|
|
|
s.add_development_dependency("cucumber")
|
|
|
|
s.add_development_dependency("rake")
|
|
|
|
s.add_development_dependency("rspec")
|
|
|
|
s.add_development_dependency("rspec-its")
|
2020-01-17 14:40:13 -05:00
|
|
|
s.add_development_dependency("rubocop")
|
2019-05-12 22:38:46 -04:00
|
|
|
s.add_development_dependency("rubocop-performance")
|
2020-01-17 14:40:13 -05:00
|
|
|
s.add_development_dependency("rubocop-rails")
|
2017-10-20 15:20:28 -04:00
|
|
|
s.add_development_dependency("simplecov")
|
|
|
|
s.add_development_dependency("yard")
|
|
|
|
|
|
|
|
s.license = "MIT"
|
|
|
|
end
|