script_executor 1.6.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b2bf8fae10d71e528ea5fdc3a821b9b12c391824
4
- data.tar.gz: 0ed43dd5fecf383aff1b8daf1bb52bfacd806f65
3
+ metadata.gz: 79cad2a58055e9c2892db2123e386cfb75310f4b
4
+ data.tar.gz: 78e30e4ec11ad186f32d6c66ccee56fec29cb7fc
5
5
  SHA512:
6
- metadata.gz: f3acd78b882f74f5a563016e9bfe5c69525269a118d95b41d0462a0437bc600f11d4b2ebb7c894bd16be7a5dbc39ba718e3c8b6c7029b5fda606f68cd1547cf0
7
- data.tar.gz: 04aac34420ce0c5b50b0c68345ebc2baeec17e8eb8c461444fd22d670c7d99bc9689298f11c91fca53ab94a83570957ffc2803499dfbd3e1b62e1dd292307c06
6
+ metadata.gz: 084bcceacbe24f7b80b17eddf02459971f68bc4dba99f735c4e6e17cfb53eb751edd6683b3f1e687613cc905d4e0059b5b912ea66d98ebcb7b666fe8e4653a1f
7
+ data.tar.gz: 913c4bd2928ab53368224e803e90f0ca53d36e40c0239d63242c8040ba3873e164a15ddf219c3bc080e9ba87e0ece7dccdf4b4b91853cab26cea34f3d56ce5d5
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="JavascriptTestFinderProjectComponent">
4
+ <option name="productionExtensions">
5
+ <list>
6
+ <option value=".js" />
7
+ <option value=".jsx" />
8
+ </list>
9
+ </option>
10
+ <option name="testExtensions">
11
+ <list>
12
+ <option value=".spec.js" />
13
+ <option value=".jstd" />
14
+ </list>
15
+ </option>
16
+ </component>
17
+ </project>
@@ -10,7 +10,7 @@
10
10
  </facet>
11
11
  </component>
12
12
  <component name="ModuleRunConfigurationManager">
13
- <configuration default="false" name="executable_spec" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
13
+ <configuration default="false" name="MyExecutable: script_executor" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
14
14
  <predefined_log_file id="RUBY_RSPEC" enabled="true" />
15
15
  <module name="script_executor" />
16
16
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
@@ -32,7 +32,7 @@
32
32
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/executable_spec.rb" />
33
33
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
34
34
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
35
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
35
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="MyExecutable" />
36
36
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
37
37
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
38
38
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
@@ -41,11 +41,9 @@
41
41
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
42
42
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
43
43
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
44
- <RunnerSettings RunnerId="RubyRunner" />
45
- <ConfigurationWrapper RunnerId="RubyRunner" />
46
44
  <method />
47
45
  </configuration>
48
- <configuration default="false" name="MyExecutable remote execution should execute commands from :script parameter" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
46
+ <configuration default="false" name="Run spec 'script_locator_spec': script_executor" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
49
47
  <predefined_log_file id="RUBY_RSPEC" enabled="true" />
50
48
  <module name="script_executor" />
51
49
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
@@ -56,7 +54,7 @@
56
54
  <envs>
57
55
  <env name="JRUBY_OPTS" value="-X+O" />
58
56
  </envs>
59
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
57
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
60
58
  <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
61
59
  <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
62
60
  <COVERAGE_PATTERN ENABLED="true">
@@ -64,10 +62,10 @@
64
62
  </COVERAGE_PATTERN>
65
63
  </EXTENSION>
66
64
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
67
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/executable_spec.rb" />
65
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/script_locator_spec.rb" />
68
66
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
69
67
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
70
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="MyExecutable remote execution should execute commands from :script parameter" />
68
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
71
69
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
72
70
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
73
71
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
@@ -76,11 +74,9 @@
76
74
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
77
75
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
78
76
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
79
- <RunnerSettings RunnerId="RubyRunner" />
80
- <ConfigurationWrapper RunnerId="RubyRunner" />
81
77
  <method />
82
78
  </configuration>
83
- <configuration default="false" name="MyExecutable local execution should execute commands locally from :script parameter: script_executor" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
79
+ <configuration default="false" name="MyScriptLocator#evaluate_script_body locates script inside external file and evaluates it as string: script_executor" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
84
80
  <predefined_log_file id="RUBY_RSPEC" enabled="true" />
85
81
  <module name="script_executor" />
86
82
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
@@ -91,7 +87,7 @@
91
87
  <envs>
92
88
  <env name="JRUBY_OPTS" value="-X+O" />
93
89
  </envs>
94
- <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
90
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
95
91
  <EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
96
92
  <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
97
93
  <COVERAGE_PATTERN ENABLED="true">
@@ -99,10 +95,10 @@
99
95
  </COVERAGE_PATTERN>
100
96
  </EXTENSION>
101
97
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
102
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/executable_spec.rb" />
98
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/script_locator_spec.rb" />
103
99
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
104
100
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
105
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="MyExecutable local execution should execute commands locally from :script parameter" />
101
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="MyScriptLocator#evaluate_script_body locates script inside external file and evaluates it as string" />
106
102
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
107
103
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
108
104
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
@@ -111,11 +107,9 @@
111
107
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
112
108
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
113
109
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
114
- <RunnerSettings RunnerId="RubyRunner" />
115
- <ConfigurationWrapper RunnerId="RubyRunner" />
116
110
  <method />
117
111
  </configuration>
118
- <configuration default="false" name="MyScriptLocator#evaluate_script_body locates script inside current file: script_executor" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
112
+ <configuration default="false" name="Run spec 'executable_spec': script_executor" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
119
113
  <predefined_log_file id="RUBY_RSPEC" enabled="true" />
120
114
  <module name="script_executor" />
121
115
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
@@ -134,10 +128,10 @@
134
128
  </COVERAGE_PATTERN>
135
129
  </EXTENSION>
136
130
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
137
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/script_locator_spec.rb" />
131
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/executable_spec.rb" />
138
132
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
139
133
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
140
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="MyScriptLocator#evaluate_script_body locates script inside current file" />
134
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
141
135
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
142
136
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
143
137
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
@@ -146,11 +140,9 @@
146
140
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
147
141
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
148
142
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
149
- <RunnerSettings RunnerId="RubyDebugRunner" />
150
- <ConfigurationWrapper RunnerId="RubyDebugRunner" />
151
143
  <method />
152
144
  </configuration>
153
- <configuration default="false" name="MyExecutable vagrant should execute commands from :script parameter: script_executor" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
145
+ <configuration default="false" name="BaseProvision#parse parses content from file: script_executor" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
154
146
  <predefined_log_file id="RUBY_RSPEC" enabled="true" />
155
147
  <module name="script_executor" />
156
148
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
@@ -169,10 +161,10 @@
169
161
  </COVERAGE_PATTERN>
170
162
  </EXTENSION>
171
163
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
172
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/executable_spec.rb" />
164
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/base_provision_spec.rb" />
173
165
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
174
166
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
175
- <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="MyExecutable vagrant should execute commands from :script parameter" />
167
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="BaseProvision#parse parses content from file" />
176
168
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
177
169
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
178
170
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
@@ -181,29 +173,30 @@
181
173
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
182
174
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
183
175
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
184
- <RunnerSettings RunnerId="RubyRunner" />
185
- <ConfigurationWrapper RunnerId="RubyRunner" />
186
176
  <method />
187
177
  </configuration>
188
178
  </component>
189
179
  <component name="NewModuleRootManager">
190
180
  <content url="file://$MODULE_DIR$" />
191
- <orderEntry type="jdk" jdkName="RVM: ruby-2.2.2 [script_executor]" jdkType="RUBY_SDK" />
181
+ <orderEntry type="jdk" jdkName="RVM: ruby-2.2.3 [script_executor]" jdkType="RUBY_SDK" />
192
182
  <orderEntry type="sourceFolder" forTests="false" />
193
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.9.8, RVM: ruby-2.2.2 [script_executor]) [gem]" level="application" />
194
- <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.3, RVM: ruby-2.2.2 [script_executor]) [gem]" level="application" />
195
- <orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.7, RVM: ruby-2.2.2 [script_executor]) [gem]" level="application" />
196
- <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-2.2.2 [script_executor]) [gem]" level="application" />
197
- <orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.1.2, RVM: ruby-2.2.2 [script_executor]) [gem]" level="application" />
198
- <orderEntry type="library" scope="PROVIDED" name="highline (v1.6.15, RVM: ruby-2.2.2 [script_executor]) [gem]" level="application" />
199
- <orderEntry type="library" scope="PROVIDED" name="json_pure (v1.8.1, RVM: ruby-2.2.2 [script_executor]) [gem]" level="application" />
200
- <orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.1, RVM: ruby-2.2.2 [script_executor]) [gem]" level="application" />
201
- <orderEntry type="library" scope="PROVIDED" name="mocha (v0.13.1, RVM: ruby-2.2.2 [script_executor]) [gem]" level="application" />
202
- <orderEntry type="library" scope="PROVIDED" name="net-ssh (v2.8.0, RVM: ruby-2.2.2 [script_executor]) [gem]" level="application" />
203
- <orderEntry type="library" scope="PROVIDED" name="rspec (v2.12.0, RVM: ruby-2.2.2 [script_executor]) [gem]" level="application" />
204
- <orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.12.2, RVM: ruby-2.2.2 [script_executor]) [gem]" level="application" />
205
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.12.1, RVM: ruby-2.2.2 [script_executor]) [gem]" level="application" />
206
- <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.12.0, RVM: ruby-2.2.2 [script_executor]) [gem]" level="application" />
207
- <orderEntry type="library" scope="PROVIDED" name="text-interpolator (v1.0.0, RVM: ruby-2.2.2 [script_executor]) [gem]" level="application" />
183
+ <orderEntry type="library" scope="PROVIDED" name="awesome_print (v1.6.1, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
184
+ <orderEntry type="library" scope="PROVIDED" name="blankslate (v3.1.3, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
185
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.10.6, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
186
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
187
+ <orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.7, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
188
+ <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
189
+ <orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.1.2, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
190
+ <orderEntry type="library" scope="PROVIDED" name="highline (v1.6.15, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
191
+ <orderEntry type="library" scope="PROVIDED" name="json_pure (v1.8.1, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
192
+ <orderEntry type="library" scope="PROVIDED" name="net-ssh (v2.9.2, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
193
+ <orderEntry type="library" scope="PROVIDED" name="parslet (v1.7.1, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
194
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v3.3.0, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
195
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.3.2, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
196
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.3.1, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
197
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.3.2, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
198
+ <orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.3.0, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
199
+ <orderEntry type="library" scope="PROVIDED" name="text-interpolator (v1.1.6, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
200
+ <orderEntry type="library" scope="PROVIDED" name="thor (v0.19.1, RVM: ruby-2.2.3 [script_executor]) [gem]" level="application" />
208
201
  </component>
209
202
  </module>