spanish_ccc_validator 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,8 +1,8 @@
|
|
1
1
|
require File.expand_path("./spec") + '/spec_helper.rb'
|
2
2
|
|
3
3
|
describe SpanishCccValidator do
|
4
|
-
describe SpanishCccValidator::
|
5
|
-
subject{ SpanishCccValidator::
|
4
|
+
describe SpanishCccValidator::CustomCccValidator do
|
5
|
+
subject{ SpanishCccValidator::CustomCccValidator }
|
6
6
|
describe '#canonize' do
|
7
7
|
it "cleans the string till it is just numbers" do
|
8
8
|
subject.canonize('1234-5678-91-1245678901').should == '12345678911245678901'
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spanish_ccc_validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- miguel.camba
|