carmen-iso-4217 0.0.1 → 0.0.2

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
  SHA1:
3
- metadata.gz: 53997cca408fe7c628613160375bfdd18b0af04b
4
- data.tar.gz: 1a652d0ebed1c0d8406398f70abe2d08f2f1b5fc
3
+ metadata.gz: 80dac8cf335e6c65bd7f9ab6ee18037ff6ac278d
4
+ data.tar.gz: 465de7afb98d41872b6cb7138952d917fc731fa0
5
5
  SHA512:
6
- metadata.gz: d2cc704afe83bdb599c5cc87c12e222c9f7a6c50709353d40398af4f1be3fe55c6bbba0898e3f6c73ff43d7f39f35b2f4dba8506f6043cc81fe5d55a0a1ae5c0
7
- data.tar.gz: 66ff50925c528c6e01b2b315616878906d56718afccb2b077a2accf5db318e2a8c7048c656c34fed5ba54da593c5928c2cb292804d3e29ee05c3a7692daa7c7a
6
+ metadata.gz: 4bf969f52199beee45dfcab56828fd4b9405735e6e99ecb55f31ef1203cf3462d11ddb04189f83073ed4656def3a14d2fa9440f0f9f6011f0c9d91e4e4fc160b
7
+ data.tar.gz: 00aa7e605c773d0bb28e319ead2ce12ba82def1e3aadafe3d8ddebdffed783c12aa0593d69b64d9e07bd1f5ad4ae7c0d9078fd2db9a42ced19f32a112cf01799
data/.rubocop.yml CHANGED
@@ -3,3 +3,6 @@ Style/Documentation:
3
3
 
4
4
  Style/RaiseArgs:
5
5
  Enabled: false
6
+
7
+ Style/FileName:
8
+ Enabled: false
data/README.md CHANGED
@@ -21,7 +21,7 @@ Or install it yourself as:
21
21
  Fetch a Carmen::Country object and call the new currency_code method on it:
22
22
  ```ruby
23
23
  country = Carmen::Country.coded('ca')
24
- country.country_code #=> 'CAD'
24
+ country.currency_code #=> 'CAD'
25
25
  ```
26
26
 
27
27
  ## Contributing
data/Rakefile CHANGED
@@ -8,5 +8,5 @@ RSpec::Core::RakeTask.new(:spec)
8
8
  task default: :spec
9
9
 
10
10
  task :console do
11
- exec 'pry -r iso_4217 -I ./lib/carmen'
11
+ exec 'pry -r carmen-iso-4217 -I ./lib'
12
12
  end
@@ -1,11 +1,11 @@
1
1
  # coding: utf-8
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'carmen/iso_4217/version'
4
+ require 'carmen-iso-4217/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'carmen-iso-4217'
8
- spec.version = Carmen::ISO4217::VERSION
8
+ spec.version = CarmenISO4217::VERSION
9
9
  spec.authors = ['Cyle']
10
10
  spec.email = ['cylehunter33@gmail.com']
11
11
  spec.summary = 'Adds ISO 4217 currency names to Carmen::Country'
@@ -1,8 +1,8 @@
1
1
  require 'carmen'
2
- require 'carmen/iso_4217/version'
2
+ require 'carmen-iso-4217/version'
3
3
 
4
4
  module Carmen
5
- locale_path = File.expand_path('../../../locale', __FILE__)
5
+ locale_path = File.expand_path('../../locale', __FILE__)
6
6
  i18n_backend.append_locale_path(locale_path)
7
7
 
8
8
  class Country
@@ -11,6 +11,6 @@ module Carmen
11
11
  end
12
12
  end
13
13
 
14
- module ISO4217
14
+ module CarmenISO4217
15
15
  end
16
16
  end
@@ -0,0 +1,3 @@
1
+ module CarmenISO4217
2
+ VERSION = '0.0.2'
3
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'carmen/iso_4217'
1
+ require 'carmen-iso-4217'
2
2
 
3
3
  RSpec.configure do |config|
4
4
  config.mock_with :rspec do |mocks|
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carmen-iso-4217
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
  - Cyle
@@ -110,8 +110,8 @@ files:
110
110
  - README.md
111
111
  - Rakefile
112
112
  - carmen-iso-4217.gemspec
113
- - lib/carmen/iso_4217.rb
114
- - lib/carmen/iso_4217/version.rb
113
+ - lib/carmen-iso-4217.rb
114
+ - lib/carmen-iso-4217/version.rb
115
115
  - locale/en/world.yml
116
116
  - spec/carmen/country_spec.rb
117
117
  - spec/spec_helper.rb
@@ -1,5 +0,0 @@
1
- module Carmen
2
- module ISO4217
3
- VERSION = '0.0.1'
4
- end
5
- end