validates_cpf 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 ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MDlmNGU2ZWU1MjMxZmRjMzA2N2U2ZTYxN2MwNjM5ODVkODZiM2M1Mw==
5
+ data.tar.gz: !binary |-
6
+ MDJmYTRiNmE4NjIwMjhkOTFjNjBhMzEwM2UxZjkwMzNmNWEwN2VjNA==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ZTJiOGUwZGM0N2JhN2UxYzhhNWZmYTIzMjA3ODBjNzBmNjZjMjZmOWQxYTgy
10
+ NDA0NzM3NDA5MWJiZmRhMzhiZDFjMGFiYWY5N2U5MjA1OTQ5ZjM3M2I4ODc1
11
+ YmE1NDgzMDcyYmQzYzVlN2NiMzk1ZWQ5OTM3OTdjNmY2NTFlOTA=
12
+ data.tar.gz: !binary |-
13
+ MjRlMjFjY2U4MTFiMWVjYzQxMGI3NmFmOWMwYmFkMzU1MzNiZWY2ODFkZmNh
14
+ MzQzOWFiNjk0NDg2OWJhNzcwNzg2N2IyYzQxNjBlOTIyYzkwZDU2YTQwMDdm
15
+ ODcxOWIzZmZiYWEyYzRmNGM1YzNhNTM0NGYwYzI1YTY5ZmEyMmU=
@@ -1,3 +1,3 @@
1
1
  module ValidatesCpf
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.1'
3
3
  end
data/lib/validates_cpf.rb CHANGED
@@ -1,6 +1,6 @@
1
- require 'cpf_validator'
2
- require 'require_a_valid_cpf_matcher' if defined?(::Shoulda)
1
+ require 'validates_cpf/cpf_validator'
2
+ require 'validates_cpf/require_a_valid_cpf_matcher' if defined?(::Shoulda)
3
3
 
4
4
  module ValidatesCpf
5
5
  autoload :Cpf, 'validates_cpf/cpf'
6
- end
6
+ end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validates_cpf
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.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-09-17 00:00:00.000000000 Z
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,55 +97,48 @@ files:
108
97
  - Rakefile
109
98
  - gemfiles/Gemfile.rails3
110
99
  - gemfiles/Gemfile.rails4
111
- - lib/cpf_validator.rb
112
- - lib/require_a_valid_cpf_matcher.rb
113
100
  - lib/validates_cpf.rb
114
101
  - lib/validates_cpf/cpf.rb
102
+ - lib/validates_cpf/cpf_validator.rb
103
+ - lib/validates_cpf/require_a_valid_cpf_matcher.rb
115
104
  - lib/validates_cpf/version.rb
116
105
  - spec/fake_app/admin.rb
117
106
  - spec/fake_app/user.rb
118
- - spec/require_a_valid_cpf_matcher_spec.rb
119
107
  - spec/spec_helper.rb
120
108
  - spec/validates_cpf/cpf_spec.rb
109
+ - spec/validates_cpf/require_a_valid_cpf_matcher_spec.rb
121
110
  - spec/validates_cpf_spec.rb
122
111
  - validates_cpf.gemspec
123
112
  homepage:
124
113
  licenses:
125
114
  - MIT
115
+ metadata: {}
126
116
  post_install_message:
127
117
  rdoc_options: []
128
118
  require_paths:
129
119
  - lib
130
120
  required_ruby_version: !ruby/object:Gem::Requirement
131
- none: false
132
121
  requirements:
133
122
  - - ! '>='
134
123
  - !ruby/object:Gem::Version
135
124
  version: '0'
136
- segments:
137
- - 0
138
- hash: 853946709571986594
139
125
  required_rubygems_version: !ruby/object:Gem::Requirement
140
- none: false
141
126
  requirements:
142
127
  - - ! '>='
143
128
  - !ruby/object:Gem::Version
144
129
  version: '0'
145
- segments:
146
- - 0
147
- hash: 853946709571986594
148
130
  requirements: []
149
131
  rubyforge_project:
150
- rubygems_version: 1.8.25
132
+ rubygems_version: 2.1.11
151
133
  signing_key:
152
- specification_version: 3
134
+ specification_version: 4
153
135
  summary: Validates CPF and test it with matchers in a simple way.
154
136
  test_files:
155
137
  - gemfiles/Gemfile.rails3
156
138
  - gemfiles/Gemfile.rails4
157
139
  - spec/fake_app/admin.rb
158
140
  - spec/fake_app/user.rb
159
- - spec/require_a_valid_cpf_matcher_spec.rb
160
141
  - spec/spec_helper.rb
161
142
  - spec/validates_cpf/cpf_spec.rb
143
+ - spec/validates_cpf/require_a_valid_cpf_matcher_spec.rb
162
144
  - spec/validates_cpf_spec.rb