validates_cnpj 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
+ NGMzMDM1MzMxYTQ0NGU1ZDc1OTBmYTk5YTYwODIyZmFmOWQyMTE0OQ==
5
+ data.tar.gz: !binary |-
6
+ ZDM5ZjA3NzJkYzVkYjAwYTI3YWY3YmUwMzI1MzhlNzQ0ZGNjNmZhYw==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ MGRjZjAxNGRkZTkzYmU2MzYxZTMwNDBhYjhkNzNmNDYwMDE3MTFhZWQ2MWY2
10
+ YmM0M2Q3Mjg5YTdjYjA5MGVjZmZkYzY1Mjk1MDNhYTkwYWJhZDk4ZDhhNjZk
11
+ YTVkMTc0MGJiOWU1NjVlNzUxM2EyNjg4YjRmNzdjNThlMDk2Nzk=
12
+ data.tar.gz: !binary |-
13
+ ZDEzMTkzNzZjNWI1MWNkN2IzZTM3MWVlMTg1ZDk4Njg4ODkxNTY3NWQ1MzQ0
14
+ YjIxODBjYTVjNGM2Yzc4N2U1ZTlhZWMyNGRiMTZkMGFiN2FmMjljZDg0NzNm
15
+ ODc5MzJiOGZhMDVhNTg3NmNiMDZiZDdmMjg3ZTEyZmRkODIwMjk=
data/.ruby-gemset CHANGED
@@ -1 +1 @@
1
- 1.9.3
1
+ validates_cnpj
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- validates_cnpj
1
+ 1.9.3
@@ -1,6 +1,6 @@
1
- require 'cnpj_validator'
2
- require 'require_a_valid_cnpj_matcher' if defined?(::Shoulda)
1
+ require 'validates_cnpj/cnpj_validator'
2
+ require 'validates_cnpj/require_a_valid_cnpj_matcher' if defined?(::Shoulda)
3
3
 
4
4
  module ValidatesCnpj
5
5
  autoload :Cnpj, 'validates_cnpj/cnpj'
6
- end
6
+ end
@@ -1,3 +1,3 @@
1
1
  module ValidatesCnpj
2
- VERSION = '2.0.0'
3
- end
2
+ VERSION = '2.0.1'
3
+ end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: validates_cnpj
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,53 +97,46 @@ files:
108
97
  - Rakefile
109
98
  - gemfiles/Gemfile.rails3
110
99
  - gemfiles/Gemfile.rails4
111
- - lib/cnpj_validator.rb
112
- - lib/require_a_valid_cnpj_matcher.rb
113
100
  - lib/validates_cnpj.rb
114
101
  - lib/validates_cnpj/cnpj.rb
102
+ - lib/validates_cnpj/cnpj_validator.rb
103
+ - lib/validates_cnpj/require_a_valid_cnpj_matcher.rb
115
104
  - lib/validates_cnpj/version.rb
116
105
  - spec/fake_app/admin.rb
117
106
  - spec/fake_app/company.rb
118
107
  - spec/spec_helper.rb
119
- - spec/validate_as_cnpj_matcher_spec.rb
120
108
  - spec/validates_cnpj/cnpj_spec.rb
109
+ - spec/validates_cnpj/validate_as_cnpj_matcher_spec.rb
121
110
  - spec/validates_cnpj_spec.rb
122
111
  - validates_cnpj.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: -2611803438277467943
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: -2611803438277467943
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 CNPJ and test it with matchers in a simple way.
154
136
  test_files:
155
137
  - spec/fake_app/admin.rb
156
138
  - spec/fake_app/company.rb
157
139
  - spec/spec_helper.rb
158
- - spec/validate_as_cnpj_matcher_spec.rb
159
140
  - spec/validates_cnpj/cnpj_spec.rb
141
+ - spec/validates_cnpj/validate_as_cnpj_matcher_spec.rb
160
142
  - spec/validates_cnpj_spec.rb