-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathrspec-activemodel-mocks.gemspec
39 lines (34 loc) · 1.63 KB
/
rspec-activemodel-mocks.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
# frozen_string_literal: true
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
require 'rspec/active_model/mocks/version'
Gem::Specification.new do |s|
s.name = "rspec-activemodel-mocks"
s.version = RSpec::ActiveModel::Mocks::Version::STRING
s.platform = Gem::Platform::RUBY
s.license = "MIT"
s.authors = ["David Chelimsky", "Andy Lindeman", "Thomas Holmes"]
s.email = "[email protected]"
s.homepage = "https://github.com/rspec/rspec-activemodel-mocks"
s.summary = "rspec-activemodel-mocks-#{RSpec::ActiveModel::Mocks::Version::STRING}"
s.description = "RSpec test doubles for ActiveModel and ActiveRecord"
s.metadata = {
'bug_tracker_uri' => 'https://github.com/rspec/rspec-activemodel-mocks/issues',
'documentation_uri' => 'https://rspec.info/documentation/',
'mailing_list_uri' => 'https://groups.google.com/forum/#!forum/rspec',
'source_code_uri' => 'https://github.com/rspec/rspec-activemodel-mocks',
'rubygems_mfa_required' => 'true'
}
s.files = `git ls-files -- lib/*`.split("\n")
s.files += %w[README.md License.txt .yardopts]
s.test_files = `git ls-files -- {spec,features}/*`.split("\n")
s.rdoc_options = ["--charset=UTF-8"]
s.require_path = "lib"
private_key = File.expand_path('~/.gem/rspec-gem-private_key.pem')
if File.exist?(private_key)
s.signing_key = private_key
s.cert_chain = [File.expand_path('~/.gem/rspec-gem-public_cert.pem')]
end
s.add_dependency('activemodel', [">= 3.0"])
s.add_dependency('activesupport', [">= 3.0"])
s.add_dependency('rspec-mocks', [">= 2.99", "< 4.0"])
end