aruba 0.11.0.pre → 0.11.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/History.md +21 -1
  4. data/aruba.gemspec +1 -0
  5. data/features/api/command/find_command.feature +83 -0
  6. data/features/api/command/last_command_started.feature +50 -0
  7. data/features/api/command/last_command_stopped.feature +89 -0
  8. data/features/api/command/run.feature +259 -0
  9. data/features/api/command/stop.feature +53 -1
  10. data/features/api/text/replace_variables.feature +1 -1
  11. data/features/getting_started/run_commands.feature +177 -0
  12. data/features/matchers/file/be_existing_executable.feature +87 -0
  13. data/features/{integration/rspec/getting_started.feature → rspec/integration.feature} +31 -0
  14. data/fixtures/getting-started-app/Gemfile +1 -1
  15. data/lib/aruba.rb +0 -19
  16. data/lib/aruba/api.rb +2 -0
  17. data/lib/aruba/api/command.rb +103 -44
  18. data/lib/aruba/api/core.rb +13 -8
  19. data/lib/aruba/api/deprecated.rb +26 -4
  20. data/lib/aruba/api/environment.rb +21 -13
  21. data/lib/aruba/api/filesystem.rb +13 -0
  22. data/lib/aruba/api/rvm.rb +5 -0
  23. data/lib/aruba/api/text.rb +7 -1
  24. data/lib/aruba/aruba_path.rb +6 -0
  25. data/lib/aruba/basic_configuration.rb +35 -3
  26. data/lib/aruba/basic_configuration/option.rb +7 -0
  27. data/lib/aruba/cli.rb +4 -0
  28. data/lib/aruba/command.rb +47 -1
  29. data/lib/aruba/config.rb +15 -2
  30. data/lib/aruba/config_wrapper.rb +49 -8
  31. data/lib/aruba/console.rb +4 -1
  32. data/lib/aruba/console/help.rb +2 -0
  33. data/lib/aruba/contracts/absolute_path.rb +7 -0
  34. data/lib/aruba/contracts/enum.rb +5 -0
  35. data/lib/aruba/contracts/is_power_of_two.rb +9 -2
  36. data/lib/aruba/contracts/relative_path.rb +7 -0
  37. data/lib/aruba/cucumber/command.rb +6 -9
  38. data/lib/aruba/cucumber/file.rb +1 -1
  39. data/lib/aruba/cucumber/hooks.rb +36 -29
  40. data/lib/aruba/errors.rb +16 -1
  41. data/lib/aruba/events.rb +39 -0
  42. data/lib/aruba/extensions/string/strip.rb +1 -0
  43. data/lib/aruba/file_size.rb +11 -0
  44. data/lib/aruba/hooks.rb +2 -0
  45. data/lib/aruba/in_config_wrapper.rb +24 -0
  46. data/lib/aruba/in_process.rb +2 -0
  47. data/lib/aruba/initializer.rb +37 -0
  48. data/lib/aruba/matchers/base/base_matcher.rb +2 -0
  49. data/lib/aruba/matchers/base/object_formatter.rb +4 -0
  50. data/lib/aruba/matchers/collection/all.rb +2 -0
  51. data/lib/aruba/matchers/collection/include_an_object.rb +2 -0
  52. data/lib/aruba/matchers/command/have_exit_status.rb +1 -1
  53. data/lib/aruba/matchers/command/have_finished_in_time.rb +1 -10
  54. data/lib/aruba/matchers/command/have_output.rb +1 -10
  55. data/lib/aruba/matchers/command/have_output_on_stderr.rb +1 -10
  56. data/lib/aruba/matchers/command/have_output_on_stdout.rb +1 -10
  57. data/lib/aruba/matchers/file/be_an_existing_executable.rb +37 -0
  58. data/lib/aruba/platform.rb +4 -0
  59. data/lib/aruba/platforms/announcer.rb +225 -0
  60. data/lib/aruba/platforms/aruba_file_creator.rb +4 -0
  61. data/lib/aruba/platforms/aruba_fixed_size_file_creator.rb +4 -0
  62. data/lib/aruba/{aruba_logger.rb → platforms/aruba_logger.rb} +4 -0
  63. data/lib/aruba/platforms/command_monitor.rb +229 -0
  64. data/lib/aruba/platforms/determine_disk_usage.rb +5 -0
  65. data/lib/aruba/platforms/determine_file_size.rb +9 -0
  66. data/lib/aruba/platforms/disk_usage_calculator.rb +9 -0
  67. data/lib/aruba/platforms/local_environment.rb +12 -0
  68. data/lib/aruba/platforms/simple_table.rb +11 -0
  69. data/lib/aruba/platforms/unix_command_string.rb +3 -0
  70. data/lib/aruba/platforms/unix_environment_variables.rb +3 -0
  71. data/lib/aruba/platforms/unix_platform.rb +20 -2
  72. data/lib/aruba/platforms/unix_which.rb +6 -2
  73. data/lib/aruba/platforms/windows_command_string.rb +7 -0
  74. data/lib/aruba/platforms/windows_environment_variables.rb +2 -0
  75. data/lib/aruba/platforms/windows_platform.rb +3 -0
  76. data/lib/aruba/platforms/windows_which.rb +6 -2
  77. data/lib/aruba/processes/basic_process.rb +20 -5
  78. data/lib/aruba/processes/debug_process.rb +3 -1
  79. data/lib/aruba/processes/in_process.rb +18 -2
  80. data/lib/aruba/processes/spawn_process.rb +14 -13
  81. data/lib/aruba/rspec.rb +34 -23
  82. data/lib/aruba/runtime.rb +65 -6
  83. data/lib/aruba/setup.rb +87 -0
  84. data/lib/aruba/version.rb +1 -1
  85. data/spec/aruba/api_spec.rb +13 -36
  86. data/spec/aruba/{config_wrapper_spec.rb → in_config_wrapper_spec.rb} +1 -1
  87. data/spec/aruba/spawn_process_spec.rb +9 -14
  88. data/spec/support/configs/pry.rb +3 -0
  89. data/spec/support/shared_contexts/aruba.rb +1 -0
  90. metadata +40 -14
  91. data/features/getting_started/supported_programming_languages.feature +0 -89
  92. data/lib/aruba/announcer.rb +0 -219
  93. data/lib/aruba/matchers/rspec.rb +0 -0
  94. data/lib/aruba/process_monitor.rb +0 -201
  95. data/lib/aruba/processes/null_process.rb +0 -26
@@ -0,0 +1,87 @@
1
+ module Aruba
2
+ class Setup
3
+ private
4
+
5
+ attr_reader :runtime
6
+
7
+ public
8
+
9
+ def initialize(runtime)
10
+ @runtime = runtime
11
+ end
12
+
13
+ def call
14
+ return if runtime.setup_already_done?
15
+
16
+ working_directory
17
+ events
18
+
19
+ runtime.setup_done
20
+
21
+ self
22
+ end
23
+
24
+ private
25
+
26
+ def working_directory
27
+ Aruba.platform.rm File.join(runtime.config.root_directory, runtime.config.working_directory), :force => true
28
+ Aruba.platform.mkdir File.join(runtime.config.root_directory, runtime.config.working_directory)
29
+ Aruba.platform.chdir runtime.config.root_directory
30
+ end
31
+
32
+ # rubocop:disable Metrics/MethodLength
33
+ def events
34
+ runtime.event_bus.register(
35
+ :command_started,
36
+ ->(event) do
37
+ runtime.announcer.announce :command, event.entity.commandline
38
+ runtime.announcer.announce :timeout, 'exit', event.entity.exit_timeout
39
+ runtime.announcer.announce :timeout, 'io wait', event.entity.io_wait_timeout
40
+ runtime.announcer.announce :full_environment, event.entity.environment
41
+ end
42
+ )
43
+
44
+ runtime.event_bus.register(
45
+ :command_started,
46
+ ->(event) do
47
+ runtime.command_monitor.register_command event.entity
48
+ runtime.command_monitor.last_command_started = event.entity
49
+ end
50
+ )
51
+
52
+ runtime.event_bus.register(
53
+ :command_stopped,
54
+ ->(event) do
55
+ runtime.announcer.announce :stdout, event.entity.stdout
56
+ runtime.announcer.announce :stderr, event.entity.stderr
57
+ end
58
+ )
59
+
60
+ runtime.event_bus.register(
61
+ :command_stopped,
62
+ ->(event) do
63
+ runtime.command_monitor.last_command_stopped = event.entity
64
+ end
65
+ )
66
+
67
+ runtime.event_bus.register(
68
+ [:changed_environment_variable, :added_environment_variable, :deleted_environment_variable],
69
+ ->(event) do
70
+ runtime.announcer.announce :changed_environment, event.entity[:changed][:name], event.entity[:changed][:value]
71
+ runtime.announcer.announce :environment, event.entity[:changed][:name], event.entity[:changed][:value]
72
+ end
73
+ )
74
+
75
+ runtime.event_bus.register(
76
+ :changed_working_directory,
77
+ ->(event) { runtime.announcer.announce :directory, event.entity[:new] }
78
+ )
79
+
80
+ runtime.event_bus.register(
81
+ :changed_configuration,
82
+ ->(event) { runtime.announcer.announce :configuration, event.entity[:changed][:name], event.entity[:changed][:value] }
83
+ )
84
+ end
85
+ # rubocop:enable Metrics/MethodLength
86
+ end
87
+ end
data/lib/aruba/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Aruba
2
- VERSION = '0.11.0.pre'
2
+ VERSION = '0.11.0.pre2'
3
3
  end
@@ -6,26 +6,6 @@ require 'fileutils'
6
6
  describe Aruba::Api do
7
7
  include_context 'uses aruba API'
8
8
 
9
- describe 'current_directory' do
10
- it "should return the current dir as 'tmp/aruba'" do
11
- expect(@aruba.aruba.current_directory.to_s).to match(/^tmp\/aruba$/)
12
- end
13
-
14
- it "can be cleared" do
15
- write_file('test', 'test test test')
16
-
17
- cd('.') do
18
- expect(File.exist?('test')).to be true
19
- end
20
-
21
- setup_aruba
22
-
23
- cd('.') do
24
- expect(File.exist?('test')).to be false
25
- end
26
- end
27
- end
28
-
29
9
  describe '#all_paths' do
30
10
  let(:name) { @file_name }
31
11
  let(:path) { @file_path }
@@ -1096,19 +1076,17 @@ describe Aruba::Api do
1096
1076
 
1097
1077
  describe 'tags' do
1098
1078
  describe '@announce_stdout' do
1099
- after(:each) { @aruba.all_commands.each { |c| c.stop(@aruba.announcer) } }
1079
+ after(:each) { @aruba.all_commands.each(&:stop) }
1100
1080
 
1101
1081
  context 'enabled' do
1102
1082
  before :each do
1103
- @aruba.announcer.activate(:stdout)
1083
+ @aruba.aruba.announcer = instance_double 'Aruba::Platforms::Announcer'
1084
+ expect(@aruba.aruba.announcer).to receive(:announce).with(:stdout, "hello world\n")
1085
+ allow(@aruba.aruba.announcer).to receive(:announce)
1104
1086
  end
1105
1087
 
1106
1088
  it "should announce to stdout exactly once" do
1107
- result = capture(:stdout) do
1108
- @aruba.run_simple('echo "hello world"', false)
1109
- end
1110
-
1111
- expect(result).to include('hello world')
1089
+ @aruba.run_simple('echo "hello world"', false)
1112
1090
  expect(@aruba.all_output).to include('hello world')
1113
1091
  end
1114
1092
  end
@@ -1128,7 +1106,7 @@ describe Aruba::Api do
1128
1106
 
1129
1107
  describe "#assert_not_matching_output" do
1130
1108
  before(:each){ @aruba.run_simple("echo foo", false) }
1131
- after(:each) { @aruba.all_commands.each { |c| c.stop(@aruba.announcer) } }
1109
+ after(:each) { @aruba.all_commands.each(&:stop) }
1132
1110
 
1133
1111
  it "passes when the output doesn't match a regexp" do
1134
1112
  @aruba.assert_not_matching_output "bar", @aruba.all_output
@@ -1141,8 +1119,9 @@ describe Aruba::Api do
1141
1119
  end
1142
1120
 
1143
1121
  describe '#run' do
1144
- before(:each){@aruba.run "cat"}
1145
- after(:each) { @aruba.all_commands.each { |c| c.stop(@aruba.announcer) } }
1122
+ before(:each){ @aruba.run 'cat' }
1123
+ after(:each) { @aruba.all_commands.each(&:stop) }
1124
+
1146
1125
  it "respond to input" do
1147
1126
  @aruba.type "Hello"
1148
1127
  @aruba.type ""
@@ -1165,16 +1144,14 @@ describe Aruba::Api do
1165
1144
 
1166
1145
  describe "#run_simple" do
1167
1146
  before(:each){@aruba.run_simple "true"}
1168
- after(:each) { @aruba.all_commands.each { |c| c.stop(@aruba.announcer) } }
1147
+ after(:each) { @aruba.all_commands.each(&:stop) }
1169
1148
  describe "get_process" do
1170
1149
  it "returns a process" do
1171
1150
  expect(@aruba.get_process("true")).not_to be(nil)
1172
1151
  end
1173
1152
 
1174
1153
  it "raises a descriptive exception" do
1175
- expect do
1176
- expect(@aruba.get_process("false")).not_to be(nil)
1177
- end.to raise_error(ArgumentError, "No process named 'false' has been started")
1154
+ expect { @aruba.get_process("false") }.to raise_error CommandNotFoundError, "No command named 'false' has been started"
1178
1155
  end
1179
1156
  end
1180
1157
  end
@@ -1195,7 +1172,7 @@ describe Aruba::Api do
1195
1172
 
1196
1173
  describe "#set_environment_variable" do
1197
1174
  after(:each) do
1198
- @aruba.all_commands.each { |c| c.stop(@aruba.announcer) }
1175
+ @aruba.all_commands.each(&:stop)
1199
1176
  @aruba.restore_env
1200
1177
  end
1201
1178
 
@@ -1214,7 +1191,7 @@ describe Aruba::Api do
1214
1191
  end
1215
1192
 
1216
1193
  describe "#restore_env" do
1217
- after(:each) { @aruba.all_commands.each { |c| c.stop(@aruba.announcer) } }
1194
+ after(:each) { @aruba.all_commands.each(&:stop) }
1218
1195
  it "restores environment variable" do
1219
1196
  @aruba.set_env 'LONG_LONG_ENV_VARIABLE', 'true'
1220
1197
  @aruba.restore_env
@@ -1,6 +1,6 @@
1
1
  require 'spec_helper'
2
2
 
3
- RSpec.describe Aruba::ConfigWrapper do
3
+ RSpec.describe Aruba::InConfigWrapper do
4
4
  subject(:wrapper) { described_class.new(config) }
5
5
 
6
6
  let(:config) { {} }
@@ -11,7 +11,8 @@ RSpec.describe Aruba::Processes::SpawnProcess do
11
11
  let(:main_class) { nil }
12
12
 
13
13
  describe "#stdout" do
14
- before(:each) { process.run! }
14
+ before(:each) { process.start }
15
+ before(:each) { process.stop }
15
16
 
16
17
  context 'when invoked once' do
17
18
  it { expect(process.stdout).to eq "yo\n" }
@@ -25,7 +26,8 @@ RSpec.describe Aruba::Processes::SpawnProcess do
25
26
  describe "#stderr" do
26
27
  let(:command) { 'fixtures/spawn_process/stderr.sh yo' }
27
28
 
28
- before(:each) { process.run! }
29
+ before(:each) { process.start }
30
+ before(:each) { process.stop }
29
31
 
30
32
  context 'when invoked once' do
31
33
  it { expect(process.stderr).to eq "yo\n" }
@@ -37,29 +39,22 @@ RSpec.describe Aruba::Processes::SpawnProcess do
37
39
  end
38
40
 
39
41
  describe "#stop" do
40
- let(:reader) { instance_double('Aruba::Announcer') }
41
-
42
- before(:each) { process.run! }
43
-
44
- before :each do
45
- expect(reader).to receive(:announce).with(:stdout, "yo\n")
46
- allow(reader).to receive(:announce)
47
- end
42
+ before(:each) { process.start }
48
43
 
49
44
  context 'when stopped successfully' do
50
- it { process.stop(reader) }
45
+ it { process.stop }
51
46
  end
52
47
  end
53
48
 
54
- describe "#run!" do
49
+ describe "#start" do
55
50
  context "when process run succeeds" do
56
- it { expect { process.run! }.not_to raise_error }
51
+ it { expect { process.start }.not_to raise_error }
57
52
  end
58
53
 
59
54
  context "when process run fails" do
60
55
  let(:command) { 'does_not_exists' }
61
56
 
62
- it { expect {process.run!}.to raise_error Aruba::LaunchError }
57
+ it { expect {process.start}.to raise_error Aruba::LaunchError }
63
58
  end
64
59
  end
65
60
  end
@@ -0,0 +1,3 @@
1
+ # Otherwise pry doesn't find it's RC file
2
+ # if ENV['HOME'] is mocked
3
+ ENV['PRYRC'] = File.expand_path('~/.pryrc')
@@ -29,6 +29,7 @@ RSpec.shared_context 'uses aruba API' do
29
29
  @file_name = "test.txt"
30
30
  @file_size = 256
31
31
  @file_path = @aruba.expand_path(@file_name)
32
+ @aruba.setup_aruba
32
33
 
33
34
  raise "We must work with relative paths, everything else is dangerous" if ?/ == @aruba.aruba.current_directory[0]
34
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aruba
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0.pre
4
+ version: 0.11.0.pre2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aslak Hellesøy
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2015-11-25 00:00:00.000000000 Z
16
+ date: 2015-11-26 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: cucumber
@@ -99,6 +99,20 @@ dependencies:
99
99
  - - "~>"
100
100
  - !ruby/object:Gem::Version
101
101
  version: '0.19'
102
+ - !ruby/object:Gem::Dependency
103
+ name: event-bus
104
+ requirement: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - "~>"
107
+ - !ruby/object:Gem::Version
108
+ version: 0.2.0
109
+ type: :runtime
110
+ prerelease: false
111
+ version_requirements: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - "~>"
114
+ - !ruby/object:Gem::Version
115
+ version: 0.2.0
102
116
  - !ruby/object:Gem::Dependency
103
117
  name: bundler
104
118
  requirement: !ruby/object:Gem::Requirement
@@ -143,6 +157,9 @@ files:
143
157
  - doc/dependency_decisions.yml
144
158
  - features/.nav
145
159
  - features/announce.feature
160
+ - features/api/command/find_command.feature
161
+ - features/api/command/last_command_started.feature
162
+ - features/api/command/last_command_stopped.feature
146
163
  - features/api/command/run.feature
147
164
  - features/api/command/send_signal.feature
148
165
  - features/api/command/stop.feature
@@ -193,13 +210,13 @@ files:
193
210
  - features/development/build.feature
194
211
  - features/development/test.feature
195
212
  - features/file_system_commands.feature
196
- - features/getting_started/supported_programming_languages.feature
213
+ - features/getting_started/run_commands.feature
197
214
  - features/getting_started/supported_testing_frameworks.feature
198
215
  - features/hooks/after/command.feature
199
216
  - features/hooks/before/command.feature
200
- - features/integration/rspec/getting_started.feature
201
217
  - features/matchers/collection/include_an_object.feature
202
218
  - features/matchers/directory/have_sub_directory.feature
219
+ - features/matchers/file/be_existing_executable.feature
203
220
  - features/matchers/file/be_existing_file.feature
204
221
  - features/matchers/file/have_file_content.feature
205
222
  - features/matchers/file/have_file_size.feature
@@ -208,6 +225,7 @@ files:
208
225
  - features/matchers/path/have_permissions.feature
209
226
  - features/matchers/timeouts.feature
210
227
  - features/output.feature
228
+ - features/rspec/integration.feature
211
229
  - features/step_definitions/aruba_dev_steps.rb
212
230
  - features/step_definitions/hooks.rb
213
231
  - features/steps/command/exit_statuses.feature
@@ -259,7 +277,6 @@ files:
259
277
  - fixtures/getting-started-app/features/support/env.rb
260
278
  - fixtures/spawn_process/stderr.sh
261
279
  - lib/aruba.rb
262
- - lib/aruba/announcer.rb
263
280
  - lib/aruba/api.rb
264
281
  - lib/aruba/api/command.rb
265
282
  - lib/aruba/api/core.rb
@@ -268,7 +285,6 @@ files:
268
285
  - lib/aruba/api/filesystem.rb
269
286
  - lib/aruba/api/rvm.rb
270
287
  - lib/aruba/api/text.rb
271
- - lib/aruba/aruba_logger.rb
272
288
  - lib/aruba/aruba_path.rb
273
289
  - lib/aruba/basic_configuration.rb
274
290
  - lib/aruba/basic_configuration/option.rb
@@ -292,9 +308,11 @@ files:
292
308
  - lib/aruba/cucumber/rvm.rb
293
309
  - lib/aruba/cucumber/testing_frameworks.rb
294
310
  - lib/aruba/errors.rb
311
+ - lib/aruba/events.rb
295
312
  - lib/aruba/extensions/string/strip.rb
296
313
  - lib/aruba/file_size.rb
297
314
  - lib/aruba/hooks.rb
315
+ - lib/aruba/in_config_wrapper.rb
298
316
  - lib/aruba/in_process.rb
299
317
  - lib/aruba/initializer.rb
300
318
  - lib/aruba/jruby.rb
@@ -316,6 +334,7 @@ files:
316
334
  - lib/aruba/matchers/directory/have_sub_directory.rb
317
335
  - lib/aruba/matchers/environment.rb
318
336
  - lib/aruba/matchers/file.rb
337
+ - lib/aruba/matchers/file/be_an_existing_executable.rb
319
338
  - lib/aruba/matchers/file/be_an_existing_file.rb
320
339
  - lib/aruba/matchers/file/have_file_content.rb
321
340
  - lib/aruba/matchers/file/have_file_size.rb
@@ -326,15 +345,17 @@ files:
326
345
  - lib/aruba/matchers/path/be_an_existing_path.rb
327
346
  - lib/aruba/matchers/path/have_permissions.rb
328
347
  - lib/aruba/matchers/path/match_path_pattern.rb
329
- - lib/aruba/matchers/rspec.rb
330
348
  - lib/aruba/matchers/rspec_matcher_include_regexp.rb
331
349
  - lib/aruba/matchers/string.rb
332
350
  - lib/aruba/matchers/string/include_output_string.rb
333
351
  - lib/aruba/matchers/string/match_output_string.rb
334
352
  - lib/aruba/matchers/string/output_string_eq.rb
335
353
  - lib/aruba/platform.rb
354
+ - lib/aruba/platforms/announcer.rb
336
355
  - lib/aruba/platforms/aruba_file_creator.rb
337
356
  - lib/aruba/platforms/aruba_fixed_size_file_creator.rb
357
+ - lib/aruba/platforms/aruba_logger.rb
358
+ - lib/aruba/platforms/command_monitor.rb
338
359
  - lib/aruba/platforms/determine_disk_usage.rb
339
360
  - lib/aruba/platforms/determine_file_size.rb
340
361
  - lib/aruba/platforms/disk_usage_calculator.rb
@@ -348,15 +369,14 @@ files:
348
369
  - lib/aruba/platforms/windows_environment_variables.rb
349
370
  - lib/aruba/platforms/windows_platform.rb
350
371
  - lib/aruba/platforms/windows_which.rb
351
- - lib/aruba/process_monitor.rb
352
372
  - lib/aruba/processes/basic_process.rb
353
373
  - lib/aruba/processes/debug_process.rb
354
374
  - lib/aruba/processes/in_process.rb
355
- - lib/aruba/processes/null_process.rb
356
375
  - lib/aruba/processes/spawn_process.rb
357
376
  - lib/aruba/reporting.rb
358
377
  - lib/aruba/rspec.rb
359
378
  - lib/aruba/runtime.rb
379
+ - lib/aruba/setup.rb
360
380
  - lib/aruba/spawn_process.rb
361
381
  - lib/aruba/version.rb
362
382
  - script/bootstrap
@@ -369,9 +389,9 @@ files:
369
389
  - spec/aruba/api_spec.rb
370
390
  - spec/aruba/aruba_path_spec.rb
371
391
  - spec/aruba/basic_configuration_spec.rb
372
- - spec/aruba/config_wrapper_spec.rb
373
392
  - spec/aruba/configuration_spec.rb
374
393
  - spec/aruba/hooks_spec.rb
394
+ - spec/aruba/in_config_wrapper_spec.rb
375
395
  - spec/aruba/jruby_spec.rb
376
396
  - spec/aruba/matchers/command/have_output_size_spec.rb
377
397
  - spec/aruba/matchers/command_spec.rb
@@ -385,6 +405,7 @@ files:
385
405
  - spec/aruba/spawn_process_spec.rb
386
406
  - spec/spec_helper.rb
387
407
  - spec/support/configs/.keep
408
+ - spec/support/configs/pry.rb
388
409
  - spec/support/configs/rspec.rb
389
410
  - spec/support/helpers/.keep
390
411
  - spec/support/helpers/reporting.rb
@@ -440,9 +461,12 @@ rubyforge_project:
440
461
  rubygems_version: 2.4.5.1
441
462
  signing_key:
442
463
  specification_version: 4
443
- summary: aruba-0.11.0.pre
464
+ summary: aruba-0.11.0.pre2
444
465
  test_files:
445
466
  - features/announce.feature
467
+ - features/api/command/find_command.feature
468
+ - features/api/command/last_command_started.feature
469
+ - features/api/command/last_command_stopped.feature
446
470
  - features/api/command/run.feature
447
471
  - features/api/command/send_signal.feature
448
472
  - features/api/command/stop.feature
@@ -493,13 +517,13 @@ test_files:
493
517
  - features/development/build.feature
494
518
  - features/development/test.feature
495
519
  - features/file_system_commands.feature
496
- - features/getting_started/supported_programming_languages.feature
520
+ - features/getting_started/run_commands.feature
497
521
  - features/getting_started/supported_testing_frameworks.feature
498
522
  - features/hooks/after/command.feature
499
523
  - features/hooks/before/command.feature
500
- - features/integration/rspec/getting_started.feature
501
524
  - features/matchers/collection/include_an_object.feature
502
525
  - features/matchers/directory/have_sub_directory.feature
526
+ - features/matchers/file/be_existing_executable.feature
503
527
  - features/matchers/file/be_existing_file.feature
504
528
  - features/matchers/file/have_file_content.feature
505
529
  - features/matchers/file/have_file_size.feature
@@ -508,6 +532,7 @@ test_files:
508
532
  - features/matchers/path/have_permissions.feature
509
533
  - features/matchers/timeouts.feature
510
534
  - features/output.feature
535
+ - features/rspec/integration.feature
511
536
  - features/step_definitions/aruba_dev_steps.rb
512
537
  - features/step_definitions/hooks.rb
513
538
  - features/steps/command/exit_statuses.feature
@@ -538,9 +563,9 @@ test_files:
538
563
  - spec/aruba/api_spec.rb
539
564
  - spec/aruba/aruba_path_spec.rb
540
565
  - spec/aruba/basic_configuration_spec.rb
541
- - spec/aruba/config_wrapper_spec.rb
542
566
  - spec/aruba/configuration_spec.rb
543
567
  - spec/aruba/hooks_spec.rb
568
+ - spec/aruba/in_config_wrapper_spec.rb
544
569
  - spec/aruba/jruby_spec.rb
545
570
  - spec/aruba/matchers/command/have_output_size_spec.rb
546
571
  - spec/aruba/matchers/command_spec.rb
@@ -554,6 +579,7 @@ test_files:
554
579
  - spec/aruba/spawn_process_spec.rb
555
580
  - spec/spec_helper.rb
556
581
  - spec/support/configs/.keep
582
+ - spec/support/configs/pry.rb
557
583
  - spec/support/configs/rspec.rb
558
584
  - spec/support/helpers/.keep
559
585
  - spec/support/helpers/reporting.rb