tracking_number 0.10.0 → 0.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/tracking_number/version.rb +1 -1
- data/test/test_helper.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8799619e95c7b19fe6450c03fce87028bb0a3fd8
|
4
|
+
data.tar.gz: 3e668840372f1fec3a347c222c62b503d04fdb73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50abc9f65eb2a8452bf3c7066fe63d1c8fa940a60d9309f5eed519ae39709f169086bb8c568db5e8b9b1a7a20bee6ee353218fecd78c9980f50954e2850606a8
|
7
|
+
data.tar.gz: 84e0aeb6ad30b64c718c764b3f3493294f7c8c5549a3948da130cb5dbe48918df2f4094b6d3993c01167ae37656168988f35fc12162b2d9b03d1518780a475d7
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.10.
|
1
|
+
0.10.1
|
data/test/test_helper.rb
CHANGED
@@ -45,7 +45,7 @@ class Minitest::Test
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def should_fail_on_check_digit_changes(valid_number)
|
48
|
-
digits = valid_number.chars
|
48
|
+
digits = valid_number.chars.to_a
|
49
49
|
last = digits.pop.to_i
|
50
50
|
digits << (last < 2 ? last + 3 : last - 3).to_s
|
51
51
|
invalid_number = digits.join
|