tvdb_party_v2 0.1.3 → 0.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5adf58bd93c464a542dec5b77cdd3a99c73ae183
4
- data.tar.gz: 574e9d9c45752b121c443ba22e0ca3d1df8f21f0
3
+ metadata.gz: e863c79c6681635713a463d1affde161598948f8
4
+ data.tar.gz: a5aa2cb847f990e301a1e59f5de19ef586657ec2
5
5
  SHA512:
6
- metadata.gz: dde7343ea9ff8b5b477333231d4eeb8f086e39931385c7c0b9b5b4428814438dccd9f0eff107cbdae1f3f6ef8cbab1c4e41c7d7cc9e0025d381ce3622e2572e4
7
- data.tar.gz: 929031bcf106fc3a927f44b29723c0902080c7a4d90bc6b0f4601a8a3980f51b85cd8920d0e7edd6698572db13866a9e9510e42d73972a2b184c09a293bb0172
6
+ metadata.gz: 7594e10f72341e4ae590f4c494eb361f60dfe6c5b9c5decc0880e60309a915f6f1890087dd47db54312bea88504de79447f5363d388ab1bce8d45f052a8bd56e
7
+ data.tar.gz: 81bce1562d2d393632995b5cf75e2d240aac92d29d646f3ce114b98aca675a73da2e077c7aef127bef9ff71a3e95611a797ca0a4b45d6c2df44304f8c8fe5bac
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tvdb_party_v2 (0.1.1)
4
+ tvdb_party_v2 (0.1.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -24,7 +24,7 @@ module TvdbPartyV2
24
24
  end
25
25
 
26
26
  begin
27
- @air_date = Date.parse(options["firstAired"])
27
+ @air_date = Time.parse(options["firstAired"]).to_i
28
28
  rescue
29
29
  @air_date = 0
30
30
  end
@@ -12,7 +12,7 @@ module TvdbPartyV2
12
12
  @overview = options["overview"]
13
13
  @network = options["network"]
14
14
  @runtime = options["runtime"]
15
- @air_time = options['airstime'] if options['airsTime']
15
+ @air_time = options['airsTime'] if options['airsTime']
16
16
  @imdb_id = options["imdbId"]
17
17
  @status = options["status"] if options["status"]
18
18
  @airs_dayofweek = options["airsDayOfWeek"]
@@ -36,9 +36,9 @@ module TvdbPartyV2
36
36
  end
37
37
 
38
38
  begin
39
- @first_aired = Date.parse(options["firstAired"])
39
+ @first_aired = Time.parse(options["firstAired"]).to_i
40
40
  rescue
41
- puts 'invalid date'
41
+ @first_aired = 0
42
42
  end
43
43
  end
44
44
 
@@ -1,3 +1,3 @@
1
1
  module TvdbPartyV2
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tvdb_party_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Pan
@@ -64,6 +64,7 @@ files:
64
64
  - lib/tvdb_party_v2/version.rb
65
65
  - tvdb_party_v2-0.1.1.gem
66
66
  - tvdb_party_v2-0.1.2.gem
67
+ - tvdb_party_v2-0.1.3.gem
67
68
  - tvdb_party_v2.gemspec
68
69
  homepage: https://github.com/davidpan/tvdb_party_v2
69
70
  licenses: