script_executor 1.5.0 → 1.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,8 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <module type="RUBY_MODULE" version="4">
3
+ <component name="CompassSettings">
4
+ <option name="compassSupportEnabled" value="true" />
5
+ </component>
3
6
  <component name="FacetManager">
4
7
  <facet type="gem" name="Gem">
5
8
  <configuration>
@@ -193,23 +196,18 @@
193
196
  </component>
194
197
  <component name="NewModuleRootManager">
195
198
  <content url="file://$MODULE_DIR$" />
196
- <orderEntry type="jdk" jdkName="RVM: ruby-1.9.3-p545 [script_executor]" jdkType="RUBY_SDK" />
199
+ <orderEntry type="jdk" jdkName="RVM: ruby-1.9.3-p484 [script_executor]" jdkType="RUBY_SDK" />
197
200
  <orderEntry type="sourceFolder" forTests="false" />
198
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.6.2, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
199
- <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.3, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
200
- <orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.7, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
201
- <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
202
- <orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.1.2, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
203
- <orderEntry type="library" scope="PROVIDED" name="highline (v1.6.15, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
204
- <orderEntry type="library" scope="PROVIDED" name="json_pure (v1.8.1, 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.8.0, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
208
- <orderEntry type="library" scope="PROVIDED" name="rspec (v2.12.0, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
209
- <orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.12.2, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
210
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.12.1, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
211
- <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.12.0, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
212
- <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.3.5, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
202
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.3, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
203
+ <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
204
+ <orderEntry type="library" scope="PROVIDED" name="highline (v1.6.15, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
205
+ <orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.1, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
206
+ <orderEntry type="library" scope="PROVIDED" name="mocha (v0.13.1, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
207
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v2.12.0, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
208
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.12.2, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
209
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.12.1, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
210
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.12.0, RVM: ruby-1.9.3-p484 [script_executor]) [gem]" level="application" />
213
211
  </component>
214
212
  </module>
215
213
 
data/.idea/workspace.xml CHANGED
@@ -1,7 +1,11 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
- <list default="true" readonly="true" id="6995392e-f204-4557-be32-fd20f300d877" name="Default" comment="">
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/remote_command.rb" afterPath="$PROJECT_DIR$/lib/script_executor/remote_command.rb" />
7
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/script_executor.gemspec" afterPath="$PROJECT_DIR$/script_executor.gemspec" />
8
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/script_executor/version.rb" afterPath="$PROJECT_DIR$/lib/script_executor/version.rb" />
5
9
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
6
10
  </list>
7
11
  <ignored path="script_executor.iws" />
@@ -14,12 +18,12 @@
14
18
  </component>
15
19
  <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
16
20
  <component name="CoverageDataManager">
17
- <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" />
18
- <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" />
19
- <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" />
21
+ <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" />
20
22
  <SUITE FILE_PATH="coverage/script_executor@executable_spec.coverage" NAME="executable_spec Coverage Results" MODIFIED="1402343492056" 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
+ <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" />
21
24
  <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" />
22
- <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" />
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" />
26
+ <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" />
23
27
  </component>
24
28
  <component name="CreatePatchCommitExecutor">
25
29
  <option name="PATCH_PATH" value="" />
@@ -36,18 +40,38 @@
36
40
  <file leaf-file-name="executable.rb" pinned="false" current="false" current-in-tab="false">
37
41
  <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
38
42
  <provider selected="true" editor-type-id="text-editor">
39
- <state vertical-scroll-proportion="0.0" vertical-offset="85" max-vertical-offset="1309">
43
+ <state vertical-scroll-proportion="0.0" vertical-offset="75" max-vertical-offset="1155">
40
44
  <caret line="5" column="30" selection-start-line="5" selection-start-column="30" selection-end-line="5" selection-end-column="30" />
41
45
  <folding />
42
46
  </state>
43
47
  </provider>
44
48
  </entry>
45
49
  </file>
50
+ <file leaf-file-name="executable.rb" pinned="false" current="false" current-in-tab="false">
51
+ <entry file="file://$PROJECT_DIR$/lib/executable.rb">
52
+ <provider selected="true" editor-type-id="text-editor">
53
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
54
+ <caret line="0" column="26" selection-start-line="0" selection-start-column="26" selection-end-line="0" selection-end-column="26" />
55
+ <folding />
56
+ </state>
57
+ </provider>
58
+ </entry>
59
+ </file>
46
60
  <file leaf-file-name="base_provision.rb" pinned="false" current="false" current-in-tab="false">
47
61
  <entry file="file://$PROJECT_DIR$/lib/script_executor/base_provision.rb">
48
62
  <provider selected="true" editor-type-id="text-editor">
49
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1445">
50
- <caret line="18" column="0" selection-start-line="18" selection-start-column="0" selection-end-line="18" selection-end-column="0" />
63
+ <state vertical-scroll-proportion="0.0" vertical-offset="270" max-vertical-offset="1275">
64
+ <caret line="28" column="82" selection-start-line="28" selection-start-column="5" selection-end-line="28" selection-end-column="5" />
65
+ <folding />
66
+ </state>
67
+ </provider>
68
+ </entry>
69
+ </file>
70
+ <file leaf-file-name="remote_command.rb" pinned="false" current="false" current-in-tab="false">
71
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/remote_command.rb">
72
+ <provider selected="true" editor-type-id="text-editor">
73
+ <state vertical-scroll-proportion="0.0" vertical-offset="1328" max-vertical-offset="1770">
74
+ <caret line="108" column="50" selection-start-line="108" selection-start-column="50" selection-end-line="108" selection-end-column="50" />
51
75
  <folding />
52
76
  </state>
53
77
  </provider>
@@ -56,38 +80,48 @@
56
80
  <file leaf-file-name="script_executor.rb" pinned="false" current="false" current-in-tab="false">
57
81
  <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
58
82
  <provider selected="true" editor-type-id="text-editor">
59
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="102">
83
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
60
84
  <caret line="0" column="41" selection-start-line="0" selection-start-column="41" selection-end-line="0" selection-end-column="41" />
61
85
  <folding />
62
86
  </state>
63
87
  </provider>
64
88
  </entry>
65
89
  </file>
90
+ <file leaf-file-name="script_locator.rb" pinned="false" current="false" current-in-tab="false">
91
+ <entry file="file://$PROJECT_DIR$/lib/script_locator.rb">
92
+ <provider selected="true" editor-type-id="text-editor">
93
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
94
+ <caret line="0" column="40" selection-start-line="0" selection-start-column="40" selection-end-line="0" selection-end-column="40" />
95
+ <folding />
96
+ </state>
97
+ </provider>
98
+ </entry>
99
+ </file>
66
100
  <file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
67
101
  <entry file="file://$PROJECT_DIR$/Gemfile">
68
102
  <provider selected="true" editor-type-id="text-editor">
69
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="527">
103
+ <state vertical-scroll-proportion="0.0" vertical-offset="90" max-vertical-offset="465">
70
104
  <caret line="6" column="20" selection-start-line="6" selection-start-column="20" selection-end-line="6" selection-end-column="20" />
71
105
  <folding />
72
106
  </state>
73
107
  </provider>
74
108
  </entry>
75
109
  </file>
76
- <file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
110
+ <file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
77
111
  <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
78
112
  <provider selected="true" editor-type-id="text-editor">
79
- <state vertical-scroll-proportion="0.035639413" vertical-offset="0" max-vertical-offset="477">
113
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120">
80
114
  <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
81
115
  <folding />
82
116
  </state>
83
117
  </provider>
84
118
  </entry>
85
119
  </file>
86
- <file leaf-file-name="CHANGES" pinned="false" current="false" current-in-tab="false">
120
+ <file leaf-file-name="CHANGES" pinned="false" current="true" current-in-tab="true">
87
121
  <entry file="file://$PROJECT_DIR$/CHANGES">
88
122
  <provider selected="true" editor-type-id="text-editor">
89
- <state vertical-scroll-proportion="0.0" vertical-offset="883" max-vertical-offset="1360">
90
- <caret line="74" column="2" selection-start-line="74" selection-start-column="2" selection-end-line="74" selection-end-column="80" />
123
+ <state vertical-scroll-proportion="0.8681319" vertical-offset="745" max-vertical-offset="1260">
124
+ <caret line="76" column="16" selection-start-line="76" selection-start-column="16" selection-end-line="76" selection-end-column="16" />
91
125
  <folding />
92
126
  </state>
93
127
  </provider>
@@ -133,16 +167,16 @@
133
167
  <option value="$PROJECT_DIR$/lib/script_executor/local_command.rb" />
134
168
  <option value="$PROJECT_DIR$/spec/spec_helper.rb" />
135
169
  <option value="$PROJECT_DIR$/spec/executable_spec.rb" />
136
- <option value="$PROJECT_DIR$/lib/script_executor/remote_command.rb" />
137
170
  <option value="$PROJECT_DIR$/Gemfile" />
138
171
  <option value="$PROJECT_DIR$/lib/script_executor/base_provision.rb" />
172
+ <option value="$PROJECT_DIR$/lib/script_executor/remote_command.rb" />
139
173
  <option value="$PROJECT_DIR$/lib/script_executor/version.rb" />
140
174
  <option value="$PROJECT_DIR$/CHANGES" />
141
175
  </list>
142
176
  </option>
143
177
  </component>
144
178
  <component name="ProjectFrameBounds">
145
- <option name="x" value="48" />
179
+ <option name="x" value="44" />
146
180
  <option name="y" value="22" />
147
181
  <option name="width" value="1396" />
148
182
  <option name="height" value="878" />
@@ -643,28 +677,28 @@
643
677
  <servers />
644
678
  </component>
645
679
  <component name="ToolWindowManager">
646
- <frame x="48" y="22" width="1396" height="878" extended-state="0" />
647
- <editor active="true" />
680
+ <frame x="44" y="22" width="1396" height="878" extended-state="6" />
681
+ <editor active="false" />
648
682
  <layout>
649
683
  <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" />
650
- <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3550447" sideWeight="0.9955329" order="7" side_tool="false" content_ui="tabs" />
684
+ <window_info id="Changes" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3529412" sideWeight="0.9955329" order="7" side_tool="false" content_ui="tabs" />
651
685
  <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32950193" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
686
+ <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" />
652
687
  <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" />
653
688
  <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" />
654
689
  <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" />
655
690
  <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" />
656
- <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="-1" side_tool="false" content_ui="tabs" />
657
691
  <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" />
658
- <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" />
659
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" />
660
693
  <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" />
661
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24741507" sideWeight="0.64040405" order="0" side_tool="false" content_ui="combo" />
694
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2548006" sideWeight="0.64040405" order="0" side_tool="false" content_ui="combo" />
662
695
  <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3210191" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
663
696
  <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" />
664
697
  <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" />
665
- <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" />
666
698
  <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" />
667
699
  <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" />
700
+ <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" />
701
+ <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" />
668
702
  <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
703
  <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" />
670
704
  <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" />
@@ -961,20 +995,6 @@
961
995
  </state>
962
996
  </provider>
963
997
  </entry>
964
- <entry file="file://$PROJECT_DIR$/lib/executable.rb">
965
- <provider selected="true" editor-type-id="text-editor">
966
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
967
- <caret line="0" column="26" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
968
- </state>
969
- </provider>
970
- </entry>
971
- <entry file="file://$PROJECT_DIR$/lib/script_locator.rb">
972
- <provider selected="true" editor-type-id="text-editor">
973
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="604">
974
- <caret line="0" column="40" selection-start-line="0" selection-start-column="40" selection-end-line="0" selection-end-column="40" />
975
- </state>
976
- </provider>
977
- </entry>
978
998
  <entry file="file://$PROJECT_DIR$/script_executor.gemspec.erb">
979
999
  <provider selected="true" editor-type-id="text-editor">
980
1000
  <state vertical-scroll-proportion="0.15822785" vertical-offset="0" max-vertical-offset="474">
@@ -1010,7 +1030,6 @@
1010
1030
  <provider selected="true" editor-type-id="text-editor">
1011
1031
  <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="102">
1012
1032
  <caret line="0" column="56" selection-start-line="0" selection-start-column="56" selection-end-line="0" selection-end-column="56" />
1013
- <folding />
1014
1033
  </state>
1015
1034
  </provider>
1016
1035
  </entry>
@@ -1018,7 +1037,6 @@
1018
1037
  <provider selected="true" editor-type-id="text-editor">
1019
1038
  <state vertical-scroll-proportion="0.13509934" vertical-offset="0" max-vertical-offset="755">
1020
1039
  <caret line="6" column="43" selection-start-line="6" selection-start-column="43" selection-end-line="6" selection-end-column="43" />
1021
- <folding />
1022
1040
  </state>
1023
1041
  </provider>
1024
1042
  </entry>
@@ -1034,7 +1052,6 @@
1034
1052
  <provider selected="true" editor-type-id="text-editor">
1035
1053
  <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="2193">
1036
1054
  <caret line="76" column="0" selection-start-line="76" selection-start-column="0" selection-end-line="76" selection-end-column="0" />
1037
- <folding />
1038
1055
  </state>
1039
1056
  </provider>
1040
1057
  </entry>
@@ -1042,22 +1059,27 @@
1042
1059
  <provider selected="true" editor-type-id="text-editor">
1043
1060
  <state vertical-scroll-proportion="0.3245033" vertical-offset="571" max-vertical-offset="1326">
1044
1061
  <caret line="48" column="16" selection-start-line="48" selection-start-column="16" selection-end-line="48" selection-end-column="16" />
1045
- <folding />
1046
1062
  </state>
1047
1063
  </provider>
1048
1064
  </entry>
1049
- <entry file="file://$PROJECT_DIR$/lib/script_executor/remote_command.rb">
1065
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/local_command.rb">
1050
1066
  <provider selected="true" editor-type-id="text-editor">
1051
- <state vertical-scroll-proportion="0.0" vertical-offset="136" max-vertical-offset="2006">
1052
- <caret line="8" column="39" selection-start-line="8" selection-start-column="39" selection-end-line="8" selection-end-column="39" />
1053
- <folding />
1067
+ <state vertical-scroll-proportion="0.16688742" vertical-offset="894" max-vertical-offset="1649">
1068
+ <caret line="60" column="24" selection-start-line="60" selection-start-column="24" selection-end-line="60" selection-end-column="24" />
1054
1069
  </state>
1055
1070
  </provider>
1056
1071
  </entry>
1057
- <entry file="file://$PROJECT_DIR$/lib/script_executor/local_command.rb">
1072
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
1058
1073
  <provider selected="true" editor-type-id="text-editor">
1059
- <state vertical-scroll-proportion="0.16688742" vertical-offset="894" max-vertical-offset="1649">
1060
- <caret line="60" column="24" selection-start-line="60" selection-start-column="24" selection-end-line="60" selection-end-column="24" />
1074
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="221">
1075
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1076
+ </state>
1077
+ </provider>
1078
+ </entry>
1079
+ <entry file="file://$PROJECT_DIR$/Gemfile">
1080
+ <provider selected="true" editor-type-id="text-editor">
1081
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="527">
1082
+ <caret line="6" column="20" selection-start-line="6" selection-start-column="20" selection-end-line="6" selection-end-column="20" />
1061
1083
  <folding />
1062
1084
  </state>
1063
1085
  </provider>
@@ -1070,54 +1092,62 @@
1070
1092
  </state>
1071
1093
  </provider>
1072
1094
  </entry>
1073
- <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
1095
+ <entry file="file://$PROJECT_DIR$/lib/executable.rb">
1074
1096
  <provider selected="true" editor-type-id="text-editor">
1075
1097
  <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="102">
1076
- <caret line="0" column="41" selection-start-line="0" selection-start-column="41" selection-end-line="0" selection-end-column="41" />
1098
+ <caret line="0" column="26" selection-start-line="0" selection-start-column="26" selection-end-line="0" selection-end-column="26" />
1077
1099
  <folding />
1078
1100
  </state>
1079
1101
  </provider>
1080
1102
  </entry>
1081
- <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
1103
+ <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
1082
1104
  <provider selected="true" editor-type-id="text-editor">
1083
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="221">
1084
- <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1105
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="102">
1106
+ <caret line="0" column="41" selection-start-line="0" selection-start-column="41" selection-end-line="0" selection-end-column="41" />
1085
1107
  <folding />
1086
1108
  </state>
1087
1109
  </provider>
1088
1110
  </entry>
1089
- <entry file="file://$PROJECT_DIR$/Gemfile">
1111
+ <entry file="file://$PROJECT_DIR$/lib/script_locator.rb">
1090
1112
  <provider selected="true" editor-type-id="text-editor">
1091
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="527">
1092
- <caret line="6" column="20" selection-start-line="6" selection-start-column="20" selection-end-line="6" selection-end-column="20" />
1113
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="102">
1114
+ <caret line="0" column="40" selection-start-line="0" selection-start-column="40" selection-end-line="0" selection-end-column="40" />
1093
1115
  <folding />
1094
1116
  </state>
1095
1117
  </provider>
1096
1118
  </entry>
1097
1119
  <entry file="file://$PROJECT_DIR$/lib/script_executor/base_provision.rb">
1098
1120
  <provider selected="true" editor-type-id="text-editor">
1099
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1445">
1100
- <caret line="18" column="0" selection-start-line="18" selection-start-column="0" selection-end-line="18" selection-end-column="0" />
1121
+ <state vertical-scroll-proportion="0.0" vertical-offset="270" max-vertical-offset="1275">
1122
+ <caret line="28" column="82" selection-start-line="28" selection-start-column="5" selection-end-line="28" selection-end-column="5" />
1101
1123
  <folding />
1102
1124
  </state>
1103
1125
  </provider>
1104
1126
  </entry>
1105
- <entry file="file://$PROJECT_DIR$/CHANGES">
1127
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/remote_command.rb">
1106
1128
  <provider selected="true" editor-type-id="text-editor">
1107
- <state vertical-scroll-proportion="0.0" vertical-offset="883" max-vertical-offset="1360">
1108
- <caret line="74" column="2" selection-start-line="74" selection-start-column="2" selection-end-line="74" selection-end-column="80" />
1129
+ <state vertical-scroll-proportion="0.0" vertical-offset="1328" max-vertical-offset="1770">
1130
+ <caret line="108" column="50" selection-start-line="108" selection-start-column="50" selection-end-line="108" selection-end-column="50" />
1109
1131
  <folding />
1110
1132
  </state>
1111
1133
  </provider>
1112
1134
  </entry>
1113
1135
  <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
1114
1136
  <provider selected="true" editor-type-id="text-editor">
1115
- <state vertical-scroll-proportion="0.035639413" vertical-offset="0" max-vertical-offset="477">
1137
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="136">
1116
1138
  <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
1117
1139
  <folding />
1118
1140
  </state>
1119
1141
  </provider>
1120
1142
  </entry>
1143
+ <entry file="file://$PROJECT_DIR$/CHANGES">
1144
+ <provider selected="true" editor-type-id="text-editor">
1145
+ <state vertical-scroll-proportion="0.8681319" vertical-offset="745" max-vertical-offset="1260">
1146
+ <caret line="76" column="16" selection-start-line="76" selection-start-column="16" selection-end-line="76" selection-end-column="16" />
1147
+ <folding />
1148
+ </state>
1149
+ </provider>
1150
+ </entry>
1121
1151
  </component>
1122
1152
  </project>
1123
1153
 
data/CHANGES CHANGED
@@ -72,4 +72,8 @@
72
72
 
73
73
  == Version 1.5.0
74
74
 
75
- * Adding BaseProvision class to group convenient methods to build the provision.
75
+ * Adding BaseProvision class to group convenient methods to build the provision.
76
+
77
+ == Version 1.5.1
78
+
79
+ * Bug fix.
@@ -106,7 +106,7 @@ class RemoteCommand
106
106
  def permitted_params
107
107
  @permitted_params ||= [:script, :sudo, :remote, :line_action, :password,
108
108
  :suppress_output, :capture_output, :simulate,
109
- :domain, :host, :user, :options]
109
+ :domain, :host, :port, :user, :options]
110
110
  end
111
111
  end
112
112
 
@@ -1,3 +1,3 @@
1
1
  class ScriptExecutor
2
- VERSION = "1.5.0"
2
+ VERSION = "1.5.1"
3
3
  end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: script_executor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Alexander Shvets
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-06-26 00:00:00.000000000 Z
12
+ date: 2014-06-29 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: highline
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ~>
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ~>
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: net-ssh
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ~>
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ~>
39
44
  - !ruby/object:Gem::Version
@@ -41,6 +46,7 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: text-interpolator
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - ~>
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - ~>
53
60
  - !ruby/object:Gem::Version
@@ -55,6 +62,7 @@ dependencies:
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: json_pure
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
67
  - - ~>
60
68
  - !ruby/object:Gem::Version
@@ -62,6 +70,7 @@ dependencies:
62
70
  type: :runtime
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
75
  - - ~>
67
76
  - !ruby/object:Gem::Version
@@ -69,6 +78,7 @@ dependencies:
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: gemspec_deps_gen
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
83
  - - ~>
74
84
  - !ruby/object:Gem::Version
@@ -76,6 +86,7 @@ dependencies:
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
91
  - - ~>
81
92
  - !ruby/object:Gem::Version
@@ -83,6 +94,7 @@ dependencies:
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: gemcutter
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
99
  - - ~>
88
100
  - !ruby/object:Gem::Version
@@ -90,6 +102,7 @@ dependencies:
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
107
  - - ~>
95
108
  - !ruby/object:Gem::Version
@@ -139,26 +152,27 @@ files:
139
152
  homepage: http://github.com/shvets/script_executor
140
153
  licenses:
141
154
  - MIT
142
- metadata: {}
143
155
  post_install_message:
144
156
  rdoc_options: []
145
157
  require_paths:
146
158
  - lib
147
159
  required_ruby_version: !ruby/object:Gem::Requirement
160
+ none: false
148
161
  requirements:
149
162
  - - ! '>='
150
163
  - !ruby/object:Gem::Version
151
164
  version: '0'
152
165
  required_rubygems_version: !ruby/object:Gem::Requirement
166
+ none: false
153
167
  requirements:
154
168
  - - ! '>='
155
169
  - !ruby/object:Gem::Version
156
170
  version: '0'
157
171
  requirements: []
158
172
  rubyforge_project:
159
- rubygems_version: 2.2.2
173
+ rubygems_version: 1.8.23
160
174
  signing_key:
161
- specification_version: 4
175
+ specification_version: 3
162
176
  summary: This library helps to execute code, locally or remote over ssh
163
177
  test_files:
164
178
  - spec/executable_spec.rb
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- Njg4ZGY1ODQwYmNiNzk0ZWQzOTZmZjMzMDk0NmM3YjFjMDRhZjZkNQ==
5
- data.tar.gz: !binary |-
6
- ZWZjNGQ0OGVmODAzYmQ3YWYwNTk1Y2NkYzE3MzhiMjQyNDAzZTE5Yw==
7
- SHA512:
8
- metadata.gz: !binary |-
9
- MDM3M2IxNjJkNjc0MmU1NDk3MTlkY2FhZTJmMmY0MDI3OGU5MWJiZmJiYmZh
10
- MjU5MGRhOWE4YzQxYWFkY2UyZWUyOTI0ZTlhZTAxMDFjOTZhNzFhMzUyYTll
11
- ZmY0OGE4NzVkMGNmZGQyYTljZjdiZTQ5N2QwYjYzNDg5YjU2ODk=
12
- data.tar.gz: !binary |-
13
- NjJlMjVlN2ZmZWMzNWZkOTc0NjM1YTM1Zjg5MTgwZGFkZjAwMmVkOTY1MWQ0
14
- MzhiYjhiNDU0MmIzNGMxNzhiMGJhMWY0NzM2YTBjMDEyZTEwMTJiNzcwMjE4
15
- NTcyNGQ3ODNkMjY3ODcxNDc3NGEyYjZmMTljM2NkNDBhMzIzZjg=