exchange_rates_ni 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/exchange_rates_ni.rb +7 -1
  3. metadata +16 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 80cb92f74784287077264c7e9ce0e6992f40921a
4
- data.tar.gz: cf9c39c51feb7ac28ff71d0c911d9dc2c734b381
3
+ metadata.gz: 02b3cf339ecd6d08112f384094c94f2205b66a1d
4
+ data.tar.gz: 142522739e80b6c17aefc58d5b6af17e0039d434
5
5
  SHA512:
6
- metadata.gz: 29c1dd49f67f735858902f5c48e2d87c80a1c560d1fc479f4f7ac3c8133d7e9a951d293fe715d5f19229108bf4d534db567cf16fd81214b58f86bf88cfe46451
7
- data.tar.gz: b53e4487f46ca22f070eec511aa45aa22585dd62a307a3eb67feb636affee56d2599d765a4ebdd87a755386a81142c3fd7982905fef7435c79f568857221fc12
6
+ metadata.gz: 5f33bb175618f4c600480f2ef117e36d60657ebb04cf6e5a63b2daf4338a99e9c27956296844042552ed37f941872324781b2512ccd6f57ed0ae25f2ad027eb2
7
+ data.tar.gz: 71ad0a0a1e7f87d3afc5fe690455a3f35840118094221138d7830dfedbe3197237ea636eb9ea868f959eb97281a9a0c726a5686cc831f6206187ccb75592d7d0
@@ -1,4 +1,5 @@
1
- require_relative 'rates/bac'
1
+ require_relative 'exchange_rates_ni/bac'
2
+ require_relative 'exchange_rates_ni/bcn'
2
3
 
3
4
  class ExchangeRatesNi
4
5
  # currency: USD|EUR
@@ -15,4 +16,9 @@ class ExchangeRatesNi
15
16
  def bac
16
17
  Bac.new(@currency)
17
18
  end
19
+
20
+ # @bank: Bcn
21
+ def bcn
22
+ Bcn.new(@currency)
23
+ end
18
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exchange_rates_ni
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paulo McNally
@@ -11,27 +11,27 @@ cert_chain: []
11
11
  date: 2017-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: nokogiri
14
+ name: rest-client
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.7'
19
+ version: '2.0'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 1.7.0.1
22
+ version: 2.0.1
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: '1.7'
29
+ version: '2.0'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 1.7.0.1
32
+ version: 2.0.1
33
33
  - !ruby/object:Gem::Dependency
34
- name: rest-client
34
+ name: json
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '2.0'
40
40
  - - ">="
41
41
  - !ruby/object:Gem::Version
42
- version: 2.0.1
42
+ version: 2.1.0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,27 +49,27 @@ dependencies:
49
49
  version: '2.0'
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
- version: 2.0.1
52
+ version: 2.1.0
53
53
  - !ruby/object:Gem::Dependency
54
- name: json
54
+ name: savon
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
57
  - - "~>"
58
58
  - !ruby/object:Gem::Version
59
- version: '2.0'
59
+ version: '2.11'
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: 2.0.3
62
+ version: 2.11.1
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '2.0'
69
+ version: '2.11'
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
- version: 2.0.3
72
+ version: 2.11.1
73
73
  description: El tipo de cambio de los bancos que operan en Nicaragua
74
74
  email: paulomcnally@gmail.com
75
75
  executables: []
@@ -77,7 +77,7 @@ extensions: []
77
77
  extra_rdoc_files: []
78
78
  files:
79
79
  - lib/exchange_rates_ni.rb
80
- homepage: https://github.com/rubyni/x-exchange_rates_ni-ni
80
+ homepage: https://github.com/rubyni/exchange_rates_ni
81
81
  licenses:
82
82
  - MIT
83
83
  metadata: {}
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
97
  version: '0'
98
98
  requirements: []
99
99
  rubyforge_project:
100
- rubygems_version: 2.6.8
100
+ rubygems_version: 2.6.11
101
101
  signing_key:
102
102
  specification_version: 4
103
103
  summary: El tipo de cambio de los bancos en Nicaragua