phonelib 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/data/PhoneNumberMetaData.xml +169 -127
- data/data/phone_data.yml +63 -53
- data/lib/phonelib/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +14 -972
- data/test/dummy/log/test.log +146 -8682
- metadata +98 -150
- data/test/dummy/tmp/cache/assets/C8C/B80/sprockets%2F371bf96e99717688ed7313a0c53f4212 +0 -0
- data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/CF0/1D0/sprockets%2F6fc757c2c8329244ca95d6909865bbc2 +0 -0
- data/test/dummy/tmp/cache/assets/CF2/1D0/sprockets%2F0c27dcea623d22c007e33b8bf5301181 +0 -0
- data/test/dummy/tmp/cache/assets/D04/B50/sprockets%2F46c36c6aa77b26dddc3117542d006b94 +0 -0
- data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/D46/C40/sprockets%2F9b88128dae7c1e6c7b28bcf197057c21 +0 -0
- data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/D6D/E60/sprockets%2F1e022b8d5f5e26ebefd84c611bb56952 +0 -0
- data/test/dummy/tmp/cache/assets/D86/1B0/sprockets%2F5525f793871e81fb2bc8ff6dc05d7d8f +0 -0
- data/test/dummy/tmp/cache/assets/D8B/9D0/sprockets%2F017fa706d8e37400eafdda73e151d0bc +0 -0
- data/test/dummy/tmp/cache/assets/DD6/070/sprockets%2F2c9fb78e23cbc06765e705f8dfc6abe1 +0 -0
- data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/E57/9D0/sprockets%2Fdc6481f3cacaff37934cae4aa8e0ecb4 +0 -0
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phonelib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-05-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirement: &17731760 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,15 +21,10 @@ dependencies:
|
|
21
21
|
version: 3.1.0
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 3.1.0
|
24
|
+
version_requirements: *17731760
|
30
25
|
- !ruby/object:Gem::Dependency
|
31
26
|
name: sqlite3
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
27
|
+
requirement: &17730980 !ruby/object:Gem::Requirement
|
33
28
|
none: false
|
34
29
|
requirements:
|
35
30
|
- - ! '>='
|
@@ -37,15 +32,10 @@ dependencies:
|
|
37
32
|
version: '0'
|
38
33
|
type: :development
|
39
34
|
prerelease: false
|
40
|
-
version_requirements:
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ! '>='
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '0'
|
35
|
+
version_requirements: *17730980
|
46
36
|
- !ruby/object:Gem::Dependency
|
47
37
|
name: nokogiri
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirement: &17730140 !ruby/object:Gem::Requirement
|
49
39
|
none: false
|
50
40
|
requirements:
|
51
41
|
- - ! '>='
|
@@ -53,15 +43,10 @@ dependencies:
|
|
53
43
|
version: '0'
|
54
44
|
type: :development
|
55
45
|
prerelease: false
|
56
|
-
version_requirements:
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ! '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
46
|
+
version_requirements: *17730140
|
62
47
|
- !ruby/object:Gem::Dependency
|
63
48
|
name: pry
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
+
requirement: &17729360 !ruby/object:Gem::Requirement
|
65
50
|
none: false
|
66
51
|
requirements:
|
67
52
|
- - ! '>='
|
@@ -69,12 +54,7 @@ dependencies:
|
|
69
54
|
version: '0'
|
70
55
|
type: :development
|
71
56
|
prerelease: false
|
72
|
-
version_requirements:
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ! '>='
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
57
|
+
version_requirements: *17729360
|
78
58
|
description: Google libphonenumber library was taken as a basis for this gem. Gem
|
79
59
|
uses its data file for validations and number formatting.
|
80
60
|
email:
|
@@ -85,83 +65,67 @@ extra_rdoc_files: []
|
|
85
65
|
files:
|
86
66
|
- data/phone_data.yml
|
87
67
|
- data/PhoneNumberMetaData.xml
|
88
|
-
- lib/phonelib/core.rb
|
89
68
|
- lib/phonelib/phone.rb
|
90
69
|
- lib/phonelib/validators.rb
|
70
|
+
- lib/phonelib/core.rb
|
91
71
|
- lib/phonelib/version.rb
|
92
72
|
- lib/phonelib.rb
|
93
73
|
- lib/tasks/phonelib_tasks.rake
|
94
74
|
- MIT-LICENSE
|
95
75
|
- Rakefile
|
96
76
|
- README.rdoc
|
97
|
-
- test/dummy/
|
98
|
-
- test/dummy/
|
99
|
-
- test/dummy/
|
100
|
-
- test/dummy/
|
101
|
-
- test/dummy/
|
102
|
-
- test/dummy/
|
103
|
-
- test/dummy/app/controllers/phones_controller.rb
|
104
|
-
- test/dummy/app/helpers/application_helper.rb
|
105
|
-
- test/dummy/app/helpers/phones_helper.rb
|
106
|
-
- test/dummy/app/models/phone.rb
|
107
|
-
- test/dummy/app/views/layouts/application.html.erb
|
108
|
-
- test/dummy/app/views/phones/_form.html.erb
|
109
|
-
- test/dummy/app/views/phones/edit.html.erb
|
110
|
-
- test/dummy/app/views/phones/index.html.erb
|
111
|
-
- test/dummy/app/views/phones/new.html.erb
|
112
|
-
- test/dummy/app/views/phones/show.html.erb
|
113
|
-
- test/dummy/config/application.rb
|
114
|
-
- test/dummy/config/boot.rb
|
115
|
-
- test/dummy/config/database.yml
|
116
|
-
- test/dummy/config/environment.rb
|
117
|
-
- test/dummy/config/environments/development.rb
|
118
|
-
- test/dummy/config/environments/production.rb
|
119
|
-
- test/dummy/config/environments/test.rb
|
77
|
+
- test/dummy/db/schema.rb
|
78
|
+
- test/dummy/db/test.sqlite3
|
79
|
+
- test/dummy/db/migrate/20130121173847_create_phones.rb
|
80
|
+
- test/dummy/db/migrate/20130122075331_add_possible_number_to_phone.rb
|
81
|
+
- test/dummy/db/development.sqlite3
|
82
|
+
- test/dummy/config.ru
|
120
83
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
121
|
-
- test/dummy/config/initializers/
|
84
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
122
85
|
- test/dummy/config/initializers/mime_types.rb
|
123
|
-
- test/dummy/config/initializers/
|
86
|
+
- test/dummy/config/initializers/inflections.rb
|
124
87
|
- test/dummy/config/initializers/session_store.rb
|
125
|
-
- test/dummy/config/initializers/
|
126
|
-
- test/dummy/config/
|
88
|
+
- test/dummy/config/initializers/secret_token.rb
|
89
|
+
- test/dummy/config/environments/development.rb
|
90
|
+
- test/dummy/config/environments/production.rb
|
91
|
+
- test/dummy/config/environments/test.rb
|
92
|
+
- test/dummy/config/application.rb
|
93
|
+
- test/dummy/config/boot.rb
|
94
|
+
- test/dummy/config/environment.rb
|
127
95
|
- test/dummy/config/routes.rb
|
128
|
-
- test/dummy/config.
|
129
|
-
- test/dummy/
|
130
|
-
- test/dummy/db/migrate/20130121173847_create_phones.rb
|
131
|
-
- test/dummy/db/migrate/20130122075331_add_possible_number_to_phone.rb
|
132
|
-
- test/dummy/db/schema.rb
|
133
|
-
- test/dummy/db/test.sqlite3
|
134
|
-
- test/dummy/log/development.log
|
135
|
-
- test/dummy/log/test.log
|
136
|
-
- test/dummy/public/404.html
|
96
|
+
- test/dummy/config/locales/en.yml
|
97
|
+
- test/dummy/config/database.yml
|
137
98
|
- test/dummy/public/422.html
|
138
|
-
- test/dummy/public/
|
99
|
+
- test/dummy/public/404.html
|
139
100
|
- test/dummy/public/favicon.ico
|
140
|
-
- test/dummy/
|
141
|
-
- test/dummy/README.rdoc
|
142
|
-
- test/dummy/script/rails
|
101
|
+
- test/dummy/public/500.html
|
143
102
|
- test/dummy/test/fixtures/phones.yml
|
144
|
-
- test/dummy/test/functional/phones_controller_test.rb
|
145
103
|
- test/dummy/test/unit/helpers/phones_helper_test.rb
|
146
104
|
- test/dummy/test/unit/phone_test.rb
|
147
|
-
- test/dummy/
|
148
|
-
- test/dummy/
|
149
|
-
- test/dummy/
|
150
|
-
- test/dummy/
|
151
|
-
- test/dummy/
|
152
|
-
- test/dummy/
|
153
|
-
- test/dummy/
|
154
|
-
- test/dummy/
|
155
|
-
- test/dummy/
|
156
|
-
- test/dummy/
|
157
|
-
- test/dummy/
|
158
|
-
- test/dummy/
|
159
|
-
- test/dummy/
|
160
|
-
- test/dummy/
|
161
|
-
- test/dummy/
|
162
|
-
- test/dummy/
|
163
|
-
- test/
|
105
|
+
- test/dummy/test/functional/phones_controller_test.rb
|
106
|
+
- test/dummy/README.rdoc
|
107
|
+
- test/dummy/log/development.log
|
108
|
+
- test/dummy/log/test.log
|
109
|
+
- test/dummy/Rakefile
|
110
|
+
- test/dummy/script/rails
|
111
|
+
- test/dummy/app/views/layouts/application.html.erb
|
112
|
+
- test/dummy/app/views/phones/_form.html.erb
|
113
|
+
- test/dummy/app/views/phones/index.html.erb
|
114
|
+
- test/dummy/app/views/phones/show.html.erb
|
115
|
+
- test/dummy/app/views/phones/edit.html.erb
|
116
|
+
- test/dummy/app/views/phones/new.html.erb
|
117
|
+
- test/dummy/app/models/phone.rb
|
118
|
+
- test/dummy/app/helpers/application_helper.rb
|
119
|
+
- test/dummy/app/helpers/phones_helper.rb
|
120
|
+
- test/dummy/app/controllers/phones_controller.rb
|
121
|
+
- test/dummy/app/controllers/application_controller.rb
|
122
|
+
- test/dummy/app/assets/stylesheets/scaffold.css
|
123
|
+
- test/dummy/app/assets/stylesheets/phones.css
|
124
|
+
- test/dummy/app/assets/stylesheets/application.css
|
125
|
+
- test/dummy/app/assets/javascripts/application.js
|
126
|
+
- test/dummy/app/assets/javascripts/phones.js
|
164
127
|
- test/test_helper.rb
|
128
|
+
- test/phonelib_test.rb
|
165
129
|
homepage: https://github.com/daddyz/phonelib
|
166
130
|
licenses: []
|
167
131
|
post_install_message:
|
@@ -176,7 +140,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
176
140
|
version: '0'
|
177
141
|
segments:
|
178
142
|
- 0
|
179
|
-
hash: -
|
143
|
+
hash: -3858765468631295667
|
180
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
181
145
|
none: false
|
182
146
|
requirements:
|
@@ -185,79 +149,63 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
185
149
|
version: '0'
|
186
150
|
segments:
|
187
151
|
- 0
|
188
|
-
hash: -
|
152
|
+
hash: -3858765468631295667
|
189
153
|
requirements: []
|
190
154
|
rubyforge_project:
|
191
|
-
rubygems_version: 1.8.
|
155
|
+
rubygems_version: 1.8.17
|
192
156
|
signing_key:
|
193
157
|
specification_version: 3
|
194
158
|
summary: Gem validates phone numbers with Google libphonenumber database.
|
195
159
|
test_files:
|
196
|
-
- test/dummy/
|
197
|
-
- test/dummy/
|
198
|
-
- test/dummy/
|
199
|
-
- test/dummy/
|
200
|
-
- test/dummy/
|
201
|
-
- test/dummy/
|
202
|
-
- test/dummy/app/controllers/phones_controller.rb
|
203
|
-
- test/dummy/app/helpers/application_helper.rb
|
204
|
-
- test/dummy/app/helpers/phones_helper.rb
|
205
|
-
- test/dummy/app/models/phone.rb
|
206
|
-
- test/dummy/app/views/layouts/application.html.erb
|
207
|
-
- test/dummy/app/views/phones/_form.html.erb
|
208
|
-
- test/dummy/app/views/phones/edit.html.erb
|
209
|
-
- test/dummy/app/views/phones/index.html.erb
|
210
|
-
- test/dummy/app/views/phones/new.html.erb
|
211
|
-
- test/dummy/app/views/phones/show.html.erb
|
212
|
-
- test/dummy/config/application.rb
|
213
|
-
- test/dummy/config/boot.rb
|
214
|
-
- test/dummy/config/database.yml
|
215
|
-
- test/dummy/config/environment.rb
|
216
|
-
- test/dummy/config/environments/development.rb
|
217
|
-
- test/dummy/config/environments/production.rb
|
218
|
-
- test/dummy/config/environments/test.rb
|
160
|
+
- test/dummy/db/schema.rb
|
161
|
+
- test/dummy/db/test.sqlite3
|
162
|
+
- test/dummy/db/migrate/20130121173847_create_phones.rb
|
163
|
+
- test/dummy/db/migrate/20130122075331_add_possible_number_to_phone.rb
|
164
|
+
- test/dummy/db/development.sqlite3
|
165
|
+
- test/dummy/config.ru
|
219
166
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
220
|
-
- test/dummy/config/initializers/
|
167
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
221
168
|
- test/dummy/config/initializers/mime_types.rb
|
222
|
-
- test/dummy/config/initializers/
|
169
|
+
- test/dummy/config/initializers/inflections.rb
|
223
170
|
- test/dummy/config/initializers/session_store.rb
|
224
|
-
- test/dummy/config/initializers/
|
225
|
-
- test/dummy/config/
|
171
|
+
- test/dummy/config/initializers/secret_token.rb
|
172
|
+
- test/dummy/config/environments/development.rb
|
173
|
+
- test/dummy/config/environments/production.rb
|
174
|
+
- test/dummy/config/environments/test.rb
|
175
|
+
- test/dummy/config/application.rb
|
176
|
+
- test/dummy/config/boot.rb
|
177
|
+
- test/dummy/config/environment.rb
|
226
178
|
- test/dummy/config/routes.rb
|
227
|
-
- test/dummy/config.
|
228
|
-
- test/dummy/
|
229
|
-
- test/dummy/db/migrate/20130121173847_create_phones.rb
|
230
|
-
- test/dummy/db/migrate/20130122075331_add_possible_number_to_phone.rb
|
231
|
-
- test/dummy/db/schema.rb
|
232
|
-
- test/dummy/db/test.sqlite3
|
233
|
-
- test/dummy/log/development.log
|
234
|
-
- test/dummy/log/test.log
|
235
|
-
- test/dummy/public/404.html
|
179
|
+
- test/dummy/config/locales/en.yml
|
180
|
+
- test/dummy/config/database.yml
|
236
181
|
- test/dummy/public/422.html
|
237
|
-
- test/dummy/public/
|
182
|
+
- test/dummy/public/404.html
|
238
183
|
- test/dummy/public/favicon.ico
|
239
|
-
- test/dummy/
|
240
|
-
- test/dummy/README.rdoc
|
241
|
-
- test/dummy/script/rails
|
184
|
+
- test/dummy/public/500.html
|
242
185
|
- test/dummy/test/fixtures/phones.yml
|
243
|
-
- test/dummy/test/functional/phones_controller_test.rb
|
244
186
|
- test/dummy/test/unit/helpers/phones_helper_test.rb
|
245
187
|
- test/dummy/test/unit/phone_test.rb
|
246
|
-
- test/dummy/
|
247
|
-
- test/dummy/
|
248
|
-
- test/dummy/
|
249
|
-
- test/dummy/
|
250
|
-
- test/dummy/
|
251
|
-
- test/dummy/
|
252
|
-
- test/dummy/
|
253
|
-
- test/dummy/
|
254
|
-
- test/dummy/
|
255
|
-
- test/dummy/
|
256
|
-
- test/dummy/
|
257
|
-
- test/dummy/
|
258
|
-
- test/dummy/
|
259
|
-
- test/dummy/
|
260
|
-
- test/dummy/
|
261
|
-
- test/dummy/
|
262
|
-
- test/
|
188
|
+
- test/dummy/test/functional/phones_controller_test.rb
|
189
|
+
- test/dummy/README.rdoc
|
190
|
+
- test/dummy/log/development.log
|
191
|
+
- test/dummy/log/test.log
|
192
|
+
- test/dummy/Rakefile
|
193
|
+
- test/dummy/script/rails
|
194
|
+
- test/dummy/app/views/layouts/application.html.erb
|
195
|
+
- test/dummy/app/views/phones/_form.html.erb
|
196
|
+
- test/dummy/app/views/phones/index.html.erb
|
197
|
+
- test/dummy/app/views/phones/show.html.erb
|
198
|
+
- test/dummy/app/views/phones/edit.html.erb
|
199
|
+
- test/dummy/app/views/phones/new.html.erb
|
200
|
+
- test/dummy/app/models/phone.rb
|
201
|
+
- test/dummy/app/helpers/application_helper.rb
|
202
|
+
- test/dummy/app/helpers/phones_helper.rb
|
203
|
+
- test/dummy/app/controllers/phones_controller.rb
|
204
|
+
- test/dummy/app/controllers/application_controller.rb
|
205
|
+
- test/dummy/app/assets/stylesheets/scaffold.css
|
206
|
+
- test/dummy/app/assets/stylesheets/phones.css
|
207
|
+
- test/dummy/app/assets/stylesheets/application.css
|
208
|
+
- test/dummy/app/assets/javascripts/application.js
|
209
|
+
- test/dummy/app/assets/javascripts/phones.js
|
263
210
|
- test/test_helper.rb
|
211
|
+
- test/phonelib_test.rb
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|