capistrano-ec2_role_tag 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +15 -0
- data/.rspec +4 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +13 -0
- data/.yardopts +6 -0
- data/CHANGELOG.md +14 -0
- data/Gemfile +29 -0
- data/Gemfile.lock +123 -0
- data/LICENSE.md +22 -0
- data/README.md +60 -0
- data/Rakefile +7 -0
- data/capistrano-ec2_role_tag.gemspec +34 -0
- data/lib/capistrano-ec2_role_tag.rb +25 -0
- data/lib/capistrano/ec2_role_tag/aws_ec2_loader.rb +26 -0
- data/lib/capistrano/ec2_role_tag/aws_ec2_role_loader.rb +15 -0
- data/lib/capistrano/ec2_role_tag/version.rb +5 -0
- data/spec/capistrano-ec2_role_tag_spec.rb +7 -0
- data/spec/spec_helper.rb +25 -0
- metadata +162 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e9669bf58686e261834a8b6ee259af2c0946eb89
|
4
|
+
data.tar.gz: 5d21ee47e26413c0dcd11a3f42f0447e59b2d0ab
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 977ca772a51b2bf0b1e7babee772dcba8f4b21799d45d3828bb4e76175545f74b5e9536e61fbd77b092a926d6f85a690b598980a7333bc7ad266baafb0eb3d56
|
7
|
+
data.tar.gz: cca7f33b4a7f336ff3208773ff1ff5f05e1e7a5f302cf75c02837b23c25e46efa451b6b979e161bc1d5f9b3b1cd68173097ac397a9bf45bf7f804a77781db3b9
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
capistrano-ec2_role_tag
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.0.0
|
data/.travis.yml
ADDED
data/.yardopts
ADDED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
## [In git](https://github.com/heosuax/capistrano-ec2_role_tag/compare/v0.0.2...HEAD)
|
2
|
+
|
3
|
+
## [v0.0.2](https://github.com/heosuax/capistrano-ec2_role_tag/tree/v0.0.2)
|
4
|
+
|
5
|
+
### New Features
|
6
|
+
* Using capistrano stage
|
7
|
+
* Update document
|
8
|
+
|
9
|
+
## [v0.0.1](https://github.com/TODO: Write your github username/capistrano-ec2_role_tag/tree/v0.0.1)
|
10
|
+
|
11
|
+
## First gem release
|
12
|
+
|
13
|
+
### Features:
|
14
|
+
* TODO: Get servers' private dns name by tag stage, role. Included in Capistrano (An Vo Nguyen Thien)
|
data/Gemfile
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
|
3
|
+
# Specify your gem's dependencies in capistrano-ec2_role_tag.gemspec
|
4
|
+
gemspec
|
5
|
+
|
6
|
+
group :development do
|
7
|
+
gem 'pry' # core replacement for irb
|
8
|
+
gem 'pry-doc' # gives MRI core documentation and source code
|
9
|
+
end
|
10
|
+
|
11
|
+
unless %w(jruby rbx).include? RUBY_ENGINE
|
12
|
+
group :test do
|
13
|
+
# Coverage reports only for MRI
|
14
|
+
gem 'simplecov', '>= 0.8.2'
|
15
|
+
gem 'coveralls', '>= 0.7.0'
|
16
|
+
end
|
17
|
+
|
18
|
+
group :development do
|
19
|
+
gem 'redcarpet', '>= 3' # redcarpet doesn't currently works with jruby nor rbx. kramdown is a possible alternative
|
20
|
+
gem 'yard', '>= 0.8.7.3' # no need to generate yard docs from jruby nor rbx
|
21
|
+
gem 'pry-stack_explorer' # adds command `show-stack`
|
22
|
+
gem 'pry-debugger' # adds commands `continue, step, next, finish`
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
if RUBY_ENGINE == 'rbx'
|
27
|
+
gem 'rubysl'
|
28
|
+
gem 'racc'
|
29
|
+
end
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,123 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
capistrano-ec2_role_tag (0.0.2)
|
5
|
+
aws-sdk (~> 1)
|
6
|
+
capistrano (~> 2)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
aws-sdk (1.66.0)
|
12
|
+
aws-sdk-v1 (= 1.66.0)
|
13
|
+
aws-sdk-v1 (1.66.0)
|
14
|
+
json (~> 1.4)
|
15
|
+
nokogiri (>= 1.4.4)
|
16
|
+
binding_of_caller (0.7.2)
|
17
|
+
debug_inspector (>= 0.0.1)
|
18
|
+
capistrano (2.15.7)
|
19
|
+
highline
|
20
|
+
net-scp (>= 1.0.0)
|
21
|
+
net-sftp (>= 2.0.0)
|
22
|
+
net-ssh (>= 2.0.14)
|
23
|
+
net-ssh-gateway (>= 1.1.0)
|
24
|
+
coderay (1.1.0)
|
25
|
+
columnize (0.9.0)
|
26
|
+
coveralls (0.8.10)
|
27
|
+
json (~> 1.8)
|
28
|
+
rest-client (>= 1.6.8, < 2)
|
29
|
+
simplecov (~> 0.11.0)
|
30
|
+
term-ansicolor (~> 1.3)
|
31
|
+
thor (~> 0.19.1)
|
32
|
+
tins (~> 1.6.0)
|
33
|
+
debug_inspector (0.0.2)
|
34
|
+
debugger (1.6.8)
|
35
|
+
columnize (>= 0.3.1)
|
36
|
+
debugger-linecache (~> 1.2.0)
|
37
|
+
debugger-ruby_core_source (~> 1.3.5)
|
38
|
+
debugger-linecache (1.2.0)
|
39
|
+
debugger-ruby_core_source (1.3.8)
|
40
|
+
diff-lcs (1.2.5)
|
41
|
+
docile (1.1.5)
|
42
|
+
domain_name (0.5.25)
|
43
|
+
unf (>= 0.0.5, < 1.0.0)
|
44
|
+
highline (1.7.8)
|
45
|
+
http-cookie (1.0.2)
|
46
|
+
domain_name (~> 0.5)
|
47
|
+
json (1.8.3)
|
48
|
+
method_source (0.8.2)
|
49
|
+
mime-types (2.99)
|
50
|
+
mini_portile2 (2.0.0)
|
51
|
+
net-scp (1.2.1)
|
52
|
+
net-ssh (>= 2.6.5)
|
53
|
+
net-sftp (2.1.2)
|
54
|
+
net-ssh (>= 2.6.5)
|
55
|
+
net-ssh (3.0.1)
|
56
|
+
net-ssh-gateway (1.2.0)
|
57
|
+
net-ssh (>= 2.6.5)
|
58
|
+
netrc (0.11.0)
|
59
|
+
nokogiri (1.6.7)
|
60
|
+
mini_portile2 (~> 2.0.0.rc2)
|
61
|
+
pry (0.10.3)
|
62
|
+
coderay (~> 1.1.0)
|
63
|
+
method_source (~> 0.8.1)
|
64
|
+
slop (~> 3.4)
|
65
|
+
pry-debugger (0.2.3)
|
66
|
+
debugger (~> 1.3)
|
67
|
+
pry (>= 0.9.10, < 0.11.0)
|
68
|
+
pry-doc (0.8.0)
|
69
|
+
pry (~> 0.9)
|
70
|
+
yard (~> 0.8)
|
71
|
+
pry-stack_explorer (0.4.9.2)
|
72
|
+
binding_of_caller (>= 0.7)
|
73
|
+
pry (>= 0.9.11)
|
74
|
+
rake (10.4.2)
|
75
|
+
redcarpet (3.3.3)
|
76
|
+
rest-client (1.8.0)
|
77
|
+
http-cookie (>= 1.0.2, < 2.0)
|
78
|
+
mime-types (>= 1.16, < 3.0)
|
79
|
+
netrc (~> 0.7)
|
80
|
+
rspec (2.99.0)
|
81
|
+
rspec-core (~> 2.99.0)
|
82
|
+
rspec-expectations (~> 2.99.0)
|
83
|
+
rspec-mocks (~> 2.99.0)
|
84
|
+
rspec-core (2.99.2)
|
85
|
+
rspec-expectations (2.99.2)
|
86
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
87
|
+
rspec-mocks (2.99.4)
|
88
|
+
rubygems-tasks (0.2.4)
|
89
|
+
simplecov (0.11.1)
|
90
|
+
docile (~> 1.1.0)
|
91
|
+
json (~> 1.8)
|
92
|
+
simplecov-html (~> 0.10.0)
|
93
|
+
simplecov-html (0.10.0)
|
94
|
+
slop (3.6.0)
|
95
|
+
term-ansicolor (1.3.2)
|
96
|
+
tins (~> 1.0)
|
97
|
+
thor (0.19.1)
|
98
|
+
tins (1.6.0)
|
99
|
+
unf (0.1.4)
|
100
|
+
unf_ext
|
101
|
+
unf_ext (0.0.7.1)
|
102
|
+
yard (0.8.7.6)
|
103
|
+
|
104
|
+
PLATFORMS
|
105
|
+
ruby
|
106
|
+
|
107
|
+
DEPENDENCIES
|
108
|
+
bundler (>= 1.3.5)
|
109
|
+
capistrano-ec2_role_tag!
|
110
|
+
coveralls (>= 0.7.0)
|
111
|
+
pry
|
112
|
+
pry-debugger
|
113
|
+
pry-doc
|
114
|
+
pry-stack_explorer
|
115
|
+
rake
|
116
|
+
redcarpet (>= 3)
|
117
|
+
rspec (~> 2.14, >= 2.14.1)
|
118
|
+
rubygems-tasks (~> 0.2, >= 0.2.4)
|
119
|
+
simplecov (>= 0.8.2)
|
120
|
+
yard (>= 0.8.7.3)
|
121
|
+
|
122
|
+
BUNDLED WITH
|
123
|
+
1.10.6
|
data/LICENSE.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2015 An Vo Nguyen Thien
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
# Capistrano::Ec2RoleTag
|
2
|
+
|
3
|
+
[![Gem Version][GV img]][Gem Version]
|
4
|
+
[![Build Status][BS img]][Build Status]
|
5
|
+
[![Dependency Status][DS img]][Dependency Status]
|
6
|
+
[![Code Climate][CC img]][Code Climate]
|
7
|
+
[![Coverage Status][CS img]][Coverage Status]
|
8
|
+
|
9
|
+
## Description
|
10
|
+
|
11
|
+
Extend capistrano in AWS EC2 by getting private dns name of servers by stage, role
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
app_hosts = ec2_by_role("appworker")
|
15
|
+
worker_hosts = ec2_by_role("backgroundworker")
|
16
|
+
```
|
17
|
+
|
18
|
+
## Installation
|
19
|
+
|
20
|
+
`$ gem install capistrano-ec2_role_tag` or add to your [Gemfile][] this line: `gem 'capistrano-ec2_role_tag'` then run [bundle install][]
|
21
|
+
|
22
|
+
## Usage
|
23
|
+
|
24
|
+
Just `require 'capistrano-ec2_role_tag'` in `Capfile` and then use it as:
|
25
|
+
|
26
|
+
### As a fancy tool
|
27
|
+
|
28
|
+
In `config/deploy/staging.rb` or `config/deploy/production.rb`
|
29
|
+
```ruby
|
30
|
+
app_hosts = ec2_by_role("appworker")
|
31
|
+
worker_hosts = ec2_by_role("backgroundworker")
|
32
|
+
|
33
|
+
role :web, *allhost
|
34
|
+
...
|
35
|
+
```
|
36
|
+
|
37
|
+
## Contributing
|
38
|
+
|
39
|
+
1. Fork it ( https://github.com/heosuax/capistrano-ec2_role_tag/fork )
|
40
|
+
2. Make your feature addition or bug fix and create your feature branch.
|
41
|
+
3. Update the [Change Log][].
|
42
|
+
3. Add specs/tests for it. This is important so I don't break it in a future version unintentionally.
|
43
|
+
4. Commit, create a new Pull Request.
|
44
|
+
5. Check that your pull request passes the [build][travis pull requests].
|
45
|
+
|
46
|
+
## License
|
47
|
+
|
48
|
+
Released under the MIT License. See the [LICENSE][] file for further details.
|
49
|
+
|
50
|
+
## Links
|
51
|
+
|
52
|
+
[RubyGems][] | [Documentation][] | [Source][] | [Bugtracker][] | [Build Status][] | [Dependency Status][] | [Code Climate][]
|
53
|
+
|
54
|
+
|
55
|
+
[bundle install]: http://gembundler.com/v1.3/man/bundle-install.1.html
|
56
|
+
[Gemfile]: http://gembundler.com/v1.3/gemfile.html
|
57
|
+
[LICENSE]: LICENSE.md
|
58
|
+
[Change Log]: CHANGELOG.md
|
59
|
+
|
60
|
+
[RubyGems]: https://rubygems.org/gems/capistrano-ec2_role_tag
|
data/Rakefile
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
lib = File.expand_path('../lib', __FILE__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require 'capistrano/ec2_role_tag/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
|
7
|
+
spec.platform = Gem::Platform::RUBY
|
8
|
+
spec.name = 'capistrano-ec2_role_tag'
|
9
|
+
spec.version = Capistrano::Ec2RoleTag::VERSION
|
10
|
+
spec.summary = "Plugin to load server by AWS EC2 role"
|
11
|
+
spec.description = spec.summary
|
12
|
+
|
13
|
+
spec.required_ruby_version = '>= 1.9.3'
|
14
|
+
spec.required_rubygems_version = '>= 1.8.25'
|
15
|
+
|
16
|
+
spec.license = 'MIT'
|
17
|
+
|
18
|
+
spec.authors = ['An Vo Nguyen Thien']
|
19
|
+
spec.email = ['an.vo@codebox.vn']
|
20
|
+
spec.homepage = 'https://github.com/heosuax/capistrano-ec2_role_tag'
|
21
|
+
|
22
|
+
spec.require_paths = ['lib']
|
23
|
+
spec.files = `git ls-files`.split($/)
|
24
|
+
spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
25
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
26
|
+
|
27
|
+
spec.add_development_dependency 'bundler', '>= 1.3.5'
|
28
|
+
spec.add_development_dependency 'rake'
|
29
|
+
spec.add_development_dependency 'rspec', '~> 2.14', '>= 2.14.1'
|
30
|
+
spec.add_development_dependency 'rubygems-tasks', '~> 0.2', '>= 0.2.4'
|
31
|
+
|
32
|
+
spec.add_runtime_dependency 'aws-sdk', '~> 1'
|
33
|
+
spec.add_runtime_dependency 'capistrano', '~> 2'
|
34
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'capistrano/ec2_role_tag/version'
|
2
|
+
require 'capistrano/ec2_role_tag/aws_ec2_role_loader'
|
3
|
+
|
4
|
+
module Capistrano
|
5
|
+
module Ec2RoleTag
|
6
|
+
class << self
|
7
|
+
attr_accessor :provider, :stage
|
8
|
+
def configure
|
9
|
+
yield self
|
10
|
+
self.stage = 'staging' if self.stage.nil?
|
11
|
+
self.provider = Capistrano::Ec2RoleTag::AwsEc2RoleLoader.new(stage: self.stage)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
class Configuration
|
16
|
+
def ec2_by_role(role)
|
17
|
+
if Capistrano::Ec2RoleTag.provider.nil?
|
18
|
+
Capistrano::Ec2RoleTag.configure { |configure| configure.stage = fetch(:stage) }
|
19
|
+
end
|
20
|
+
Capistrano::Ec2RoleTag.provider.fetch(role)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
extend Capistrano::Ec2RoleTag
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'aws-sdk-v1'
|
2
|
+
|
3
|
+
module Capistrano
|
4
|
+
module Ec2RoleTag
|
5
|
+
class AwsEc2Loader
|
6
|
+
def initialize(options = {})
|
7
|
+
if options[:region].nil?
|
8
|
+
@ec2 = AWS::EC2::Client.new(region: 'us-west-2')
|
9
|
+
else
|
10
|
+
@ec2 = AWS::EC2::Client.new(region: options[:region])
|
11
|
+
end
|
12
|
+
end
|
13
|
+
def fetch(options = {})
|
14
|
+
apps = @ec2.describe_instances(
|
15
|
+
{filters: [
|
16
|
+
{name: "tag:Stage", values: [options[:stage].to_s]},
|
17
|
+
{name: "tag:Role", values: [options[:role].to_s]},
|
18
|
+
{name: "instance-state-name", values: ["running"]}
|
19
|
+
]})
|
20
|
+
return [] if apps.reservation_set.empty?
|
21
|
+
return [] if apps.reservation_set[0].instances_set.empty?
|
22
|
+
return apps.reservation_set[0].instances_set.map{|instance| instance.private_dns_name }
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'capistrano/ec2_role_tag/aws_ec2_loader'
|
2
|
+
|
3
|
+
module Capistrano
|
4
|
+
module Ec2RoleTag
|
5
|
+
class AwsEc2RoleLoader
|
6
|
+
def initialize(options = {})
|
7
|
+
@provider = AwsEc2Loader.new(region: options[:region])
|
8
|
+
@stage = options[:stage]
|
9
|
+
end
|
10
|
+
def fetch(role)
|
11
|
+
@provider.fetch(stage: @stage, role: role)
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
unless %w(jruby rbx).include? RUBY_ENGINE
|
2
|
+
require 'simplecov'
|
3
|
+
require 'coveralls'
|
4
|
+
|
5
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
6
|
+
SimpleCov::Formatter::HTMLFormatter,
|
7
|
+
Coveralls::SimpleCov::Formatter
|
8
|
+
]
|
9
|
+
SimpleCov.start
|
10
|
+
end
|
11
|
+
|
12
|
+
# Internal
|
13
|
+
require 'capistrano-ec2_role_tag'
|
14
|
+
|
15
|
+
# Require this file using `require "spec_helper"` within each of your specs
|
16
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
17
|
+
RSpec.configure do |config|
|
18
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
19
|
+
config.run_all_when_everything_filtered = true
|
20
|
+
config.filter_run :focus
|
21
|
+
config.order = 'random' # Run specs in random order to surface order dependencies.
|
22
|
+
config.expect_with :rspec do |c|
|
23
|
+
c.syntax = :expect # disable `should` syntax http://goo.gl/BGxqP
|
24
|
+
end
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,162 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: capistrano-ec2_role_tag
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- An Vo Nguyen Thien
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-12-07 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.3.5
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.3.5
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.14'
|
48
|
+
- - '>='
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 2.14.1
|
51
|
+
type: :development
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - ~>
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: '2.14'
|
58
|
+
- - '>='
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 2.14.1
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: rubygems-tasks
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ~>
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0.2'
|
68
|
+
- - '>='
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 0.2.4
|
71
|
+
type: :development
|
72
|
+
prerelease: false
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0.2'
|
78
|
+
- - '>='
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 0.2.4
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: aws-sdk
|
83
|
+
requirement: !ruby/object:Gem::Requirement
|
84
|
+
requirements:
|
85
|
+
- - ~>
|
86
|
+
- !ruby/object:Gem::Version
|
87
|
+
version: '1'
|
88
|
+
type: :runtime
|
89
|
+
prerelease: false
|
90
|
+
version_requirements: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - ~>
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '1'
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: capistrano
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - ~>
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '2'
|
102
|
+
type: :runtime
|
103
|
+
prerelease: false
|
104
|
+
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
requirements:
|
106
|
+
- - ~>
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: '2'
|
109
|
+
description: Plugin to load server by AWS EC2 role
|
110
|
+
email:
|
111
|
+
- an.vo@codebox.vn
|
112
|
+
executables: []
|
113
|
+
extensions: []
|
114
|
+
extra_rdoc_files: []
|
115
|
+
files:
|
116
|
+
- .gitignore
|
117
|
+
- .rspec
|
118
|
+
- .ruby-gemset
|
119
|
+
- .ruby-version
|
120
|
+
- .travis.yml
|
121
|
+
- .yardopts
|
122
|
+
- CHANGELOG.md
|
123
|
+
- Gemfile
|
124
|
+
- Gemfile.lock
|
125
|
+
- LICENSE.md
|
126
|
+
- README.md
|
127
|
+
- Rakefile
|
128
|
+
- capistrano-ec2_role_tag.gemspec
|
129
|
+
- lib/capistrano-ec2_role_tag.rb
|
130
|
+
- lib/capistrano/ec2_role_tag/aws_ec2_loader.rb
|
131
|
+
- lib/capistrano/ec2_role_tag/aws_ec2_role_loader.rb
|
132
|
+
- lib/capistrano/ec2_role_tag/version.rb
|
133
|
+
- spec/capistrano-ec2_role_tag_spec.rb
|
134
|
+
- spec/spec_helper.rb
|
135
|
+
homepage: https://github.com/heosuax/capistrano-ec2_role_tag
|
136
|
+
licenses:
|
137
|
+
- MIT
|
138
|
+
metadata: {}
|
139
|
+
post_install_message:
|
140
|
+
rdoc_options: []
|
141
|
+
require_paths:
|
142
|
+
- lib
|
143
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - '>='
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: 1.9.3
|
148
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 1.8.25
|
153
|
+
requirements: []
|
154
|
+
rubyforge_project:
|
155
|
+
rubygems_version: 2.4.8
|
156
|
+
signing_key:
|
157
|
+
specification_version: 4
|
158
|
+
summary: Plugin to load server by AWS EC2 role
|
159
|
+
test_files:
|
160
|
+
- spec/capistrano-ec2_role_tag_spec.rb
|
161
|
+
- spec/spec_helper.rb
|
162
|
+
has_rdoc:
|