pec2 0.3.1 → 0.3.2

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: f5939af198e2064ecf5bb97b374cf95e2b624b52
4
- data.tar.gz: b13b646042cad84b59e5b13b057479d36ae51f66
3
+ metadata.gz: bb3c1e15764fe1010d654500b273e83e7bba6ba8
4
+ data.tar.gz: 36009a1c8f704b665575cd9cdb6a31798beccbc9
5
5
  SHA512:
6
- metadata.gz: 6c48975914c130cfd41ef8ba83ad768a680f06a5679749eb91d1e3900e03ec2101e2b73fd13b9b07c891747bd0786b5089b48fddc82c77f819e622f28c54d055
7
- data.tar.gz: d0680aaa73780c4aa460d1f3a677a7bd3fe5f1a4ae8fdd26c8a8db195ab533386760a79f4dced635718489b2a0af2942567bb9960782e07594f640de9b340cd4
6
+ metadata.gz: 2ef1e5ee199e5a685b4d9755c3b53e87689aa0e14725a4f204aaa05e461a85de905186fb24d71e108611a3b9b627a049deaa95ffeba53db5bb082c288e1aa003
7
+ data.tar.gz: 40f7f0431d95e39e4aab7d465a1e391df8b03547f861d201b2962b670718ba54ecf2a3ca92236ff0304d770e22a3be99128216837b924dd2a34f69d89837b7e4
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # pec2 [![Build Status](https://secure.travis-ci.org/toyama0919/pec2.png?branch=master)](http://travis-ci.org/toyama0919/pec2)
2
2
 
3
- TODO: Summary
3
+ Run parallel ssh command for ec2.
4
4
 
5
- TODO: Description
5
+ Commands can run to multiple hosts at once using the ec2 tag.
6
6
 
7
7
  ## Examples
8
8
 
@@ -10,9 +10,9 @@ TODO: Description
10
10
 
11
11
  ## sudo Examples
12
12
 
13
- $ bundle exec pec2 -t Project:project_a Stages:production -c 'sudo hostname' -P -s XXXXXXX
13
+ $ bundle exec pec2 -t Project:project_a Stages:production -c 'sudo hostname' -P -s ${sudo_password}
14
14
 
15
- ## sudo Examples
15
+ ## Parallel number control
16
16
 
17
17
  $ bundle exec pec2 -t Project:embulk Stages:production -c 'hostname' -P -p 150
18
18
 
@@ -1,11 +1,11 @@
1
1
  require 'aws-sdk'
2
- require 'hashie'
2
+ require 'hashie/mash'
3
3
  require 'logger'
4
4
  require 'open-uri'
5
5
  require 'json'
6
6
  require 'timeout'
7
7
 
8
- class Pec2Mash < Hashie::Mash
8
+ class Pec2Mash < ::Hashie::Mash
9
9
  disable_warnings
10
10
  end
11
11
 
@@ -1,4 +1,4 @@
1
1
  module Pec2
2
2
  # pec2 version
3
- VERSION = "0.3.1"
3
+ VERSION = "0.3.2"
4
4
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
19
19
 
20
20
  gem.add_dependency 'thor'
21
21
  gem.add_dependency 'aws-sdk'
22
- gem.add_dependency 'hashie'
22
+ gem.add_dependency 'hashie', '>= 3.5'
23
23
 
24
24
  gem.add_development_dependency 'bundler'
25
25
  gem.add_development_dependency 'pry'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - toyama0919
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-28 00:00:00.000000000 Z
11
+ date: 2017-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '3.5'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '3.5'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement