-
Notifications
You must be signed in to change notification settings - Fork 0
/
rspec-matchers-power_assert_matchers.gemspec
42 lines (33 loc) · 1.43 KB
/
rspec-matchers-power_assert_matchers.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
# coding: us-ascii
# frozen_string_literal: true
lib_name = 'rspec-matchers-power_assert_matchers'
require_relative 'lib/rspec/matchers/power_assert_matchers/version'
repository_url = "https://github.com/kachick/#{lib_name}"
Gem::Specification.new do |gem|
gem.summary = %q{`power_assert in rspec` as a pure custom matcher}
gem.description = %q{"ruby/power_assert" integration for RSpec. No monkey patching exists.}
gem.homepage = repository_url
gem.license = 'MIT'
gem.name = lib_name
gem.version = RSpec::Matchers::PowerAssertMatchers::VERSION
gem.metadata = {
'homepage_uri' => repository_url,
'source_code_uri' => repository_url,
'bug_tracker_uri' => "#{repository_url}/issues",
'rubygems_mfa_required' => 'true'
}
gem.add_dependency('rspec', '>= 3.5.0', '< 4.0')
gem.add_dependency('power_assert', '>= 2.0.3', '< 3.0')
gem.add_dependency('irb', '>= 1.4.0', '< 2.0') # To colorize
gem.required_ruby_version = '>= 3.2'
# common
gem.authors = ['Kenichi Kamiya']
gem.email = ['[email protected]']
might_be_parsing_by_tool_as_dependabot = `git ls-files`.lines.empty?
files = Dir['README*', '*LICENSE*', 'lib/**/*', 'sig/**/*'].uniq
if !might_be_parsing_by_tool_as_dependabot && files.grep(%r!\A(?:lib|sig)/!).size < 4
raise "obvious mistaken in packaging files: #{files.inspect}"
end
gem.files = files
gem.require_paths = ['lib']
end