itamae-mitsurin 0.43 → 0.44
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7be84b6642248f24fe6389fa727bad605dcd241
|
4
|
+
data.tar.gz: 1b05b9e8c54d61ff0bb2c04a189f50f2c9153184
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8111c423991c63de87f50a0055523edd439f7146ebe13ae4f6108ff80b30324adcb89117638c69cb122dd79f1c93c62c0a67b5876114e569b3f1f9443e9f944b
|
7
|
+
data.tar.gz: 836311b6c7cb3b3e6c81565412e3d51cc23112f04cd9d40544b04a502752559f9083c4d17eb9dadeb3a0ed97b8f1ffcaa697d04bba1c8e8621adbe6e1fa4fa87
|
@@ -6,6 +6,7 @@ module ItamaeMitsurin
|
|
6
6
|
class ItamaeWithTargetTask
|
7
7
|
|
8
8
|
namespace :itamae do
|
9
|
+
all = []
|
9
10
|
if (ARGV[0] == '-T' || ARGV[0] == '--tasks') && ARGV[1] != nil
|
10
11
|
if File.exists?("nodes/#{ARGV[1]}")
|
11
12
|
project_h = {:project => ARGV[1]}
|
@@ -32,6 +33,11 @@ module ItamaeMitsurin
|
|
32
33
|
puts "Node error, nodefile:#{node_file}, reason:#{e.message}"
|
33
34
|
end
|
34
35
|
|
36
|
+
node_short = node_h[:environments][:hostname].split(".")[0]
|
37
|
+
all << node_short
|
38
|
+
desc "Itamae to all nodes"
|
39
|
+
task :all => all
|
40
|
+
|
35
41
|
desc "Itamae to #{bname}"
|
36
42
|
task node_h[:environments][:hostname].split(".")[0] do
|
37
43
|
begin
|
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.44
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itamae-mitsurin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.44'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akihiro Kamiyama
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|