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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ef9cb0a1bdc88afc57d1e6fbdb5892a6e345cd8
4
- data.tar.gz: 16b958a9b9a47c805a4d4d22a840e214b62edde7
3
+ metadata.gz: 8799619e95c7b19fe6450c03fce87028bb0a3fd8
4
+ data.tar.gz: 3e668840372f1fec3a347c222c62b503d04fdb73
5
5
  SHA512:
6
- metadata.gz: 298346d3cd6268e5457eb8e10d8c3f423ce093e84b79bb73ec37557cefa78f592f3013a4e086558c99049a4a68d1dcfd234fa4d2cd9738ff4240d61bd90d6c19
7
- data.tar.gz: 9a0d7e4430133b692859d8b077536fee7866252ff5c458f778cdadd1bfb34512bb9309e6f8a28471b7a795918c8a3579b424e757df353fde167c567ad9b0ad1d
6
+ metadata.gz: 50abc9f65eb2a8452bf3c7066fe63d1c8fa940a60d9309f5eed519ae39709f169086bb8c568db5e8b9b1a7a20bee6ee353218fecd78c9980f50954e2850606a8
7
+ data.tar.gz: 84e0aeb6ad30b64c718c764b3f3493294f7c8c5549a3948da130cb5dbe48918df2f4094b6d3993c01167ae37656168988f35fc12162b2d9b03d1518780a475d7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tracking_number (0.10.0)
4
+ tracking_number (0.10.1)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.10.0
1
+ 0.10.1
@@ -1,3 +1,3 @@
1
1
  module TrackingNumber
2
- VERSION = "0.10.0"
2
+ VERSION = "0.10.1"
3
3
  end
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tracking_number
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Keen