dumbwaiter 0.3.0 → 0.3.1

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: a4577f08a2e6de50e816eb41d34df1a9cdf899ba
4
- data.tar.gz: 851c7468dfbbf4a81496e1236b7ef0db84c238a3
3
+ metadata.gz: 7eec67cf367b40acf1fccfefbd0d5fc9ec93cf08
4
+ data.tar.gz: fef98f893af0c623fde70042cde497a97d8dad41
5
5
  SHA512:
6
- metadata.gz: 6f293f9c4c362a4b68a8d17bd2ea90c57862bf61ea844549dad0ee0b9b1f1e4e196d0a3242cd444c7acff393e4a7c410606fda097cad32ddac5d8a97d6720b8e
7
- data.tar.gz: a31062467cee5a12324b454654774de259a99ab6ae0d28b55f7851f702f9fee8709e4aff21afeb32a5a8a0debe31a0b4e5d0833a7d38b28a9ddd06c13abea5ba
6
+ metadata.gz: 4d277b944f4eeb954bfce508a9c46858f3a9b59471bf5cddd77f3823b291f56d0d5aa12c9de18efe8feac19fdc4a9dc0714d09982dec1eac17fc9bb8ac12d8bf
7
+ data.tar.gz: 6b67dad773822e0c930bfd44871defcb6b39b36ebbaa283d03c935a632b74e38549acc8c01cc09cb350ec343ba60f65e960bd271893ecf1fffd9a3248be6e13b
@@ -12,7 +12,7 @@ class Dumbwaiter::Deployment
12
12
  end
13
13
 
14
14
  def created_at
15
- opsworks_deployment.created_at
15
+ DateTime.parse(opsworks_deployment.created_at)
16
16
  end
17
17
 
18
18
  def command_name
@@ -1,3 +1,3 @@
1
1
  module Dumbwaiter
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
@@ -5,7 +5,7 @@ describe Dumbwaiter::Deployment do
5
5
  let(:custom_json) { JSON.dump(deploy: {"hockey" => {scm: {revision: "eh-buddy"}}}) }
6
6
  let(:fake_deployment) do
7
7
  double(:deployment,
8
- created_at: "yo",
8
+ created_at: "last Tuesday",
9
9
  command: fake_command,
10
10
  status: "badical",
11
11
  custom_json: custom_json
@@ -17,11 +17,11 @@ describe Dumbwaiter::Deployment do
17
17
  subject(:deployment) { Dumbwaiter::Deployment.new(fake_deployment) }
18
18
 
19
19
  its(:opsworks_deployment) { should == fake_deployment }
20
- its(:created_at) { should == "yo" }
20
+ its(:created_at) { should == DateTime.parse("last Tuesday") }
21
21
  its(:command_name) { should == "deplode" }
22
22
  its(:status) { should == "badical" }
23
23
  its(:git_ref) { should == "eh-buddy" }
24
- its(:to_log) { should == "yo - deplode - badical - eh-buddy" }
24
+ its(:to_log) { should == "#{DateTime.parse("last Tuesday")} - deplode - badical - eh-buddy" }
25
25
 
26
26
  context "when custom_json is nil" do
27
27
  let(:fake_deployment) do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dumbwaiter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doc Ritezel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-09 00:00:00.000000000 Z
11
+ date: 2013-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core