-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathminting.gemspec
36 lines (30 loc) · 1.18 KB
/
minting.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
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'minting/version'
Gem::Specification.new do |s|
s.name = 'minting'
s.summary = 'Library to manipulate currency values'
s.description = s.summary
s.homepage = 'https://github.com/gferraz/minting'
s.version = Minting::VERSION
s.authors = ['Gilson Ferraz']
s.email = []
s.license = 'MIT'
# Prevent pushing this gem to RubyGems.org.
# To allow pushes either set the 'allowed_push_host' to allow pushing to
# a single host or delete this section to allow pushing to any host.
raise 'RubyGems 3.2 or newer is required' unless s.respond_to?(:metadata)
s.metadata = {
'bug_tracker_uri' => "#{s.homepage}/issues",
'changelog_uri' => "#{s.homepage}/blob/master/CHANGELOG.md",
'homepage_uri' => s.homepage,
'source_code_uri' => s.homepage,
'allowed_push_host' => 'https://rubygems.org',
'rubygems_mfa_required' => 'true'
}
s.required_ruby_version = '>= 3.2.0'
s.files = Dir.glob('{bin,doc,lib}/**/*')
s.files += %w[minting.gemspec Rakefile README.md]
s.bindir = 'bin'
s.require_paths = ['lib']
end