amoeba_deploy_tools 0.0.1 → 0.0.2
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 +4 -4
- data/.gitignore +34 -0
- data/.rspec +2 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +83 -0
- data/Rakefile +1 -0
- data/amoeba-deploy-tools.gemspec +36 -0
- data/lib/amoeba_deploy_tools/capistrano/common.rb +5 -0
- data/lib/amoeba_deploy_tools/capistrano/recipes.rb +14 -0
- data/lib/amoeba_deploy_tools/capistrano.rb +11 -0
- data/lib/amoeba_deploy_tools/command.rb +105 -0
- data/lib/amoeba_deploy_tools/commands/amoeba.rb +118 -0
- data/lib/amoeba_deploy_tools/commands/app.rb +27 -0
- data/lib/amoeba_deploy_tools/commands/concerns/hooks.rb +45 -0
- data/lib/amoeba_deploy_tools/commands/concerns/ssh.rb +109 -0
- data/lib/amoeba_deploy_tools/commands/key.rb +22 -0
- data/lib/amoeba_deploy_tools/commands/node.rb +119 -0
- data/lib/amoeba_deploy_tools/commands/ssl.rb +45 -0
- data/lib/amoeba_deploy_tools/config.rb +133 -0
- data/lib/amoeba_deploy_tools/data_bag.rb +30 -0
- data/lib/amoeba_deploy_tools/helpers.rb +51 -0
- data/lib/amoeba_deploy_tools/interactive_cocaine_runner.rb +27 -0
- data/lib/amoeba_deploy_tools/logger.rb +67 -0
- data/lib/amoeba_deploy_tools/noisey_cocaine_runner.rb +42 -0
- data/lib/amoeba_deploy_tools/version.rb +3 -0
- data/spec/amoeba_deploy_tools/command_spec.rb +4 -0
- data/spec/amoeba_deploy_tools/commands_spec.rb +91 -0
- data/spec/amoeba_deploy_tools/config_spec.rb +48 -0
- data/spec/amoeba_deploy_tools/helpers_spec.rb +18 -0
- data/spec/spec_helper.rb +21 -0
- metadata +37 -2
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'amoeba_deploy_tools'
|
2
|
+
|
3
|
+
RSpec.configure do |config|
|
4
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
5
|
+
config.order = 'random'
|
6
|
+
config.tty = true
|
7
|
+
|
8
|
+
def capture(stream)
|
9
|
+
begin
|
10
|
+
stream = stream.to_s
|
11
|
+
eval "$#{stream} = StringIO.new"
|
12
|
+
yield
|
13
|
+
result = eval("$#{stream}").string
|
14
|
+
ensure
|
15
|
+
eval("$#{stream} = #{stream.upcase}")
|
16
|
+
end
|
17
|
+
|
18
|
+
result
|
19
|
+
end
|
20
|
+
alias :silence :capture
|
21
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amoeba_deploy_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Jabbour
|
@@ -172,8 +172,38 @@ executables:
|
|
172
172
|
extensions: []
|
173
173
|
extra_rdoc_files: []
|
174
174
|
files:
|
175
|
+
- .gitignore
|
176
|
+
- .rspec
|
177
|
+
- Gemfile
|
178
|
+
- LICENSE.txt
|
179
|
+
- README.md
|
180
|
+
- Rakefile
|
181
|
+
- amoeba-deploy-tools.gemspec
|
175
182
|
- bin/amoeba
|
176
183
|
- lib/amoeba_deploy_tools.rb
|
184
|
+
- lib/amoeba_deploy_tools/capistrano.rb
|
185
|
+
- lib/amoeba_deploy_tools/capistrano/common.rb
|
186
|
+
- lib/amoeba_deploy_tools/capistrano/recipes.rb
|
187
|
+
- lib/amoeba_deploy_tools/command.rb
|
188
|
+
- lib/amoeba_deploy_tools/commands/amoeba.rb
|
189
|
+
- lib/amoeba_deploy_tools/commands/app.rb
|
190
|
+
- lib/amoeba_deploy_tools/commands/concerns/hooks.rb
|
191
|
+
- lib/amoeba_deploy_tools/commands/concerns/ssh.rb
|
192
|
+
- lib/amoeba_deploy_tools/commands/key.rb
|
193
|
+
- lib/amoeba_deploy_tools/commands/node.rb
|
194
|
+
- lib/amoeba_deploy_tools/commands/ssl.rb
|
195
|
+
- lib/amoeba_deploy_tools/config.rb
|
196
|
+
- lib/amoeba_deploy_tools/data_bag.rb
|
197
|
+
- lib/amoeba_deploy_tools/helpers.rb
|
198
|
+
- lib/amoeba_deploy_tools/interactive_cocaine_runner.rb
|
199
|
+
- lib/amoeba_deploy_tools/logger.rb
|
200
|
+
- lib/amoeba_deploy_tools/noisey_cocaine_runner.rb
|
201
|
+
- lib/amoeba_deploy_tools/version.rb
|
202
|
+
- spec/amoeba_deploy_tools/command_spec.rb
|
203
|
+
- spec/amoeba_deploy_tools/commands_spec.rb
|
204
|
+
- spec/amoeba_deploy_tools/config_spec.rb
|
205
|
+
- spec/amoeba_deploy_tools/helpers_spec.rb
|
206
|
+
- spec/spec_helper.rb
|
177
207
|
homepage: https://github.com/AmoebaConsulting/amoeba-deploy-tools
|
178
208
|
licenses:
|
179
209
|
- MIT
|
@@ -198,4 +228,9 @@ rubygems_version: 2.2.1
|
|
198
228
|
signing_key:
|
199
229
|
specification_version: 4
|
200
230
|
summary: Easy Chef Solo / Knife operation with Amoeba Deploy Tools.
|
201
|
-
test_files:
|
231
|
+
test_files:
|
232
|
+
- spec/amoeba_deploy_tools/command_spec.rb
|
233
|
+
- spec/amoeba_deploy_tools/commands_spec.rb
|
234
|
+
- spec/amoeba_deploy_tools/config_spec.rb
|
235
|
+
- spec/amoeba_deploy_tools/helpers_spec.rb
|
236
|
+
- spec/spec_helper.rb
|