cap-ec2 0.0.17 → 0.0.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NDJiNjNjMDA5NzMyNmQ2NDE2N2RhMzViMDhiYjE1ZjU1ZWQ2MzUyNQ==
5
- data.tar.gz: !binary |-
6
- YTFkZDFkYjc0OGMwNTU1MmNkNzVkZGU4ODNlZWY3NGQ3NWVhZmZjNA==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- ZTAxMjZmMjgxZDBlYmUzYWY4N2RmMTNjYjMwZmMxZDc2NDU3ZjJhY2U1OTlj
10
- NmNmYmY0MGM4ZGMyZGI0NWY3M2Q4YWQ4NmVhZjE4MGMwMzA5ZTUwY2RhOTk3
11
- MjcyZDg4YjNiOWZhNDk1NTBiNzAxZWEzOTA3ODdlODk0ZWYwMGQ=
12
- data.tar.gz: !binary |-
13
- NDVlNDFiNmJhZWI1MWNjM2Q1ZGE3N2UzOThmZDA4YTc5ZDY4NjVhMjI4Y2Ri
14
- ZGEzMzAxZWY0NGU4OTE5ODg3MTc1MDUwZTAwNjUyN2NiZTY5MDIzM2U4ODZj
15
- YTNkOWU2NTJlZWVjMDQxMGQ3NDUxOTFmMDMxYzI2MjJlYWE3NzE=
2
+ SHA1:
3
+ metadata.gz: 65fab991a48ac3701b042f2e57ca4b52427777ab
4
+ data.tar.gz: a6a2f0116179884e88e11498248c08fbc010a535
5
+ SHA512:
6
+ metadata.gz: b7040484b26d85789ababaca8b8e69937333e002c6ac82c1d20e257aaf857b8ae53d822e478a1486bc86263dc1657a834c17c8d5d533053520504b2fe32a3a90
7
+ data.tar.gz: aa1d0033b6e7e1003d37e3f8bba839d1b4b042928d5db9aeef2beabda080059860867f4744533a1be584390c2f1bef77e631cb3ebe093e32d696d42e5d078d84
@@ -0,0 +1 @@
1
+ cap-ec2
@@ -0,0 +1 @@
1
+ 2.2.0
@@ -1,5 +1,10 @@
1
1
  # Cap-EC2 changelog
2
2
 
3
+ ## 0.0.18
4
+
5
+ * Update gemspec to explicitly use the AWS v1 SDK. [@Tomtomgo](https://github.com/Tomtomgo)
6
+ * Fix available roles for newer Capistrano versions. [@AmirKremer](https://github.com/AmirKremer)
7
+
3
8
  ## 0.0.17
4
9
 
5
10
  * Provide access to EC2 server tags within Capistrano recipes [@eightbitraptor](https://github.com/eightbitraptor)
data/README.md CHANGED
@@ -72,18 +72,18 @@ If running on EC2 the IAM instance profile credentials will be used if credentia
72
72
 
73
73
  * project_tag
74
74
 
75
- If this is defined, Cap-EC2 will look for a tag with this name when searching for instances belong
76
- to this project. Cap-EC2 will look for a value which matches the `:application` setting in your
77
- `deploy.rb`. The tag name defaults to "Project".
75
+ Cap-EC2 will look for a tag with this name when searching for instances that belong to this project.
76
+ Cap-EC2 will look for a value which matches the :application setting in your deploy.rb.
77
+ The tag name defaults to "Project" and must be set on your instances.
78
78
 
79
79
  * stages_tag
80
80
 
81
- If this is defined, Cap-EC2 will look for a tag with this name to determine which instances belong to
81
+ Cap-EC2 will look for a tag with this name to determine which instances belong to
82
82
  a given stage. The tag name defaults to "Stages".
83
83
 
84
84
  * roles_tag
85
85
 
86
- If this is defined, Cap-EC2 will look for a tag with this name to determine which instances belong to
86
+ Cap-EC2 will look for a tag with this name to determine which instances belong to
87
87
  a given role. The tag name defaults to "Roles".
88
88
 
89
89
  * filter_by_status_ok?
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.add_development_dependency "bundler", "~> 1.3"
22
22
  spec.add_development_dependency "rake"
23
23
 
24
- spec.add_dependency "aws-sdk"
24
+ spec.add_dependency "aws-sdk-v1"
25
25
  spec.add_dependency "capistrano", ">= 3.0"
26
26
  spec.add_dependency "terminal-table"
27
27
  spec.add_dependency "colored"
@@ -1,6 +1,6 @@
1
1
  require 'capistrano/setup'
2
2
  require 'capistrano/configuration'
3
- require 'aws-sdk'
3
+ require 'aws-sdk-v1'
4
4
  require 'colored'
5
5
  require 'terminal-table'
6
6
  require 'yaml'
@@ -43,7 +43,7 @@ module CapEC2
43
43
  end
44
44
 
45
45
  def defined_roles
46
- Capistrano::Configuration.env.send(:servers).send(:available_roles).sort
46
+ roles(:all).flat_map(&:roles_array).uniq.sort
47
47
  end
48
48
 
49
49
  def stage
@@ -1,3 +1,3 @@
1
1
  module CapEC2
2
- VERSION = '0.0.17'
2
+ VERSION = '0.0.18'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cap-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Sykes
@@ -9,90 +9,90 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-22 00:00:00.000000000 Z
12
+ date: 2015-02-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ~>
18
+ - - "~>"
19
19
  - !ruby/object:Gem::Version
20
20
  version: '1.3'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ~>
25
+ - - "~>"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '1.3'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rake
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ! '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ! '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
- name: aws-sdk
43
+ name: aws-sdk-v1
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ! '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ! '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: capistrano
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ! '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '3.0'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ! '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: '3.0'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: terminal-table
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ! '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  type: :runtime
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ! '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: colored
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ! '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  type: :runtime
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ! '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  description: Cap-EC2 is used to generate Capistrano namespaces and tasks from Amazon
@@ -104,7 +104,9 @@ executables: []
104
104
  extensions: []
105
105
  extra_rdoc_files: []
106
106
  files:
107
- - .gitignore
107
+ - ".gitignore"
108
+ - ".ruby-gemset"
109
+ - ".ruby-version"
108
110
  - CHANGELOG.md
109
111
  - Gemfile
110
112
  - LICENSE.txt
@@ -127,17 +129,17 @@ require_paths:
127
129
  - lib
128
130
  required_ruby_version: !ruby/object:Gem::Requirement
129
131
  requirements:
130
- - - ! '>='
132
+ - - ">="
131
133
  - !ruby/object:Gem::Version
132
134
  version: '0'
133
135
  required_rubygems_version: !ruby/object:Gem::Requirement
134
136
  requirements:
135
- - - ! '>='
137
+ - - ">="
136
138
  - !ruby/object:Gem::Version
137
139
  version: '0'
138
140
  requirements: []
139
141
  rubyforge_project:
140
- rubygems_version: 2.0.7
142
+ rubygems_version: 2.4.5
141
143
  signing_key:
142
144
  specification_version: 4
143
145
  summary: Cap-EC2 is used to generate Capistrano namespaces and tasks from Amazon EC2