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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 854cc83c40a1f787c3fb58e2666834c5889216fc
4
- data.tar.gz: 8728058ebfa7e957b9bacb0ab35f85fe114db2b6
3
+ metadata.gz: 23c027161f60fa7596d3a3df99943726d7e2e16e
4
+ data.tar.gz: 936a37c2d5ecdbc2b128891e87240fdbe633a9fa
5
5
  SHA512:
6
- metadata.gz: bb300ffe2f471f01fefdbf45059c8a7cbe4dd698fc7990b32d8e1d5b153f4a742f3322fa444951271c069b4d3d5d90e9a991f94d05eb66bc2ea25833c86dbcfa
7
- data.tar.gz: 6a49fb6d2a96f3155c046c1cab8b489e273f98c597ad3580d0e3ea83cec09d85538da9eaa1fb2455144441d805820c6a4a7382fedcc118ac65726d81c68bf0b2
6
+ metadata.gz: 2e08ec3391ee6e89cbe0c48c93f6e82397e9d759ed604a74cd2d0bb46a6c49bccd677584d7d857ea407bdf77a80900cc5390930eb57058166f5e7cff7033d937
7
+ data.tar.gz: c39055ef943caaea1a79ea547f9f86b4cdf25649fe7cfd3338e589aa2d25eb47c207042e13ec89d82725542f81ce07d13ab8c744e8b6a98f0045d2f070b548f5
@@ -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] ||= '1/1/1990'
37
- options[:last_item] ||= '-1'
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
@@ -1,3 +1,3 @@
1
1
  module SportsSouth
2
- VERSION = '2.0.1'
2
+ VERSION = '2.0.2'
3
3
  end
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.1
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-26 00:00:00.000000000 Z
11
+ date: 2017-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri