carmen-iso-4217 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 53997cca408fe7c628613160375bfdd18b0af04b
4
+ data.tar.gz: 1a652d0ebed1c0d8406398f70abe2d08f2f1b5fc
5
+ SHA512:
6
+ metadata.gz: d2cc704afe83bdb599c5cc87c12e222c9f7a6c50709353d40398af4f1be3fe55c6bbba0898e3f6c73ff43d7f39f35b2f4dba8506f6043cc81fe5d55a0a1ae5c0
7
+ data.tar.gz: 66ff50925c528c6e01b2b315616878906d56718afccb2b077a2accf5db318e2a8c7048c656c34fed5ba54da593c5928c2cb292804d3e29ee05c3a7692daa7c7a
data/.gitignore ADDED
@@ -0,0 +1,23 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ *.bundle
19
+ *.so
20
+ *.o
21
+ *.a
22
+ mkmf.log
23
+ username
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,5 @@
1
+ Style/Documentation:
2
+ Enabled: false
3
+
4
+ Style/RaiseArgs:
5
+ Enabled: false
data/Gemfile ADDED
@@ -0,0 +1,7 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in carmen-iso-4217.gemspec
4
+ gemspec
5
+
6
+ # see https://github.com/buytruckload/geonames_api/issues/24
7
+ gem 'geonames_api', github: 'buytruckload/geonames_api'
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014 Cyle Hunter
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Cyle
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,33 @@
1
+ # Carmen ISO 4217
2
+
3
+ Adds a new `currency_code` method to the [Carmen](https://github.com/jim/carmen) gem's Country object. This will return the ISO 4217 currency code associated with the country. Currency codes are retrieved from the [GeoNames](http://www.geonames.org/) webservice using the [geonames_api](https://github.com/buytruckload/geonames_api) gem.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'carmen-iso-4217'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install carmen-iso-4217
18
+
19
+ ## Usage
20
+
21
+ Fetch a Carmen::Country object and call the new currency_code method on it:
22
+ ```ruby
23
+ country = Carmen::Country.coded('ca')
24
+ country.country_code #=> 'CAD'
25
+ ```
26
+
27
+ ## Contributing
28
+
29
+ 1. Fork it ( https://github.com/[my-github-username]/carmen-iso-4217/fork )
30
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
31
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
32
+ 4. Push to the branch (`git push origin my-new-feature`)
33
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rspec/core/rake_task'
3
+
4
+ Dir.glob('tasks/*.rake').each { |r| import r }
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
9
+
10
+ task :console do
11
+ exec 'pry -r iso_4217 -I ./lib/carmen'
12
+ end
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'carmen/iso_4217/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'carmen-iso-4217'
8
+ spec.version = Carmen::ISO4217::VERSION
9
+ spec.authors = ['Cyle']
10
+ spec.email = ['cylehunter33@gmail.com']
11
+ spec.summary = 'Adds ISO 4217 currency names to Carmen::Country'
12
+ spec.description = 'Adds ISO 4217 currency names to Carmen::Country'
13
+ spec.homepage = 'https://github.com/nozpheratu/carmen-iso-4217'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(/^bin/) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(/^(test|spec|features)/)
19
+ spec.require_paths = ['lib']
20
+
21
+ spec.add_dependency 'carmen'
22
+
23
+ spec.add_development_dependency 'bundler', '~> 1.6'
24
+ spec.add_development_dependency 'rake'
25
+ # spec.add_development_dependency 'geonames_api'
26
+ spec.add_development_dependency 'rubocop'
27
+ spec.add_development_dependency 'pry'
28
+ spec.add_development_dependency 'rspec'
29
+ end
@@ -0,0 +1,16 @@
1
+ require 'carmen'
2
+ require 'carmen/iso_4217/version'
3
+
4
+ module Carmen
5
+ locale_path = File.expand_path('../../../locale', __FILE__)
6
+ i18n_backend.append_locale_path(locale_path)
7
+
8
+ class Country
9
+ def currency_code
10
+ Carmen.i18n_backend.translate(path('currency_code'))
11
+ end
12
+ end
13
+
14
+ module ISO4217
15
+ end
16
+ end
@@ -0,0 +1,5 @@
1
+ module Carmen
2
+ module ISO4217
3
+ VERSION = '0.0.1'
4
+ end
5
+ end
@@ -0,0 +1,503 @@
1
+ ---
2
+ en:
3
+ world:
4
+ ad:
5
+ currency_code: EUR
6
+ ae:
7
+ currency_code: AED
8
+ af:
9
+ currency_code: AFN
10
+ ag:
11
+ currency_code: XCD
12
+ ai:
13
+ currency_code: XCD
14
+ al:
15
+ currency_code: ALL
16
+ am:
17
+ currency_code: AMD
18
+ ao:
19
+ currency_code: AOA
20
+ aq:
21
+ currency_code: ''
22
+ ar:
23
+ currency_code: ARS
24
+ as:
25
+ currency_code: USD
26
+ at:
27
+ currency_code: EUR
28
+ au:
29
+ currency_code: AUD
30
+ aw:
31
+ currency_code: AWG
32
+ ax:
33
+ currency_code: EUR
34
+ az:
35
+ currency_code: AZN
36
+ ba:
37
+ currency_code: BAM
38
+ bb:
39
+ currency_code: BBD
40
+ bd:
41
+ currency_code: BDT
42
+ be:
43
+ currency_code: EUR
44
+ bf:
45
+ currency_code: XOF
46
+ bg:
47
+ currency_code: BGN
48
+ bh:
49
+ currency_code: BHD
50
+ bi:
51
+ currency_code: BIF
52
+ bj:
53
+ currency_code: XOF
54
+ bl:
55
+ currency_code: EUR
56
+ bm:
57
+ currency_code: BMD
58
+ bn:
59
+ currency_code: BND
60
+ bo:
61
+ currency_code: BOB
62
+ bq:
63
+ currency_code: USD
64
+ br:
65
+ currency_code: BRL
66
+ bs:
67
+ currency_code: BSD
68
+ bt:
69
+ currency_code: BTN
70
+ bv:
71
+ currency_code: NOK
72
+ bw:
73
+ currency_code: BWP
74
+ by:
75
+ currency_code: BYR
76
+ bz:
77
+ currency_code: BZD
78
+ ca:
79
+ currency_code: CAD
80
+ cc:
81
+ currency_code: AUD
82
+ cd:
83
+ currency_code: CDF
84
+ cf:
85
+ currency_code: XAF
86
+ cg:
87
+ currency_code: XAF
88
+ ch:
89
+ currency_code: CHF
90
+ ci:
91
+ currency_code: XOF
92
+ ck:
93
+ currency_code: NZD
94
+ cl:
95
+ currency_code: CLP
96
+ cm:
97
+ currency_code: XAF
98
+ cn:
99
+ currency_code: CNY
100
+ co:
101
+ currency_code: COP
102
+ cr:
103
+ currency_code: CRC
104
+ cu:
105
+ currency_code: CUP
106
+ cv:
107
+ currency_code: CVE
108
+ cw:
109
+ currency_code: ANG
110
+ cx:
111
+ currency_code: AUD
112
+ cy:
113
+ currency_code: EUR
114
+ cz:
115
+ currency_code: CZK
116
+ de:
117
+ currency_code: EUR
118
+ dj:
119
+ currency_code: DJF
120
+ dk:
121
+ currency_code: DKK
122
+ dm:
123
+ currency_code: XCD
124
+ do:
125
+ currency_code: DOP
126
+ dz:
127
+ currency_code: DZD
128
+ ec:
129
+ currency_code: USD
130
+ ee:
131
+ currency_code: EUR
132
+ eg:
133
+ currency_code: EGP
134
+ eh:
135
+ currency_code: MAD
136
+ er:
137
+ currency_code: ERN
138
+ es:
139
+ currency_code: EUR
140
+ et:
141
+ currency_code: ETB
142
+ fi:
143
+ currency_code: EUR
144
+ fj:
145
+ currency_code: FJD
146
+ fk:
147
+ currency_code: FKP
148
+ fm:
149
+ currency_code: USD
150
+ fo:
151
+ currency_code: DKK
152
+ fr:
153
+ currency_code: EUR
154
+ ga:
155
+ currency_code: XAF
156
+ gb:
157
+ currency_code: GBP
158
+ gd:
159
+ currency_code: XCD
160
+ ge:
161
+ currency_code: GEL
162
+ gf:
163
+ currency_code: EUR
164
+ gg:
165
+ currency_code: GBP
166
+ gh:
167
+ currency_code: GHS
168
+ gi:
169
+ currency_code: GIP
170
+ gl:
171
+ currency_code: DKK
172
+ gm:
173
+ currency_code: GMD
174
+ gn:
175
+ currency_code: GNF
176
+ gp:
177
+ currency_code: EUR
178
+ gq:
179
+ currency_code: XAF
180
+ gr:
181
+ currency_code: EUR
182
+ gs:
183
+ currency_code: GBP
184
+ gt:
185
+ currency_code: GTQ
186
+ gu:
187
+ currency_code: USD
188
+ gw:
189
+ currency_code: XOF
190
+ gy:
191
+ currency_code: GYD
192
+ hk:
193
+ currency_code: HKD
194
+ hm:
195
+ currency_code: AUD
196
+ hn:
197
+ currency_code: HNL
198
+ hr:
199
+ currency_code: HRK
200
+ ht:
201
+ currency_code: HTG
202
+ hu:
203
+ currency_code: HUF
204
+ id:
205
+ currency_code: IDR
206
+ ie:
207
+ currency_code: EUR
208
+ il:
209
+ currency_code: ILS
210
+ im:
211
+ currency_code: GBP
212
+ in:
213
+ currency_code: INR
214
+ io:
215
+ currency_code: USD
216
+ iq:
217
+ currency_code: IQD
218
+ ir:
219
+ currency_code: IRR
220
+ is:
221
+ currency_code: ISK
222
+ it:
223
+ currency_code: EUR
224
+ je:
225
+ currency_code: GBP
226
+ jm:
227
+ currency_code: JMD
228
+ jo:
229
+ currency_code: JOD
230
+ jp:
231
+ currency_code: JPY
232
+ ke:
233
+ currency_code: KES
234
+ kg:
235
+ currency_code: KGS
236
+ kh:
237
+ currency_code: KHR
238
+ ki:
239
+ currency_code: AUD
240
+ km:
241
+ currency_code: KMF
242
+ kn:
243
+ currency_code: XCD
244
+ kp:
245
+ currency_code: KPW
246
+ kr:
247
+ currency_code: KRW
248
+ kw:
249
+ currency_code: KWD
250
+ ky:
251
+ currency_code: KYD
252
+ kz:
253
+ currency_code: KZT
254
+ la:
255
+ currency_code: LAK
256
+ lb:
257
+ currency_code: LBP
258
+ lc:
259
+ currency_code: XCD
260
+ li:
261
+ currency_code: CHF
262
+ lk:
263
+ currency_code: LKR
264
+ lr:
265
+ currency_code: LRD
266
+ ls:
267
+ currency_code: LSL
268
+ lt:
269
+ currency_code: LTL
270
+ lu:
271
+ currency_code: EUR
272
+ lv:
273
+ currency_code: EUR
274
+ ly:
275
+ currency_code: LYD
276
+ ma:
277
+ currency_code: MAD
278
+ mc:
279
+ currency_code: EUR
280
+ md:
281
+ currency_code: MDL
282
+ me:
283
+ currency_code: EUR
284
+ mf:
285
+ currency_code: EUR
286
+ mg:
287
+ currency_code: MGA
288
+ mh:
289
+ currency_code: USD
290
+ mk:
291
+ currency_code: MKD
292
+ ml:
293
+ currency_code: XOF
294
+ mm:
295
+ currency_code: MMK
296
+ mn:
297
+ currency_code: MNT
298
+ mo:
299
+ currency_code: MOP
300
+ mp:
301
+ currency_code: USD
302
+ mq:
303
+ currency_code: EUR
304
+ mr:
305
+ currency_code: MRO
306
+ ms:
307
+ currency_code: XCD
308
+ mt:
309
+ currency_code: EUR
310
+ mu:
311
+ currency_code: MUR
312
+ mv:
313
+ currency_code: MVR
314
+ mw:
315
+ currency_code: MWK
316
+ mx:
317
+ currency_code: MXN
318
+ my:
319
+ currency_code: MYR
320
+ mz:
321
+ currency_code: MZN
322
+ na:
323
+ currency_code: NAD
324
+ nc:
325
+ currency_code: XPF
326
+ ne:
327
+ currency_code: XOF
328
+ nf:
329
+ currency_code: AUD
330
+ ng:
331
+ currency_code: NGN
332
+ ni:
333
+ currency_code: NIO
334
+ nl:
335
+ currency_code: EUR
336
+ 'no':
337
+ currency_code: NOK
338
+ np:
339
+ currency_code: NPR
340
+ nr:
341
+ currency_code: AUD
342
+ nu:
343
+ currency_code: NZD
344
+ nz:
345
+ currency_code: NZD
346
+ om:
347
+ currency_code: OMR
348
+ pa:
349
+ currency_code: PAB
350
+ pe:
351
+ currency_code: PEN
352
+ pf:
353
+ currency_code: XPF
354
+ pg:
355
+ currency_code: PGK
356
+ ph:
357
+ currency_code: PHP
358
+ pk:
359
+ currency_code: PKR
360
+ pl:
361
+ currency_code: PLN
362
+ pm:
363
+ currency_code: EUR
364
+ pn:
365
+ currency_code: NZD
366
+ pr:
367
+ currency_code: USD
368
+ ps:
369
+ currency_code: ILS
370
+ pt:
371
+ currency_code: EUR
372
+ pw:
373
+ currency_code: USD
374
+ py:
375
+ currency_code: PYG
376
+ qa:
377
+ currency_code: QAR
378
+ re:
379
+ currency_code: EUR
380
+ ro:
381
+ currency_code: RON
382
+ rs:
383
+ currency_code: RSD
384
+ ru:
385
+ currency_code: RUB
386
+ rw:
387
+ currency_code: RWF
388
+ sa:
389
+ currency_code: SAR
390
+ sb:
391
+ currency_code: SBD
392
+ sc:
393
+ currency_code: SCR
394
+ sd:
395
+ currency_code: SDG
396
+ se:
397
+ currency_code: SEK
398
+ sg:
399
+ currency_code: SGD
400
+ sh:
401
+ currency_code: SHP
402
+ si:
403
+ currency_code: EUR
404
+ sj:
405
+ currency_code: NOK
406
+ sk:
407
+ currency_code: EUR
408
+ sl:
409
+ currency_code: SLL
410
+ sm:
411
+ currency_code: EUR
412
+ sn:
413
+ currency_code: XOF
414
+ so:
415
+ currency_code: SOS
416
+ sr:
417
+ currency_code: SRD
418
+ ss:
419
+ currency_code: SSP
420
+ st:
421
+ currency_code: STD
422
+ sv:
423
+ currency_code: USD
424
+ sx:
425
+ currency_code: ANG
426
+ sy:
427
+ currency_code: SYP
428
+ sz:
429
+ currency_code: SZL
430
+ tc:
431
+ currency_code: USD
432
+ td:
433
+ currency_code: XAF
434
+ tf:
435
+ currency_code: EUR
436
+ tg:
437
+ currency_code: XOF
438
+ th:
439
+ currency_code: THB
440
+ tj:
441
+ currency_code: TJS
442
+ tk:
443
+ currency_code: NZD
444
+ tl:
445
+ currency_code: USD
446
+ tm:
447
+ currency_code: TMT
448
+ tn:
449
+ currency_code: TND
450
+ to:
451
+ currency_code: TOP
452
+ tr:
453
+ currency_code: TRY
454
+ tt:
455
+ currency_code: TTD
456
+ tv:
457
+ currency_code: AUD
458
+ tw:
459
+ currency_code: TWD
460
+ tz:
461
+ currency_code: TZS
462
+ ua:
463
+ currency_code: UAH
464
+ ug:
465
+ currency_code: UGX
466
+ um:
467
+ currency_code: USD
468
+ us:
469
+ currency_code: USD
470
+ uy:
471
+ currency_code: UYU
472
+ uz:
473
+ currency_code: UZS
474
+ va:
475
+ currency_code: EUR
476
+ vc:
477
+ currency_code: XCD
478
+ ve:
479
+ currency_code: VEF
480
+ vg:
481
+ currency_code: USD
482
+ vi:
483
+ currency_code: USD
484
+ vn:
485
+ currency_code: VND
486
+ vu:
487
+ currency_code: VUV
488
+ wf:
489
+ currency_code: XPF
490
+ ws:
491
+ currency_code: WST
492
+ xk:
493
+ currency_code: EUR
494
+ ye:
495
+ currency_code: YER
496
+ yt:
497
+ currency_code: EUR
498
+ za:
499
+ currency_code: ZAR
500
+ zm:
501
+ currency_code: ZMW
502
+ zw:
503
+ currency_code: ZWL
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe Carmen::Country do
4
+ let(:country) { Carmen::Country.coded('ca') }
5
+
6
+ describe 'currency_code' do
7
+ it 'returns the countries ISO 4217 currency code' do
8
+ expect(country.currency_code).to eq('CAD')
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,7 @@
1
+ require 'carmen/iso_4217'
2
+
3
+ RSpec.configure do |config|
4
+ config.mock_with :rspec do |mocks|
5
+ mocks.verify_partial_doubles = true
6
+ end
7
+ end
data/tasks/import.rake ADDED
@@ -0,0 +1,23 @@
1
+ require 'yaml'
2
+ require 'carmen'
3
+ require 'geonames_api'
4
+
5
+ YAML::ENGINE.yamler = 'psych'
6
+
7
+ def write(data)
8
+ path = File.expand_path('../../locale/en/world.yml', __FILE__)
9
+ File.open(path, 'w+') { |f| f << data.to_yaml }
10
+ end
11
+
12
+ task :import do
13
+ puts 'Enter your GeoNames WebServices username:'
14
+ name = $stdin.gets.chomp
15
+ GeoNamesAPI.username = name if name.present?
16
+ data = { 'en' => { 'world' => {} } }
17
+ GeoNamesAPI::Country.all.each do |country|
18
+ country_code = country.country_code.downcase
19
+ data['en']['world'][country_code] ||= {}
20
+ data['en']['world'][country_code]['currency_code'] = country.currency_code
21
+ end
22
+ write(data)
23
+ end
metadata ADDED
@@ -0,0 +1,145 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: carmen-iso-4217
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Cyle
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-10-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: carmen
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.6'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.6'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ description: Adds ISO 4217 currency names to Carmen::Country
98
+ email:
99
+ - cylehunter33@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".gitignore"
105
+ - ".rspec"
106
+ - ".rubocop.yml"
107
+ - Gemfile
108
+ - LICENSE
109
+ - LICENSE.txt
110
+ - README.md
111
+ - Rakefile
112
+ - carmen-iso-4217.gemspec
113
+ - lib/carmen/iso_4217.rb
114
+ - lib/carmen/iso_4217/version.rb
115
+ - locale/en/world.yml
116
+ - spec/carmen/country_spec.rb
117
+ - spec/spec_helper.rb
118
+ - tasks/import.rake
119
+ homepage: https://github.com/nozpheratu/carmen-iso-4217
120
+ licenses:
121
+ - MIT
122
+ metadata: {}
123
+ post_install_message:
124
+ rdoc_options: []
125
+ require_paths:
126
+ - lib
127
+ required_ruby_version: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ required_rubygems_version: !ruby/object:Gem::Requirement
133
+ requirements:
134
+ - - ">="
135
+ - !ruby/object:Gem::Version
136
+ version: '0'
137
+ requirements: []
138
+ rubyforge_project:
139
+ rubygems_version: 2.2.2
140
+ signing_key:
141
+ specification_version: 4
142
+ summary: Adds ISO 4217 currency names to Carmen::Country
143
+ test_files:
144
+ - spec/carmen/country_spec.rb
145
+ - spec/spec_helper.rb