phony_rails 0.14.2 → 0.14.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ffe8daa0413f53e2a912a97f25d8a61f11b7329
4
- data.tar.gz: 31e0cde2c7bfe592716778b86a4bebb8a7a5baba
3
+ metadata.gz: 2158a8ba7eab9174c9cab0a88ebf160fa6d34fd7
4
+ data.tar.gz: 276cdf0e95a728f2085eaa44ad0a750f37ded85f
5
5
  SHA512:
6
- metadata.gz: 4009ec39fa9c5f4c9282e9164194cbc20cfc6cb0813a3e541d373b9f79ca5cbea5f76e58e500ee817af1fab59c82712bcd6c4eb42f8fd965f965443daab71ce6
7
- data.tar.gz: 4e993ded99b2f4ad466b4f0dbacd4c90be7c1980137368f7c4db543b5d04346ff6b955f323cb4b2aa7bc7c5a1292d1746984ebc16a09dad638f2378add76ec67
6
+ metadata.gz: 2d30b36dd460bc299ff96142c0f43a1d68a672f2d9dbfd9de8f2ff726038d861f476065d6b209fbae0c329c375614dfa4c17ec3d6e7c8805dcaa627b3f3cb8ea
7
+ data.tar.gz: ad3deabb4ddaa86c4801e3f8c46a49da42ab47ec16681ea13beb0d1c14a0ae7fccd468729b85ac31cb8ee4f35c431617460e159e7cc22f09fdb330a209f2132b
@@ -1,8 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - '1.9.3'
4
- - '2.1.3'
5
- - '2.2.1'
3
+ - '2.2.3'
6
4
  script:
7
5
  - bundle exec rspec spec
8
6
  - bundle exec rubocop
@@ -1,17 +1,14 @@
1
1
  # Change Log
2
2
 
3
- ## [Unreleased](https://github.com/joost/phony_rails/tree/HEAD)
4
-
5
- [Full Changelog](https://github.com/joost/phony_rails/compare/v0.14.1...HEAD)
3
+ ## [v0.14.2](https://github.com/joost/phony_rails/tree/v0.14.2) (2016-06-16)
4
+ [Full Changelog](https://github.com/joost/phony_rails/compare/v0.14.1...v0.14.2)
6
5
 
7
6
  **Merged pull requests:**
8
7
 
9
8
  - Do not use insecure multiline regex in examples [\#146](https://github.com/joost/phony_rails/pull/146) ([bdewater](https://github.com/bdewater))
10
-
11
9
  - support for ActiveModel::Model alternative to database-backed models only [\#144](https://github.com/joost/phony_rails/pull/144) ([brandondees](https://github.com/brandondees))
12
10
 
13
11
  ## [v0.14.1](https://github.com/joost/phony_rails/tree/v0.14.1) (2016-05-08)
14
-
15
12
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.14.0...v0.14.1)
16
13
 
17
14
  **Closed issues:**
@@ -21,97 +18,67 @@
21
18
  **Merged pull requests:**
22
19
 
23
20
  - Fixed a bug that prevents a normalized attribute from being set to nil [\#142](https://github.com/joost/phony_rails/pull/142) ([kylerippey](https://github.com/kylerippey))
24
-
25
21
  - Read message value directly from options [\#141](https://github.com/joost/phony_rails/pull/141) ([monfresh](https://github.com/monfresh))
26
22
 
27
23
  ## [v0.14.0](https://github.com/joost/phony_rails/tree/v0.14.0) (2016-04-21)
28
-
29
24
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.13.0...v0.14.0)
30
25
 
31
26
  **Closed issues:**
32
27
 
33
28
  - In normalize\_number, .clone is being used, which preserves "frozenness", causing method to fail sometimes [\#136](https://github.com/joost/phony_rails/issues/136)
34
-
35
29
  - question Is thr any way to find country code from mobile no? [\#135](https://github.com/joost/phony_rails/issues/135)
36
-
37
30
  - invalid number assumed to be valid [\#130](https://github.com/joost/phony_rails/issues/130)
38
-
39
31
  - Split fails when a + is present [\#123](https://github.com/joost/phony_rails/issues/123)
40
32
 
41
33
  **Merged pull requests:**
42
34
 
43
35
  - Adds ability to pass symbols as option values to phony model helpers [\#139](https://github.com/joost/phony_rails/pull/139) ([jonathan-wheeler](https://github.com/jonathan-wheeler))
44
-
45
36
  - Add support for phone numbers with extensions [\#138](https://github.com/joost/phony_rails/pull/138) ([jerryclinesmith](https://github.com/jerryclinesmith))
46
-
47
37
  - Add support for a default country code [\#137](https://github.com/joost/phony_rails/pull/137) ([jerryclinesmith](https://github.com/jerryclinesmith))
48
-
49
38
  - Added first RuboCop stuff. [\#134](https://github.com/joost/phony_rails/pull/134) ([joost](https://github.com/joost))
50
39
 
51
40
  ## [v0.13.0](https://github.com/joost/phony_rails/tree/v0.13.0) (2016-03-12)
52
-
53
41
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.12.11...v0.13.0)
54
42
 
55
43
  **Closed issues:**
56
44
 
57
45
  - Adding country code twice for Luxemburg numbers [\#128](https://github.com/joost/phony_rails/issues/128)
58
-
59
46
  - Unexpected result when calling normalize\_number multiple times with country\_code option [\#126](https://github.com/joost/phony_rails/issues/126)
60
-
61
47
  - No method find\_by\_normalized\_phone\_number [\#125](https://github.com/joost/phony_rails/issues/125)
62
-
63
48
  - Invalid number is valid? [\#124](https://github.com/joost/phony_rails/issues/124)
64
-
65
49
  - Can it validate mobile phone? [\#122](https://github.com/joost/phony_rails/issues/122)
66
50
 
67
51
  **Merged pull requests:**
68
52
 
69
53
  - Do not raise NoMethodError when an illegal country code is set [\#133](https://github.com/joost/phony_rails/pull/133) ([klaustopher](https://github.com/klaustopher))
70
-
71
54
  - only assigned normalize values if there is one [\#132](https://github.com/joost/phony_rails/pull/132) ([Smcchoi](https://github.com/Smcchoi))
72
-
73
55
  - Adding Kosovo phone code [\#131](https://github.com/joost/phony_rails/pull/131) ([Xanders](https://github.com/Xanders))
74
-
75
56
  - Add Dutch translation for invalid number [\#129](https://github.com/joost/phony_rails/pull/129) ([bdewater](https://github.com/bdewater))
76
57
 
77
58
  ## [v0.12.11](https://github.com/joost/phony_rails/tree/v0.12.11) (2015-11-12)
78
-
79
59
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.12.9...v0.12.11)
80
60
 
81
61
  **Closed issues:**
82
62
 
83
63
  - French formatting [\#121](https://github.com/joost/phony_rails/issues/121)
84
-
85
64
  - French phony\_normalize [\#120](https://github.com/joost/phony_rails/issues/120)
86
-
87
65
  - Correct phone number failed the validatiton [\#115](https://github.com/joost/phony_rails/issues/115)
88
-
89
66
  - 'no implicit conversion of nil into String' from phony\_formatted!\(spaces: '-', strict: true\) with invalid numbers [\#113](https://github.com/joost/phony_rails/issues/113)
90
-
91
67
  - Can i skip a validation with another number? [\#110](https://github.com/joost/phony_rails/issues/110)
92
-
93
68
  - Consider dropping the dependency on the countries gem and using a YAML file instead [\#108](https://github.com/joost/phony_rails/issues/108)
94
-
95
69
  - Some Finnish mobile numbers are formatted wrong [\#107](https://github.com/joost/phony_rails/issues/107)
96
-
97
70
  - undefined method `\[\]' for Data:Class [\#106](https://github.com/joost/phony_rails/issues/106)
98
-
99
71
  - Phony is out of date [\#102](https://github.com/joost/phony_rails/issues/102)
100
72
 
101
73
  **Merged pull requests:**
102
74
 
103
75
  - Update readme [\#117](https://github.com/joost/phony_rails/pull/117) ([toydestroyer](https://github.com/toydestroyer))
104
-
105
76
  - Add uk, ru error message translations [\#114](https://github.com/joost/phony_rails/pull/114) ([shhavel](https://github.com/shhavel))
106
-
107
77
  - Update phony\_rails.gemspec [\#112](https://github.com/joost/phony_rails/pull/112) ([Agsiegert](https://github.com/Agsiegert))
108
-
109
78
  - Don't re-parse country codes YAML file every time it's needed. [\#111](https://github.com/joost/phony_rails/pull/111) ([jcoleman](https://github.com/jcoleman))
110
-
111
79
  - Replace countries dependency with YAML file [\#109](https://github.com/joost/phony_rails/pull/109) ([monfresh](https://github.com/monfresh))
112
80
 
113
81
  ## [v0.12.9](https://github.com/joost/phony_rails/tree/v0.12.9) (2015-07-13)
114
-
115
82
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.12.8...v0.12.9)
116
83
 
117
84
  **Closed issues:**
@@ -121,33 +88,25 @@
121
88
  **Merged pull requests:**
122
89
 
123
90
  - Get country data in a more straight forward way [\#105](https://github.com/joost/phony_rails/pull/105) ([humancopy](https://github.com/humancopy))
124
-
125
91
  - Replace Data with Setup.data [\#104](https://github.com/joost/phony_rails/pull/104) ([monfresh](https://github.com/monfresh))
126
92
 
127
93
  ## [v0.12.8](https://github.com/joost/phony_rails/tree/v0.12.8) (2015-06-22)
128
-
129
94
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.12.7...v0.12.8)
130
95
 
131
96
  **Closed issues:**
132
97
 
133
98
  - activerecord dependency [\#99](https://github.com/joost/phony_rails/issues/99)
134
-
135
99
  - Using a number different from the country [\#97](https://github.com/joost/phony_rails/issues/97)
136
-
137
100
  - UK 0203 numbers not handled correctly [\#95](https://github.com/joost/phony_rails/issues/95)
138
-
139
101
  - Consider keeping a Changelog for changes in each version. [\#91](https://github.com/joost/phony_rails/issues/91)
140
-
141
102
  - Phone numbers with extensions [\#78](https://github.com/joost/phony_rails/issues/78)
142
103
 
143
104
  **Merged pull requests:**
144
105
 
145
106
  - remove active\_record dependency [\#100](https://github.com/joost/phony_rails/pull/100) ([sbounmy](https://github.com/sbounmy))
146
-
147
107
  - Add enforce\_record\_country option to phony\_normalize method [\#98](https://github.com/joost/phony_rails/pull/98) ([phillipp](https://github.com/phillipp))
148
108
 
149
109
  ## [v0.12.7](https://github.com/joost/phony_rails/tree/v0.12.7) (2015-06-18)
150
-
151
110
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.12.6...v0.12.7)
152
111
 
153
112
  **Closed issues:**
@@ -159,7 +118,6 @@
159
118
  - Adding default error translation for the Hebrew language [\#96](https://github.com/joost/phony_rails/pull/96) ([pazaricha](https://github.com/pazaricha))
160
119
 
161
120
  ## [v0.12.6](https://github.com/joost/phony_rails/tree/v0.12.6) (2015-05-11)
162
-
163
121
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.12.5...v0.12.6)
164
122
 
165
123
  **Closed issues:**
@@ -171,41 +129,33 @@
171
129
  - pass all options from String\#phony\_normalized to PhonyRails.normalize\_number [\#94](https://github.com/joost/phony_rails/pull/94) ([krukgit](https://github.com/krukgit))
172
130
 
173
131
  ## [v0.12.5](https://github.com/joost/phony_rails/tree/v0.12.5) (2015-04-30)
174
-
175
132
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.12.4...v0.12.5)
176
133
 
177
134
  **Closed issues:**
178
135
 
179
136
  - phony\_normalize strips parentheses from NDC part [\#89](https://github.com/joost/phony_rails/issues/89)
180
-
181
137
  - Does not normalize when validations are skipped [\#88](https://github.com/joost/phony_rails/issues/88)
182
138
 
183
139
  ## [v0.12.4](https://github.com/joost/phony_rails/tree/v0.12.4) (2015-04-05)
184
-
185
140
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.12.2...v0.12.4)
186
141
 
187
142
  ## [v0.12.2](https://github.com/joost/phony_rails/tree/v0.12.2) (2015-04-05)
188
-
189
143
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.12.1...v0.12.2)
190
144
 
191
145
  **Closed issues:**
192
146
 
193
147
  - Some numbers not normalizing properly as of 0.12.1 [\#87](https://github.com/joost/phony_rails/issues/87)
194
-
195
148
  - Something wrong with normalization of NO phones [\#85](https://github.com/joost/phony_rails/issues/85)
196
149
 
197
150
  ## [v0.12.1](https://github.com/joost/phony_rails/tree/v0.12.1) (2015-04-01)
198
-
199
151
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.12.0...v0.12.1)
200
152
 
201
153
  **Closed issues:**
202
154
 
203
155
  - Validate a phone number format, but don't require the presence [\#84](https://github.com/joost/phony_rails/issues/84)
204
-
205
156
  - Simple question about creating a record [\#83](https://github.com/joost/phony_rails/issues/83)
206
157
 
207
158
  ## [v0.12.0](https://github.com/joost/phony_rails/tree/v0.12.0) (2015-03-26)
208
-
209
159
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.11.0...v0.12.0)
210
160
 
211
161
  **Closed issues:**
@@ -217,7 +167,6 @@
217
167
  - allow all valid options [\#82](https://github.com/joost/phony_rails/pull/82) ([zzma](https://github.com/zzma))
218
168
 
219
169
  ## [v0.11.0](https://github.com/joost/phony_rails/tree/v0.11.0) (2015-03-04)
220
-
221
170
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.10.1...v0.11.0)
222
171
 
223
172
  **Closed issues:**
@@ -229,19 +178,15 @@
229
178
  - Fix incorrect Japanese translation [\#80](https://github.com/joost/phony_rails/pull/80) ([ykzts](https://github.com/ykzts))
230
179
 
231
180
  ## [v0.10.1](https://github.com/joost/phony_rails/tree/v0.10.1) (2015-01-21)
232
-
233
181
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.10.0...v0.10.1)
234
182
 
235
183
  **Closed issues:**
236
184
 
237
185
  - PhonyRails.normalize\_number is removing unexpected zero [\#77](https://github.com/joost/phony_rails/issues/77)
238
-
239
186
  - support for arrays in postgres [\#59](https://github.com/joost/phony_rails/issues/59)
240
-
241
187
  - Phone extension support [\#57](https://github.com/joost/phony_rails/issues/57)
242
188
 
243
189
  ## [v0.10.0](https://github.com/joost/phony_rails/tree/v0.10.0) (2015-01-21)
244
-
245
190
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.9.0...v0.10.0)
246
191
 
247
192
  **Closed issues:**
@@ -249,41 +194,31 @@
249
194
  - Already normalized numbers have default country code prepended [\#76](https://github.com/joost/phony_rails/issues/76)
250
195
 
251
196
  ## [v0.9.0](https://github.com/joost/phony_rails/tree/v0.9.0) (2015-01-13)
252
-
253
197
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.8.2...v0.9.0)
254
198
 
255
199
  **Merged pull requests:**
256
200
 
257
201
  - change kh to km [\#75](https://github.com/joost/phony_rails/pull/75) ([Samda](https://github.com/Samda))
258
-
259
202
  - update phony [\#74](https://github.com/joost/phony_rails/pull/74) ([Samda](https://github.com/Samda))
260
-
261
203
  - add Khmer language translation [\#73](https://github.com/joost/phony_rails/pull/73) ([Samda](https://github.com/Samda))
262
-
263
204
  - Add PhonyRails.plausible\_number? [\#72](https://github.com/joost/phony_rails/pull/72) ([marcantonio](https://github.com/marcantonio))
264
205
 
265
206
  ## [v0.8.2](https://github.com/joost/phony_rails/tree/v0.8.2) (2014-12-18)
266
-
267
207
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.8.0...v0.8.2)
268
208
 
269
209
  **Closed issues:**
270
210
 
271
211
  - uninitialized constant Listen::Turnstile [\#69](https://github.com/joost/phony_rails/issues/69)
272
-
273
212
  - Issue with brazilian numbers [\#68](https://github.com/joost/phony_rails/issues/68)
274
-
275
213
  - Phony is now at 2.8.x [\#67](https://github.com/joost/phony_rails/issues/67)
276
-
277
214
  - Update to latest phony version? [\#65](https://github.com/joost/phony_rails/issues/65)
278
215
 
279
216
  **Merged pull requests:**
280
217
 
281
218
  - Remove depreciation warnings while running tests. [\#71](https://github.com/joost/phony_rails/pull/71) ([jmera](https://github.com/jmera))
282
-
283
219
  - Update guard to handle change in listen dependency [\#70](https://github.com/joost/phony_rails/pull/70) ([JonMidhir](https://github.com/JonMidhir))
284
220
 
285
221
  ## [v0.8.0](https://github.com/joost/phony_rails/tree/v0.8.0) (2014-11-07)
286
-
287
222
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.7.3...v0.8.0)
288
223
 
289
224
  **Closed issues:**
@@ -291,7 +226,6 @@
291
226
  - Update README [\#66](https://github.com/joost/phony_rails/issues/66)
292
227
 
293
228
  ## [v0.7.3](https://github.com/joost/phony_rails/tree/v0.7.3) (2014-10-23)
294
-
295
229
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.7.2...v0.7.3)
296
230
 
297
231
  **Merged pull requests:**
@@ -299,7 +233,6 @@
299
233
  - Ability to validate against the normalized input [\#64](https://github.com/joost/phony_rails/pull/64) ([dimroc](https://github.com/dimroc))
300
234
 
301
235
  ## [v0.7.2](https://github.com/joost/phony_rails/tree/v0.7.2) (2014-10-15)
302
-
303
236
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.7.1...v0.7.2)
304
237
 
305
238
  **Merged pull requests:**
@@ -307,129 +240,76 @@
307
240
  - Add italian translations [\#63](https://github.com/joost/phony_rails/pull/63) ([philipgiuliani](https://github.com/philipgiuliani))
308
241
 
309
242
  ## [v0.7.1](https://github.com/joost/phony_rails/tree/v0.7.1) (2014-10-01)
310
-
311
243
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.7.0...v0.7.1)
312
244
 
313
245
  ## [v0.7.0](https://github.com/joost/phony_rails/tree/v0.7.0) (2014-09-30)
314
-
315
246
  [Full Changelog](https://github.com/joost/phony_rails/compare/v0.6.0...v0.7.0)
316
247
 
317
248
  **Closed issues:**
318
249
 
319
250
  - TAG on release [\#62](https://github.com/joost/phony_rails/issues/62)
320
-
321
251
  - Unable to run migrations if "as" attribute added [\#60](https://github.com/joost/phony_rails/issues/60)
322
-
323
252
  - Rails not recognizing phony\_rails method [\#58](https://github.com/joost/phony_rails/issues/58)
324
-
325
253
  - Validation fails if record country code does not match code in phone number [\#55](https://github.com/joost/phony_rails/issues/55)
326
-
327
254
  - Phony 2.2.3 breaks test [\#51](https://github.com/joost/phony_rails/issues/51)
328
-
329
255
  - Country code not set when first two digits eq country code [\#50](https://github.com/joost/phony_rails/issues/50)
330
-
331
256
  - Phony 2.1 incompatibility related to country codes/numbers [\#48](https://github.com/joost/phony_rails/issues/48)
332
-
333
257
  - Clarify Indended Functionality and Require a Default Country Code [\#43](https://github.com/joost/phony_rails/issues/43)
334
-
335
258
  - Use Phony 2.0 [\#28](https://github.com/joost/phony_rails/issues/28)
336
259
 
337
260
  **Merged pull requests:**
338
261
 
339
262
  - Raise runtime errors not argument errors when :as attr undefined [\#61](https://github.com/joost/phony_rails/pull/61) ([chelsea](https://github.com/chelsea))
340
-
341
263
  - Fixes \#55 - Validation fails if record country code does not match code ... [\#56](https://github.com/joost/phony_rails/pull/56) ([juanpaco](https://github.com/juanpaco))
342
-
343
264
  - Add turkish locale file. [\#54](https://github.com/joost/phony_rails/pull/54) ([onurozgurozkan](https://github.com/onurozgurozkan))
344
-
345
265
  - Translate german [\#53](https://github.com/joost/phony_rails/pull/53) ([toxix](https://github.com/toxix))
346
-
347
266
  - Fix country code being incorrectly passed to phony [\#49](https://github.com/joost/phony_rails/pull/49) ([pjg](https://github.com/pjg))
348
267
 
349
268
  ## [v0.6.0](https://github.com/joost/phony_rails/tree/v0.6.0) (2014-01-28)
350
-
351
269
  **Closed issues:**
352
270
 
353
271
  - French normalized number isn't good [\#42](https://github.com/joost/phony_rails/issues/42)
354
-
355
272
  - Invalid numbers should not be formatted [\#41](https://github.com/joost/phony_rails/issues/41)
356
-
357
273
  - Error when formatting invalid numbers [\#40](https://github.com/joost/phony_rails/issues/40)
358
-
359
274
  - License missing from gemspec [\#38](https://github.com/joost/phony_rails/issues/38)
360
-
361
275
  - Expose Country objects, and allow national-to-international conversion [\#34](https://github.com/joost/phony_rails/issues/34)
362
-
363
276
  - default\_country\_code forces country code [\#33](https://github.com/joost/phony_rails/issues/33)
364
-
365
277
  - "translation missing" when using validator on non-activerecord backed models [\#30](https://github.com/joost/phony_rails/issues/30)
366
-
367
278
  - Error when normalizing long telephone numbers with default country code [\#29](https://github.com/joost/phony_rails/issues/29)
368
-
369
279
  - Fix default\_country\_number appending repeatedly [\#25](https://github.com/joost/phony_rails/issues/25)
370
-
371
280
  - Detect if phone number has country code specified and use that [\#22](https://github.com/joost/phony_rails/issues/22)
372
-
373
281
  - problem with v 0.2.1 [\#21](https://github.com/joost/phony_rails/issues/21)
374
-
375
282
  - Error with phony\_normalize on migration [\#19](https://github.com/joost/phony_rails/issues/19)
376
-
377
283
  - Mongoid Error Message [\#18](https://github.com/joost/phony_rails/issues/18)
378
-
379
284
  - Make dependency on newer version of phony [\#11](https://github.com/joost/phony_rails/issues/11)
380
-
381
285
  - add a wiki [\#7](https://github.com/joost/phony_rails/issues/7)
382
-
383
286
  - validator not included [\#4](https://github.com/joost/phony_rails/issues/4)
384
-
385
287
  - Country Number out of Country gem [\#3](https://github.com/joost/phony_rails/issues/3)
386
288
 
387
289
  **Merged pull requests:**
388
290
 
389
291
  - Add support for phony version ~\> 2.1 [\#45](https://github.com/joost/phony_rails/pull/45) ([pjg](https://github.com/pjg))
390
-
391
292
  - In the validator: add country code & number handling [\#44](https://github.com/joost/phony_rails/pull/44) ([robink](https://github.com/robink))
392
-
393
293
  - PhonyRails.country\_number\_for should accept case agnostic country code [\#39](https://github.com/joost/phony_rails/pull/39) ([ahegyi](https://github.com/ahegyi))
394
-
395
294
  - option for country code validation in helper [\#37](https://github.com/joost/phony_rails/pull/37) ([fareastside](https://github.com/fareastside))
396
-
397
295
  - Fix phone number formatting method call in README [\#36](https://github.com/joost/phony_rails/pull/36) ([pjg](https://github.com/pjg))
398
-
399
296
  - Better attribute accessor pattern + Japanese translation [\#35](https://github.com/joost/phony_rails/pull/35) ([johnnyshields](https://github.com/johnnyshields))
400
-
401
297
  - Cleanup for better Mongoid support [\#32](https://github.com/joost/phony_rails/pull/32) ([johnnyshields](https://github.com/johnnyshields))
402
-
403
298
  - add activemodel validation translation [\#31](https://github.com/joost/phony_rails/pull/31) ([ghiculescu](https://github.com/ghiculescu))
404
-
405
299
  - use default\_country\_code when normalizing [\#27](https://github.com/joost/phony_rails/pull/27) ([espen](https://github.com/espen))
406
-
407
300
  - update Gemfile.lock with lastest version [\#26](https://github.com/joost/phony_rails/pull/26) ([espen](https://github.com/espen))
408
-
409
301
  - Raise only an exception at validation for non-existing attributes \(\#19\) [\#20](https://github.com/joost/phony_rails/pull/20) ([k4nar](https://github.com/k4nar))
410
-
411
302
  - Do not normalize an implausible phone [\#16](https://github.com/joost/phony_rails/pull/16) ([Jell](https://github.com/Jell))
412
-
413
303
  - Override the default loading of the "countries" gem so that the Country class isn't unqualified. [\#15](https://github.com/joost/phony_rails/pull/15) ([jcoleman](https://github.com/jcoleman))
414
-
415
304
  - Mongoid support. [\#14](https://github.com/joost/phony_rails/pull/14) ([siong1987](https://github.com/siong1987))
416
-
417
305
  - Do not pollute the global namespace with a Country class [\#13](https://github.com/joost/phony_rails/pull/13) ([Jell](https://github.com/Jell))
418
-
419
306
  - Address issue \#11 - need to use a newer version of phony for additional countries [\#12](https://github.com/joost/phony_rails/pull/12) ([rjhaveri](https://github.com/rjhaveri))
420
-
421
307
  - Compatibility with Ruby 1.8.7 [\#10](https://github.com/joost/phony_rails/pull/10) ([henning-koch](https://github.com/henning-koch))
422
-
423
308
  - remove cause for warning: already initialized constant VERSION [\#9](https://github.com/joost/phony_rails/pull/9) ([henning-koch](https://github.com/henning-koch))
424
-
425
309
  - validator translation [\#8](https://github.com/joost/phony_rails/pull/8) ([ddidier](https://github.com/ddidier))
426
-
427
310
  - refactored tests and added options to validates\_plausible\_phone [\#6](https://github.com/joost/phony_rails/pull/6) ([ddidier](https://github.com/ddidier))
428
-
429
311
  - some tests and a helper method [\#5](https://github.com/joost/phony_rails/pull/5) ([ddidier](https://github.com/ddidier))
430
-
431
312
  - Bumped Phony dependency to the latest [\#2](https://github.com/joost/phony_rails/pull/2) ([Rodeoclash](https://github.com/Rodeoclash))
432
-
433
313
  - Changed the remaining references to phony\_number to phony\_rails. [\#1](https://github.com/joost/phony_rails/pull/1) ([floere](https://github.com/floere))
434
314
 
435
315
 
@@ -3,7 +3,7 @@ PATH
3
3
  specs:
4
4
  phony_rails (0.14.2)
5
5
  activesupport (>= 3.0)
6
- phony (~> 2.12)
6
+ phony (~> 2.15)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -1,3 +1,3 @@
1
1
  module PhonyRails
2
- VERSION = '0.14.2'.freeze
2
+ VERSION = '0.14.3'.freeze
3
3
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
19
19
  gem.post_install_message = 'PhonyRails v0.10.0 changes the way numbers are stored!'
20
20
  gem.post_install_message = "It now adds a '+' to the normalized number when it starts with a country number!"
21
21
 
22
- gem.add_dependency 'phony', '~> 2.12'
22
+ gem.add_dependency 'phony', '~> 2.15'
23
23
  gem.add_dependency 'activesupport', '>= 3.0'
24
24
  gem.add_development_dependency 'activerecord', '>= 3.0'
25
25
  gem.add_development_dependency 'mongoid', '>= 3.0'
@@ -83,6 +83,6 @@ end
83
83
 
84
84
  I18n.config.enforce_available_locales = true
85
85
 
86
- RSpec.configure do |config|
87
- # some (optional) config here
88
- end
86
+ # RSpec.configure do |config|
87
+ # # some (optional) config here
88
+ # end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phony_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.2
4
+ version: 0.14.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joost Hietbrink
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-16 00:00:00.000000000 Z
11
+ date: 2016-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: phony
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '2.12'
19
+ version: '2.15'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '2.12'
26
+ version: '2.15'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement