tracking_number 0.10.4 → 0.10.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +3 -1
- data/VERSION +1 -1
- data/lib/tracking_number/active_model_validator.rb +1 -1
- data/lib/tracking_number/version.rb +1 -1
- metadata +1 -2
- data/Gemfile.lock +0 -53
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0361787dd819144799899504060b5fad1c152fd8'
|
4
|
+
data.tar.gz: 93e3270a902aef5ac81580c5add4c7f94872d9ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 771dd5aa40219a4f6386a2c73ddfda1b10e0a1230ea1b672efc4af8c0d41472080ae6a036f4c90c99384e93024feec8abc9f831b6c593d8ff2da2301690fc51d
|
7
|
+
data.tar.gz: a30fbe05e145adf611bb8a13b375246926c36dd81509d47210f05c227a637e0f7daffe748df739eb692adeb6ef82713a4cf57ae8d45d30770ebec8cc1f02a10e
|
data/.gitignore
CHANGED
@@ -14,7 +14,9 @@ doc
|
|
14
14
|
# jeweler generated
|
15
15
|
pkg
|
16
16
|
|
17
|
-
|
17
|
+
Gemfile.lock
|
18
|
+
|
19
|
+
# Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
|
18
20
|
#
|
19
21
|
# * Create a file at ~/.gitignore
|
20
22
|
# * Include files you want ignored
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.10.
|
1
|
+
0.10.5
|
@@ -6,7 +6,7 @@ class TrackingNumberValidator < ActiveModel::EachValidator
|
|
6
6
|
elsif TrackingNumber.new(value).valid?
|
7
7
|
# looks good to me
|
8
8
|
else
|
9
|
-
record.errors[attribute] << options[:message] || 'is not a valid tracking number'
|
9
|
+
record.errors[attribute] << (options[:message] || 'is not a valid tracking number')
|
10
10
|
end
|
11
11
|
end
|
12
12
|
end
|
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.
|
4
|
+
version: 0.10.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff Keen
|
@@ -93,7 +93,6 @@ files:
|
|
93
93
|
- ".gitignore"
|
94
94
|
- ".travis.yml"
|
95
95
|
- Gemfile
|
96
|
-
- Gemfile.lock
|
97
96
|
- LICENSE.txt
|
98
97
|
- README.md
|
99
98
|
- Rakefile
|
data/Gemfile.lock
DELETED
@@ -1,53 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
tracking_number (0.10.4)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: http://rubygems.org/
|
8
|
-
specs:
|
9
|
-
activemodel (4.2.5.2)
|
10
|
-
activesupport (= 4.2.5.2)
|
11
|
-
builder (~> 3.1)
|
12
|
-
activesupport (4.2.5.2)
|
13
|
-
i18n (~> 0.7)
|
14
|
-
json (~> 1.7, >= 1.7.7)
|
15
|
-
minitest (~> 5.1)
|
16
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
17
|
-
tzinfo (~> 1.1)
|
18
|
-
builder (3.2.3)
|
19
|
-
concurrent-ruby (1.0.5)
|
20
|
-
docile (1.1.5)
|
21
|
-
i18n (0.9.3)
|
22
|
-
concurrent-ruby (~> 1.0)
|
23
|
-
json (1.8.6)
|
24
|
-
minitest (5.11.3)
|
25
|
-
rake (10.4.2)
|
26
|
-
shoulda (3.5.0)
|
27
|
-
shoulda-context (~> 1.0, >= 1.0.1)
|
28
|
-
shoulda-matchers (>= 1.4.1, < 3.0)
|
29
|
-
shoulda-context (1.2.2)
|
30
|
-
shoulda-matchers (2.8.0)
|
31
|
-
activesupport (>= 3.0.0)
|
32
|
-
simplecov (0.15.1)
|
33
|
-
docile (~> 1.1.0)
|
34
|
-
json (>= 1.8, < 3)
|
35
|
-
simplecov-html (~> 0.10.0)
|
36
|
-
simplecov-html (0.10.2)
|
37
|
-
thread_safe (0.3.6)
|
38
|
-
tzinfo (1.2.4)
|
39
|
-
thread_safe (~> 0.1)
|
40
|
-
|
41
|
-
PLATFORMS
|
42
|
-
ruby
|
43
|
-
|
44
|
-
DEPENDENCIES
|
45
|
-
activemodel (~> 4.2.5.1)
|
46
|
-
minitest (~> 5.5)
|
47
|
-
rake (~> 10.4.2)
|
48
|
-
shoulda
|
49
|
-
simplecov
|
50
|
-
tracking_number!
|
51
|
-
|
52
|
-
BUNDLED WITH
|
53
|
-
1.16.0
|