forked from Casecommons/with_model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwith_model.gemspec
43 lines (36 loc) · 1.59 KB
/
with_model.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
# frozen_string_literal: true
$LOAD_PATH.push File.expand_path('lib', __dir__)
require 'with_model/version'
Gem::Specification.new do |spec|
spec.name = 'with_model'
spec.version = WithModel::VERSION
spec.authors = ['Case Commons, LLC', 'Grant Hutchins', 'Andrew Marshall']
spec.email = %w[casecommons-dev@googlegroups.com gems@nertzy.com andrew@johnandrewmarshall.com]
spec.homepage = 'https://github.com/Casecommons/with_model'
spec.summary = 'Dynamically build a model within an RSpec context'
spec.description = spec.summary
spec.license = 'MIT'
spec.metadata['rubygems_mfa_required'] = 'true'
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
spec.required_ruby_version = '>= 2.6'
spec.add_dependency 'activerecord', '>= 5.2'
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'minitest'
spec.add_development_dependency 'pry'
spec.add_development_dependency 'rake'
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rubocop'
spec.add_development_dependency 'rubocop-minitest'
spec.add_development_dependency 'rubocop-rake'
spec.add_development_dependency 'rubocop-rspec'
spec.add_development_dependency 'simplecov'
spec.add_development_dependency 'yard'
if RUBY_PLATFORM == 'java'
spec.add_development_dependency 'activerecord-jdbcsqlite3-adapter'
else
spec.add_development_dependency 'sqlite3'
end
end