validates_telephone 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/lib/{require_a_valid_telephone_matcher.rb → validates_telephone/require_a_valid_telephone_matcher.rb} +0 -0
- data/lib/{telephone_validator.rb → validates_telephone/telephone_validator.rb} +0 -0
- data/lib/validates_telephone/version.rb +2 -2
- data/spec/{require_a_valid_telephone_matcher_spec.rb → validates_telephone/require_a_valid_telephone_matcher_spec.rb} +0 -0
- metadata +9 -27
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
M2ZhODljZmZiOTVhODVkYzI1OTE2Mjg1ZTJhNDBjNDE5MzIzMjlhZQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NzJlM2RlMDcwNjAwMjdjOWI0NGMwMGM3MGIxNmRhZTA3ZmQwZjBmYw==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
Y2I4NDU2OTY4ZjhjZTQzZjZhYmZhYmI3MTcyMzA5ZTFkYTM3NzZhMzMxOGMx
|
10
|
+
OTI2ZTZkNWNiMmYwOWQ1NjBiMjk0M2MxZDRkZTgxYjcwYjA5MmNmZWYyMDE1
|
11
|
+
YzBiNjkyMWE4YWNmZmI2NTBiNTg3ZmFjODEzM2U1ODUyODA0ZTg=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
Y2JjMTcyOTY1MzFiNTIyNWZjZWYxOTQ3MjEwNmUxNWFlYzg0NTAwYzgyYWE5
|
14
|
+
OGIxNDg0NzMyYjFiMzk5ZmM3YjBkZjQxZDlkZTU0MjhiOTYyMzMyODhmYjRm
|
15
|
+
MWMwMjhiNzNlMjY4NTQ4MzU3ZTBjNTE4Y2VlN2M0M2QxNGFlMjc=
|
File without changes
|
File without changes
|
@@ -1,3 +1,3 @@
|
|
1
1
|
module ValidatesTelephone
|
2
|
-
VERSION = '2.0.
|
3
|
-
end
|
2
|
+
VERSION = '2.0.1'
|
3
|
+
end
|
File without changes
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: validates_telephone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
5
|
-
prerelease:
|
4
|
+
version: 2.0.1
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Paulo Henrique Lopes Ribeiro
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-12-17 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rake
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ! '>='
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rspec
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ! '>='
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ! '>='
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: shoulda-matchers
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - '='
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - '='
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: coveralls
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ! '>='
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ! '>='
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -78,7 +69,6 @@ dependencies:
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: activemodel
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ! '>='
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ! '>='
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -108,62 +97,55 @@ files:
|
|
108
97
|
- Rakefile
|
109
98
|
- gemfiles/Gemfile.rails3
|
110
99
|
- gemfiles/Gemfile.rails4
|
111
|
-
- lib/require_a_valid_telephone_matcher.rb
|
112
|
-
- lib/telephone_validator.rb
|
113
100
|
- lib/validates_telephone.rb
|
114
101
|
- lib/validates_telephone/formatter.rb
|
115
102
|
- lib/validates_telephone/regex.rb
|
103
|
+
- lib/validates_telephone/require_a_valid_telephone_matcher.rb
|
104
|
+
- lib/validates_telephone/telephone_validator.rb
|
116
105
|
- lib/validates_telephone/validator.rb
|
117
106
|
- lib/validates_telephone/version.rb
|
118
107
|
- spec/fake_app/locales/br.yml
|
119
108
|
- spec/fake_app/locales/usa.yml
|
120
109
|
- spec/fake_app/user.rb
|
121
|
-
- spec/require_a_valid_telephone_matcher_spec.rb
|
122
110
|
- spec/spec_helper.rb
|
123
111
|
- spec/validates_telephone/formatter_spec.rb
|
124
112
|
- spec/validates_telephone/regex_spec.rb
|
113
|
+
- spec/validates_telephone/require_a_valid_telephone_matcher_spec.rb
|
125
114
|
- spec/validates_telephone/validator_spec.rb
|
126
115
|
- spec/validates_telephone_spec.rb
|
127
116
|
- validates_telephone.gemspec
|
128
117
|
homepage:
|
129
118
|
licenses:
|
130
119
|
- MIT
|
120
|
+
metadata: {}
|
131
121
|
post_install_message:
|
132
122
|
rdoc_options: []
|
133
123
|
require_paths:
|
134
124
|
- lib
|
135
125
|
required_ruby_version: !ruby/object:Gem::Requirement
|
136
|
-
none: false
|
137
126
|
requirements:
|
138
127
|
- - ! '>='
|
139
128
|
- !ruby/object:Gem::Version
|
140
129
|
version: '0'
|
141
|
-
segments:
|
142
|
-
- 0
|
143
|
-
hash: 4137047763219948183
|
144
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
131
|
requirements:
|
147
132
|
- - ! '>='
|
148
133
|
- !ruby/object:Gem::Version
|
149
134
|
version: '0'
|
150
|
-
segments:
|
151
|
-
- 0
|
152
|
-
hash: 4137047763219948183
|
153
135
|
requirements: []
|
154
136
|
rubyforge_project:
|
155
|
-
rubygems_version: 1.
|
137
|
+
rubygems_version: 2.1.11
|
156
138
|
signing_key:
|
157
|
-
specification_version:
|
139
|
+
specification_version: 4
|
158
140
|
summary: Validates Telephone for Brazil and United States and test it with matchers
|
159
141
|
in a simple way.
|
160
142
|
test_files:
|
161
143
|
- spec/fake_app/locales/br.yml
|
162
144
|
- spec/fake_app/locales/usa.yml
|
163
145
|
- spec/fake_app/user.rb
|
164
|
-
- spec/require_a_valid_telephone_matcher_spec.rb
|
165
146
|
- spec/spec_helper.rb
|
166
147
|
- spec/validates_telephone/formatter_spec.rb
|
167
148
|
- spec/validates_telephone/regex_spec.rb
|
149
|
+
- spec/validates_telephone/require_a_valid_telephone_matcher_spec.rb
|
168
150
|
- spec/validates_telephone/validator_spec.rb
|
169
151
|
- spec/validates_telephone_spec.rb
|