fixerio_client 0.1.4 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 99132c5efadcd16ae53bace1bdeef5cbaaa407ce13206e372b2558a3e604e0dc
4
- data.tar.gz: 96bbcf9fea170f5918001052a37cc89c3f02c380a77df418d3a36493d7179d76
3
+ metadata.gz: 169ca83391dc3d9cbcb94d07d3ae491476695e567244e29e891585baabed10c4
4
+ data.tar.gz: 7f73cefbb02b4ddc8c265a50e218b220aa52ed00ca9048637336715e136ce64e
5
5
  SHA512:
6
- metadata.gz: 800d990c38e5e1caa3c2edf030172fcc11c4d3cc4912011ac9aca26c194098a7a746078dfb08ed2972294b94f2ec109dd7d15b5a6f5f0d43bb8205287a057def
7
- data.tar.gz: 63c47632bba92b5e7d0aae2524e849b265104ee8bd02ac123a14eaf296122fbf8de01a9b5e3be2e66cc8d3577b0b81e7ff46739478024f101fdff01c4656cdda
6
+ metadata.gz: ec7c9630cdc365e84079499d01689cf5381846a85764340b6dbca1e2052afd4b431c9b4104c073120b795605396f734dd9718c278a168ab0c189e7bce9e5134b
7
+ data.tar.gz: 86cbde16c2398a37e0a4e785517f261d7ad1fd35d19dd32ce4a35186f9e006fdf7443f6df2ad2bf636f7d6099c52b06f149f0cf00f5610ab5cb04094182fdef7
data/.gitignore CHANGED
@@ -1,5 +1,6 @@
1
1
  *.gem
2
2
  *.rbc
3
+ /.rspec_status
3
4
  /.config
4
5
  /config/fixerio_client.yml
5
6
  /coverage/
@@ -1,9 +1,9 @@
1
1
  example_id | status | run_time |
2
2
  ---------------------------------------------------------- | ------ | --------------- |
3
- ./spec/fixer/client/errors/invalid_response_spec.rb[1:1:1] | passed | 0.00038 seconds |
4
- ./spec/fixer/client/http_client_spec.rb[1:1:1] | passed | 0.00009 seconds |
5
- ./spec/fixer/client/http_client_spec.rb[1:1:2] | passed | 0.00007 seconds |
6
- ./spec/fixer/client/http_client_spec.rb[1:2:1] | passed | 0.00008 seconds |
7
- ./spec/fixer/client_spec.rb[1:1:1] | passed | 0.00642 seconds |
8
- ./spec/fixer/client_spec.rb[1:1:2] | passed | 0.00091 seconds |
9
- ./spec/fixer/client_spec.rb[1:2:1] | passed | 0.00015 seconds |
3
+ ./spec/fixer/client/errors/invalid_response_spec.rb[1:1:1] | passed | 0.00048 seconds |
4
+ ./spec/fixer/client/http_client_spec.rb[1:1:1] | passed | 0.00012 seconds |
5
+ ./spec/fixer/client/http_client_spec.rb[1:1:2] | passed | 0.00009 seconds |
6
+ ./spec/fixer/client/http_client_spec.rb[1:2:1] | passed | 0.00007 seconds |
7
+ ./spec/fixer/client_spec.rb[1:1:1] | passed | 0.0075 seconds |
8
+ ./spec/fixer/client_spec.rb[1:1:2] | passed | 0.00109 seconds |
9
+ ./spec/fixer/client_spec.rb[1:2:1] | passed | 0.00019 seconds |
@@ -1 +1 @@
1
- ruby-2.5.1
1
+ ruby-2.6.3
@@ -4,8 +4,10 @@ env:
4
4
  language: ruby
5
5
  cache: bundler
6
6
  rvm:
7
- - 2.2.3
8
- - 2.5.1
7
+ - 2.3.8
8
+ - 2.4.6
9
+ - 2.5.5
10
+ - 2.6.3
9
11
  before_script:
10
12
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
11
13
  - chmod +x ./cc-test-reporter
@@ -1,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fixerio_client (0.1.4)
4
+ fixerio_client (0.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- addressable (2.5.2)
9
+ addressable (2.6.0)
10
10
  public_suffix (>= 2.0.2, < 4.0)
11
11
  ansi (1.5.0)
12
12
  ast (2.4.0)
@@ -15,7 +15,7 @@ GEM
15
15
  safe_yaml (~> 1.0.0)
16
16
  diff-lcs (1.3)
17
17
  docile (1.3.1)
18
- hashdiff (0.3.7)
18
+ hashdiff (1.0.0)
19
19
  hirb (0.7.3)
20
20
  jaro_winkler (1.5.1)
21
21
  json (2.1.0)
@@ -27,7 +27,7 @@ GEM
27
27
  pry (0.11.3)
28
28
  coderay (~> 1.1.0)
29
29
  method_source (~> 0.9.0)
30
- public_suffix (3.0.3)
30
+ public_suffix (3.1.1)
31
31
  rainbow (3.0.0)
32
32
  rake (10.5.0)
33
33
  rspec (3.8.0)
@@ -52,7 +52,7 @@ GEM
52
52
  ruby-progressbar (~> 1.7)
53
53
  unicode-display_width (~> 1.0, >= 1.0.1)
54
54
  ruby-progressbar (1.10.0)
55
- safe_yaml (1.0.4)
55
+ safe_yaml (1.0.5)
56
56
  simplecov (0.16.1)
57
57
  docile (~> 1.1)
58
58
  json (>= 1.8, < 3)
@@ -66,16 +66,16 @@ GEM
66
66
  simplecov-html (0.10.2)
67
67
  unicode-display_width (1.4.0)
68
68
  vcr (4.0.0)
69
- webmock (3.4.2)
69
+ webmock (3.6.2)
70
70
  addressable (>= 2.3.6)
71
71
  crack (>= 0.3.2)
72
- hashdiff
72
+ hashdiff (>= 0.4.0, < 2.0.0)
73
73
 
74
74
  PLATFORMS
75
75
  ruby
76
76
 
77
77
  DEPENDENCIES
78
- bundler (~> 1.16)
78
+ bundler (~> 1.17.3)
79
79
  fixerio_client!
80
80
  pry (~> 0.11.0)
81
81
  rake (~> 10.0)
@@ -84,7 +84,7 @@ DEPENDENCIES
84
84
  simplecov-cobertura (~> 1.3.0)
85
85
  simplecov-console (~> 0.4.0)
86
86
  vcr (~> 4.0.0)
87
- webmock (~> 3.4.2)
87
+ webmock (~> 3.6.2)
88
88
 
89
89
  BUNDLED WITH
90
- 1.16.2
90
+ 1.17.3
data/README.md CHANGED
@@ -34,7 +34,7 @@ results = fixer.fetch(["USD", "GBP"])
34
34
  It gives result like:
35
35
 
36
36
  ```ruby
37
- => {"success"=>true, "timestamp"=>1538261947, "base"=>"EUR", "date"=>"2018-09-29", "rates"=>{"GBP"=>0.891903, "USD"=>1.162149}}
37
+ => {"success"=>true, "timestamp"=>1538261947, "base"=>"EUR", "date"=>"2018-09-29", "rates"=>{"GBP"=>0.891903, "USD"=>1.162149}}
38
38
  ```
39
39
 
40
40
  ## Development
@@ -45,7 +45,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
45
45
 
46
46
  ## Testing
47
47
 
48
- By default all requests to api.fixer.io are stubbed and VCR gem is used to replay HTTP responses.
48
+ By default all requests to https://api.fixer.io are stubbed and VCR gem is used to replay HTTP responses.
49
49
  If you want to send real requests, please copy `config/fixerio_client.yml.sample` to `config/fixerio_client.yml` and put your real API key there.
50
50
  Then run:
51
51
 
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ["config", "lib"]
25
25
 
26
- spec.add_development_dependency "bundler", "~> 1.16"
26
+ spec.add_development_dependency "bundler", "~> 1.17.3"
27
27
  spec.add_development_dependency "pry", "~> 0.11.0"
28
28
  spec.add_development_dependency "rake", "~> 10.0"
29
29
  spec.add_development_dependency "rspec", "~> 3.0"
@@ -31,5 +31,5 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency "simplecov-console", "~> 0.4.0"
32
32
  spec.add_development_dependency "simplecov-cobertura", "~> 1.3.0"
33
33
  spec.add_development_dependency "vcr", "~> 4.0.0"
34
- spec.add_development_dependency "webmock", "~> 3.4.2"
34
+ spec.add_development_dependency "webmock", "~> 3.6.2"
35
35
  end
@@ -1,5 +1,5 @@
1
1
  module Fixer
2
2
  module Client
3
- VERSION = "0.1.4"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fixerio_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grzegorz Błaszczyk
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-21 00:00:00.000000000 Z
11
+ date: 2019-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: 1.17.3
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.16'
26
+ version: 1.17.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pry
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 3.4.2
131
+ version: 3.6.2
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 3.4.2
138
+ version: 3.6.2
139
139
  description: Get latest or historic currency rates for base EUR from api.fixer.io
140
140
  email:
141
141
  - grzegorz.blaszczyk@gmail.com
@@ -183,8 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  - !ruby/object:Gem::Version
184
184
  version: '0'
185
185
  requirements: []
186
- rubyforge_project:
187
- rubygems_version: 2.7.7
186
+ rubygems_version: 3.0.4
188
187
  signing_key:
189
188
  specification_version: 4
190
189
  summary: Get latest or historic currency rates for base EUR from api.fixer.io