script_executor 1.3.6 → 1.3.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NGNmYmI1ZDA4Mzc3MjMzYWJiMDllNDE1MWQxYTEzMWQ5MjNjZTY5NA==
4
+ MWMxNWU2Zjg1ZTJkOTg4N2EwMWRlNzM1NTlhNTAxMGEzYmZhNWFhNw==
5
5
  data.tar.gz: !binary |-
6
- MWI5ZWVjOTkwZTcwOWNmNWYwNGI3YzNmMDBlMDgzYmY1MzBhOWMwNQ==
7
- !binary "U0hBNTEy":
6
+ YzEyZDM0NWFlNjU1MzZmNjRlZWQwOTQyY2JlODI5Nzk4OWYzMGI0MQ==
7
+ SHA512:
8
8
  metadata.gz: !binary |-
9
- NzQ2M2RhZDJiMzA5ZGVkZjBkMWEwMDkwMGUxMjMzOWIwNTc1MTcwMDczNTQ2
10
- MTY1NDE3NzFhYWQ2ZWFjODZjMWFkZjA5ZmI1NTM1OWRkMjQyNDRkMmE5Mzgw
11
- MTJjNTFmOWQwZWZiYmFhOTk2YzI0NWYzMDFhOGNkMWJmNmVhOTE=
9
+ MTNkOGRhMzU2ZTE5MzExZDAxOTBhZjNhNWYwZGRlZmNiZTYyMTZkN2Q0ZTdk
10
+ MmFmN2YyNzIxZDhhN2RiNTU2YzU2OTJhOWRjYWQ2MTQxZDMwYmY3NGRmM2Iz
11
+ NzI0MWUzY2Q4MDZmNWIxYTI2MTY4YmZjNzE3YzBjMDM4NjhmNDQ=
12
12
  data.tar.gz: !binary |-
13
- MTdiMTA4Njk2MjM1YzI5NzI2OTUxNDBhZjc2ZWQ0ZjY1NmNjMWVkMzJjZGY4
14
- MTkwN2U4NWI1NDU5ZjM2Mjk0MzU3MThkMzU3NTlhODdhNTQ2ZjY3ZGJlZWM5
15
- NDlmMmM3ODExZmY2ZWIxOTA3Y2E1ZjJhNGQ4ZGY0OGM5Zjk4M2Y=
13
+ MmE3ZjMwYWUxYmNlZDEzMDFjNjVjNGQ1ZjI0YTNhYzUyNDI5MGYwNGQ3OTU4
14
+ YTVmYjRiYWJjNjk1M2MyMDg2OTA0ZDY1ZDRhYTc3NmQxY2U1ZTA2MmNlMjk0
15
+ MjgyZTRkODRkNGU1NGQ4YTZlYWExMDEyM2IyOGQxNzFkODYwYTk=
@@ -40,6 +40,7 @@
40
40
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
41
41
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
42
42
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
43
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
43
44
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
44
45
  <RunnerSettings RunnerId="RubyRunner" />
45
46
  <ConfigurationWrapper RunnerId="RubyRunner" />
@@ -75,6 +76,7 @@
75
76
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
76
77
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
77
78
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
79
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
78
80
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
79
81
  <RunnerSettings RunnerId="RubyRunner" />
80
82
  <ConfigurationWrapper RunnerId="RubyRunner" />
@@ -110,6 +112,7 @@
110
112
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
111
113
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
112
114
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
115
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
113
116
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
114
117
  <RunnerSettings RunnerId="RubyRunner" />
115
118
  <ConfigurationWrapper RunnerId="RubyRunner" />
@@ -145,6 +148,7 @@
145
148
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
146
149
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
147
150
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
151
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
148
152
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
149
153
  <RunnerSettings RunnerId="RubyRunner" />
150
154
  <ConfigurationWrapper RunnerId="RubyRunner" />
@@ -180,6 +184,7 @@
180
184
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
181
185
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
182
186
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
187
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
183
188
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
184
189
  <RunnerSettings RunnerId="RubyRunner" />
185
190
  <ConfigurationWrapper RunnerId="RubyRunner" />
@@ -188,25 +193,26 @@
188
193
  </component>
189
194
  <component name="NewModuleRootManager">
190
195
  <content url="file://$MODULE_DIR$" />
191
- <orderEntry type="jdk" jdkName="RVM: ruby-1.9.3-p484 [script_executor]" jdkType="RUBY_SDK" />
196
+ <orderEntry type="jdk" jdkName="RVM: ruby-1.9.3-p545 [script_executor]" jdkType="RUBY_SDK" />
192
197
  <orderEntry type="sourceFolder" forTests="false" />
193
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.3.5, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
194
- <orderEntry type="library" scope="PROVIDED" name="debugger-ruby_core_source (v1.2.2, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
195
- <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.3, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
196
- <orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.6, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
197
- <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
198
- <orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.0.5, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
199
- <orderEntry type="library" scope="PROVIDED" name="highline (v1.6.15, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
200
- <orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.1, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
201
- <orderEntry type="library" scope="PROVIDED" name="mocha (v0.13.1, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
202
- <orderEntry type="library" scope="PROVIDED" name="net-ssh (v2.6.2, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
203
- <orderEntry type="library" scope="PROVIDED" name="rake (v10.0.4, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
204
- <orderEntry type="library" scope="PROVIDED" name="rspec (v2.12.0, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
205
- <orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.12.2, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
206
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.12.1, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
207
- <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.12.0, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
208
- <orderEntry type="library" scope="PROVIDED" name="ruby-debug-base19x (v0.11.30.pre12, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
209
- <orderEntry type="library" scope="PROVIDED" name="ruby-debug-ide (v0.4.17, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
198
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.5.3, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
199
+ <orderEntry type="library" scope="PROVIDED" name="debugger-ruby_core_source (v1.2.2, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
200
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.3, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
201
+ <orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.6, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
202
+ <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
203
+ <orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.0.5, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
204
+ <orderEntry type="library" scope="PROVIDED" name="highline (v1.6.15, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
205
+ <orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.1, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
206
+ <orderEntry type="library" scope="PROVIDED" name="mocha (v0.13.1, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
207
+ <orderEntry type="library" scope="PROVIDED" name="net-ssh (v2.6.2, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
208
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.0.4, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
209
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v2.12.0, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
210
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.12.2, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
211
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.12.1, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
212
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.12.0, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
213
+ <orderEntry type="library" scope="PROVIDED" name="ruby-debug-base19x (v0.11.30.pre12, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
214
+ <orderEntry type="library" scope="PROVIDED" name="ruby-debug-ide (v0.4.17, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
215
+ <orderEntry type="library" scope="PROVIDED" name="text-interpolator (v1.0.0, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
210
216
  </component>
211
217
  </module>
212
218
 
data/.idea/workspace.xml CHANGED
@@ -1,13 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
- <list default="true" id="6995392e-f204-4557-be32-fd20f300d877" name="Default" comment="">
5
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/CHANGES" afterPath="$PROJECT_DIR$/CHANGES" />
6
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/spec/executable_spec.rb" afterPath="$PROJECT_DIR$/spec/executable_spec.rb" />
7
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/script_executor/remote_command.rb" afterPath="$PROJECT_DIR$/lib/script_executor/remote_command.rb" />
8
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/script_executor/version.rb" afterPath="$PROJECT_DIR$/lib/script_executor/version.rb" />
9
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
10
- </list>
4
+ <list default="true" id="6995392e-f204-4557-be32-fd20f300d877" name="Default" comment="" />
11
5
  <ignored path="script_executor.iws" />
12
6
  <ignored path=".idea/workspace.xml" />
13
7
  <option name="TRACKING_ENABLED" value="true" />
@@ -18,10 +12,10 @@
18
12
  </component>
19
13
  <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
20
14
  <component name="CoverageDataManager">
21
- <SUITE FILE_PATH="coverage/script_executor@executable_spec.coverage" NAME="executable_spec Coverage Results" MODIFIED="1386433996940" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="script_executor" />
15
+ <SUITE FILE_PATH="coverage/script_executor@script_locator_spec.coverage" NAME="script_locator_spec Coverage Results" MODIFIED="1386435716646" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="script_executor" />
22
16
  <SUITE FILE_PATH="coverage/script_executor@MyExecutable_remote_execution_should_execute_commands_from__script_parameter.coverage" NAME="MyExecutable remote execution should execute commands from :script parameter Coverage Results" MODIFIED="1385833810234" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="script_executor" />
17
+ <SUITE FILE_PATH="coverage/script_executor@executable_spec.coverage" NAME="executable_spec Coverage Results" MODIFIED="1398702512672" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="script_executor" />
23
18
  <SUITE FILE_PATH="coverage/script_executor@MyExecutable_local_execution_should_execute_commands_locally_from__script_parameter__script_executor.coverage" NAME="MyExecutable local execution should execute commands locally from :script parameter: script_executor Coverage Results" MODIFIED="1385833654466" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="script_executor" />
24
- <SUITE FILE_PATH="coverage/script_executor@script_locator_spec.coverage" NAME="script_locator_spec Coverage Results" MODIFIED="1386435716646" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="script_executor" />
25
19
  </component>
26
20
  <component name="CreatePatchCommitExecutor">
27
21
  <option name="PATCH_PATH" value="" />
@@ -38,16 +32,18 @@
38
32
  <file leaf-file-name="executable_spec.rb" pinned="false" current="false" current-in-tab="false">
39
33
  <entry file="file://$PROJECT_DIR$/spec/executable_spec.rb">
40
34
  <provider selected="true" editor-type-id="text-editor">
41
- <state line="100" column="43" selection-start="2350" selection-end="2350" vertical-scroll-proportion="0.0" vertical-offset="850" max-vertical-offset="1755">
35
+ <state vertical-scroll-proportion="0.0" vertical-offset="1020" max-vertical-offset="1755">
36
+ <caret line="13" column="42" selection-start-line="13" selection-start-column="42" selection-end-line="13" selection-end-column="42" />
42
37
  <folding />
43
38
  </state>
44
39
  </provider>
45
40
  </entry>
46
41
  </file>
47
- <file leaf-file-name="remote_command.rb" pinned="false" current="false" current-in-tab="false">
48
- <entry file="file://$PROJECT_DIR$/lib/script_executor/remote_command.rb">
42
+ <file leaf-file-name="script_locator.rb" pinned="false" current="false" current-in-tab="false">
43
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/script_locator.rb">
49
44
  <provider selected="true" editor-type-id="text-editor">
50
- <state line="34" column="157" selection-start="1077" selection-end="1077" vertical-scroll-proportion="0.0" vertical-offset="610" max-vertical-offset="1515">
45
+ <state vertical-scroll-proportion="0.0" vertical-offset="360" max-vertical-offset="1050">
46
+ <caret line="10" column="0" selection-start-line="10" selection-start-column="0" selection-end-line="10" selection-end-column="0" />
51
47
  <folding />
52
48
  </state>
53
49
  </provider>
@@ -56,37 +52,50 @@
56
52
  <file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
57
53
  <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
58
54
  <provider selected="true" editor-type-id="text-editor">
59
- <state line="1" column="18" selection-start="39" selection-end="39" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120">
55
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120">
56
+ <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
60
57
  <folding />
61
58
  </state>
62
59
  </provider>
63
60
  </entry>
64
61
  </file>
65
- <file leaf-file-name="CHANGES" pinned="false" current="false" current-in-tab="false">
62
+ <file leaf-file-name="CHANGES" pinned="false" current="true" current-in-tab="true">
66
63
  <entry file="file://$PROJECT_DIR$/CHANGES">
67
64
  <provider selected="true" editor-type-id="text-editor">
68
- <state line="48" column="17" selection-start="593" selection-end="593" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="840">
65
+ <state vertical-scroll-proportion="0.90017515" vertical-offset="296" max-vertical-offset="900">
66
+ <caret line="54" column="2" selection-start-line="54" selection-start-column="2" selection-end-line="54" selection-end-column="50" />
69
67
  <folding />
70
68
  </state>
71
69
  </provider>
72
70
  </entry>
73
71
  </file>
74
- <file leaf-file-name="README.md" pinned="false" current="true" current-in-tab="true">
75
- <entry file="file://$PROJECT_DIR$/README.md">
76
- <provider editor-type-id="MarkdownPreviewEditor">
77
- <state />
78
- </provider>
72
+ <file leaf-file-name="text_interpolator.rb" pinned="false" current="false" current-in-tab="false">
73
+ <entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p545@script_executor/gems/text-interpolator-1.0.0/lib/text_interpolator/text_interpolator.rb">
79
74
  <provider selected="true" editor-type-id="text-editor">
80
- <state line="93" column="21" selection-start="1875" selection-end="1875" vertical-scroll-proportion="0.6911765" vertical-offset="1019" max-vertical-offset="1935">
75
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1260">
76
+ <caret line="16" column="0" selection-start-line="16" selection-start-column="0" selection-end-line="16" selection-end-column="0" />
81
77
  <folding />
82
78
  </state>
83
79
  </provider>
84
80
  </entry>
85
81
  </file>
86
- <file leaf-file-name="ssh.rb" pinned="false" current="false" current-in-tab="false">
87
- <entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p484@script_executor/gems/net-ssh-2.6.2/lib/net/ssh.rb">
82
+ <file leaf-file-name="script_locator_spec.rb" pinned="false" current="false" current-in-tab="false">
83
+ <entry file="file://$PROJECT_DIR$/spec/script_locator_spec.rb">
84
+ <provider selected="true" editor-type-id="text-editor">
85
+ <state vertical-scroll-proportion="0.0" vertical-offset="311" max-vertical-offset="1065">
86
+ <caret line="33" column="0" selection-start-line="33" selection-start-column="0" selection-end-line="33" selection-end-column="0" />
87
+ <folding>
88
+ <element signature="e#1205#1265#0" expanded="true" />
89
+ </folding>
90
+ </state>
91
+ </provider>
92
+ </entry>
93
+ </file>
94
+ <file leaf-file-name="test.conf" pinned="false" current="false" current-in-tab="false">
95
+ <entry file="file://$PROJECT_DIR$/spec/test.conf">
88
96
  <provider selected="true" editor-type-id="text-editor">
89
- <state line="158" column="13" selection-start="8062" selection-end="8062" vertical-scroll-proportion="0.0" vertical-offset="1421" max-vertical-offset="3450">
97
+ <state vertical-scroll-proportion="-1.2" vertical-offset="0" max-vertical-offset="120">
98
+ <caret line="2" column="14" selection-start-line="2" selection-start-column="14" selection-end-line="2" selection-end-column="14" />
90
99
  <folding />
91
100
  </state>
92
101
  </provider>
@@ -113,29 +122,31 @@
113
122
  <option value="$PROJECT_DIR$/lib/script_executor/script_helper.rb" />
114
123
  <option value="$PROJECT_DIR$/lib/script_executor/script_executor.rb" />
115
124
  <option value="$PROJECT_DIR$/spec/script_executor_spec.rb" />
116
- <option value="$PROJECT_DIR$/lib/script_executor/script_locator.rb" />
117
125
  <option value="$PROJECT_DIR$/lib/script_executor/capturer.rb" />
118
126
  <option value="$PROJECT_DIR$/lib/script_executor/output_buffer.rb" />
119
127
  <option value="$PROJECT_DIR$/.rvmrc" />
120
128
  <option value="$PROJECT_DIR$/.ruby-gemset" />
121
129
  <option value="$PROJECT_DIR$/.ruby-version" />
122
- <option value="$PROJECT_DIR$/Gemfile" />
123
130
  <option value="$PROJECT_DIR$/lib/executable.rb" />
124
131
  <option value="$PROJECT_DIR$/lib/script_locator.rb" />
125
132
  <option value="$PROJECT_DIR$/lib/script_executor.rb" />
126
133
  <option value="$PROJECT_DIR$/lib/script_executor/local_command.rb" />
127
- <option value="$PROJECT_DIR$/spec/script_locator_spec.rb" />
128
134
  <option value="$PROJECT_DIR$/README.md" />
129
135
  <option value="$PROJECT_DIR$/lib/script_executor/executable.rb" />
130
136
  <option value="$PROJECT_DIR$/lib/script_executor/remote_command.rb" />
131
137
  <option value="$PROJECT_DIR$/spec/executable_spec.rb" />
132
138
  <option value="$PROJECT_DIR$/lib/script_executor/version.rb" />
139
+ <option value="$PROJECT_DIR$/Gemfile" />
140
+ <option value="$PROJECT_DIR$/spec/test.conf" />
141
+ <option value="$PROJECT_DIR$/lib/script_executor/script_locator.rb" />
142
+ <option value="$USER_HOME$/.rvm/gems/ruby-1.9.3-p545@script_executor/gems/text-interpolator-1.0.0/lib/text_interpolator/text_interpolator.rb" />
143
+ <option value="$PROJECT_DIR$/spec/script_locator_spec.rb" />
133
144
  <option value="$PROJECT_DIR$/CHANGES" />
134
145
  </list>
135
146
  </option>
136
147
  </component>
137
148
  <component name="ProjectFrameBounds">
138
- <option name="x" value="44" />
149
+ <option name="x" value="48" />
139
150
  <option name="y" value="22" />
140
151
  <option name="width" value="1636" />
141
152
  <option name="height" value="1028" />
@@ -154,7 +165,7 @@
154
165
  <option name="STATE" value="0" />
155
166
  </component>
156
167
  <component name="ProjectView">
157
- <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
168
+ <navigator currentView="ProjectPane" proportions="" version="1">
158
169
  <flattenPackages />
159
170
  <showMembers />
160
171
  <showModules />
@@ -178,19 +189,13 @@
178
189
  <option name="myItemId" value="External Libraries" />
179
190
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
180
191
  </PATH_ELEMENT>
181
- </PATH>
182
- <PATH>
183
192
  <PATH_ELEMENT>
184
- <option name="myItemId" value="script_executor" />
185
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
186
- </PATH_ELEMENT>
187
- <PATH_ELEMENT>
188
- <option name="myItemId" value="External Libraries" />
189
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
193
+ <option name="myItemId" value="text-interpolator (v1.0.0, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" />
194
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
190
195
  </PATH_ELEMENT>
191
196
  <PATH_ELEMENT>
192
- <option name="myItemId" value="net-ssh (v2.6.2, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" />
193
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
197
+ <option name="myItemId" value="lib" />
198
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
194
199
  </PATH_ELEMENT>
195
200
  </PATH>
196
201
  <PATH>
@@ -203,7 +208,7 @@
203
208
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
204
209
  </PATH_ELEMENT>
205
210
  <PATH_ELEMENT>
206
- <option name="myItemId" value="net-ssh (v2.6.2, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" />
211
+ <option name="myItemId" value="text-interpolator (v1.0.0, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" />
207
212
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
208
213
  </PATH_ELEMENT>
209
214
  <PATH_ELEMENT>
@@ -211,10 +216,20 @@
211
216
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
212
217
  </PATH_ELEMENT>
213
218
  <PATH_ELEMENT>
214
- <option name="myItemId" value="net" />
219
+ <option name="myItemId" value="text_interpolator" />
215
220
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
216
221
  </PATH_ELEMENT>
217
222
  </PATH>
223
+ <PATH>
224
+ <PATH_ELEMENT>
225
+ <option name="myItemId" value="script_executor" />
226
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
227
+ </PATH_ELEMENT>
228
+ <PATH_ELEMENT>
229
+ <option name="myItemId" value="External Libraries" />
230
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
231
+ </PATH_ELEMENT>
232
+ </PATH>
218
233
  <PATH>
219
234
  <PATH_ELEMENT>
220
235
  <option name="myItemId" value="script_executor" />
@@ -302,7 +317,7 @@
302
317
  <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth3" value="989" />
303
318
  <property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder3" value="3" />
304
319
  </component>
305
- <component name="RunManager" selected="RSpec.script_locator_spec">
320
+ <component name="RunManager" selected="RSpec.executable_spec">
306
321
  <configuration default="false" name="ScriptExecutor should execute commands locally from the block of code as sudo" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
307
322
  <predefined_log_file id="RUBY_RSPEC" enabled="true" />
308
323
  <module name="script_executor" />
@@ -333,6 +348,7 @@
333
348
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
334
349
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
335
350
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
351
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
336
352
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
337
353
  <RunnerSettings RunnerId="RubyRunner" />
338
354
  <ConfigurationWrapper RunnerId="RubyRunner" />
@@ -368,6 +384,7 @@
368
384
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
369
385
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
370
386
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
387
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
371
388
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
372
389
  <RunnerSettings RunnerId="RubyRunner" />
373
390
  <ConfigurationWrapper RunnerId="RubyRunner" />
@@ -403,6 +420,7 @@
403
420
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
404
421
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
405
422
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
423
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
406
424
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
407
425
  <RunnerSettings RunnerId="RubyRunner" />
408
426
  <ConfigurationWrapper RunnerId="RubyRunner" />
@@ -438,6 +456,7 @@
438
456
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
439
457
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
440
458
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
459
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
441
460
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
442
461
  <RunnerSettings RunnerId="RubyRunner" />
443
462
  <ConfigurationWrapper RunnerId="RubyRunner" />
@@ -473,12 +492,13 @@
473
492
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
474
493
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
475
494
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
495
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
476
496
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
477
497
  <RunnerSettings RunnerId="RubyRunner" />
478
498
  <ConfigurationWrapper RunnerId="RubyRunner" />
479
499
  <method />
480
500
  </configuration>
481
- <configuration default="true" type="JavaScriptTestRunnerKarma" factoryName="Karma" singleton="true" config-file="">
501
+ <configuration default="true" type="JavaScriptTestRunnerKarma" factoryName="Karma" config-file="">
482
502
  <envs />
483
503
  <method />
484
504
  </configuration>
@@ -510,6 +530,7 @@
510
530
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
511
531
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
512
532
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
533
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
513
534
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
514
535
  <method />
515
536
  </configuration>
@@ -533,7 +554,7 @@
533
554
  <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
534
555
  <method />
535
556
  </configuration>
536
- <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug" singleton="true">
557
+ <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
537
558
  <method />
538
559
  </configuration>
539
560
  <configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
@@ -560,9 +581,13 @@
560
581
  <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
561
582
  <RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
562
583
  <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
584
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
563
585
  <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
564
586
  <method />
565
587
  </configuration>
588
+ <configuration default="true" type="NodeJSConfigurationType" factoryName="Node.js" working-dir="">
589
+ <method />
590
+ </configuration>
566
591
  <configuration default="true" type="RubyRemoteDebugConfigurationType" factoryName="Ruby remote debug">
567
592
  <RUBY_REMOTE_DEBUG_CONFIG NAME="REMOTE_HOST" VALUE="localhost" />
568
593
  <RUBY_REMOTE_DEBUG_CONFIG NAME="PORT" VALUE="1234" />
@@ -591,9 +616,9 @@
591
616
  </list>
592
617
  <recent_temporary>
593
618
  <list size="5">
594
- <item index="0" class="java.lang.String" itemvalue="RSpec.MyExecutable local execution should execute commands locally from :script parameter: script_executor" />
595
- <item index="1" class="java.lang.String" itemvalue="RSpec.MyExecutable remote execution should execute commands from :script parameter" />
596
- <item index="2" class="java.lang.String" itemvalue="RSpec.executable_spec" />
619
+ <item index="0" class="java.lang.String" itemvalue="RSpec.executable_spec" />
620
+ <item index="1" class="java.lang.String" itemvalue="RSpec.MyExecutable local execution should execute commands locally from :script parameter: script_executor" />
621
+ <item index="2" class="java.lang.String" itemvalue="RSpec.MyExecutable remote execution should execute commands from :script parameter" />
597
622
  <item index="3" class="java.lang.String" itemvalue="RSpec.script_locator_spec" />
598
623
  <item index="4" class="java.lang.String" itemvalue="RSpec.ScriptExecutor should execute commands locally from the block of code as sudo" />
599
624
  </list>
@@ -618,31 +643,35 @@
618
643
  <created>1371677634348</created>
619
644
  <updated>1371677634348</updated>
620
645
  </task>
621
- <option name="localTasksCounter" value="4" />
646
+ <task id="LOCAL-00004" summary="Using text-interpolator as an additional engine.">
647
+ <created>1398722117085</created>
648
+ <updated>1398722117085</updated>
649
+ </task>
650
+ <option name="localTasksCounter" value="5" />
622
651
  <servers />
623
652
  </component>
624
653
  <component name="ToolWindowManager">
625
- <frame x="44" y="22" width="1636" height="1028" extended-state="0" />
626
- <editor active="true" />
654
+ <frame x="48" y="22" width="1636" height="1028" extended-state="0" />
655
+ <editor active="false" />
627
656
  <layout>
628
657
  <window_info id="Dilbert" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
629
- <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.357985" sideWeight="0.9955329" order="7" side_tool="false" content_ui="tabs" />
658
+ <window_info id="Changes" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.357985" sideWeight="0.9955329" order="7" side_tool="false" content_ui="tabs" />
630
659
  <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
631
- <window_info id="Heroku" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
632
660
  <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
633
661
  <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3979798" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
634
662
  <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
635
663
  <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
636
664
  <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3290461" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
665
+ <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32925683" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
637
666
  <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
638
667
  <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
639
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.1932246" sideWeight="0.64040405" order="0" side_tool="false" content_ui="combo" />
668
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.19573401" sideWeight="0.64040405" order="0" side_tool="false" content_ui="combo" />
640
669
  <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3226152" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
641
670
  <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
642
671
  <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
643
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32929292" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
672
+ <window_info id="Heroku" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
644
673
  <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
645
- <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32925683" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
674
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32929292" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
646
675
  <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
647
676
  <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
648
677
  <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
@@ -667,14 +696,17 @@
667
696
  <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
668
697
  <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
669
698
  <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3199498" sideWeight="0.64040405" order="0" side_tool="false" content_ui="combo" />
670
- <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
671
- <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
672
699
  <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3226152" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
700
+ <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
701
+ <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
673
702
  <window_info id="LuaJ" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
674
703
  </layout-to-restore>
675
704
  </component>
676
705
  <component name="Vcs.Log.UiProperties">
677
- <option name="RECENTLY_FILTERED_USERS">
706
+ <option name="RECENTLY_FILTERED_USER_GROUPS">
707
+ <collection />
708
+ </option>
709
+ <option name="RECENTLY_FILTERED_BRANCH_GROUPS">
678
710
  <collection />
679
711
  </option>
680
712
  </component>
@@ -689,7 +721,8 @@
689
721
  <MESSAGE value="internal refactoring" />
690
722
  <MESSAGE value="internal refactoring&#10;" />
691
723
  <MESSAGE value="adding port as parameter" />
692
- <option name="LAST_COMMIT_MESSAGE" value="adding port as parameter" />
724
+ <MESSAGE value="Using text-interpolator as an additional engine." />
725
+ <option name="LAST_COMMIT_MESSAGE" value="Using text-interpolator as an additional engine." />
693
726
  </component>
694
727
  <component name="XDebuggerManager">
695
728
  <breakpoint-manager>
@@ -707,284 +740,381 @@
707
740
  </breakpoint-manager>
708
741
  </component>
709
742
  <component name="editorHistoryManager">
710
- <entry file="file://$PROJECT_DIR$/.ruby-gemset">
711
- <provider selected="true" editor-type-id="text-editor">
712
- <state line="0" column="25" selection-start="15" selection-end="15" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90" />
713
- </provider>
714
- </entry>
715
743
  <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
716
744
  <provider selected="true" editor-type-id="text-editor">
717
- <state line="0" column="0" selection-start="0" selection-end="96" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120" />
745
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120">
746
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
747
+ </state>
718
748
  </provider>
719
749
  </entry>
720
750
  <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
721
751
  <provider selected="true" editor-type-id="text-editor">
722
- <state line="0" column="0" selection-start="0" selection-end="44" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120" />
752
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120">
753
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
754
+ </state>
723
755
  </provider>
724
756
  </entry>
725
757
  <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
726
758
  <provider selected="true" editor-type-id="text-editor">
727
- <state line="0" column="0" selection-start="0" selection-end="56" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90" />
759
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
760
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
761
+ </state>
728
762
  </provider>
729
763
  </entry>
730
764
  <entry file="file://$PROJECT_DIR$/Gemfile">
731
765
  <provider selected="true" editor-type-id="text-editor">
732
- <state line="23" column="0" selection-start="0" selection-end="304" vertical-scroll-proportion="0.0" vertical-offset="345" max-vertical-offset="435" />
766
+ <state vertical-scroll-proportion="0.0" vertical-offset="345" max-vertical-offset="435">
767
+ <caret line="23" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
768
+ </state>
733
769
  </provider>
734
770
  </entry>
735
771
  <entry file="file://$PROJECT_DIR$/Rakefile">
736
772
  <provider selected="true" editor-type-id="text-editor">
737
- <state line="11" column="67" selection-start="0" selection-end="777" vertical-scroll-proportion="0.0" vertical-offset="165" max-vertical-offset="645" />
773
+ <state vertical-scroll-proportion="0.0" vertical-offset="165" max-vertical-offset="645">
774
+ <caret line="11" column="67" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
775
+ </state>
738
776
  </provider>
739
777
  </entry>
740
778
  <entry file="file://$PROJECT_DIR$/script_executor.gemspec.erb">
741
779
  <provider selected="true" editor-type-id="text-editor">
742
- <state line="14" column="56" selection-start="672" selection-end="672" vertical-scroll-proportion="0.0" vertical-offset="210" max-vertical-offset="390" />
780
+ <state vertical-scroll-proportion="0.0" vertical-offset="210" max-vertical-offset="390">
781
+ <caret line="14" column="56" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
782
+ </state>
743
783
  </provider>
744
784
  </entry>
745
785
  <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
746
786
  <provider selected="true" editor-type-id="text-editor">
747
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="195" />
787
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="195">
788
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
789
+ </state>
748
790
  </provider>
749
791
  </entry>
750
792
  <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
751
793
  <provider selected="true" editor-type-id="text-editor">
752
- <state line="105" column="27" selection-start="2673" selection-end="2673" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="3465">
794
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="3465">
795
+ <caret line="105" column="27" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
753
796
  <folding />
754
797
  </state>
755
798
  </provider>
756
799
  </entry>
757
800
  <entry file="file://$PROJECT_DIR$/.ruby-gemset">
758
801
  <provider selected="true" editor-type-id="text-editor">
759
- <state line="0" column="25" selection-start="15" selection-end="15" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90" />
802
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
803
+ <caret line="0" column="25" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
804
+ </state>
760
805
  </provider>
761
806
  </entry>
762
807
  <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
763
808
  <provider selected="true" editor-type-id="text-editor">
764
- <state line="0" column="0" selection-start="0" selection-end="96" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120" />
809
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120">
810
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
811
+ </state>
765
812
  </provider>
766
813
  </entry>
767
814
  <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
768
815
  <provider selected="true" editor-type-id="text-editor">
769
- <state line="0" column="0" selection-start="0" selection-end="44" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120" />
816
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120">
817
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
818
+ </state>
770
819
  </provider>
771
820
  </entry>
772
821
  <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
773
822
  <provider selected="true" editor-type-id="text-editor">
774
- <state line="0" column="0" selection-start="0" selection-end="56" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90" />
823
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
824
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
825
+ </state>
775
826
  </provider>
776
827
  </entry>
777
828
  <entry file="file://$PROJECT_DIR$/Gemfile">
778
829
  <provider selected="true" editor-type-id="text-editor">
779
- <state line="23" column="0" selection-start="0" selection-end="304" vertical-scroll-proportion="0.0" vertical-offset="345" max-vertical-offset="435" />
830
+ <state vertical-scroll-proportion="0.0" vertical-offset="345" max-vertical-offset="435">
831
+ <caret line="23" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
832
+ </state>
780
833
  </provider>
781
834
  </entry>
782
835
  <entry file="file://$PROJECT_DIR$/Rakefile">
783
836
  <provider selected="true" editor-type-id="text-editor">
784
- <state line="11" column="67" selection-start="0" selection-end="777" vertical-scroll-proportion="0.0" vertical-offset="165" max-vertical-offset="645" />
837
+ <state vertical-scroll-proportion="0.0" vertical-offset="165" max-vertical-offset="645">
838
+ <caret line="11" column="67" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
839
+ </state>
785
840
  </provider>
786
841
  </entry>
787
842
  <entry file="file://$PROJECT_DIR$/script_executor.gemspec.erb">
788
843
  <provider selected="true" editor-type-id="text-editor">
789
- <state line="14" column="56" selection-start="672" selection-end="672" vertical-scroll-proportion="0.0" vertical-offset="210" max-vertical-offset="390" />
844
+ <state vertical-scroll-proportion="0.0" vertical-offset="210" max-vertical-offset="390">
845
+ <caret line="14" column="56" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
846
+ </state>
790
847
  </provider>
791
848
  </entry>
792
849
  <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
793
850
  <provider selected="true" editor-type-id="text-editor">
794
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="195" />
851
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="195">
852
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
853
+ </state>
795
854
  </provider>
796
855
  </entry>
797
856
  <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
798
857
  <provider selected="true" editor-type-id="text-editor">
799
- <state line="181" column="36" selection-start="4387" selection-end="4387" vertical-scroll-proportion="0.0" vertical-offset="2896" max-vertical-offset="3136">
858
+ <state vertical-scroll-proportion="0.0" vertical-offset="2896" max-vertical-offset="3136">
859
+ <caret line="181" column="36" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
800
860
  <folding />
801
861
  </state>
802
862
  </provider>
803
863
  </entry>
804
864
  <entry file="file://$PROJECT_DIR$/.ruby-gemset">
805
865
  <provider selected="true" editor-type-id="text-editor">
806
- <state line="0" column="25" selection-start="15" selection-end="15" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="96" />
866
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="96">
867
+ <caret line="0" column="25" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
868
+ </state>
807
869
  </provider>
808
870
  </entry>
809
871
  <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
810
872
  <provider selected="true" editor-type-id="text-editor">
811
- <state line="0" column="0" selection-start="0" selection-end="96" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="128" />
873
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="128">
874
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
875
+ </state>
812
876
  </provider>
813
877
  </entry>
814
878
  <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
815
879
  <provider selected="true" editor-type-id="text-editor">
816
- <state line="0" column="0" selection-start="0" selection-end="44" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="128" />
880
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="128">
881
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
882
+ </state>
817
883
  </provider>
818
884
  </entry>
819
885
  <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
820
886
  <provider selected="true" editor-type-id="text-editor">
821
- <state line="0" column="0" selection-start="0" selection-end="56" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="96" />
887
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="96">
888
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
889
+ </state>
822
890
  </provider>
823
891
  </entry>
824
892
  <entry file="file://$PROJECT_DIR$/Gemfile">
825
893
  <provider selected="true" editor-type-id="text-editor">
826
- <state line="23" column="0" selection-start="0" selection-end="304" vertical-scroll-proportion="0.0" vertical-offset="368" max-vertical-offset="464" />
894
+ <state vertical-scroll-proportion="0.0" vertical-offset="368" max-vertical-offset="464">
895
+ <caret line="23" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
896
+ </state>
827
897
  </provider>
828
898
  </entry>
829
899
  <entry file="file://$PROJECT_DIR$/Rakefile">
830
900
  <provider selected="true" editor-type-id="text-editor">
831
- <state line="11" column="67" selection-start="0" selection-end="777" vertical-scroll-proportion="0.0" vertical-offset="176" max-vertical-offset="688" />
901
+ <state vertical-scroll-proportion="0.0" vertical-offset="176" max-vertical-offset="688">
902
+ <caret line="11" column="67" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
903
+ </state>
832
904
  </provider>
833
905
  </entry>
834
906
  <entry file="file://$PROJECT_DIR$/script_executor.gemspec.erb">
835
907
  <provider selected="true" editor-type-id="text-editor">
836
- <state line="14" column="56" selection-start="672" selection-end="672" vertical-scroll-proportion="0.0" vertical-offset="224" max-vertical-offset="416" />
908
+ <state vertical-scroll-proportion="0.0" vertical-offset="224" max-vertical-offset="416">
909
+ <caret line="14" column="56" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
910
+ </state>
837
911
  </provider>
838
912
  </entry>
839
913
  <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
840
914
  <provider selected="true" editor-type-id="text-editor">
841
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="208" />
915
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="208">
916
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
917
+ </state>
842
918
  </provider>
843
919
  </entry>
844
920
  <entry file="file://$PROJECT_DIR$/Gemfile">
845
921
  <provider selected="true" editor-type-id="text-editor">
846
- <state line="23" column="0" selection-start="0" selection-end="304" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0" />
922
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0">
923
+ <caret line="23" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
924
+ </state>
847
925
  </provider>
848
926
  </entry>
849
927
  <entry file="file://$PROJECT_DIR$/Rakefile">
850
928
  <provider selected="true" editor-type-id="text-editor">
851
- <state line="11" column="67" selection-start="0" selection-end="777" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0" />
929
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0">
930
+ <caret line="11" column="67" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
931
+ </state>
852
932
  </provider>
853
933
  </entry>
854
934
  <entry file="file://$PROJECT_DIR$/script_executor.gemspec.erb">
855
935
  <provider selected="true" editor-type-id="text-editor">
856
- <state line="14" column="56" selection-start="672" selection-end="672" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0" />
936
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0">
937
+ <caret line="14" column="56" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
938
+ </state>
857
939
  </provider>
858
940
  </entry>
859
941
  <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
860
942
  <provider selected="true" editor-type-id="text-editor">
861
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0" />
943
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0">
944
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
945
+ </state>
862
946
  </provider>
863
947
  </entry>
864
948
  <entry file="file://$APPLICATION_HOME_DIR$/rubystubs193/kernel.rb">
865
949
  <provider selected="true" editor-type-id="text-editor">
866
- <state line="1245" column="8" selection-start="54522" selection-end="54522" vertical-scroll-proportion="1.5721831" vertical-offset="0" max-vertical-offset="0" />
950
+ <state vertical-scroll-proportion="1.5721831" vertical-offset="0" max-vertical-offset="0">
951
+ <caret line="1245" column="8" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
952
+ </state>
867
953
  </provider>
868
954
  </entry>
869
955
  <entry file="file://$PROJECT_DIR$/.ruby-gemset">
870
956
  <provider selected="true" editor-type-id="text-editor">
871
- <state line="0" column="25" selection-start="15" selection-end="15" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0" />
872
- </provider>
873
- </entry>
874
- <entry file="file://$PROJECT_DIR$/Gemfile">
875
- <provider selected="true" editor-type-id="text-editor">
876
- <state line="23" column="0" selection-start="0" selection-end="304" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0" />
957
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0">
958
+ <caret line="0" column="25" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
959
+ </state>
877
960
  </provider>
878
961
  </entry>
879
962
  <entry file="file://$PROJECT_DIR$/Rakefile">
880
963
  <provider selected="true" editor-type-id="text-editor">
881
- <state line="11" column="67" selection-start="0" selection-end="777" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0" />
964
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0">
965
+ <caret line="11" column="67" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
966
+ </state>
882
967
  </provider>
883
968
  </entry>
884
969
  <entry file="file://$PROJECT_DIR$/script_executor.gemspec.erb">
885
970
  <provider selected="true" editor-type-id="text-editor">
886
- <state line="14" column="56" selection-start="672" selection-end="672" vertical-scroll-proportion="0.0" vertical-offset="224" max-vertical-offset="416" />
887
- </provider>
888
- </entry>
889
- <entry file="file://$PROJECT_DIR$/lib/script_locator.rb">
890
- <provider selected="true" editor-type-id="text-editor">
891
- <state line="0" column="48" selection-start="40" selection-end="40" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90" />
971
+ <state vertical-scroll-proportion="0.0" vertical-offset="224" max-vertical-offset="416">
972
+ <caret line="14" column="56" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
973
+ </state>
892
974
  </provider>
893
975
  </entry>
894
976
  <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
895
977
  <provider selected="true" editor-type-id="text-editor">
896
- <state line="0" column="41" selection-start="41" selection-end="41" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90" />
978
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
979
+ <caret line="0" column="41" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
980
+ </state>
897
981
  </provider>
898
982
  </entry>
899
983
  <entry file="file://$PROJECT_DIR$/lib/script_executor/output_buffer.rb">
900
984
  <provider selected="true" editor-type-id="text-editor">
901
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="602" />
985
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="602">
986
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
987
+ </state>
902
988
  </provider>
903
989
  </entry>
904
990
  <entry file="file://$PROJECT_DIR$/lib/script_executor/local_command.rb">
905
991
  <provider selected="true" editor-type-id="text-editor">
906
- <state line="21" column="0" selection-start="576" selection-end="576" vertical-scroll-proportion="0.0" vertical-offset="154" max-vertical-offset="1260" />
992
+ <state vertical-scroll-proportion="0.0" vertical-offset="154" max-vertical-offset="1260">
993
+ <caret line="21" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
994
+ </state>
907
995
  </provider>
908
996
  </entry>
909
997
  <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
910
998
  <provider selected="true" editor-type-id="text-editor">
911
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="195" />
999
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="195">
1000
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1001
+ </state>
912
1002
  </provider>
913
1003
  </entry>
914
- <entry file="file://$PROJECT_DIR$/lib/script_executor/script_locator.rb">
1004
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
915
1005
  <provider selected="true" editor-type-id="text-editor">
916
- <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" vertical-offset="30" max-vertical-offset="855" />
1006
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1125">
1007
+ <caret line="14" column="32" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1008
+ <folding />
1009
+ </state>
917
1010
  </provider>
918
1011
  </entry>
919
- <entry file="file://$PROJECT_DIR$/spec/script_locator_spec.rb">
1012
+ <entry file="file://$PROJECT_DIR$/lib/executable.rb">
920
1013
  <provider selected="true" editor-type-id="text-editor">
921
- <state line="7" column="0" selection-start="141" selection-end="141" vertical-scroll-proportion="0.11314655" vertical-offset="0" max-vertical-offset="928" />
1014
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
1015
+ <caret line="0" column="26" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1016
+ </state>
922
1017
  </provider>
923
1018
  </entry>
924
- <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
1019
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/remote_command.rb">
925
1020
  <provider selected="true" editor-type-id="text-editor">
926
- <state line="0" column="42" selection-start="0" selection-end="56" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="573">
1021
+ <state vertical-scroll-proportion="0.0" vertical-offset="610" max-vertical-offset="1515">
1022
+ <caret line="34" column="40" selection-start-line="34" selection-start-column="40" selection-end-line="34" selection-end-column="40" />
927
1023
  <folding />
928
1024
  </state>
929
1025
  </provider>
930
1026
  </entry>
931
- <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
1027
+ <entry file="file://$PROJECT_DIR$/README.md">
1028
+ <provider editor-type-id="MarkdownPreviewEditor">
1029
+ <state />
1030
+ </provider>
932
1031
  <provider selected="true" editor-type-id="text-editor">
933
- <state line="14" column="32" selection-start="350" selection-end="350" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1125">
1032
+ <state vertical-scroll-proportion="-13.925926" vertical-offset="1019" max-vertical-offset="1935">
1033
+ <caret line="93" column="24" selection-start-line="93" selection-start-column="24" selection-end-line="93" selection-end-column="24" />
934
1034
  <folding />
935
1035
  </state>
936
1036
  </provider>
937
1037
  </entry>
938
- <entry file="file://$PROJECT_DIR$/lib/executable.rb">
1038
+ <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
939
1039
  <provider selected="true" editor-type-id="text-editor">
940
- <state line="0" column="26" selection-start="26" selection-end="26" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
1040
+ <state vertical-scroll-proportion="-0.0" vertical-offset="0" max-vertical-offset="90">
1041
+ <caret line="0" column="42" selection-start-line="0" selection-start-column="42" selection-end-line="0" selection-end-column="42" />
941
1042
  <folding />
942
1043
  </state>
943
1044
  </provider>
944
1045
  </entry>
945
- <entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p484@script_executor/gems/net-ssh-2.6.2/lib/net/ssh.rb">
1046
+ <entry file="file://$PROJECT_DIR$/lib/script_locator.rb">
946
1047
  <provider selected="true" editor-type-id="text-editor">
947
- <state line="158" column="13" selection-start="8062" selection-end="8062" vertical-scroll-proportion="0.0" vertical-offset="1421" max-vertical-offset="3450">
1048
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="604">
1049
+ <caret line="0" column="40" selection-start-line="0" selection-start-column="40" selection-end-line="0" selection-end-column="40" />
1050
+ <folding />
1051
+ </state>
1052
+ </provider>
1053
+ </entry>
1054
+ <entry file="file://$PROJECT_DIR$/Gemfile">
1055
+ <provider selected="true" editor-type-id="text-editor">
1056
+ <state vertical-scroll-proportion="0.17384106" vertical-offset="0" max-vertical-offset="604">
1057
+ <caret line="7" column="0" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
948
1058
  <folding />
949
1059
  </state>
950
1060
  </provider>
951
1061
  </entry>
952
1062
  <entry file="file://$PROJECT_DIR$/spec/executable_spec.rb">
953
1063
  <provider selected="true" editor-type-id="text-editor">
954
- <state line="100" column="43" selection-start="2350" selection-end="2350" vertical-scroll-proportion="0.0" vertical-offset="850" max-vertical-offset="1755">
1064
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1755">
1065
+ <caret line="13" column="42" selection-start-line="13" selection-start-column="42" selection-end-line="13" selection-end-column="42" />
955
1066
  <folding />
956
1067
  </state>
957
1068
  </provider>
958
1069
  </entry>
959
- <entry file="file://$PROJECT_DIR$/lib/script_executor/remote_command.rb">
1070
+ <entry file="file://$PROJECT_DIR$/spec/test.conf">
960
1071
  <provider selected="true" editor-type-id="text-editor">
961
- <state line="34" column="157" selection-start="1077" selection-end="1077" vertical-scroll-proportion="0.0" vertical-offset="610" max-vertical-offset="1515">
1072
+ <state vertical-scroll-proportion="-1.2" vertical-offset="0" max-vertical-offset="120">
1073
+ <caret line="2" column="14" selection-start-line="2" selection-start-column="14" selection-end-line="2" selection-end-column="14" />
962
1074
  <folding />
963
1075
  </state>
964
1076
  </provider>
965
1077
  </entry>
966
- <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
1078
+ <entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p545@script_executor/gems/text-interpolator-1.0.0/lib/text_interpolator/text_interpolator.rb">
967
1079
  <provider selected="true" editor-type-id="text-editor">
968
- <state line="1" column="18" selection-start="39" selection-end="39" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120">
1080
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1260">
1081
+ <caret line="16" column="0" selection-start-line="16" selection-start-column="0" selection-end-line="16" selection-end-column="0" />
969
1082
  <folding />
970
1083
  </state>
971
1084
  </provider>
972
1085
  </entry>
973
- <entry file="file://$PROJECT_DIR$/CHANGES">
1086
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/script_locator.rb">
974
1087
  <provider selected="true" editor-type-id="text-editor">
975
- <state line="48" column="17" selection-start="593" selection-end="593" vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="840">
1088
+ <state vertical-scroll-proportion="0.0" vertical-offset="11" max-vertical-offset="1050">
1089
+ <caret line="10" column="0" selection-start-line="10" selection-start-column="0" selection-end-line="10" selection-end-column="0" />
976
1090
  <folding />
977
1091
  </state>
978
1092
  </provider>
979
1093
  </entry>
980
- <entry file="file://$PROJECT_DIR$/README.md">
1094
+ <entry file="file://$PROJECT_DIR$/spec/script_locator_spec.rb">
981
1095
  <provider selected="true" editor-type-id="text-editor">
982
- <state line="93" column="21" selection-start="1875" selection-end="1875" vertical-scroll-proportion="0.6911765" vertical-offset="1019" max-vertical-offset="1935">
1096
+ <state vertical-scroll-proportion="0.0" vertical-offset="311" max-vertical-offset="1065">
1097
+ <caret line="33" column="0" selection-start-line="33" selection-start-column="0" selection-end-line="33" selection-end-column="0" />
1098
+ <folding>
1099
+ <element signature="e#1205#1265#0" expanded="true" />
1100
+ </folding>
1101
+ </state>
1102
+ </provider>
1103
+ </entry>
1104
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
1105
+ <provider selected="true" editor-type-id="text-editor">
1106
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120">
1107
+ <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
983
1108
  <folding />
984
1109
  </state>
985
1110
  </provider>
986
- <provider editor-type-id="MarkdownPreviewEditor">
987
- <state />
1111
+ </entry>
1112
+ <entry file="file://$PROJECT_DIR$/CHANGES">
1113
+ <provider selected="true" editor-type-id="text-editor">
1114
+ <state vertical-scroll-proportion="0.90017515" vertical-offset="296" max-vertical-offset="900">
1115
+ <caret line="54" column="2" selection-start-line="54" selection-start-column="2" selection-end-line="54" selection-end-column="50" />
1116
+ <folding />
1117
+ </state>
988
1118
  </provider>
989
1119
  </entry>
990
1120
  </component>
data/CHANGES CHANGED
@@ -46,6 +46,10 @@
46
46
 
47
47
  * Adding port as parameter.
48
48
 
49
- == Version 1.3.36
49
+ == Version 1.3.6
50
50
 
51
- * Big fix.
51
+ * Big fix.
52
+
53
+ == Version 1.3.7
54
+
55
+ * Using text-interpolator as an additional engine.
data/Gemfile CHANGED
@@ -3,6 +3,7 @@ source "https://rubygems.org"
3
3
  group :default do
4
4
  gem "highline"
5
5
  gem "net-ssh"
6
+ gem "text-interpolator"
6
7
  end
7
8
 
8
9
  group :development do
data/Gemfile.lock CHANGED
@@ -26,6 +26,7 @@ GEM
26
26
  rake (>= 0.8.1)
27
27
  ruby-debug-ide (0.4.17)
28
28
  rake (>= 0.8.1)
29
+ text-interpolator (1.0.0)
29
30
 
30
31
  PLATFORMS
31
32
  ruby
@@ -39,3 +40,4 @@ DEPENDENCIES
39
40
  rspec
40
41
  ruby-debug-base19x (= 0.11.30.pre12)
41
42
  ruby-debug-ide (= 0.4.17)
43
+ text-interpolator
@@ -1,4 +1,5 @@
1
1
  require 'erb'
2
+ require 'text_interpolator'
2
3
 
3
4
  module ScriptLocator
4
5
 
@@ -8,10 +9,22 @@ module ScriptLocator
8
9
  locate_scripts(data)
9
10
  end
10
11
 
11
- def evaluate_script_body content, binding
12
- template = ERB.new content
12
+ def evaluate_script_body content, env, type=:erb
13
+ case type
14
+ when :erb
15
+ template = ERB.new content
16
+ template.result(env).strip
13
17
 
14
- template.result(binding).strip
18
+ when :string
19
+ interpolator = TextInterpolator.new
20
+
21
+ interpolator.interpolate content, env
22
+
23
+ else
24
+ interpolator = TextInterpolator.new
25
+
26
+ interpolator.interpolate content, env
27
+ end
15
28
  end
16
29
 
17
30
  private
@@ -21,7 +34,7 @@ module ScriptLocator
21
34
 
22
35
  index = content.index("__END__\n")
23
36
 
24
- content[index+9..-1]
37
+ index.nil? ? content : content[index+9..-1]
25
38
  end
26
39
 
27
40
  def locate_scripts data
@@ -1,3 +1,3 @@
1
1
  class ScriptExecutor
2
- VERSION = "1.3.6"
2
+ VERSION = "1.3.7"
3
3
  end
@@ -17,6 +17,7 @@ Gem::Specification.new do |spec|
17
17
 
18
18
  spec.add_runtime_dependency "highline", [">= 0"]
19
19
  spec.add_runtime_dependency "net-ssh", [">= 0"]
20
+ spec.add_runtime_dependency "text-interpolator", [">= 0"]
20
21
  spec.add_development_dependency "gemspec_deps_gen", [">= 0"]
21
22
  spec.add_development_dependency "gemcutter", [">= 0"]
22
23
 
@@ -10,19 +10,46 @@ describe MyScriptLocator do
10
10
 
11
11
  subject { MyScriptLocator.new }
12
12
 
13
- it "should read after __END__" do
14
- scripts = subject.scripts(__FILE__)
13
+ describe "#scripts" do
14
+ it "reads after __END__" do
15
+ file = __FILE__
15
16
 
16
- scripts.should_not be_nil
17
+ scripts = subject.scripts(file)
18
+
19
+ scripts.should_not be_nil
20
+ end
21
+
22
+ it "reads from file completely if it does not have __END__ tag" do
23
+ file = File.expand_path('test.conf', File.dirname(__FILE__))
24
+
25
+ scripts = subject.scripts(file)
26
+
27
+ scripts.should_not be_nil
28
+ end
17
29
  end
18
30
 
19
- it "should locate script" do
20
- scripts = subject.scripts(__FILE__)
31
+ describe "#evaluate_script_body" do
32
+ it "locates script inside current file" do
33
+ scripts = subject.scripts(__FILE__)
34
+
35
+ name = "alisa"
36
+
37
+ result = subject.evaluate_script_body(scripts['test1'], binding)
38
+
39
+ result.should =~ /#{name}/
40
+ end
41
+
42
+ it "locates script inside external file and evaluates it as string" do
43
+ file = File.expand_path('test.conf', File.dirname(__FILE__))
44
+
45
+ scripts = subject.scripts(file)
46
+
47
+ env = {:name => "alisa"}
21
48
 
22
- name = "alisa"
23
- result = subject.evaluate_script_body(scripts['test1'], binding)
49
+ result = subject.evaluate_script_body(scripts['test1'], env, :string)
24
50
 
25
- result.should =~ /#{name}/
51
+ result.should =~ /#{env[:name]}/
52
+ end
26
53
  end
27
54
 
28
55
  end
data/spec/test.conf ADDED
@@ -0,0 +1,3 @@
1
+ [test1]
2
+
3
+ echo "#{name}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: script_executor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.6
4
+ version: 1.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Shvets
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-23 00:00:00.000000000 Z
11
+ date: 2014-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: text-interpolator
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: gemspec_deps_gen
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -106,6 +120,7 @@ files:
106
120
  - spec/executable_spec.rb
107
121
  - spec/script_locator_spec.rb
108
122
  - spec/spec_helper.rb
123
+ - spec/test.conf
109
124
  homepage: http://github.com/shvets/script_executor
110
125
  licenses: []
111
126
  metadata: {}
@@ -125,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
140
  version: '0'
126
141
  requirements: []
127
142
  rubyforge_project:
128
- rubygems_version: 2.0.14
143
+ rubygems_version: 2.2.2
129
144
  signing_key:
130
145
  specification_version: 4
131
146
  summary: This library helps to execute code, locally or remote over ssh
@@ -133,3 +148,4 @@ test_files:
133
148
  - spec/executable_spec.rb
134
149
  - spec/script_locator_spec.rb
135
150
  - spec/spec_helper.rb
151
+ - spec/test.conf