validates_and_formats_phones 0.0.10 → 1.0.0

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.
data/README CHANGED
@@ -12,11 +12,11 @@ But you can change all that...just read on.
12
12
 
13
13
  1. Install it as a gem:
14
14
 
15
- sudo gem install validates_and_formats_phones
15
+ (sudo) gem install validates_and_formats_phones
16
16
 
17
- 2. Then add it to your <tt>environment.rb</tt> file
17
+ 2. Then add it to your <tt>Gemfile</tt> file
18
18
 
19
- config.gem 'validates_and_formats_phones'
19
+ gem 'validates_and_formats_phones', '~> 1.0.0'
20
20
 
21
21
  3. Add the method <tt>validates_and_formats_phones</tt> to your model
22
22
 
@@ -69,8 +69,8 @@ You can also format and specify fields, like so:
69
69
 
70
70
  == Configuration options
71
71
 
72
- As of version 0.0.6 all configuration options available
73
- to validates_each are also available to the phone validator.
72
+ All configuration options available to validates_each are also available
73
+ to the phone validator.
74
74
  For example:
75
75
 
76
76
  class Person
@@ -79,7 +79,7 @@ For example:
79
79
 
80
80
  Here's a quick link to the validates_each documentation at the time of writing:
81
81
 
82
- http://api.rubyonrails.com/classes/ActiveRecord/Validations/ClassMethods.html#M002161
82
+ http://api.rubyonrails.org/classes/ActiveModel/Validations/ClassMethods.html#method-i-validates_each
83
83
 
84
84
 
85
85
  == Tiny string extension
@@ -93,6 +93,10 @@ As a tiny added benefit, String is extended with a to_phone method.
93
93
  > => '1234-5678'
94
94
 
95
95
  =Change Log
96
+ 1.0.0
97
+ No significant changes.
98
+ 0.0.10
99
+ 1. Make compatible with Rails 3 (note this breaks compatibility with previous Rails versions)
96
100
  0.0.7
97
101
  1. Bug fix for ...yes... Ruby 1.8.5...That's dedication right there.
98
102
  0.0.6
@@ -12,11 +12,11 @@ But you can change all that...just read on.
12
12
 
13
13
  1. Install it as a gem:
14
14
 
15
- sudo gem install validates_and_formats_phones
15
+ (sudo) gem install validates_and_formats_phones
16
16
 
17
- 2. Then add it to your <tt>environment.rb</tt> file
17
+ 2. Then add it to your <tt>Gemfile</tt> file
18
18
 
19
- config.gem 'validates_and_formats_phones'
19
+ gem 'validates_and_formats_phones', '~> 1.0.0'
20
20
 
21
21
  3. Add the method <tt>validates_and_formats_phones</tt> to your model
22
22
 
@@ -69,8 +69,8 @@ You can also format and specify fields, like so:
69
69
 
70
70
  == Configuration options
71
71
 
72
- As of version 0.0.6 all configuration options available
73
- to validates_each are also available to the phone validator.
72
+ All configuration options available to validates_each are also available
73
+ to the phone validator.
74
74
  For example:
75
75
 
76
76
  class Person
@@ -79,7 +79,7 @@ For example:
79
79
 
80
80
  Here's a quick link to the validates_each documentation at the time of writing:
81
81
 
82
- http://api.rubyonrails.com/classes/ActiveRecord/Validations/ClassMethods.html#M002161
82
+ http://api.rubyonrails.org/classes/ActiveModel/Validations/ClassMethods.html#method-i-validates_each
83
83
 
84
84
 
85
85
  == Tiny string extension
@@ -93,6 +93,10 @@ As a tiny added benefit, String is extended with a to_phone method.
93
93
  > => '1234-5678'
94
94
 
95
95
  =Change Log
96
+ 1.0.0
97
+ No significant changes.
98
+ 0.0.10
99
+ 1. Make compatible with Rails 3 (note this breaks compatibility with previous Rails versions)
96
100
  0.0.7
97
101
  1. Bug fix for ...yes... Ruby 1.8.5...That's dedication right there.
98
102
  0.0.6
@@ -1,3 +1,3 @@
1
1
  module ValidatesAndFormatsPhones
2
- VERSION= '0.0.10'
2
+ VERSION= '1.0.0'
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validates_and_formats_phones
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
+ - 1
7
8
  - 0
8
9
  - 0
9
- - 10
10
- version: 0.0.10
10
+ version: 1.0.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Bernardo Telles