sundawg_country_codes 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -28,7 +28,7 @@ ISO 639 Languages
28
28
 
29
29
  Tests can be executed by running:
30
30
 
31
- rake test
31
+ bundle exec rake test
32
32
 
33
33
  == Code Examples
34
34
 
@@ -98,11 +98,11 @@ All country code and names are stored in a countries.yml file that can be change
98
98
 
99
99
  == Gem Install
100
100
 
101
- This gem is hosted on rubygems.org.
101
+ This gem is hosted on rubygems.org. Bundler and Rails instructions for your Gemfile are there.
102
102
 
103
103
  http://rubygems.org/gems/sundawg_country_codes
104
104
 
105
- == Rails Install
105
+ == Rails 2 Install
106
106
 
107
107
  To include this gem in your Rails project, add the following to your config/environment.rb:
108
108
 
@@ -110,6 +110,7 @@ To include this gem in your Rails project, add the following to your config/envi
110
110
 
111
111
  == History
112
112
 
113
+ * 0.0.7 - Suggested changes incorporated - Thanks ArneTR, Kenn
113
114
  * 0.0.6 - Fix for "curreny" misspelling - Thanks Kenn
114
115
  * 0.0.5 - Fix for how NOrway is treated - Thanks Y8
115
116
  * 0.0.4 - Added ISO 639 Language translater, cleaned up documents.
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'rubygems'
3
3
  require 'rake'
4
4
  require 'echoe'
5
5
 
6
- Echoe.new('sundawg_country_codes', '0.0.6') do |p|
6
+ Echoe.new('sundawg_country_codes', '0.0.7') do |p|
7
7
  p.description = "Manage ISO 3166 Country Names and Codes, ISO 639 Languages, and ISO 4217 Currencies."
8
8
  p.url = "http://github.com/SunDawg/country_codes"
9
9
  p.author = "Christopher Sun"
data/lib/countries.yml CHANGED
@@ -611,7 +611,7 @@ MM:
611
611
  name: Myanmar
612
612
  alpha3: MMR
613
613
  currency_iso4217:
614
- code: MNK
614
+ code: MMK
615
615
  name: Kyats
616
616
  NG:
617
617
  alpha2: NG
@@ -1368,11 +1368,6 @@ RS:
1368
1368
  name: Dinars
1369
1369
  symbol: Дин.
1370
1370
  unicode_hex: [0x414, 0x438, 0x43d, 0x2e]
1371
- GS:
1372
- alpha2: GS
1373
- name: South Georgia and the South Sandwich Islands
1374
- alpha3: SGS
1375
- currency_iso4217: *gbp
1376
1371
  SD:
1377
1372
  alpha2: SD
1378
1373
  name: Sudan
@@ -1746,3 +1741,8 @@ ZM:
1746
1741
  currency_iso4217:
1747
1742
  code: ZMK
1748
1743
  name: Kwacha
1744
+ GS:
1745
+ alpha2: GS
1746
+ name: South Georgia and the South Sandwich Islands
1747
+ alpha3: SGS
1748
+ currency_iso4217: *gbp
@@ -1,26 +1,25 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  Gem::Specification.new do |s|
4
- s.name = %q{sundawg_country_codes}
5
- s.version = "0.0.6"
4
+ s.name = "sundawg_country_codes"
5
+ s.version = "0.0.7"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Christopher Sun"]
9
- s.date = %q{2010-08-27}
10
- s.description = %q{Manage ISO 3166 Country Names and Codes, ISO 639 Languages, and ISO 4217 Currencies.}
11
- s.email = %q{christopher.sun@gmail.com}
9
+ s.date = "2012-09-13"
10
+ s.description = "Manage ISO 3166 Country Names and Codes, ISO 639 Languages, and ISO 4217 Currencies."
11
+ s.email = "christopher.sun@gmail.com"
12
12
  s.extra_rdoc_files = ["README.rdoc", "lib/countries.yml", "lib/country_iso_translater.rb", "lib/language_iso_translater.rb", "lib/languages.yml", "lib/usa_state_translater.rb", "lib/usa_states.yml"]
13
13
  s.files = ["README.rdoc", "Rakefile", "lib/countries.yml", "lib/country_iso_translater.rb", "lib/language_iso_translater.rb", "lib/languages.yml", "lib/usa_state_translater.rb", "lib/usa_states.yml", "sundawg_country_codes.gemspec", "test/country_iso_translater_test.rb", "test/language_iso_translater_test.rb", "test/test_helper.rb", "test/usa_translater_test.rb", "Manifest"]
14
- s.homepage = %q{http://github.com/SunDawg/country_codes}
14
+ s.homepage = "http://github.com/SunDawg/country_codes"
15
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Sundawg_country_codes", "--main", "README.rdoc"]
16
16
  s.require_paths = ["lib"]
17
- s.rubyforge_project = %q{sundawg_country_codes}
18
- s.rubygems_version = %q{1.3.7}
19
- s.summary = %q{Manage ISO 3166 Country Names and Codes, ISO 639 Languages, and ISO 4217 Currencies.}
17
+ s.rubyforge_project = "sundawg_country_codes"
18
+ s.rubygems_version = "1.8.24"
19
+ s.summary = "Manage ISO 3166 Country Names and Codes, ISO 639 Languages, and ISO 4217 Currencies."
20
20
  s.test_files = ["test/country_iso_translater_test.rb", "test/language_iso_translater_test.rb", "test/test_helper.rb", "test/usa_translater_test.rb"]
21
21
 
22
22
  if s.respond_to? :specification_version then
23
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
24
23
  s.specification_version = 3
25
24
 
26
25
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
  require 'test_helper'
2
3
 
3
4
  # allows override of FILE
@@ -45,7 +46,7 @@ class CountryIsoTranslaterTest < Test::Unit::TestCase
45
46
 
46
47
  currency = client.get_iso4217_currency_by_iso3166_alpha2("AF")
47
48
  assert_equal currency["code"], "AFN"
48
- assert_equal currency["symbol"], "؋"
49
+ assert_equal currency["symbol"], '؋'
49
50
  assert_equal currency["name"], "Afghanis"
50
51
  assert_equal currency["unicode_hex"], 1547
51
52
 
metadata CHANGED
@@ -1,31 +1,22 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: sundawg_country_codes
3
- version: !ruby/object:Gem::Version
4
- hash: 19
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 0
9
- - 6
10
- version: 0.0.6
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.7
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Christopher Sun
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2010-08-27 00:00:00 -04:00
19
- default_executable:
12
+ date: 2012-09-13 00:00:00.000000000 Z
20
13
  dependencies: []
21
-
22
- description: Manage ISO 3166 Country Names and Codes, ISO 639 Languages, and ISO 4217 Currencies.
14
+ description: Manage ISO 3166 Country Names and Codes, ISO 639 Languages, and ISO 4217
15
+ Currencies.
23
16
  email: christopher.sun@gmail.com
24
17
  executables: []
25
-
26
18
  extensions: []
27
-
28
- extra_rdoc_files:
19
+ extra_rdoc_files:
29
20
  - README.rdoc
30
21
  - lib/countries.yml
31
22
  - lib/country_iso_translater.rb
@@ -33,7 +24,7 @@ extra_rdoc_files:
33
24
  - lib/languages.yml
34
25
  - lib/usa_state_translater.rb
35
26
  - lib/usa_states.yml
36
- files:
27
+ files:
37
28
  - README.rdoc
38
29
  - Rakefile
39
30
  - lib/countries.yml
@@ -48,47 +39,38 @@ files:
48
39
  - test/test_helper.rb
49
40
  - test/usa_translater_test.rb
50
41
  - Manifest
51
- has_rdoc: true
52
42
  homepage: http://github.com/SunDawg/country_codes
53
43
  licenses: []
54
-
55
44
  post_install_message:
56
- rdoc_options:
45
+ rdoc_options:
57
46
  - --line-numbers
58
47
  - --inline-source
59
48
  - --title
60
49
  - Sundawg_country_codes
61
50
  - --main
62
51
  - README.rdoc
63
- require_paths:
52
+ require_paths:
64
53
  - lib
65
- required_ruby_version: !ruby/object:Gem::Requirement
54
+ required_ruby_version: !ruby/object:Gem::Requirement
66
55
  none: false
67
- requirements:
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- hash: 3
71
- segments:
72
- - 0
73
- version: "0"
74
- required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ! '>='
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ required_rubygems_version: !ruby/object:Gem::Requirement
75
61
  none: false
76
- requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
79
- hash: 11
80
- segments:
81
- - 1
82
- - 2
83
- version: "1.2"
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '1.2'
84
66
  requirements: []
85
-
86
67
  rubyforge_project: sundawg_country_codes
87
- rubygems_version: 1.3.7
68
+ rubygems_version: 1.8.24
88
69
  signing_key:
89
70
  specification_version: 3
90
- summary: Manage ISO 3166 Country Names and Codes, ISO 639 Languages, and ISO 4217 Currencies.
91
- test_files:
71
+ summary: Manage ISO 3166 Country Names and Codes, ISO 639 Languages, and ISO 4217
72
+ Currencies.
73
+ test_files:
92
74
  - test/country_iso_translater_test.rb
93
75
  - test/language_iso_translater_test.rb
94
76
  - test/test_helper.rb