This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
fabrial.gemspec
56 lines (47 loc) · 2.26 KB
/
fabrial.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'fabrial/version'
Gem::Specification.new do |spec|
spec.name = 'fabrial'
spec.version = Fabrial::VERSION
spec.authors = ['Jeremy Mickelson', 'Tad Thorley', 'Ralph Mickelson']
spec.email = ['[email protected]']
spec.summary = 'Simply create test data inline with your tests'
spec.description = <<~DESCRIPTION
Fabrial makes it easy to follow the "Arrange, Act, Assert" pattern in your tests.
It makes it trivial to create your test data directly inline with your tests;
removing the need for hard-to-maintain fixture files or blueprints.
DESCRIPTION
spec.homepage = 'https://github.com/allydvm/fabrial'
spec.license = 'MIT'
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the
# 'allowed_push_host' to allow pushing to a single host or delete this section to allow
# pushing to any host.
# if spec.respond_to?(:metadata)
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
# else
# raise "RubyGems 2.0 or newer is required to protect against " \
# "public gem pushes."
# end
spec.files = `git ls-files -z`.split("\x0").reject do |f|
f.match(%r{^(test|spec|features)/})
end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.3.8'
spec.add_dependency 'activerecord', '> 4.2.0', '< 6.0'
spec.add_development_dependency 'appraisal', '~> 2.2', '>= 2.2.0'
spec.add_development_dependency 'bundler', '~> 1.0'
spec.add_development_dependency 'database_cleaner'
spec.add_development_dependency 'minitest', '~> 5.12', '>= 5.12.2'
spec.add_development_dependency 'minitest-focus', '~> 1.1', '>= 1.1.2'
spec.add_development_dependency 'minitest-reporters', '~> 1.3', '>= 1.3.8'
spec.add_development_dependency 'mocha'
spec.add_development_dependency 'pry'
spec.add_development_dependency 'pry-byebug'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rubocop', '~> 0.75.0'
spec.add_development_dependency 'sqlite3', '~> 1.3.0'
end