chronopost_fuel_adjustment_coefficients 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +3 -0
- data.tar.gz.sig +0 -0
- data/.gitignore +9 -0
- data/.rubocop.yml +18 -0
- data/.travis.yml +24 -0
- data/CHANGELOG.md +40 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +51 -0
- data/README.md +31 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/certs/bob_levups.pem +25 -0
- data/chronopost_fuel_adjustment_coefficients.gemspec +45 -0
- data/exe/chronopost_fuel_adjustment_coefficients +11 -0
- data/lib/chronopost_fuel_adjustment_coefficients.rb +49 -0
- metadata +175 -0
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e63ff2881d070db0c4320205b17fcb803c5e36996622c25500fd495f327fb7a7
|
4
|
+
data.tar.gz: 2f16f0f38ac807d6b9e64bf095e3ae46bc83ab037af97ca8cf78adb1986c0b1e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 3d8a576bcf361ab3d03bcc49db1e7f0b7ba03a2dc9a3498e897c3c170e144f8975080d331dcf129908bb77fcc69a35e5c96e59121daa362eee6bbfde223ae569
|
7
|
+
data.tar.gz: 97285431befdfa43ec86408f33149b22f11c655b70226cc0911ab8bfc831aea3e8aaa65147a998b2dc946d2ed1078387c7ba7e103fa5a057777fe7f5b3e4a4d1
|
checksums.yaml.gz.sig
ADDED
data.tar.gz.sig
ADDED
Binary file
|
data/.gitignore
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
Style/Documentation:
|
2
|
+
Enabled: false
|
3
|
+
|
4
|
+
Style/StringLiterals:
|
5
|
+
Enabled: false
|
6
|
+
|
7
|
+
Style/GuardClause:
|
8
|
+
Exclude:
|
9
|
+
- './*.gemspec'
|
10
|
+
|
11
|
+
Metrics/BlockLength:
|
12
|
+
Exclude:
|
13
|
+
- './*.gemspec'
|
14
|
+
|
15
|
+
Metrics/LineLength:
|
16
|
+
Exclude:
|
17
|
+
- './*.gemspec'
|
18
|
+
|
data/.travis.yml
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
---
|
2
|
+
sudo: false
|
3
|
+
|
4
|
+
language: ruby
|
5
|
+
|
6
|
+
rvm:
|
7
|
+
- 2.3
|
8
|
+
- 2.4
|
9
|
+
- 2.5
|
10
|
+
- 2.6
|
11
|
+
|
12
|
+
os:
|
13
|
+
- linux
|
14
|
+
- osx
|
15
|
+
|
16
|
+
cache:
|
17
|
+
bundler: true
|
18
|
+
|
19
|
+
before_install:
|
20
|
+
- gem install bundler -v 1.17.1
|
21
|
+
|
22
|
+
script:
|
23
|
+
- bundle install
|
24
|
+
- bundle exec rake test
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
## [v0.2.0](https://github.com/levups/chronopost_fuel_adjustment_coefficients/tree/v0.2.0) (2018-11-14)
|
4
|
+
[Full Changelog](https://github.com/levups/chronopost_fuel_adjustment_coefficients/compare/v0.1.1...v0.2.0)
|
5
|
+
|
6
|
+
**Fixed bugs:**
|
7
|
+
|
8
|
+
- chronopost\_fuel\_multiplier binary is not executable [\#2](https://github.com/levups/chronopost_fuel_adjustment_coefficients/issues/2)
|
9
|
+
|
10
|
+
**Closed issues:**
|
11
|
+
|
12
|
+
- Replace nokogiri with Oga [\#14](https://github.com/levups/chronopost_fuel_adjustment_coefficients/issues/14)
|
13
|
+
- Move from httparty to HTTPrb for HTTP requests [\#12](https://github.com/levups/chronopost_fuel_adjustment_coefficients/issues/12)
|
14
|
+
- Add tests to the gem [\#11](https://github.com/levups/chronopost_fuel_adjustment_coefficients/issues/11)
|
15
|
+
- Make coefficients results usable as a BigDecimal value [\#10](https://github.com/levups/chronopost_fuel_adjustment_coefficients/issues/10)
|
16
|
+
|
17
|
+
**Merged pull requests:**
|
18
|
+
|
19
|
+
- Replace httparty with HTTP.rb, unify code and add tests [\#13](https://github.com/levups/chronopost_fuel_adjustment_coefficients/pull/13) ([bobmaerten](https://github.com/bobmaerten))
|
20
|
+
- Bump httparty from 0.16.2 to 0.16.3 [\#9](https://github.com/levups/chronopost_fuel_adjustment_coefficients/pull/9) ([dependabot[bot]](https://github.com/apps/dependabot))
|
21
|
+
- \[Security\] Bump nokogiri from 1.8.4 to 1.8.5 [\#8](https://github.com/levups/chronopost_fuel_adjustment_coefficients/pull/8) ([dependabot[bot]](https://github.com/apps/dependabot))
|
22
|
+
- \[Security\] Bump nokogiri from 1.8.2 to 1.8.4 [\#6](https://github.com/levups/chronopost_fuel_adjustment_coefficients/pull/6) ([dependabot[bot]](https://github.com/apps/dependabot))
|
23
|
+
- Ensure we are using a recent version of Nokorigi [\#5](https://github.com/levups/chronopost_fuel_adjustment_coefficients/pull/5) ([czj](https://github.com/czj))
|
24
|
+
- upgrade: use latest gems to avoid vulnerability in Nokogiri [\#4](https://github.com/levups/chronopost_fuel_adjustment_coefficients/pull/4) ([czj](https://github.com/czj))
|
25
|
+
|
26
|
+
## [v0.1.1](https://github.com/levups/chronopost_fuel_adjustment_coefficients/tree/v0.1.1) (2017-03-08)
|
27
|
+
[Full Changelog](https://github.com/levups/chronopost_fuel_adjustment_coefficients/compare/v0.1.0...v0.1.1)
|
28
|
+
|
29
|
+
**Merged pull requests:**
|
30
|
+
|
31
|
+
- Fix chronopost\_fuel\_multiplier binary ACLs [\#3](https://github.com/levups/chronopost_fuel_adjustment_coefficients/pull/3) ([bobmaerten](https://github.com/bobmaerten))
|
32
|
+
|
33
|
+
## [v0.1.0](https://github.com/levups/chronopost_fuel_adjustment_coefficients/tree/v0.1.0) (2017-02-24)
|
34
|
+
**Merged pull requests:**
|
35
|
+
|
36
|
+
- Package as a gem [\#1](https://github.com/levups/chronopost_fuel_adjustment_coefficients/pull/1) ([czj](https://github.com/czj))
|
37
|
+
|
38
|
+
|
39
|
+
|
40
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
chronopost_fuel_adjustment_coefficients (0.2.1)
|
5
|
+
http (~> 4.0)
|
6
|
+
oga (~> 2.10)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
addressable (2.5.2)
|
12
|
+
public_suffix (>= 2.0.2, < 4.0)
|
13
|
+
ansi (1.5.0)
|
14
|
+
ast (2.4.0)
|
15
|
+
domain_name (0.5.20180417)
|
16
|
+
unf (>= 0.0.5, < 1.0.0)
|
17
|
+
http (4.0.0)
|
18
|
+
addressable (~> 2.3)
|
19
|
+
http-cookie (~> 1.0)
|
20
|
+
http-form_data (~> 2.0)
|
21
|
+
http_parser.rb (~> 0.6.0)
|
22
|
+
http-cookie (1.0.3)
|
23
|
+
domain_name (~> 0.5)
|
24
|
+
http-form_data (2.1.1)
|
25
|
+
http_parser.rb (0.6.0)
|
26
|
+
minitest (5.11.3)
|
27
|
+
minitest-stub_any_instance (1.0.2)
|
28
|
+
oga (2.15)
|
29
|
+
ast
|
30
|
+
ruby-ll (~> 2.1)
|
31
|
+
public_suffix (3.0.3)
|
32
|
+
rake (12.3.1)
|
33
|
+
ruby-ll (2.1.2)
|
34
|
+
ansi
|
35
|
+
ast
|
36
|
+
unf (0.1.4)
|
37
|
+
unf_ext
|
38
|
+
unf_ext (0.0.7.5)
|
39
|
+
|
40
|
+
PLATFORMS
|
41
|
+
ruby
|
42
|
+
|
43
|
+
DEPENDENCIES
|
44
|
+
bundler (~> 1.17)
|
45
|
+
chronopost_fuel_adjustment_coefficients!
|
46
|
+
minitest (~> 5.1)
|
47
|
+
minitest-stub_any_instance (~> 1.0)
|
48
|
+
rake (~> 12.3)
|
49
|
+
|
50
|
+
BUNDLED WITH
|
51
|
+
1.17.1
|
data/README.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# Chronopost Fuel Multipliers fetcher
|
2
|
+
|
3
|
+
Retrieve current air and road rates applied to Chronopost shipping costs and
|
4
|
+
convert them to multipliers we can directly use in our shipping cost
|
5
|
+
calculators.
|
6
|
+
|
7
|
+
## Usage
|
8
|
+
|
9
|
+
Install the gem:
|
10
|
+
|
11
|
+
$ gem install chronopost_fuel_adjustment_coefficients
|
12
|
+
|
13
|
+
Run the gem:
|
14
|
+
|
15
|
+
$ chronopost_fuel_adjustment_coefficients
|
16
|
+
|
17
|
+
Get the result:
|
18
|
+
|
19
|
+
# Fuel multipliers for 'Février 2017'
|
20
|
+
# Fetched from http://www.chronopost.fr/fr/surcharge-carburant
|
21
|
+
|
22
|
+
AIR_FUEL_MULTIPLIER = 1.1685
|
23
|
+
ROAD_FUEL_MULTIPLIER = 1.1150
|
24
|
+
|
25
|
+
Or use it in your app:
|
26
|
+
|
27
|
+
require 'chronopost_fuel_adjustment_coefficients'
|
28
|
+
|
29
|
+
ch = ChronopostFuelAdjustmentCoefficients.new
|
30
|
+
ch.road_multiplier # 0.11685e1
|
31
|
+
ch.air_multiplier # 0.1115e1
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "chronopost_fuel_adjustment_coefficients"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
-----BEGIN CERTIFICATE-----
|
2
|
+
M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4Q1m7yQK3wmm8SzHbn4hRl0TG
|
17
|
+
Bt3Q9/UB/N5w8HLOeYPR0wmfJ7ngrazqAnWPd/2tPFJ5ovy+zy5777ff2KNadCnI
|
18
|
+
PnNYEldJQinX2PFQrLQu6+ia9TFCS+xSGBLNuF6tdxLNj6wwXV4GbmpKCn+roEbw
|
19
|
+
x2KtEWqghlLMLa/NLl80bF4QOiT4hB5bCv3nP5NEJcyaaFPFtXQL5TConaMTZg3S
|
20
|
+
lGv70G/cGpn1QQjBeIJfxi1pSuJ1wKsQ3/kEJZ+qg8wuD1xHAQ03Rjteavbv/isW
|
21
|
+
2Ds/y1oZIwGFXS0eSJGGRAl6RDjg5ODbw1l1qp2EY0rMJjr6khCmfemTj1CHfaPr
|
22
|
+
1r0R3b6fBvWXGHOWc+LYj2Myd3ISW3d3d1GkcvdT6eka4r+3RrQzlC9zxTwcCuJw
|
23
|
+
jT8ozif/0OTSDY7+8Js1LxoE1c1miwLixh66/avBqoFcnMzfSkTmEv2xVoYiCk0M
|
24
|
+
CrJThrTFQhqQDaVx
|
25
|
+
-----END CERTIFICATE-----
|
@@ -0,0 +1,45 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
s.name = "chronopost_fuel_adjustment_coefficients"
|
3
|
+
s.version = "0.2.1"
|
4
|
+
s.authors = ["Bob Maerten", "Clément Joubert"]
|
5
|
+
s.email = ["bob@levups.com", "clement@levups.com"]
|
6
|
+
|
7
|
+
s.date = "2018-11-16"
|
8
|
+
s.summary = "Retrieve current month's Chronopost's fuel surcharges"
|
9
|
+
s.description = "A simple gem to ease/automate getting this data every month."
|
10
|
+
s.homepage = "https://rubygems.org/gems/chronopost_fuel_adjustment_coefficients"
|
11
|
+
s.license = "MIT"
|
12
|
+
|
13
|
+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
14
|
+
# to allow pushing to a single host or delete this section to allow pushing to any host.
|
15
|
+
if s.respond_to?(:metadata)
|
16
|
+
s.metadata["allowed_push_host"] = "https://rubygems.org"
|
17
|
+
|
18
|
+
s.metadata["homepage_uri"] = s.homepage
|
19
|
+
s.metadata["source_code_uri"] = "https://github.com/levups/chronopost_fuel_adjustment_coefficients"
|
20
|
+
s.metadata["changelog_uri"] = "https://github.com/levups/chronopost_fuel_adjustment_coefficients/blob/master/CHANGELOG.md"
|
21
|
+
else
|
22
|
+
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
23
|
+
end
|
24
|
+
|
25
|
+
s.bindir = "exe"
|
26
|
+
s.executables = "chronopost_fuel_adjustment_coefficients"
|
27
|
+
s.require_paths = ["lib"]
|
28
|
+
# Specify which files should be added to the gem when it is released.
|
29
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
30
|
+
s.files = Dir.chdir(File.expand_path(__dir__)) do
|
31
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
32
|
+
end
|
33
|
+
|
34
|
+
# Signature config
|
35
|
+
s.cert_chain = ["certs/bob_levups.pem"]
|
36
|
+
s.signing_key = File.expand_path("~/.ssh/bob_levups-gem-private_key.pem") if $PROGRAM_NAME.end_with?("gem")
|
37
|
+
|
38
|
+
s.add_dependency "http", "~> 4.0"
|
39
|
+
s.add_dependency "oga", "~> 2.10"
|
40
|
+
|
41
|
+
s.add_development_dependency "bundler", "~> 1.17"
|
42
|
+
s.add_development_dependency "minitest", "~> 5.1"
|
43
|
+
s.add_development_dependency "minitest-stub_any_instance", "~> 1.0"
|
44
|
+
s.add_development_dependency "rake", "~> 12.3"
|
45
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'chronopost_fuel_adjustment_coefficients'
|
5
|
+
|
6
|
+
ch = ChronopostFuelAdjustmentCoefficients.new
|
7
|
+
puts "# Fuel multipliers for #{ch.time_period}"
|
8
|
+
puts "# Fetched from #{ch.url}"
|
9
|
+
puts
|
10
|
+
puts "AIR_FUEL_MULTIPLIER = #{format '%.4f', ch.air_multiplier}"
|
11
|
+
puts "ROAD_FUEL_MULTIPLIER = #{format '%.4f', ch.road_multiplier}"
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'bigdecimal'
|
4
|
+
require 'http'
|
5
|
+
require 'oga'
|
6
|
+
|
7
|
+
class ChronopostFuelAdjustmentCoefficients
|
8
|
+
def initialize
|
9
|
+
@document = ::Oga.parse_html response.to_s
|
10
|
+
end
|
11
|
+
|
12
|
+
def time_period
|
13
|
+
el = @document.at_css('table.ch-table thead tr th:last-child')
|
14
|
+
return unless el
|
15
|
+
|
16
|
+
el.text.strip.gsub(/\s+/, ' ')
|
17
|
+
end
|
18
|
+
|
19
|
+
def air_multiplier
|
20
|
+
el = @document.at_css('table.ch-table tbody tr:last-child td:last-child')
|
21
|
+
return unless el
|
22
|
+
|
23
|
+
format_multiplier el.text
|
24
|
+
end
|
25
|
+
|
26
|
+
def road_multiplier
|
27
|
+
el = @document.at_css('table.ch-table tbody tr td:last-child')
|
28
|
+
return unless el
|
29
|
+
|
30
|
+
format_multiplier el.text
|
31
|
+
end
|
32
|
+
|
33
|
+
def url
|
34
|
+
'https://www.chronopost.fr/fr/surcharge-carburant'
|
35
|
+
end
|
36
|
+
|
37
|
+
private
|
38
|
+
|
39
|
+
def response
|
40
|
+
::HTTP.timeout(10).get(url)
|
41
|
+
rescue HTTP::Error
|
42
|
+
''
|
43
|
+
end
|
44
|
+
|
45
|
+
def format_multiplier(string)
|
46
|
+
number = (string.to_f / 100 + 1).round(4)
|
47
|
+
BigDecimal(number.to_s)
|
48
|
+
end
|
49
|
+
end
|
metadata
ADDED
@@ -0,0 +1,175 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: chronopost_fuel_adjustment_coefficients
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.1
|
5
|
+
platform: ruby
|
6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HREEEjAQgQ5i
|
27
|
+
b2JAbGV2dXBzLmNvbTAZBgNVHRIEEjAQgQ5ib2JAbGV2dXBzLmNvbTANBgkqhkiG
|
28
|
+
9w0BAQsFAAOCAYEAp/4YIwioG2eVCJ/rGuQXhkK4Q1m7yQK3wmm8SzHbn4hRl0TG
|
29
|
+
Bt3Q9/UB/N5w8HLOeYPR0wmfJ7ngrazqAnWPd/2tPFJ5ovy+zy5777ff2KNadCnI
|
30
|
+
PnNYEldJQinX2PFQrLQu6+ia9TFCS+xSGBLNuF6tdxLNj6wwXV4GbmpKCn+roEbw
|
31
|
+
x2KtEWqghlLMLa/NLl80bF4QOiT4hB5bCv3nP5NEJcyaaFPFtXQL5TConaMTZg3S
|
32
|
+
lGv70G/cGpn1QQjBeIJfxi1pSuJ1wKsQ3/kEJZ+qg8wuD1xHAQ03Rjteavbv/isW
|
33
|
+
2Ds/y1oZIwGFXS0eSJGGRAl6RDjg5ODbw1l1qp2EY0rMJjr6khCmfemTj1CHfaPr
|
34
|
+
1r0R3b6fBvWXGHOWc+LYj2Myd3ISW3d3d1GkcvdT6eka4r+3RrQzlC9zxTwcCuJw
|
35
|
+
jT8ozif/0OTSDY7+8Js1LxoE1c1miwLixh66/avBqoFcnMzfSkTmEv2xVoYiCk0M
|
36
|
+
CrJThrTFQhqQDaVx
|
37
|
+
-----END CERTIFICATE-----
|
38
|
+
date: 2018-11-16 00:00:00.000000000 Z
|
39
|
+
dependencies:
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: http
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '4.0'
|
47
|
+
type: :runtime
|
48
|
+
prerelease: false
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '4.0'
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: oga
|
56
|
+
requirement: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - "~>"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '2.10'
|
61
|
+
type: :runtime
|
62
|
+
prerelease: false
|
63
|
+
version_requirements: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '2.10'
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: bundler
|
70
|
+
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '1.17'
|
75
|
+
type: :development
|
76
|
+
prerelease: false
|
77
|
+
version_requirements: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '1.17'
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: minitest
|
84
|
+
requirement: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '5.1'
|
89
|
+
type: :development
|
90
|
+
prerelease: false
|
91
|
+
version_requirements: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '5.1'
|
96
|
+
- !ruby/object:Gem::Dependency
|
97
|
+
name: minitest-stub_any_instance
|
98
|
+
requirement: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '1.0'
|
103
|
+
type: :development
|
104
|
+
prerelease: false
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '1.0'
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: rake
|
112
|
+
requirement: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '12.3'
|
117
|
+
type: :development
|
118
|
+
prerelease: false
|
119
|
+
version_requirements: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '12.3'
|
124
|
+
description: A simple gem to ease/automate getting this data every month.
|
125
|
+
email:
|
126
|
+
- bob@levups.com
|
127
|
+
- clement@levups.com
|
128
|
+
executables:
|
129
|
+
- chronopost_fuel_adjustment_coefficients
|
130
|
+
extensions: []
|
131
|
+
extra_rdoc_files: []
|
132
|
+
files:
|
133
|
+
- ".gitignore"
|
134
|
+
- ".rubocop.yml"
|
135
|
+
- ".travis.yml"
|
136
|
+
- CHANGELOG.md
|
137
|
+
- Gemfile
|
138
|
+
- Gemfile.lock
|
139
|
+
- README.md
|
140
|
+
- Rakefile
|
141
|
+
- bin/console
|
142
|
+
- bin/setup
|
143
|
+
- certs/bob_levups.pem
|
144
|
+
- chronopost_fuel_adjustment_coefficients.gemspec
|
145
|
+
- exe/chronopost_fuel_adjustment_coefficients
|
146
|
+
- lib/chronopost_fuel_adjustment_coefficients.rb
|
147
|
+
homepage: https://rubygems.org/gems/chronopost_fuel_adjustment_coefficients
|
148
|
+
licenses:
|
149
|
+
- MIT
|
150
|
+
metadata:
|
151
|
+
allowed_push_host: https://rubygems.org
|
152
|
+
homepage_uri: https://rubygems.org/gems/chronopost_fuel_adjustment_coefficients
|
153
|
+
source_code_uri: https://github.com/levups/chronopost_fuel_adjustment_coefficients
|
154
|
+
changelog_uri: https://github.com/levups/chronopost_fuel_adjustment_coefficients/blob/master/CHANGELOG.md
|
155
|
+
post_install_message:
|
156
|
+
rdoc_options: []
|
157
|
+
require_paths:
|
158
|
+
- lib
|
159
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
160
|
+
requirements:
|
161
|
+
- - ">="
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '0'
|
164
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '0'
|
169
|
+
requirements: []
|
170
|
+
rubyforge_project:
|
171
|
+
rubygems_version: 2.7.7
|
172
|
+
signing_key:
|
173
|
+
specification_version: 4
|
174
|
+
summary: Retrieve current month's Chronopost's fuel surcharges
|
175
|
+
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|