mamiya 0.2.2 → 0.2.3

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: 3fff2664bac4156374129f9094fe5fc7459d3b8b
4
- data.tar.gz: efe0195812cbb482507dae05cacbb05cf8ca57a1
3
+ metadata.gz: aa5600d98b716ed7b4a4bf9ba0a4c8e9b8e5d79c
4
+ data.tar.gz: 6af95ad395f75cdc35bb6b433fdc3f415409683c
5
5
  SHA512:
6
- metadata.gz: ed7ec72684c57cd099a95e2c66bca126637dd8837eb5c66ea2b9b74fc6a289b87acf041359289319ff79684ed3e6e3ebd56266d3facf1d14b21dd80cebb86083
7
- data.tar.gz: aa23567e2219203fb190e5436398c5ae934baceb0ced7dcb7e4e1c226cfeb83c404c32fbb617d358fa37e9e31657556352e8f89caaf9a4384e02ed9aec1206b1
6
+ metadata.gz: 3047ad5f502c4207c3b4b86cc2f95d88711ab188df5a1de042616157964a7a7d210e486261ed323b468fb1cc84dc321ff47284c227508551f3f95a7fb2888e4f
7
+ data.tar.gz: 5947558c626dadbe7396f5312907ee96b1823407d8ec7a458426f01d6826e113f5bb7c4cea6e08a033b67255c761e9e6edd5823eb79656da23d7f5d002be0011
@@ -0,0 +1,2 @@
1
+ #!/bin/sh
2
+ rm -rfv $(dirname $0)/targets/*
@@ -285,6 +285,7 @@ not distributed: #{dist['not_distributed_count']} agents
285
285
  show_package(package)
286
286
 
287
287
  if config
288
+ config.set :deploy_options, options
288
289
  config.set :application, application
289
290
  config.set :package_name, package
290
291
  config.set :package, @meta
@@ -36,10 +36,10 @@ module Mamiya
36
36
  (status['prereleases'] && status['prereleases'][application]) || \
37
37
  (status['packages'] && status['packages'][application]) || \
38
38
 
39
- status['queues'].any? { |_, q|
39
+ (status['queues'] && status['queues'].any? { |_, q|
40
40
  (q['working'] && q['working']['app'] == application) || \
41
41
  (q['queue'] && q['queue'].any? { |t| t['app'] == application })
42
- }
42
+ })
43
43
  end]
44
44
  end
45
45
 
@@ -1,3 +1,3 @@
1
1
  module Mamiya
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mamiya
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shota Fukumori (sora_h)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-10 00:00:00.000000000 Z
11
+ date: 2015-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -188,6 +188,7 @@ files:
188
188
  - example/.gitignore
189
189
  - example/Procfile
190
190
  - example/README.md
191
+ - example/cleanup.sh
191
192
  - example/config.agent.rb
192
193
  - example/config.rb
193
194
  - example/deploy.rb