-
Notifications
You must be signed in to change notification settings - Fork 63
/
hashdiff.gemspec
39 lines (31 loc) · 1.53 KB
/
hashdiff.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 << File.expand_path('lib', __dir__)
require 'hashdiff/version'
Gem::Specification.new do |s|
s.name = 'hashdiff'
s.version = Hashdiff::VERSION
s.license = 'MIT'
s.summary = ' Hashdiff is a diff lib to compute the smallest difference between two hashes. '
s.description = ' Hashdiff is a diff lib to compute the smallest difference between two hashes. '
s.files = `git ls-files`.split("\n").grep_v(%r{^spec/})
s.test_files = `git ls-files -- Appraisals {spec}/*`.split("\n")
s.require_paths = ['lib']
s.required_ruby_version = Gem::Requirement.new('>= 2.0.0')
s.authors = ['Liu Fengyun']
s.email = ['[email protected]']
s.homepage = 'https://github.com/liufengyun/hashdiff'
s.add_development_dependency('bluecloth')
s.add_development_dependency('rspec', '~> 3.5')
s.add_development_dependency('rubocop', '>= 1.52.1') # earliest version that works with Ruby 3.3
s.add_development_dependency('rubocop-rspec', '> 1.16.0') # https://github.com/rubocop/rubocop-rspec/issues/461
s.add_development_dependency('yard')
if s.respond_to?(:metadata)
s.metadata = {
'bug_tracker_uri' => 'https://github.com/liufengyun/hashdiff/issues',
'changelog_uri' => 'https://github.com/liufengyun/hashdiff/blob/master/changelog.md',
'documentation_uri' => 'https://www.rubydoc.info/gems/hashdiff',
'homepage_uri' => 'https://github.com/liufengyun/hashdiff',
'source_code_uri' => 'https://github.com/liufengyun/hashdiff'
}
end
end