sports_south 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sports_south/catalog.rb +7 -2
- data/lib/sports_south/inventory.rb +1 -1
- data/lib/sports_south/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23c027161f60fa7596d3a3df99943726d7e2e16e
|
4
|
+
data.tar.gz: 936a37c2d5ecdbc2b128891e87240fdbe633a9fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e08ec3391ee6e89cbe0c48c93f6e82397e9d759ed604a74cd2d0bb46a6c49bccd677584d7d857ea407bdf77a80900cc5390930eb57058166f5e7cff7033d937
|
7
|
+
data.tar.gz: c39055ef943caaea1a79ea547f9f86b4cdf25649fe7cfd3338e589aa2d25eb47c207042e13ec89d82725542f81ce07d13ab8c744e8b6a98f0045d2f070b548f5
|
data/lib/sports_south/catalog.rb
CHANGED
@@ -33,8 +33,13 @@ module SportsSouth
|
|
33
33
|
def self.all(chunk_size = 15, options = {}, &block)
|
34
34
|
requires!(options, :username, :password)
|
35
35
|
|
36
|
-
options[:last_updated]
|
37
|
-
|
36
|
+
if options[:last_updated].present?
|
37
|
+
options[:last_updated] = options[:last_updated].strftime("%-m/%-d/%Y")
|
38
|
+
else
|
39
|
+
options[:last_updated] ||= '1/1/1990'
|
40
|
+
end
|
41
|
+
|
42
|
+
options[:last_item] ||= '-1'
|
38
43
|
|
39
44
|
new(options).all(chunk_size, &block)
|
40
45
|
end
|
@@ -15,7 +15,7 @@ module SportsSouth
|
|
15
15
|
requires!(options, :username, :password)
|
16
16
|
|
17
17
|
if options[:last_updated].present?
|
18
|
-
options[:last_updated].to_s("yyyy-MM-ddTHH:mm:sszzz")
|
18
|
+
options[:last_updated] = options[:last_updated].to_s("yyyy-MM-ddTHH:mm:sszzz")
|
19
19
|
else
|
20
20
|
options[:last_updated] = '1990-09-25T14:15:47-04:00'
|
21
21
|
end
|
data/lib/sports_south/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sports_south
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dale Campbell
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|