capistrano3-ec2-minimal 0.1.0 → 0.1.1

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: dcb8cbb8b4e34f5586fd25e5989011a1bf79ef60
4
- data.tar.gz: 714ffc0672f998b9ae31cad7c6528091d0db0f4a
3
+ metadata.gz: ae033fa898a4ae7e3cc653bc66c76ab87c3a130e
4
+ data.tar.gz: b426f2a4a2cca54663ded1fc9fcf2882f63eeec2
5
5
  SHA512:
6
- metadata.gz: 649658729eefb79d889fc8c1f2087c0f5a42fc7d6bd71f743edbd1e301e610f8e04201825bcb597178acc06c55cf4d0583bac147994f7aed1c90d4cfe0df0756
7
- data.tar.gz: 2c2ff0836a8c1afab8169c71299a6d375538752fd10be6437c7e6e1bca3cc2e7936a3e36bf1789ad3b964f7c12b465e626c4b48c90acf5ee037be944b83f6762
6
+ metadata.gz: e248fa99a3a955433872d43372ebcbcf07934dc0add290f8e2e088ae392cf6cb8a1fab6b76885d23414a278eb4a2d48c693a9783dc362f7a95415f5ced3bdb34
7
+ data.tar.gz: 84788057326b078becba2c00bd9058b09f2543242931ac55e0a6b19bd99019e95c9efc9d696bfb4cf8830adb7ed2a27bb6b8408708d8a1254789206e29ba644d
data/README.md CHANGED
@@ -20,6 +20,12 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
+ In Capfile:
24
+
25
+ ```ruby
26
+ require 'capistrano/ec2/minimal'
27
+ ```
28
+
23
29
  In config/deploy.rb:
24
30
 
25
31
  ```ruby
@@ -28,6 +34,12 @@ Rake::Task[fetch(:stage)].enhance do
28
34
  end
29
35
  ```
30
36
 
37
+ Utility task:
38
+
39
+ ```
40
+ cap <stage> ec2:status
41
+ ```
42
+
31
43
  tag:Project > tag:Stage > running で絞り込んだインスタンスが対象。
32
44
  roles は tag:Roles (カンマ区切りで複数指定可) から読み取って設定される。
33
45
 
@@ -1,7 +1,7 @@
1
1
  module Capistrano
2
2
  module Ec2
3
3
  module Minimal
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
6
6
  end
7
7
  end
@@ -3,7 +3,7 @@ require 'colorize'
3
3
 
4
4
  namespace :ec2 do
5
5
  desc 'Show matched ec2 instances.'
6
- task :list do
6
+ task :status do
7
7
  table = Terminal::Table.new(
8
8
  :style => {
9
9
  :border_x => "",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano3-ec2-minimal
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - koshigoe