v0.15.0 (2021-04-15)
Closed issues:
- normalized_when_valid: true seems broken if there are two phone attributes #195
Merged pull requests:
- Test fixes - No mongoid #207 (joost)
- Updated requirements (had to remove mongodb compatibility) #206 (joost)
- Updated phony gem requirements to be Ruby 3 compatible #205 (NikoRoberts)
- Make CI Green Again #201 (amatsuda)
v0.14.13 (2019-07-03)
Closed issues:
- 0.4.11 was the latest release. However the new normalize_when_valid has been sitting here for a while... Release? #194
Merged pull requests:
v0.14.12 (2019-06-21)
Closed issues:
- Some German numbers not passing plausible_numbers? without country_code #193
Merged pull requests:
- Upgrade Ruby versions and Relax dependancies #192 (berkos)
- Add possibility to return original phone number when is not valid #190 (synion)
- Add UK country_code. #189 (pudiva)
v0.14.11 (2018-10-11)
Closed issues:
- Problem with normalizing Estonian number #187
Merged pull requests:
- Add Korean translation(including spec) #186 (freelyageha)
v0.14.10 (2018-10-11)
Closed issues:
- PhonyRails.default_country_code too intrusive in plausible_number? method #179
- default_country_code overrides 00-prefix country code #175
- Valid 260 area code number is reported as invalid #168
- Croatian number not validating as plausible. #165
- phony_formatted not returning original String for non-digit only strings #163
- should all normalized numbers be valid? #162
- Extensions not working out of the box for validator #160
Merged pull requests:
- Remove errant
puts
#188 (stevenharman) - Close issues #185 (joost)
- Better PhonyRails.plausible_number? method. Closes #179. #184 (joost)
- Allow numbers starting with 00 country codes. Closes #175. #183 (joost)
v0.14.9 (2018-09-05)
Closed issues:
- Cut new release 0.14.7 to include new extension removal logic #177
- default_country_code based on relation #174
Merged pull requests:
- Allow brackets. Closes #170. #182 (joost)
- add lambda support for default country code #181 (kimyu92)
- Add Spanish translation for validation error #178 (r-sierra)
v0.14.7 (2018-05-25)
Closed issues:
Merged pull requests:
- Extension option added to normalize_number #176 (ramaboo)
- return country from phone number #169 (aovertus)
- Fix code example in README to match description #167 (mattruzicka)
v0.14.6 (2017-06-20)
Closed issues:
- Fail validation on raw input #161
- Extension example in README does not work #155
- Switching the dependancy from
ActiveRecord::Base
toActiveModel::Model
breaks support for Rails 3 apps #147
Merged pull requests:
- Conditional Normalization #166 (Ross-Hunter)
- Fixed belongs_to_required_by_default in Rails 5 #158 (olivierpichon)
subbed
always return number #157 (mrclmrvn)
v0.14.5 (2017-02-08)
Closed issues:
Merged pull requests:
- Fix Rails 3 compatibility in issue #147 #156 (wvanheerde)
- Support of phone numbers with extension in validator #153 (Kukunin)
v0.14.4 (2016-10-10)
Closed issues:
- Add support for internal Russian phone style (8 926 ... instead of +7 926 ...) #148
- is it necessary to extend ActiveRecord::Base instead of ActiveModel::Model ? #143
Merged pull requests:
v0.14.2 (2016-06-16)
Merged pull requests:
- Do not use insecure multiline regex in examples #146 (bdewater)
- support for ActiveModel::Model alternative to database-backed models only #144 (brandondees)
v0.14.1 (2016-05-08)
Closed issues:
- Pull request #139 (released in 0.14.0) breaks message: :improbable_phone option #140
Merged pull requests:
- Fixed a bug that prevents a normalized attribute from being set to nil #142 (kylerippey)
- Read message value directly from options #141 (monfresh)
v0.14.0 (2016-04-21)
Closed issues:
- In normalize_number, .clone is being used, which preserves "frozenness", causing method to fail sometimes #136
- question Is thr any way to find country code from mobile no? #135
- invalid number assumed to be valid #130
- Split fails when a + is present #123
Merged pull requests:
- Adds ability to pass symbols as option values to phony model helpers #139 (jonathan-wheeler)
- Add support for phone numbers with extensions #138 (jerryclinesmith)
- Add support for a default country code #137 (jerryclinesmith)
- Added first RuboCop stuff. #134 (joost)
v0.13.0 (2016-03-12)
Closed issues:
- Adding country code twice for Luxemburg numbers #128
- Unexpected result when calling normalize_number multiple times with country_code option #126
- No method find_by_normalized_phone_number #125
- Invalid number is valid? #124
- Can it validate mobile phone? #122
Merged pull requests:
- Do not raise NoMethodError when an illegal country code is set #133 (klaustopher)
- only assigned normalize values if there is one #132 (ekkyou)
- Adding Kosovo phone code #131 (Xanders)
- Add Dutch translation for invalid number #129 (bdewater)
v0.12.11 (2015-11-12)
Closed issues:
- French formatting #121
- French phony_normalize #120
- Correct phone number failed the validatiton #115
- 'no implicit conversion of nil into String' from phony_formatted!(spaces: '-', strict: true) with invalid numbers #113
- Can i skip a validation with another number? #110
- Consider dropping the dependency on the countries gem and using a YAML file instead #108
- Some Finnish mobile numbers are formatted wrong #107
- undefined method `[]' for Data:Class #106
- Phony is out of date #102
Merged pull requests:
- Update readme #117 (toydestroyer)
- Add uk, ru error message translations #114 (shhavel)
- Update phony_rails.gemspec #112 (Agsiegert)
- Don't re-parse country codes YAML file every time it's needed. #111 (jcoleman)
- Replace countries dependency with YAML file #109 (monfresh)
v0.12.9 (2015-07-13)
Closed issues:
- Countries 0.11.5 introduces a breaking change #103
Merged pull requests:
- Get country data in a more straight forward way #105 (humancopy)
- Replace Data with Setup.data #104 (monfresh)
v0.12.8 (2015-06-22)
Closed issues:
- activerecord dependency #99
- Using a number different from the country #97
- UK 0203 numbers not handled correctly #95
- Consider keeping a Changelog for changes in each version. #91
- Phone numbers with extensions #78
Merged pull requests:
- remove active_record dependency #100 (sbounmy)
- Add enforce_record_country option to phony_normalize method #98 (phillipp)
v0.12.7 (2015-06-18)
Closed issues:
- inconsistent normalization #93
Merged pull requests:
v0.12.6 (2015-05-11)
Closed issues:
- Nil return values for normalize cause validations to pass #92
Merged pull requests:
v0.12.5 (2015-04-30)
Closed issues:
- phony_normalize strips parentheses from NDC part #89
- Does not normalize when validations are skipped #88
v0.12.4 (2015-04-05)
v0.12.2 (2015-04-05)
Closed issues:
- Some numbers not normalizing properly as of 0.12.1 #87
- Something wrong with normalization of NO phones #85
v0.12.1 (2015-04-01)
Closed issues:
- Validate a phone number format, but don't require the presence #84
- Simple question about creating a record #83
v0.12.0 (2015-03-26)
Closed issues:
- Allow validating against multiple countries #81
Merged pull requests:
v0.11.0 (2015-03-04)
Closed issues:
- Method phony_formatted return "undefined method `split' for 1:Fixnum" #79
Merged pull requests:
v0.10.1 (2015-01-21)
Closed issues:
- PhonyRails.normalize_number is removing unexpected zero #77
- support for arrays in postgres #59
- Phone extension support #57
Merged pull requests:
v0.10.0 (2015-01-21)
Closed issues:
- Already normalized numbers have default country code prepended #76
v0.9.0 (2015-01-13)
Merged pull requests:
- change kh to km #75 (Samda)
- update phony #74 (Samda)
- add Khmer language translation #73 (Samda)
- Add PhonyRails.plausible_number? #72 (marcantonio)
v0.8.2 (2014-12-18)
Closed issues:
- uninitialized constant Listen::Turnstile #69
- Issue with brazilian numbers #68
- Phony is now at 2.8.x #67
- Update to latest phony version? #65
Merged pull requests:
- Remove depreciation warnings while running tests. #71 (jmera)
- Update guard to handle change in listen dependency #70 (JonMidhir)
v0.8.0 (2014-11-07)
Closed issues:
- Update README #66
v0.7.3 (2014-10-23)
Merged pull requests:
v0.7.2 (2014-10-15)
Merged pull requests:
- Add italian translations #63 (philipgiuliani)
v0.7.1 (2014-10-01)
v0.7.0 (2014-09-30)
Closed issues:
- TAG on release #62
- Unable to run migrations if "as" attribute added #60
- Rails not recognizing phony_rails method #58
- Validation fails if record country code does not match code in phone number #55
- Phony 2.2.3 breaks test #51
- Country code not set when first two digits eq country code #50
- Phony 2.1 incompatibility related to country codes/numbers #48
- Clarify Indended Functionality and Require a Default Country Code #43
- Use Phony 2.0 #28
Merged pull requests:
- Raise runtime errors not argument errors when :as attr undefined #61 (chelsea)
- Add turkish locale file. #54 (onurozgurozkan)
- Translate german #53 (toxix)
- Fix country code being incorrectly passed to phony #49 (pjg)
v0.6.0 (2014-01-28)
Closed issues:
- French normalized number isn't good #42
- Invalid numbers should not be formatted #41
- Error when formatting invalid numbers #40
- License missing from gemspec #38
- Expose Country objects, and allow national-to-international conversion #34
- default_country_code forces country code #33
- "translation missing" when using validator on non-activerecord backed models #30
- Error when normalizing long telephone numbers with default country code #29
- Fix default_country_number appending repeatedly #25
- Detect if phone number has country code specified and use that #22
- problem with v 0.2.1 #21
- Error with phony_normalize on migration #19
- Mongoid Error Message #18
- Make dependency on newer version of phony #11
- add a wiki #7
- validator not included #4
- Country Number out of Country gem #3
Merged pull requests:
- Add support for phony version ~> 2.1 #45 (pjg)
- In the validator: add country code & number handling #44 (robink)
- PhonyRails.country_number_for should accept case agnostic country code #39 (ahegyi)
- option for country code validation in helper #37 (JeffLtz)
- Fix phone number formatting method call in README #36 (pjg)
- Better attribute accessor pattern + Japanese translation #35 (johnnyshields)
- Cleanup for better Mongoid support #32 (johnnyshields)
- add activemodel validation translation #31 (ghiculescu)
- use default_country_code when normalizing #27 (espen)
- update Gemfile.lock with lastest version #26 (espen)
- Raise only an exception at validation for non-existing attributes (#19) #20 (k4nar)
- Do not normalize an implausible phone #16 (Jell)
- Override the default loading of the "countries" gem so that the Country class isn't unqualified. #15 (jcoleman)
- Mongoid support. #14 (siong1987)
- Do not pollute the global namespace with a Country class #13 (Jell)
- Address issue #11 - need to use a newer version of phony for additional countries #12 (rjhaveri)
- Compatibility with Ruby 1.8.7 #10 (triskweline)
- remove cause for warning: already initialized constant VERSION #9 (triskweline)
- validator translation #8 (ddidier)
- refactored tests and added options to validates_plausible_phone #6 (ddidier)
- some tests and a helper method #5 (ddidier)
- Bumped Phony dependency to the latest #2 (Rodeoclash)
- Changed the remaining references to phony_number to phony_rails. #1 (floere)
* This Changelog was automatically generated by github_changelog_generator