script_executor 1.5.2 → 1.5.3

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
- ZGRhNTVkNGU1ZGY1MTgwMGNmNmQ5NzZhZjg4NDIxZWI5Njc0OTUyMQ==
4
+ Y2RjZmZkNTc5YTIxZmI0MjgyMjI4YTEwNTZhYjJjNDRiNWYzZDc5Yg==
5
5
  data.tar.gz: !binary |-
6
- ZDVjMDYxYmYxN2YyMWIzYTJlNGJkNWQ2ZWUxZTg2YjBmOWRlOGU4ZA==
6
+ MjlmYzMzMDA5ZTFkNjA4MDVjZjExY2Q2NDg3YmUyMmQzNDU5OTQxMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MGM2ODUzOWRhM2Q3MGIzZWI2YWU0NWI0NDA5YmU1ZmFiNzlhMDJhOWRjZWU4
10
- OTYwZTc5ODE1ZmYwNDNkNjY4YTM3NWRiNjY2Y2E5ZDUyYWI4ZjYwZDRkNWY5
11
- YmRiM2E1ZTUyMWRhZmM1MmM4ODhjMDE4NDg5MGZlODNlZGFhOGI=
9
+ ZGRiYzlkZjhlYWQ1NGM1YTlhOWVhNzgxYzU5NWVmZGE3NjljNmVlZDc5NWVl
10
+ NWEwMjA3MjVjMGIxZjE0MGJhZTk4Y2RlNGNmNDAxYTg1YjI3NmYxM2FmMjFj
11
+ Yzc3YTE3NDE4Yzk3ZTE5NWI3YzhkNTQ4MWExZDY5NWRlNjNhNzM=
12
12
  data.tar.gz: !binary |-
13
- Y2M2OGQzYjE0NmU1MjdhMGViOTA5OWNlNDAzM2M5ZmFmYzgyN2Q1ZDZlZTY3
14
- M2JjYTJlNzJiODg0NzhmYWE2ZTAwYjRkNWQ5M2JjMGM1YWM2YmY0YzM1Zjcy
15
- MjhkOGI0MjIzNWQ4NWIwMzIyZDk2YTYyYTBjZDY1NTExYWU3YjU=
13
+ NGIzMjA0OGIxZDMxYjFjYjEyZDI4MjFkMjc2M2E1ZmU3MTc3YzQ2NDA1Yjlk
14
+ YzkyNjg1M2EzYzk2OTBjYTQ5ZmJjYjZmZTRmZTI3MmNmZjg1MTljYmJmYWM0
15
+ ZmVjYzkwODVhOGViMmMxYWVkYTVhYWY1NDUzN2FmNmE5OWQ2ZjY=
@@ -198,21 +198,7 @@
198
198
  <content url="file://$MODULE_DIR$" />
199
199
  <orderEntry type="jdk" jdkName="RVM: ruby-1.9.3-p545 [script_executor]" jdkType="RUBY_SDK" />
200
200
  <orderEntry type="sourceFolder" forTests="false" />
201
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.6.2, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
202
- <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.3, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
203
- <orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.7, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
204
- <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
205
- <orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.1.2, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
206
- <orderEntry type="library" scope="PROVIDED" name="highline (v1.6.15, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
207
- <orderEntry type="library" scope="PROVIDED" name="json_pure (v1.8.1, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
208
- <orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.1, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
209
- <orderEntry type="library" scope="PROVIDED" name="mocha (v0.13.1, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
210
- <orderEntry type="library" scope="PROVIDED" name="net-ssh (v2.8.0, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
211
- <orderEntry type="library" scope="PROVIDED" name="rspec (v2.12.0, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
212
- <orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.12.2, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
213
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.12.1, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
214
- <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.12.0, 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" />
201
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.6.0, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
216
202
  </component>
217
203
  </module>
218
204
 
data/.idea/workspace.xml CHANGED
@@ -2,11 +2,17 @@
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
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$/lib/script_executor/executable.rb" afterPath="$PROJECT_DIR$/lib/script_executor/executable.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$/.idea/script_executor.iml" afterPath="$PROJECT_DIR$/.idea/script_executor.iml" />
9
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/script_executor/version.rb" afterPath="$PROJECT_DIR$/lib/script_executor/version.rb" />
5
10
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
6
11
  </list>
7
12
  <ignored path="script_executor.iws" />
8
13
  <ignored path=".idea/workspace.xml" />
9
14
  <ignored path=".idea/dataSources.local.xml" />
15
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
10
16
  <option name="TRACKING_ENABLED" value="true" />
11
17
  <option name="SHOW_DIALOG" value="false" />
12
18
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -19,8 +25,8 @@
19
25
  <SUITE FILE_PATH="coverage/script_executor@MyScriptLocator_evaluate_script_body_locates_script_inside_current_file__script_executor.coverage" NAME="MyScriptLocator#evaluate_script_body locates script inside current file: script_executor Coverage Results" MODIFIED="1402110491955" 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" />
20
26
  <SUITE FILE_PATH="coverage/script_executor@MyExecutable_vagrant_should_execute_commands_from__script_parameter__script_executor.coverage" NAME="MyExecutable vagrant should execute commands from :script parameter: script_executor Coverage Results" MODIFIED="1402343358557" 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" />
21
27
  <SUITE FILE_PATH="coverage/script_executor@script_locator_spec.coverage" NAME="script_locator_spec Coverage Results" MODIFIED="1402147217968" 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
- <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" />
23
28
  <SUITE FILE_PATH="coverage/script_executor@executable_spec.coverage" NAME="executable_spec Coverage Results" MODIFIED="1407439589640" 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" />
29
+ <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" />
24
30
  </component>
25
31
  <component name="CreatePatchCommitExecutor">
26
32
  <option name="PATCH_PATH" value="" />
@@ -37,28 +43,68 @@
37
43
  <file leaf-file-name="base_provision.rb" pinned="false" current-in-tab="false">
38
44
  <entry file="file://$PROJECT_DIR$/lib/script_executor/base_provision.rb">
39
45
  <provider selected="true" editor-type-id="text-editor">
40
- <state vertical-scroll-proportion="0.0" vertical-offset="716" max-vertical-offset="1445">
46
+ <state vertical-scroll-proportion="0.0" vertical-offset="425" max-vertical-offset="1445">
41
47
  <caret line="25" column="15" selection-start-line="25" selection-start-column="11" selection-end-line="25" selection-end-column="15" />
42
48
  <folding />
43
49
  </state>
44
50
  </provider>
45
51
  </entry>
46
52
  </file>
47
- <file leaf-file-name="version.rb" pinned="false" current-in-tab="true">
53
+ <file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
48
54
  <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
49
55
  <provider selected="true" editor-type-id="text-editor">
50
- <state vertical-scroll-proportion="0.035343036" vertical-offset="0" max-vertical-offset="481">
56
+ <state vertical-scroll-proportion="-0.68" vertical-offset="0" max-vertical-offset="136">
51
57
  <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
52
58
  <folding />
53
59
  </state>
54
60
  </provider>
55
61
  </entry>
56
62
  </file>
57
- <file leaf-file-name="CHANGES" pinned="false" current-in-tab="false">
63
+ <file leaf-file-name="Rakefile" pinned="false" current-in-tab="false">
64
+ <entry file="file://$PROJECT_DIR$/Rakefile">
65
+ <provider selected="true" editor-type-id="text-editor">
66
+ <state vertical-scroll-proportion="0.0" vertical-offset="187" max-vertical-offset="765">
67
+ <caret line="11" column="12" selection-start-line="0" selection-start-column="0" selection-end-line="39" selection-end-column="0" />
68
+ <folding />
69
+ </state>
70
+ </provider>
71
+ </entry>
72
+ </file>
73
+ <file leaf-file-name="Gemfile" pinned="false" current-in-tab="false">
74
+ <entry file="file://$PROJECT_DIR$/Gemfile">
75
+ <provider selected="true" editor-type-id="text-editor">
76
+ <state vertical-scroll-proportion="-6.8" vertical-offset="0" max-vertical-offset="527">
77
+ <caret line="10" column="33" selection-start-line="10" selection-start-column="24" selection-end-line="10" selection-end-column="33" />
78
+ <folding />
79
+ </state>
80
+ </provider>
81
+ </entry>
82
+ </file>
83
+ <file leaf-file-name="executable.rb" pinned="false" current-in-tab="false">
84
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
85
+ <provider selected="true" editor-type-id="text-editor">
86
+ <state vertical-scroll-proportion="7.48" vertical-offset="595" max-vertical-offset="1343">
87
+ <caret line="24" column="0" selection-start-line="24" selection-start-column="0" selection-end-line="24" selection-end-column="0" />
88
+ <folding />
89
+ </state>
90
+ </provider>
91
+ </entry>
92
+ </file>
93
+ <file leaf-file-name="remote_command.rb" pinned="false" current-in-tab="false">
94
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/remote_command.rb">
95
+ <provider selected="true" editor-type-id="text-editor">
96
+ <state vertical-scroll-proportion="-0.23529412" vertical-offset="583" max-vertical-offset="2006">
97
+ <caret line="35" column="48" selection-start-line="35" selection-start-column="48" selection-end-line="35" selection-end-column="48" />
98
+ <folding />
99
+ </state>
100
+ </provider>
101
+ </entry>
102
+ </file>
103
+ <file leaf-file-name="CHANGES" pinned="false" current-in-tab="true">
58
104
  <entry file="file://$PROJECT_DIR$/CHANGES">
59
105
  <provider selected="true" editor-type-id="text-editor">
60
- <state vertical-scroll-proportion="0.0" vertical-offset="1360" max-vertical-offset="1496">
61
- <caret line="80" column="16" selection-start-line="80" selection-start-column="16" selection-end-line="80" selection-end-column="16" />
106
+ <state vertical-scroll-proportion="1.2886837" vertical-offset="870" max-vertical-offset="1564">
107
+ <caret line="84" column="16" selection-start-line="84" selection-start-column="16" selection-end-line="84" selection-end-column="16" />
62
108
  <folding />
63
109
  </state>
64
110
  </provider>
@@ -110,13 +156,13 @@
110
156
  <option value="$PROJECT_DIR$/script_executor.gemspec.erb" />
111
157
  <option value="$PROJECT_DIR$/lib/script_executor/script_locator.rb" />
112
158
  <option value="$PROJECT_DIR$/spec/script_locator_spec.rb" />
113
- <option value="$PROJECT_DIR$/lib/script_executor/executable.rb" />
114
159
  <option value="$PROJECT_DIR$/lib/script_executor/local_command.rb" />
115
160
  <option value="$PROJECT_DIR$/spec/spec_helper.rb" />
116
161
  <option value="$PROJECT_DIR$/spec/executable_spec.rb" />
117
162
  <option value="$PROJECT_DIR$/Gemfile" />
118
- <option value="$PROJECT_DIR$/lib/script_executor/remote_command.rb" />
119
163
  <option value="$PROJECT_DIR$/lib/script_executor/base_provision.rb" />
164
+ <option value="$PROJECT_DIR$/lib/script_executor/executable.rb" />
165
+ <option value="$PROJECT_DIR$/lib/script_executor/remote_command.rb" />
120
166
  <option value="$PROJECT_DIR$/lib/script_executor/version.rb" />
121
167
  <option value="$PROJECT_DIR$/CHANGES" />
122
168
  </list>
@@ -125,8 +171,8 @@
125
171
  <component name="ProjectFrameBounds">
126
172
  <option name="x" value="48" />
127
173
  <option name="y" value="22" />
128
- <option name="width" value="1396" />
129
- <option name="height" value="878" />
174
+ <option name="width" value="1291" />
175
+ <option name="height" value="863" />
130
176
  </component>
131
177
  <component name="ProjectLevelVcsManager" settingsEditedManually="false">
132
178
  <OptionsSetting value="true" id="Add" />
@@ -161,10 +207,6 @@
161
207
  <option name="myItemId" value="script_executor" />
162
208
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
163
209
  </PATH_ELEMENT>
164
- <PATH_ELEMENT>
165
- <option name="myItemId" value="External Libraries" />
166
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
167
- </PATH_ELEMENT>
168
210
  </PATH>
169
211
  <PATH>
170
212
  <PATH_ELEMENT>
@@ -176,20 +218,6 @@
176
218
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
177
219
  </PATH_ELEMENT>
178
220
  </PATH>
179
- <PATH>
180
- <PATH_ELEMENT>
181
- <option name="myItemId" value="script_executor" />
182
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
183
- </PATH_ELEMENT>
184
- <PATH_ELEMENT>
185
- <option name="myItemId" value="script_executor" />
186
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
187
- </PATH_ELEMENT>
188
- <PATH_ELEMENT>
189
- <option name="myItemId" value="spec" />
190
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
191
- </PATH_ELEMENT>
192
- </PATH>
193
221
  <PATH>
194
222
  <PATH_ELEMENT>
195
223
  <option name="myItemId" value="script_executor" />
@@ -656,19 +684,18 @@
656
684
  <servers />
657
685
  </component>
658
686
  <component name="ToolWindowManager">
659
- <frame x="48" y="22" width="1396" height="878" extended-state="0" />
660
- <editor active="true" />
687
+ <frame x="48" y="22" width="1291" height="863" extended-state="0" />
688
+ <editor active="false" />
661
689
  <layout>
662
- <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.35159236" sideWeight="0.9955329" order="7" side_tool="false" content_ui="tabs" />
663
- <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32822478" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
690
+ <window_info id="Changes" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.35033557" sideWeight="0.9955329" order="7" side_tool="false" content_ui="tabs" />
691
+ <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3342282" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
664
692
  <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" />
665
693
  <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" />
666
694
  <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" />
667
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2621861" sideWeight="0.64040405" order="0" side_tool="false" content_ui="combo" />
668
- <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3971903" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
695
+ <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
696
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.29303443" sideWeight="0.64040405" order="0" side_tool="false" content_ui="combo" />
669
697
  <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" />
670
698
  <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" />
671
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32056195" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
672
699
  <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3286445" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
673
700
  <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" />
674
701
  <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" />
@@ -676,11 +703,13 @@
676
703
  <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" />
677
704
  <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" />
678
705
  <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32822478" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
706
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3971903" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
679
707
  <window_info id="Copy/Paste" 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" />
680
708
  <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32822478" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
681
709
  <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" />
682
710
  <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" />
683
711
  <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" />
712
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32056195" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
684
713
  <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" />
685
714
  </layout>
686
715
  <layout-to-restore>
@@ -739,7 +768,7 @@
739
768
  <breakpoints>
740
769
  <line-breakpoint enabled="true" type="ruby-line">
741
770
  <url>file://$PROJECT_DIR$/lib/script_executor/executable.rb</url>
742
- <line>37</line>
771
+ <line>39</line>
743
772
  <option name="timeStamp" value="5" />
744
773
  </line-breakpoint>
745
774
  <line-breakpoint enabled="true" type="ruby-line">
@@ -982,13 +1011,6 @@
982
1011
  </state>
983
1012
  </provider>
984
1013
  </entry>
985
- <entry file="file://$PROJECT_DIR$/Rakefile">
986
- <provider selected="true" editor-type-id="text-editor">
987
- <state vertical-scroll-proportion="0.0" vertical-offset="90" max-vertical-offset="675">
988
- <caret line="16" column="0" selection-start-line="16" selection-start-column="0" selection-end-line="16" selection-end-column="0" />
989
- </state>
990
- </provider>
991
- </entry>
992
1014
  <entry file="file://$PROJECT_DIR$/README.md">
993
1015
  <provider selected="true" editor-type-id="text-editor">
994
1016
  <state vertical-scroll-proportion="0.15934066" vertical-offset="1465" max-vertical-offset="2193">
@@ -1046,22 +1068,6 @@
1046
1068
  </state>
1047
1069
  </provider>
1048
1070
  </entry>
1049
- <entry file="file://$PROJECT_DIR$/Gemfile">
1050
- <provider selected="true" editor-type-id="text-editor">
1051
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="527">
1052
- <caret line="6" column="20" selection-start-line="6" selection-start-column="20" selection-end-line="6" selection-end-column="20" />
1053
- <folding />
1054
- </state>
1055
- </provider>
1056
- </entry>
1057
- <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
1058
- <provider selected="true" editor-type-id="text-editor">
1059
- <state vertical-scroll-proportion="0.0" vertical-offset="702" max-vertical-offset="1155">
1060
- <caret line="5" column="30" selection-start-line="5" selection-start-column="30" selection-end-line="5" selection-end-column="30" />
1061
- <folding />
1062
- </state>
1063
- </provider>
1064
- </entry>
1065
1071
  <entry file="file://$PROJECT_DIR$/lib/executable.rb">
1066
1072
  <provider selected="true" editor-type-id="text-editor">
1067
1073
  <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="102">
@@ -1083,45 +1089,70 @@
1083
1089
  </state>
1084
1090
  </provider>
1085
1091
  </entry>
1086
- <entry file="file://$PROJECT_DIR$/lib/script_executor/remote_command.rb">
1092
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/base_provision.rb">
1087
1093
  <provider selected="true" editor-type-id="text-editor">
1088
- <state vertical-scroll-proportion="0.0" vertical-offset="1328" max-vertical-offset="1770">
1089
- <caret line="108" column="50" selection-start-line="108" selection-start-column="50" selection-end-line="108" selection-end-column="50" />
1094
+ <state vertical-scroll-proportion="0.0" vertical-offset="716" max-vertical-offset="1445">
1095
+ <caret line="25" column="15" selection-start-line="25" selection-start-column="11" selection-end-line="25" selection-end-column="15" />
1096
+ <folding />
1090
1097
  </state>
1091
1098
  </provider>
1092
1099
  </entry>
1093
- <entry file="file://$PROJECT_DIR$/lib/script_executor/base_provision.rb">
1100
+ <entry file="file://$PROJECT_DIR$/spec/executable_spec.rb">
1094
1101
  <provider selected="true" editor-type-id="text-editor">
1095
- <state vertical-scroll-proportion="0.0" vertical-offset="716" max-vertical-offset="1445">
1096
- <caret line="25" column="15" selection-start-line="25" selection-start-column="11" selection-end-line="25" selection-end-column="15" />
1102
+ <state vertical-scroll-proportion="0.0" vertical-offset="170" max-vertical-offset="2193">
1103
+ <caret line="10" column="30" selection-start-line="10" selection-start-column="30" selection-end-line="10" selection-end-column="30" />
1097
1104
  <folding />
1098
1105
  </state>
1099
1106
  </provider>
1100
1107
  </entry>
1101
- <entry file="file://$PROJECT_DIR$/CHANGES">
1108
+ <entry file="file://$PROJECT_DIR$/Rakefile">
1102
1109
  <provider selected="true" editor-type-id="text-editor">
1103
- <state vertical-scroll-proportion="0.0" vertical-offset="741" max-vertical-offset="1496">
1104
- <caret line="80" column="16" selection-start-line="80" selection-start-column="16" selection-end-line="80" selection-end-column="16" />
1110
+ <state vertical-scroll-proportion="0.0" vertical-offset="187" max-vertical-offset="765">
1111
+ <caret line="11" column="12" selection-start-line="0" selection-start-column="0" selection-end-line="39" selection-end-column="0" />
1105
1112
  <folding />
1106
1113
  </state>
1107
1114
  </provider>
1108
1115
  </entry>
1109
- <entry file="file://$PROJECT_DIR$/spec/executable_spec.rb">
1116
+ <entry file="file://$PROJECT_DIR$/Gemfile">
1110
1117
  <provider selected="true" editor-type-id="text-editor">
1111
- <state vertical-scroll-proportion="0.0" vertical-offset="170" max-vertical-offset="2193">
1112
- <caret line="10" column="30" selection-start-line="10" selection-start-column="30" selection-end-line="10" selection-end-column="30" />
1118
+ <state vertical-scroll-proportion="-6.8" vertical-offset="0" max-vertical-offset="527">
1119
+ <caret line="10" column="33" selection-start-line="10" selection-start-column="24" selection-end-line="10" selection-end-column="33" />
1120
+ <folding />
1121
+ </state>
1122
+ </provider>
1123
+ </entry>
1124
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
1125
+ <provider selected="true" editor-type-id="text-editor">
1126
+ <state vertical-scroll-proportion="7.48" vertical-offset="595" max-vertical-offset="1343">
1127
+ <caret line="24" column="0" selection-start-line="24" selection-start-column="0" selection-end-line="24" selection-end-column="0" />
1128
+ <folding />
1129
+ </state>
1130
+ </provider>
1131
+ </entry>
1132
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/remote_command.rb">
1133
+ <provider selected="true" editor-type-id="text-editor">
1134
+ <state vertical-scroll-proportion="-0.23529412" vertical-offset="583" max-vertical-offset="2006">
1135
+ <caret line="35" column="48" selection-start-line="35" selection-start-column="48" selection-end-line="35" selection-end-column="48" />
1113
1136
  <folding />
1114
1137
  </state>
1115
1138
  </provider>
1116
1139
  </entry>
1117
1140
  <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
1118
1141
  <provider selected="true" editor-type-id="text-editor">
1119
- <state vertical-scroll-proportion="0.035343036" vertical-offset="0" max-vertical-offset="481">
1142
+ <state vertical-scroll-proportion="-0.68" vertical-offset="0" max-vertical-offset="136">
1120
1143
  <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
1121
1144
  <folding />
1122
1145
  </state>
1123
1146
  </provider>
1124
1147
  </entry>
1148
+ <entry file="file://$PROJECT_DIR$/CHANGES">
1149
+ <provider selected="true" editor-type-id="text-editor">
1150
+ <state vertical-scroll-proportion="1.2886837" vertical-offset="870" max-vertical-offset="1564">
1151
+ <caret line="84" column="16" selection-start-line="84" selection-start-column="16" selection-end-line="84" selection-end-column="16" />
1152
+ <folding />
1153
+ </state>
1154
+ </provider>
1155
+ </entry>
1125
1156
  </component>
1126
1157
  </project>
1127
1158
 
data/CHANGES CHANGED
@@ -80,4 +80,8 @@
80
80
 
81
81
  == Version 1.5.2
82
82
 
83
+ * Bug fix.
84
+
85
+ == Version 1.5.3
86
+
83
87
  * Bug fix.
@@ -21,6 +21,8 @@ module Executable
21
21
  else
22
22
  commands = sudo(commands) if params[:sudo]
23
23
 
24
+ params.delete(:sudo)
25
+
24
26
  remote = params.delete(:remote)
25
27
  line_action = params.delete(:line_action)
26
28
 
@@ -33,7 +33,7 @@ class RemoteCommand
33
33
  session.exec(commands) do |channel, _, line|
34
34
  if ask_password?(line)
35
35
  channel.request_pty
36
- channel.send_data password + "\n"
36
+ channel.send_data options[:password] + "\n"
37
37
  else
38
38
  output.print(line) if output
39
39
  storage.save(line.chomp) if storage
@@ -1,3 +1,3 @@
1
1
  class ScriptExecutor
2
- VERSION = "1.5.2"
2
+ VERSION = "1.5.3"
3
3
  end
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.5.2
4
+ version: 1.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Shvets
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-07 00:00:00.000000000 Z
11
+ date: 2014-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline