This repository has been archived by the owner on Jan 4, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tnt_fuel_adjustment_coefficients.gemspec
44 lines (37 loc) · 1.96 KB
/
tnt_fuel_adjustment_coefficients.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
43
44
Gem::Specification.new do |s|
s.name = "tnt_fuel_adjustment_coefficients"
s.version = "0.1.0"
s.authors = ["Bob Maerten", "Clément Joubert"]
s.email = ["[email protected]", "[email protected]"]
s.date = "2018-11-16"
s.summary = "Retrieve current month's TNT's fuel surcharges"
s.description = "A simple gem to ease/automate getting this data every month."
s.homepage = "https://rubygems.org/gems/tnt_fuel_adjustment_coefficients"
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.
if s.respond_to?(:metadata)
s.metadata["allowed_push_host"] = "https://rubygems.org"
s.metadata["homepage_uri"] = s.homepage
s.metadata["source_code_uri"] = "https://github.com/levups/tnt_fuel_adjustment_coefficients"
s.metadata["changelog_uri"] = "https://github.com/levups/tnt_fuel_adjustment_coefficients/blob/master/CHANGELOG.md"
else
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
end
s.bindir = "exe"
s.executables = "tnt_fuel_adjustment_coefficients"
s.require_paths = ["lib"]
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
s.files = Dir.chdir(File.expand_path(__dir__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
# Signature config
s.cert_chain = ["certs/bob_levups.pem"]
s.signing_key = File.expand_path("~/.ssh/bob_levups-gem-private_key.pem") if $PROGRAM_NAME.end_with?("gem")
s.add_dependency "http", "~> 4.0"
s.add_development_dependency "bundler", "~> 1.17"
s.add_development_dependency "minitest", "~> 5.1"
s.add_development_dependency "minitest-stub_any_instance", "~> 1.0"
s.add_development_dependency "rake", "~> 12.3"
end