chicanery 0.1.6 → 0.1.7

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: 06154319be2516602f494511de80525664d02791
4
- data.tar.gz: b9e358c36d08ce74769bbfa967e9e5ee7663f069
3
+ metadata.gz: ae8d3b8f2e9b341beba34ae7d3d3876c73c3c6b1
4
+ data.tar.gz: 3d4547a9747c5cc24cda09dab73c02c8a17c0fb3
5
5
  SHA512:
6
- metadata.gz: a5ac4d6a5a033b0f1e61de5c3d5224efaa24c5168294715034b9c13ef6f14ada9fcf3216e0d9421675f1ea6568a09705ae4faaa659e252b3575cf81fb05ab789
7
- data.tar.gz: d42d771ef47adfbb434a1e4b65192263c597d1731e7d952769b1d64c1261e30997513462522f8670c312c73b06f7177443b56eaab27f925a83d5b0502e1ac7ba
6
+ metadata.gz: 9219bfa43c30c733006621aa5aec6a0b4d7bc86f3fe736fcd60b712543ea953c600a1cd2421458b4859c1442cd162d18c2bd230fdd1fff70f14e4a6fb47f1d8d
7
+ data.tar.gz: 728bd0f84bea90d00734173b1ee7eafc1134d2ae4a250e3108911276a1db9291510599b6d4e68fe1707fb47ea803c1d9eb00d7a2cf07c22353baee7c9d8d3106
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chicanery (0.1.6)
4
+ chicanery (0.1.7)
5
5
  nokogiri (~> 1)
6
6
 
7
7
  GEM
@@ -16,7 +16,7 @@ module Chicanery
16
16
  include Repos
17
17
  include Sites
18
18
 
19
- VERSION = "0.1.6"
19
+ VERSION = "0.1.7"
20
20
 
21
21
  def poll_period seconds=nil
22
22
  @poll_period = seconds if seconds
@@ -35,7 +35,7 @@ module Chicanery
35
35
  end
36
36
 
37
37
  def parse_build_time time
38
- return nil if time.nil? || time.empty? || time == '0'
38
+ return 0 if time.nil? || time.empty? || time == '0'
39
39
  DateTime.parse(time).to_time.to_i
40
40
  end
41
41
 
@@ -31,7 +31,7 @@ describe Chicanery::Cctray do
31
31
  "markryall/chicanery" => {
32
32
  activity: :building,
33
33
  last_build_status: :unknown,
34
- last_build_time: nil,
34
+ last_build_time: 0,
35
35
  url: "api.travis-ci.org/markryall/chicanery",
36
36
  last_label: "49"
37
37
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chicanery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Ryall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-19 00:00:00.000000000 Z
11
+ date: 2014-08-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri