-
Notifications
You must be signed in to change notification settings - Fork 0
/
irb-power_assert.gemspec
39 lines (31 loc) · 1.22 KB
/
irb-power_assert.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
# coding: us-ascii
# frozen_string_literal: true
lib_name = 'irb-power_assert'
require_relative './lib/irb/power_assert/version'
repository_url = "https://github.com/kachick/#{lib_name}"
Gem::Specification.new do |gem|
gem.summary = %q{power_assert in irb}
gem.description = %q{Use power_assert inspection in irb}
gem.homepage = repository_url
gem.license = 'MIT'
gem.name = lib_name
gem.version = IRB::PowerAssert::VERSION
gem.metadata = {
'source_code_uri' => repository_url,
'bug_tracker_uri' => "#{repository_url}/issues",
'rubygems_mfa_required' => 'true',
}
gem.add_dependency 'irb', '>= 1.13.0', '< 2.0'
gem.add_dependency 'power_assert', '>= 2.0.3', '< 3.0'
gem.required_ruby_version = '>= 3.2'
# common
gem.authors = ['Kenichi Kamiya']
gem.email = ['kachick1+ruby@gmail.com']
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