itamae-mitsurin 0.43 → 0.44

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: e053a643ccffb42bbbc6e4763221e3e52cb57129
4
- data.tar.gz: f08092b8c56ccade8591b20ca4ad9b4be3760b8d
3
+ metadata.gz: d7be84b6642248f24fe6389fa727bad605dcd241
4
+ data.tar.gz: 1b05b9e8c54d61ff0bb2c04a189f50f2c9153184
5
5
  SHA512:
6
- metadata.gz: 0a37eeeb214076a70e9a15265a7f178b0edd7534b4c895f64ec0352e79f51b87c5c57ed03a841119ddd5a8928f1297f5304137c11462a526f6c7f3769f8e027a
7
- data.tar.gz: d1d84f650e397f07cbe2c8899bf19fd7b8a7a018fb941b3e6958f3e1096605079fa4cc1a6b37b349e3e80946b54dfb8f8dd16a7ea7902c807d8007d41c8a4aa8
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.43
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.43'
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-09 00:00:00.000000000 Z
11
+ date: 2016-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor