buzzoink 0.0.3 → 0.0.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.
@@ -61,6 +61,9 @@ module Buzzoink
61
61
  attr_writer :epoch
62
62
  def epoch
63
63
  @epoch ||= DateTime.now.ago(1.day)
64
+ unless @epoch.respond_to?(:iso8601)
65
+ @epoch = Time.parse(@epoch.to_s)
66
+ end
64
67
  @epoch.iso8601
65
68
  end
66
69
 
data/lib/buzzoink/job.rb CHANGED
@@ -247,6 +247,12 @@ module Buzzoink
247
247
  READY_STATES.include?(state)
248
248
  end
249
249
 
250
+ # Boolean for determining whether the instance is
251
+ # starting up
252
+ def starting?
253
+ PENDING_STATES.include?(state)
254
+ end
255
+
250
256
  def steps
251
257
  body['Steps']
252
258
  end
@@ -1,3 +1,3 @@
1
1
  module Buzzoink
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: buzzoink
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.3
5
+ version: 0.0.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Chris Hagar
@@ -95,9 +95,9 @@ dependencies:
95
95
  requirement: &id008 !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
98
- - - ">="
98
+ - - ~>
99
99
  - !ruby/object:Gem::Version
100
- version: "0"
100
+ version: 2.0.0.rc1
101
101
  type: :development
102
102
  prerelease: false
103
103
  version_requirements: *id008
@@ -134,7 +134,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - ">="
136
136
  - !ruby/object:Gem::Version
137
- hash: 3861862602005810237
137
+ hash: 1167849370257078822
138
138
  segments:
139
139
  - 0
140
140
  version: "0"
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  requirements:
144
144
  - - ">="
145
145
  - !ruby/object:Gem::Version
146
- hash: 3861862602005810237
146
+ hash: 1167849370257078822
147
147
  segments:
148
148
  - 0
149
149
  version: "0"