phonie 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1753,3 +1753,13 @@
1753
1753
  :iso_3166_code: SS
1754
1754
  :name: South Sudan
1755
1755
  :international_dialing_prefix: '00'
1756
+ -
1757
+ :country_code: '1'
1758
+ :national_dialing_prefix: '1'
1759
+ :char_2_code: '1'
1760
+ :iso_3166_code: PR
1761
+ :name: Puerto Rico
1762
+ :international_dialing_prefix: '1'
1763
+ :area_code: 787|939
1764
+ :local_number_format: \d{7}
1765
+ :number_format: \d{10}
@@ -1,3 +1,3 @@
1
1
  module Phonie
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
@@ -0,0 +1,8 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/../test_helper')
2
+
3
+ ## Puerto Rico
4
+ class PRTest < Phonie::TestCase
5
+ def test_local
6
+ parse_test('+1 787 555 5555', '1', '787', '5555555', 'Puerto Rico')
7
+ end
8
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phonie
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2013-05-01 00:00:00.000000000 Z
16
+ date: 2013-05-29 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: activemodel
@@ -150,6 +150,7 @@ files:
150
150
  - test/countries/nz_test.rb
151
151
  - test/countries/ph_test.rb
152
152
  - test/countries/pk_test.rb
153
+ - test/countries/pr_test.rb
153
154
  - test/countries/pt_test.rb
154
155
  - test/countries/qa_test.rb
155
156
  - test/countries/ro_test.rb
@@ -185,12 +186,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
185
186
  - - ! '>='
186
187
  - !ruby/object:Gem::Version
187
188
  version: '0'
189
+ segments:
190
+ - 0
191
+ hash: -2385120712347848475
188
192
  required_rubygems_version: !ruby/object:Gem::Requirement
189
193
  none: false
190
194
  requirements:
191
195
  - - ! '>='
192
196
  - !ruby/object:Gem::Version
193
197
  version: '0'
198
+ segments:
199
+ - 0
200
+ hash: -2385120712347848475
194
201
  requirements: []
195
202
  rubyforge_project:
196
203
  rubygems_version: 1.8.23
@@ -258,6 +265,7 @@ test_files:
258
265
  - test/countries/nz_test.rb
259
266
  - test/countries/ph_test.rb
260
267
  - test/countries/pk_test.rb
268
+ - test/countries/pr_test.rb
261
269
  - test/countries/pt_test.rb
262
270
  - test/countries/qa_test.rb
263
271
  - test/countries/ro_test.rb