beaker 3.13.0 → 3.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/acceptance/tests/subcommands/destroy.rb +49 -0
- data/acceptance/tests/subcommands/exec.rb +33 -0
- data/acceptance/tests/subcommands/init.rb +12 -36
- data/acceptance/tests/subcommands/provision.rb +9 -35
- data/beaker.gemspec +2 -2
- data/bin/beaker +1 -1
- data/docs/how_to/cloning_private_repos.md +3 -0
- data/docs/how_to/enabling_cross_sut_access.md +23 -0
- data/docs/how_to/ssh_agent_forwarding.md +4 -0
- data/lib/beaker/cli.rb +45 -15
- data/lib/beaker/host.rb +1 -1
- data/lib/beaker/hypervisor.rb +2 -1
- data/lib/beaker/network_manager.rb +5 -1
- data/lib/beaker/options/parser.rb +8 -1
- data/lib/beaker/options/subcommand_options_file_parser.rb +20 -0
- data/lib/beaker/ssh_connection.rb +1 -1
- data/lib/beaker/subcommand.rb +140 -28
- data/lib/beaker/subcommands/subcommand_util.rb +12 -125
- data/lib/beaker/version.rb +1 -1
- data/spec/beaker/cli_spec.rb +31 -0
- data/spec/beaker/logger_spec.rb +2 -0
- data/spec/beaker/options/parser_spec.rb +14 -1
- data/spec/beaker/options/subcommand_options_parser_spec.rb +33 -0
- data/spec/beaker/subcommand/subcommand_util_spec.rb +31 -204
- data/spec/beaker/subcommand_spec.rb +146 -0
- metadata +27 -20
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.14.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - ~>
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0.10'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '10.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '10.0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: yard
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,20 +192,6 @@ dependencies:
|
|
178
192
|
- - ~>
|
179
193
|
- !ruby/object:Gem::Version
|
180
194
|
version: '3.0'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: rake
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - ~>
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: '10.0'
|
188
|
-
type: :runtime
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - ~>
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: '10.0'
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: rsync
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -238,16 +238,16 @@ dependencies:
|
|
238
238
|
name: thor
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|
240
240
|
requirements:
|
241
|
-
- -
|
241
|
+
- - ~>
|
242
242
|
- !ruby/object:Gem::Version
|
243
|
-
version: 0.19
|
243
|
+
version: '0.19'
|
244
244
|
type: :runtime
|
245
245
|
prerelease: false
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
247
247
|
requirements:
|
248
|
-
- -
|
248
|
+
- - ~>
|
249
249
|
- !ruby/object:Gem::Version
|
250
|
-
version: 0.19
|
250
|
+
version: '0.19'
|
251
251
|
- !ruby/object:Gem::Dependency
|
252
252
|
name: stringify-hash
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
@@ -523,6 +523,8 @@ files:
|
|
523
523
|
- acceptance/tests/puppet/stub_host.rb
|
524
524
|
- acceptance/tests/puppet/web_helpers_test.rb
|
525
525
|
- acceptance/tests/puppet/with_puppet_running_on.rb
|
526
|
+
- acceptance/tests/subcommands/destroy.rb
|
527
|
+
- acceptance/tests/subcommands/exec.rb
|
526
528
|
- acceptance/tests/subcommands/init.rb
|
527
529
|
- acceptance/tests/subcommands/provision.rb
|
528
530
|
- beaker.gemspec
|
@@ -542,7 +544,9 @@ files:
|
|
542
544
|
- docs/how_to/access_the_live_test_console_with_pry.md
|
543
545
|
- docs/how_to/archive_sut_files.md
|
544
546
|
- docs/how_to/change_terminal_output_coloring.md
|
547
|
+
- docs/how_to/cloning_private_repos.md
|
545
548
|
- docs/how_to/confine.md
|
549
|
+
- docs/how_to/enabling_cross_sut_access.md
|
546
550
|
- docs/how_to/hosts/README.md
|
547
551
|
- docs/how_to/hosts/archlinux.md
|
548
552
|
- docs/how_to/hosts/cisco.md
|
@@ -678,6 +682,7 @@ files:
|
|
678
682
|
- lib/beaker/options/options_hash.rb
|
679
683
|
- lib/beaker/options/parser.rb
|
680
684
|
- lib/beaker/options/presets.rb
|
685
|
+
- lib/beaker/options/subcommand_options_file_parser.rb
|
681
686
|
- lib/beaker/options/validator.rb
|
682
687
|
- lib/beaker/perf.rb
|
683
688
|
- lib/beaker/platform.rb
|
@@ -771,6 +776,7 @@ files:
|
|
771
776
|
- spec/beaker/options/options_hash_spec.rb
|
772
777
|
- spec/beaker/options/parser_spec.rb
|
773
778
|
- spec/beaker/options/presets_spec.rb
|
779
|
+
- spec/beaker/options/subcommand_options_parser_spec.rb
|
774
780
|
- spec/beaker/options/validator_spec.rb
|
775
781
|
- spec/beaker/perf_spec.rb
|
776
782
|
- spec/beaker/platform_spec.rb
|
@@ -781,6 +787,7 @@ files:
|
|
781
787
|
- spec/beaker/shared/semvar_spec.rb
|
782
788
|
- spec/beaker/ssh_connection_spec.rb
|
783
789
|
- spec/beaker/subcommand/subcommand_util_spec.rb
|
790
|
+
- spec/beaker/subcommand_spec.rb
|
784
791
|
- spec/beaker/test_case_spec.rb
|
785
792
|
- spec/beaker/test_suite_spec.rb
|
786
793
|
- spec/helpers.rb
|