br_documents 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/config.yml +2 -2
- data/Gemfile.lock +2 -2
- data/lib/br_documents/ie/mg.rb +1 -1
- data/lib/br_documents/version.rb +1 -1
- data/spec/br_documents/ie/mg_spec.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a893a246eb1c07b45241c0eec46268a58a01aa7e2bbb0f02f8294e3c1f6c0ccf
|
4
|
+
data.tar.gz: 8ad80b4d402567412752ed48eab9c0adec82fa6d92cf8dcf6bfbf788e72e8a6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 43d5217a448c6ed1297084b59c4935021a0bfda1968be33b109985cd169ea80b435adaec30373ba84b3125828842e7cce71033e3f7d842db3af0610f2c0e87d0
|
7
|
+
data.tar.gz: 63538e8845f2143637a685af12b944cc37c2b5ecb34fc32f3eb67c859cbd28968daaadac4669146322794e2029a0a0034c9fbdf94a90dcf887a309e125ca4e7d
|
@@ -8,7 +8,7 @@ jobs:
|
|
8
8
|
|
9
9
|
steps:
|
10
10
|
|
11
|
-
- uses: actions/checkout@
|
11
|
+
- uses: actions/checkout@v3
|
12
12
|
|
13
13
|
- uses: ruby/setup-ruby@v1
|
14
14
|
with:
|
@@ -21,7 +21,7 @@ jobs:
|
|
21
21
|
runs-on: ubuntu-latest
|
22
22
|
|
23
23
|
steps:
|
24
|
-
- uses: actions/checkout@
|
24
|
+
- uses: actions/checkout@v3
|
25
25
|
|
26
26
|
- uses: ruby/setup-ruby@v1
|
27
27
|
with:
|
data/Gemfile.lock
CHANGED
data/lib/br_documents/ie/mg.rb
CHANGED
data/lib/br_documents/version.rb
CHANGED
@@ -11,7 +11,7 @@ RSpec.describe BrDocuments::IE::MG do
|
|
11
11
|
|
12
12
|
describe '#valid?' do
|
13
13
|
it 'is invalid with malformed number' do
|
14
|
-
['
|
14
|
+
['363.112.657.12-75', '4.168.836.973-423', '560.139.778.87-12'].each do |number|
|
15
15
|
ie = described_class.new(number)
|
16
16
|
expect(ie).not_to be_valid
|
17
17
|
end
|
@@ -32,12 +32,12 @@ RSpec.describe BrDocuments::IE::MG do
|
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'is valid with valid number' do
|
35
|
-
['4193434759899', '9427301981820'].each do |number|
|
35
|
+
['4193434759899', '9427301981820', '0043982240026'].each do |number|
|
36
36
|
ie = described_class.new(number)
|
37
37
|
expect(ie).to be_valid
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
include_examples 'for to remove all masks', '942.730.198
|
41
|
+
include_examples 'for to remove all masks', '942.730.198/1820'
|
42
42
|
end
|
43
43
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: br_documents
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ASSEINFO - Sistemas de Informação
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|