script_executor 1.5.4 → 1.5.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f42e77dc7402913aaec5277d81c3414d52128124
4
- data.tar.gz: a22fbc5002d937a693bd2a902b265ca38b89c364
3
+ metadata.gz: 97e9d764ae73031d36a8765c264129ec4b3357c9
4
+ data.tar.gz: 59af200bc186f7742c82a5f82a1e703ee1505cc1
5
5
  SHA512:
6
- metadata.gz: 6d3648992094a7d8fc0e797f6e9dd815b4b2fb500ebf080d6e616afc13fcc460045ea9272a357a76784a00bdc0e3f78e1c221601a16190512dca705b4e1f426b
7
- data.tar.gz: 76bf3081947e2e55643713170ac03305703473de530d4c98b5aca7f65bbec340851e8c442d17f5d7fa60dcd19fc7329bf1e9b77647655f99789d2f92c15ab3ed
6
+ metadata.gz: a2d0190f473158b1a184a7f01cd105734b150e42e9a1dfbe4b44c48f9a55773f4481b52b350a8dbd748c4a9c5a9ea424f58201825e67b3adf56d50c746022b09
7
+ data.tar.gz: 6989efd48d5d4523cf82c47ddb45ae867d4caad2d76fdae91b6af6bceedf530d2e2db9f76d404d76a4791ef1effdf0b2d2bd01b5cc076da894eedf5757e46e66
@@ -193,22 +193,7 @@
193
193
  </component>
194
194
  <component name="NewModuleRootManager">
195
195
  <content url="file://$MODULE_DIR$" />
196
- <orderEntry type="jdk" jdkName="RVM: ruby-2.1.4 [script_executor]" jdkType="RUBY_SDK" />
196
+ <orderEntry type="jdk" jdkName="rbenv: 2.2.1" jdkType="RUBY_SDK" />
197
197
  <orderEntry type="sourceFolder" forTests="false" />
198
- <orderEntry type="library" scope="PROVIDED" name="bundler (v1.7.4, RVM: ruby-2.1.4 [script_executor]) [gem]" level="application" />
199
- <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.3, RVM: ruby-2.1.4 [script_executor]) [gem]" level="application" />
200
- <orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.7, RVM: ruby-2.1.4 [script_executor]) [gem]" level="application" />
201
- <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-2.1.4 [script_executor]) [gem]" level="application" />
202
- <orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.1.2, RVM: ruby-2.1.4 [script_executor]) [gem]" level="application" />
203
- <orderEntry type="library" scope="PROVIDED" name="highline (v1.6.15, RVM: ruby-2.1.4 [script_executor]) [gem]" level="application" />
204
- <orderEntry type="library" scope="PROVIDED" name="json_pure (v1.8.1, RVM: ruby-2.1.4 [script_executor]) [gem]" level="application" />
205
- <orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.1, RVM: ruby-2.1.4 [script_executor]) [gem]" level="application" />
206
- <orderEntry type="library" scope="PROVIDED" name="mocha (v0.13.1, RVM: ruby-2.1.4 [script_executor]) [gem]" level="application" />
207
- <orderEntry type="library" scope="PROVIDED" name="net-ssh (v2.8.0, RVM: ruby-2.1.4 [script_executor]) [gem]" level="application" />
208
- <orderEntry type="library" scope="PROVIDED" name="rspec (v2.12.0, RVM: ruby-2.1.4 [script_executor]) [gem]" level="application" />
209
- <orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.12.2, RVM: ruby-2.1.4 [script_executor]) [gem]" level="application" />
210
- <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.12.1, RVM: ruby-2.1.4 [script_executor]) [gem]" level="application" />
211
- <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.12.0, RVM: ruby-2.1.4 [script_executor]) [gem]" level="application" />
212
- <orderEntry type="library" scope="PROVIDED" name="text-interpolator (v1.0.0, RVM: ruby-2.1.4 [script_executor]) [gem]" level="application" />
213
198
  </component>
214
199
  </module>
data/.idea/workspace.xml CHANGED
@@ -4,9 +4,8 @@
4
4
  <list default="true" id="6995392e-f204-4557-be32-fd20f300d877" name="Default" comment="">
5
5
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.ruby-version" afterPath="$PROJECT_DIR$/.ruby-version" />
6
6
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/CHANGES" afterPath="$PROJECT_DIR$/CHANGES" />
7
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/script_executor/base_provision.rb" afterPath="$PROJECT_DIR$/lib/script_executor/base_provision.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/script_locator.rb" afterPath="$PROJECT_DIR$/lib/script_executor/script_locator.rb" />
7
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/script_executor/local_command.rb" afterPath="$PROJECT_DIR$/lib/script_executor/local_command.rb" />
8
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/script_executor/remote_command.rb" afterPath="$PROJECT_DIR$/lib/script_executor/remote_command.rb" />
10
9
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/script_executor/version.rb" afterPath="$PROJECT_DIR$/lib/script_executor/version.rb" />
11
10
  <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
12
11
  </list>
@@ -32,9 +31,6 @@
32
31
  <component name="CreatePatchCommitExecutor">
33
32
  <option name="PATCH_PATH" value="" />
34
33
  </component>
35
- <component name="DaemonCodeAnalyzer">
36
- <disable_hints />
37
- </component>
38
34
  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
39
35
  <component name="FavoritesManager">
40
36
  <favorites_list name="script_executor" />
@@ -44,88 +40,18 @@
44
40
  <file leaf-file-name="version.rb" pinned="false" current-in-tab="false">
45
41
  <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
46
42
  <provider selected="true" editor-type-id="text-editor">
47
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120">
43
+ <state vertical-scroll-proportion="0.0">
48
44
  <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
49
45
  <folding />
50
46
  </state>
51
47
  </provider>
52
48
  </entry>
53
49
  </file>
54
- <file leaf-file-name="Gemfile" pinned="false" current-in-tab="false">
55
- <entry file="file://$PROJECT_DIR$/Gemfile">
56
- <provider selected="true" editor-type-id="text-editor">
57
- <state vertical-scroll-proportion="0.0" vertical-offset="150" max-vertical-offset="465">
58
- <caret line="10" column="33" selection-start-line="10" selection-start-column="24" selection-end-line="10" selection-end-column="33" />
59
- <folding />
60
- </state>
61
- </provider>
62
- </entry>
63
- </file>
64
- <file leaf-file-name="executable.rb" pinned="false" current-in-tab="false">
65
- <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
66
- <provider selected="true" editor-type-id="text-editor">
67
- <state vertical-scroll-proportion="0.0" vertical-offset="405" max-vertical-offset="1185">
68
- <caret line="27" column="0" selection-start-line="27" selection-start-column="0" selection-end-line="27" selection-end-column="0" />
69
- <folding />
70
- </state>
71
- </provider>
72
- </entry>
73
- </file>
74
- <file leaf-file-name="remote_command.rb" pinned="false" current-in-tab="false">
75
- <entry file="file://$PROJECT_DIR$/lib/script_executor/remote_command.rb">
76
- <provider selected="true" editor-type-id="text-editor">
77
- <state vertical-scroll-proportion="0.0" vertical-offset="225" max-vertical-offset="1770">
78
- <caret line="15" column="52" selection-start-line="15" selection-start-column="52" selection-end-line="15" selection-end-column="52" />
79
- <folding />
80
- </state>
81
- </provider>
82
- </entry>
83
- </file>
84
- <file leaf-file-name="local_command.rb" pinned="false" current-in-tab="false">
85
- <entry file="file://$PROJECT_DIR$/lib/script_executor/local_command.rb">
86
- <provider selected="true" editor-type-id="text-editor">
87
- <state vertical-scroll-proportion="0.0" vertical-offset="195" max-vertical-offset="1455">
88
- <caret line="13" column="45" selection-start-line="13" selection-start-column="45" selection-end-line="13" selection-end-column="45" />
89
- <folding />
90
- </state>
91
- </provider>
92
- </entry>
93
- </file>
94
50
  <file leaf-file-name="CHANGES" pinned="false" current-in-tab="true">
95
51
  <entry file="file://$PROJECT_DIR$/CHANGES">
96
52
  <provider selected="true" editor-type-id="text-editor">
97
- <state vertical-scroll-proportion="1.3783784" vertical-offset="687" max-vertical-offset="1440">
98
- <caret line="90" column="2" selection-start-line="90" selection-start-column="2" selection-end-line="90" selection-end-column="2" />
99
- <folding />
100
- </state>
101
- </provider>
102
- </entry>
103
- </file>
104
- <file leaf-file-name="script_executor.rb" pinned="false" current-in-tab="false">
105
- <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
106
- <provider selected="true" editor-type-id="text-editor">
107
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="195">
108
- <caret line="1" column="24" selection-start-line="1" selection-start-column="24" selection-end-line="1" selection-end-column="24" />
109
- <folding />
110
- </state>
111
- </provider>
112
- </entry>
113
- </file>
114
- <file leaf-file-name="script_locator.rb" pinned="false" current-in-tab="false">
115
- <entry file="file://$PROJECT_DIR$/lib/script_executor/script_locator.rb">
116
- <provider selected="true" editor-type-id="text-editor">
117
- <state vertical-scroll-proportion="0.0" vertical-offset="133" max-vertical-offset="1275">
118
- <caret line="18" column="8" selection-start-line="18" selection-start-column="8" selection-end-line="18" selection-end-column="8" />
119
- <folding />
120
- </state>
121
- </provider>
122
- </entry>
123
- </file>
124
- <file leaf-file-name="base_provision.rb" pinned="false" current-in-tab="false">
125
- <entry file="file://$PROJECT_DIR$/lib/script_executor/base_provision.rb">
126
- <provider selected="true" editor-type-id="text-editor">
127
- <state vertical-scroll-proportion="0.0" vertical-offset="748" max-vertical-offset="1335">
128
- <caret line="59" column="13" selection-start-line="59" selection-start-column="13" selection-end-line="59" selection-end-column="13" />
53
+ <state vertical-scroll-proportion="0.81891346">
54
+ <caret line="94" column="2" selection-start-line="94" selection-start-column="2" selection-end-line="94" selection-end-column="43" />
129
55
  <folding />
130
56
  </state>
131
57
  </provider>
@@ -146,9 +72,24 @@
146
72
  <MyDateState />
147
73
  </option>
148
74
  </component>
75
+ <component name="IdeDocumentHistory">
76
+ <option name="CHANGED_PATHS">
77
+ <list>
78
+ <option value="$PROJECT_DIR$/lib/script_executor/local_command.rb" />
79
+ <option value="$PROJECT_DIR$/lib/script_executor/remote_command.rb" />
80
+ <option value="$PROJECT_DIR$/.ruby-version" />
81
+ <option value="$PROJECT_DIR$/lib/script_executor/version.rb" />
82
+ <option value="$PROJECT_DIR$/CHANGES" />
83
+ </list>
84
+ </option>
85
+ </component>
86
+ <component name="JsBuildToolGruntFileManager" detection-done="true" />
149
87
  <component name="JsGulpfileManager">
150
88
  <detection-done>true</detection-done>
151
89
  </component>
90
+ <component name="NamedScopeManager">
91
+ <order />
92
+ </component>
152
93
  <component name="ProjectFrameBounds">
153
94
  <option name="x" value="44" />
154
95
  <option name="y" value="23" />
@@ -234,6 +175,7 @@
234
175
  </PATH>
235
176
  </subPane>
236
177
  </pane>
178
+ <pane id="Scratches" />
237
179
  </panes>
238
180
  </component>
239
181
  <component name="PropertiesComponent">
@@ -444,10 +386,27 @@
444
386
  <ConfigurationWrapper RunnerId="RubyRunner" />
445
387
  <method />
446
388
  </configuration>
389
+ <configuration default="true" type="BashConfigurationType" factoryName="Bash">
390
+ <option name="INTERPRETER_OPTIONS" value="" />
391
+ <option name="INTERPRETER_PATH" value="/bin/bash" />
392
+ <option name="WORKING_DIRECTORY" value="" />
393
+ <option name="PARENT_ENVS" value="true" />
394
+ <option name="SCRIPT_NAME" value="" />
395
+ <option name="PARAMETERS" value="" />
396
+ <module name="" />
397
+ <envs />
398
+ <method />
399
+ </configuration>
447
400
  <configuration default="true" type="JavaScriptTestRunnerKarma" factoryName="Karma" config-file="">
448
401
  <envs />
449
402
  <method />
450
403
  </configuration>
404
+ <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
405
+ <method />
406
+ </configuration>
407
+ <configuration default="true" type="NodeJSConfigurationType" factoryName="Node.js" working-dir="">
408
+ <method />
409
+ </configuration>
451
410
  <configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
452
411
  <predefined_log_file id="RUBY_RSPEC" enabled="true" />
453
412
  <module name="" />
@@ -480,6 +439,14 @@
480
439
  <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
481
440
  <method />
482
441
  </configuration>
442
+ <configuration default="true" type="RubyRemoteDebugConfigurationType" factoryName="Ruby remote debug">
443
+ <RUBY_REMOTE_DEBUG_CONFIG NAME="REMOTE_HOST" VALUE="localhost" />
444
+ <RUBY_REMOTE_DEBUG_CONFIG NAME="PORT" VALUE="1234" />
445
+ <RUBY_REMOTE_DEBUG_CONFIG NAME="DISPATCHER_PORT" VALUE="26162" />
446
+ <RUBY_REMOTE_DEBUG_CONFIG NAME="REMOTE_ROOT" VALUE="" />
447
+ <RUBY_REMOTE_DEBUG_CONFIG NAME="LOCAL_ROOT" VALUE="" />
448
+ <method />
449
+ </configuration>
483
450
  <configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
484
451
  <module name="" />
485
452
  <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
@@ -500,9 +467,6 @@
500
467
  <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
501
468
  <method />
502
469
  </configuration>
503
- <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
504
- <method />
505
- </configuration>
506
470
  <configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
507
471
  <predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
508
472
  <module name="" />
@@ -531,21 +495,11 @@
531
495
  <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
532
496
  <method />
533
497
  </configuration>
534
- <configuration default="true" type="NodeJSConfigurationType" factoryName="Node.js" working-dir="">
535
- <method />
536
- </configuration>
537
- <configuration default="true" type="RubyRemoteDebugConfigurationType" factoryName="Ruby remote debug">
538
- <RUBY_REMOTE_DEBUG_CONFIG NAME="REMOTE_HOST" VALUE="localhost" />
539
- <RUBY_REMOTE_DEBUG_CONFIG NAME="PORT" VALUE="1234" />
540
- <RUBY_REMOTE_DEBUG_CONFIG NAME="DISPATCHER_PORT" VALUE="26162" />
541
- <RUBY_REMOTE_DEBUG_CONFIG NAME="REMOTE_ROOT" VALUE="" />
542
- <RUBY_REMOTE_DEBUG_CONFIG NAME="LOCAL_ROOT" VALUE="" />
543
- <method />
544
- </configuration>
545
498
  <configuration default="true" type="js.build_tools.gulp" factoryName="Gulp.js">
546
499
  <node-options />
547
500
  <gulpfile />
548
501
  <tasks />
502
+ <arguments />
549
503
  <pass-parent-envs>true</pass-parent-envs>
550
504
  <envs />
551
505
  <method />
@@ -674,37 +628,43 @@
674
628
  <option name="project" value="LOCAL" />
675
629
  <updated>1409866863042</updated>
676
630
  </task>
677
- <option name="localTasksCounter" value="15" />
631
+ <task id="LOCAL-00015" summary="Print errors in case of existing errors.">
632
+ <created>1415015231095</created>
633
+ <option name="number" value="00015" />
634
+ <option name="project" value="LOCAL" />
635
+ <updated>1415015231095</updated>
636
+ </task>
637
+ <option name="localTasksCounter" value="16" />
678
638
  <servers />
679
639
  </component>
680
640
  <component name="ToolWindowManager">
681
641
  <frame x="44" y="23" width="1396" height="877" extended-state="6" />
682
642
  <editor active="false" />
683
643
  <layout>
684
- <window_info id="Changes" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.34827146" sideWeight="0.9955329" order="7" side_tool="false" content_ui="tabs" />
685
- <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33503836" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
686
- <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4353393" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
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" />
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" />
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" />
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" />
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" />
644
+ <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" />
645
+ <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33418694" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
692
646
  <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" />
647
+ <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" />
693
648
  <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" />
694
649
  <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="9" side_tool="false" content_ui="tabs" />
695
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3057607" sideWeight="0.64040405" order="0" side_tool="false" content_ui="combo" />
696
- <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" />
697
- <window_info id="Tail" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
650
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.31462333" sideWeight="0.64040405" order="0" side_tool="false" content_ui="combo" />
651
+ <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" />
652
+ <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" />
653
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3277849" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
654
+ <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" />
655
+ <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.34827146" sideWeight="0.9955329" order="7" side_tool="false" content_ui="tabs" />
698
656
  <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" />
699
657
  <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" />
658
+ <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" />
700
659
  <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" />
701
- <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" />
702
660
  <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" />
661
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4353393" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
703
662
  <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" />
704
- <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" />
663
+ <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" />
705
664
  <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" />
706
665
  <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" />
707
666
  <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
+ <window_info id="Tail" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
708
668
  <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" />
709
669
  </layout>
710
670
  <layout-to-restore>
@@ -744,9 +704,6 @@
744
704
  <option name="myLimit" value="2678400000" />
745
705
  </component>
746
706
  <component name="VcsManagerConfiguration">
747
- <option name="myTodoPanelSettings">
748
- <TodoPanelSettings />
749
- </option>
750
707
  <MESSAGE value="bug fixes" />
751
708
  <MESSAGE value="internal refactoring" />
752
709
  <MESSAGE value="internal refactoring&#10;" />
@@ -756,7 +713,8 @@
756
713
  <MESSAGE value="Adding script_title method to API" />
757
714
  <MESSAGE value="Adding BaseProvision class to group convenient methods to build the provision." />
758
715
  <MESSAGE value="Bug fix" />
759
- <option name="LAST_COMMIT_MESSAGE" value="Bug fix" />
716
+ <MESSAGE value="Print errors in case of existing errors." />
717
+ <option name="LAST_COMMIT_MESSAGE" value="Print errors in case of existing errors." />
760
718
  </component>
761
719
  <component name="XDebuggerManager">
762
720
  <breakpoint-manager>
@@ -782,42 +740,42 @@
782
740
  <component name="editorHistoryManager">
783
741
  <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
784
742
  <provider selected="true" editor-type-id="text-editor">
785
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
743
+ <state vertical-scroll-proportion="0.0">
786
744
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
787
745
  </state>
788
746
  </provider>
789
747
  </entry>
790
748
  <entry file="file://$PROJECT_DIR$/Gemfile">
791
749
  <provider selected="true" editor-type-id="text-editor">
792
- <state vertical-scroll-proportion="0.0" vertical-offset="345" max-vertical-offset="435">
750
+ <state vertical-scroll-proportion="0.0">
793
751
  <caret line="23" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
794
752
  </state>
795
753
  </provider>
796
754
  </entry>
797
755
  <entry file="file://$PROJECT_DIR$/Rakefile">
798
756
  <provider selected="true" editor-type-id="text-editor">
799
- <state vertical-scroll-proportion="0.0" vertical-offset="165" max-vertical-offset="645">
757
+ <state vertical-scroll-proportion="0.0">
800
758
  <caret line="11" column="67" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
801
759
  </state>
802
760
  </provider>
803
761
  </entry>
804
762
  <entry file="file://$PROJECT_DIR$/script_executor.gemspec.erb">
805
763
  <provider selected="true" editor-type-id="text-editor">
806
- <state vertical-scroll-proportion="0.0" vertical-offset="210" max-vertical-offset="390">
764
+ <state vertical-scroll-proportion="0.0">
807
765
  <caret line="14" column="56" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
808
766
  </state>
809
767
  </provider>
810
768
  </entry>
811
769
  <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
812
770
  <provider selected="true" editor-type-id="text-editor">
813
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="195">
771
+ <state vertical-scroll-proportion="0.0">
814
772
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
815
773
  </state>
816
774
  </provider>
817
775
  </entry>
818
776
  <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
819
777
  <provider selected="true" editor-type-id="text-editor">
820
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="3465">
778
+ <state vertical-scroll-proportion="0.0">
821
779
  <caret line="105" column="27" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
822
780
  <folding />
823
781
  </state>
@@ -825,63 +783,63 @@
825
783
  </entry>
826
784
  <entry file="file://$PROJECT_DIR$/.ruby-gemset">
827
785
  <provider selected="true" editor-type-id="text-editor">
828
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
786
+ <state vertical-scroll-proportion="0.0">
829
787
  <caret line="0" column="25" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
830
788
  </state>
831
789
  </provider>
832
790
  </entry>
833
791
  <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
834
792
  <provider selected="true" editor-type-id="text-editor">
835
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120">
793
+ <state vertical-scroll-proportion="0.0">
836
794
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
837
795
  </state>
838
796
  </provider>
839
797
  </entry>
840
798
  <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
841
799
  <provider selected="true" editor-type-id="text-editor">
842
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120">
800
+ <state vertical-scroll-proportion="0.0">
843
801
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
844
802
  </state>
845
803
  </provider>
846
804
  </entry>
847
805
  <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
848
806
  <provider selected="true" editor-type-id="text-editor">
849
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
807
+ <state vertical-scroll-proportion="0.0">
850
808
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
851
809
  </state>
852
810
  </provider>
853
811
  </entry>
854
812
  <entry file="file://$PROJECT_DIR$/Gemfile">
855
813
  <provider selected="true" editor-type-id="text-editor">
856
- <state vertical-scroll-proportion="0.0" vertical-offset="345" max-vertical-offset="435">
814
+ <state vertical-scroll-proportion="0.0">
857
815
  <caret line="23" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
858
816
  </state>
859
817
  </provider>
860
818
  </entry>
861
819
  <entry file="file://$PROJECT_DIR$/Rakefile">
862
820
  <provider selected="true" editor-type-id="text-editor">
863
- <state vertical-scroll-proportion="0.0" vertical-offset="165" max-vertical-offset="645">
821
+ <state vertical-scroll-proportion="0.0">
864
822
  <caret line="11" column="67" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
865
823
  </state>
866
824
  </provider>
867
825
  </entry>
868
826
  <entry file="file://$PROJECT_DIR$/script_executor.gemspec.erb">
869
827
  <provider selected="true" editor-type-id="text-editor">
870
- <state vertical-scroll-proportion="0.0" vertical-offset="210" max-vertical-offset="390">
828
+ <state vertical-scroll-proportion="0.0">
871
829
  <caret line="14" column="56" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
872
830
  </state>
873
831
  </provider>
874
832
  </entry>
875
833
  <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
876
834
  <provider selected="true" editor-type-id="text-editor">
877
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="195">
835
+ <state vertical-scroll-proportion="0.0">
878
836
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
879
837
  </state>
880
838
  </provider>
881
839
  </entry>
882
840
  <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
883
841
  <provider selected="true" editor-type-id="text-editor">
884
- <state vertical-scroll-proportion="0.0" vertical-offset="2896" max-vertical-offset="3136">
842
+ <state vertical-scroll-proportion="0.0">
885
843
  <caret line="181" column="36" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
886
844
  <folding />
887
845
  </state>
@@ -889,147 +847,140 @@
889
847
  </entry>
890
848
  <entry file="file://$PROJECT_DIR$/.ruby-gemset">
891
849
  <provider selected="true" editor-type-id="text-editor">
892
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="96">
850
+ <state vertical-scroll-proportion="0.0">
893
851
  <caret line="0" column="25" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
894
852
  </state>
895
853
  </provider>
896
854
  </entry>
897
855
  <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
898
856
  <provider selected="true" editor-type-id="text-editor">
899
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="128">
857
+ <state vertical-scroll-proportion="0.0">
900
858
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
901
859
  </state>
902
860
  </provider>
903
861
  </entry>
904
862
  <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
905
863
  <provider selected="true" editor-type-id="text-editor">
906
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="128">
864
+ <state vertical-scroll-proportion="0.0">
907
865
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
908
866
  </state>
909
867
  </provider>
910
868
  </entry>
911
869
  <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
912
870
  <provider selected="true" editor-type-id="text-editor">
913
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="96">
871
+ <state vertical-scroll-proportion="0.0">
914
872
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
915
873
  </state>
916
874
  </provider>
917
875
  </entry>
918
876
  <entry file="file://$PROJECT_DIR$/Gemfile">
919
877
  <provider selected="true" editor-type-id="text-editor">
920
- <state vertical-scroll-proportion="0.0" vertical-offset="368" max-vertical-offset="464">
878
+ <state vertical-scroll-proportion="0.0">
921
879
  <caret line="23" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
922
880
  </state>
923
881
  </provider>
924
882
  </entry>
925
883
  <entry file="file://$PROJECT_DIR$/Rakefile">
926
884
  <provider selected="true" editor-type-id="text-editor">
927
- <state vertical-scroll-proportion="0.0" vertical-offset="176" max-vertical-offset="688">
885
+ <state vertical-scroll-proportion="0.0">
928
886
  <caret line="11" column="67" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
929
887
  </state>
930
888
  </provider>
931
889
  </entry>
932
890
  <entry file="file://$PROJECT_DIR$/script_executor.gemspec.erb">
933
891
  <provider selected="true" editor-type-id="text-editor">
934
- <state vertical-scroll-proportion="0.0" vertical-offset="224" max-vertical-offset="416">
892
+ <state vertical-scroll-proportion="0.0">
935
893
  <caret line="14" column="56" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
936
894
  </state>
937
895
  </provider>
938
896
  </entry>
939
897
  <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
940
898
  <provider selected="true" editor-type-id="text-editor">
941
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="208">
899
+ <state vertical-scroll-proportion="0.0">
942
900
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
943
901
  </state>
944
902
  </provider>
945
903
  </entry>
946
904
  <entry file="file://$PROJECT_DIR$/Gemfile">
947
905
  <provider selected="true" editor-type-id="text-editor">
948
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0">
906
+ <state vertical-scroll-proportion="0.0">
949
907
  <caret line="23" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
950
908
  </state>
951
909
  </provider>
952
910
  </entry>
953
911
  <entry file="file://$PROJECT_DIR$/Rakefile">
954
912
  <provider selected="true" editor-type-id="text-editor">
955
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0">
913
+ <state vertical-scroll-proportion="0.0">
956
914
  <caret line="11" column="67" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
957
915
  </state>
958
916
  </provider>
959
917
  </entry>
960
918
  <entry file="file://$PROJECT_DIR$/script_executor.gemspec.erb">
961
919
  <provider selected="true" editor-type-id="text-editor">
962
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0">
920
+ <state vertical-scroll-proportion="0.0">
963
921
  <caret line="14" column="56" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
964
922
  </state>
965
923
  </provider>
966
924
  </entry>
967
925
  <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
968
926
  <provider selected="true" editor-type-id="text-editor">
969
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0">
927
+ <state vertical-scroll-proportion="0.0">
970
928
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
971
929
  </state>
972
930
  </provider>
973
931
  </entry>
974
932
  <entry file="file://$APPLICATION_HOME_DIR$/rubystubs193/kernel.rb">
975
933
  <provider selected="true" editor-type-id="text-editor">
976
- <state vertical-scroll-proportion="1.5721831" vertical-offset="0" max-vertical-offset="0">
934
+ <state vertical-scroll-proportion="1.5721831">
977
935
  <caret line="1245" column="8" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
978
936
  </state>
979
937
  </provider>
980
938
  </entry>
981
- <entry file="file://$PROJECT_DIR$/.ruby-gemset">
982
- <provider selected="true" editor-type-id="text-editor">
983
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0">
984
- <caret line="0" column="25" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
985
- </state>
986
- </provider>
987
- </entry>
988
939
  <entry file="file://$PROJECT_DIR$/lib/script_executor/output_buffer.rb">
989
940
  <provider selected="true" editor-type-id="text-editor">
990
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="602">
941
+ <state vertical-scroll-proportion="0.0">
991
942
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
992
943
  </state>
993
944
  </provider>
994
945
  </entry>
995
946
  <entry file="file://$PROJECT_DIR$/script_executor.gemspec.erb">
996
947
  <provider selected="true" editor-type-id="text-editor">
997
- <state vertical-scroll-proportion="0.15822785" vertical-offset="0" max-vertical-offset="474">
948
+ <state vertical-scroll-proportion="0.15822785">
998
949
  <caret line="5" column="33" selection-start-line="5" selection-start-column="33" selection-end-line="5" selection-end-column="33" />
999
950
  </state>
1000
951
  </provider>
1001
952
  </entry>
1002
953
  <entry file="file://$PROJECT_DIR$/README.md">
1003
954
  <provider selected="true" editor-type-id="text-editor">
1004
- <state vertical-scroll-proportion="0.15934066" vertical-offset="1465" max-vertical-offset="2193">
955
+ <state vertical-scroll-proportion="0.15934066">
1005
956
  <caret line="93" column="24" selection-start-line="93" selection-start-column="24" selection-end-line="93" selection-end-column="24" />
1006
957
  </state>
1007
958
  </provider>
1008
959
  </entry>
1009
960
  <entry file="file://$PROJECT_DIR$/spec/test.conf">
1010
961
  <provider selected="true" editor-type-id="text-editor">
1011
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="482">
962
+ <state vertical-scroll-proportion="0.0">
1012
963
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1013
964
  </state>
1014
965
  </provider>
1015
966
  </entry>
1016
967
  <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
1017
968
  <provider selected="true" editor-type-id="text-editor">
1018
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="102">
969
+ <state vertical-scroll-proportion="0.0">
1019
970
  <caret line="0" column="56" selection-start-line="0" selection-start-column="56" selection-end-line="0" selection-end-column="56" />
1020
971
  </state>
1021
972
  </provider>
1022
973
  </entry>
1023
974
  <entry file="file://$PROJECT_DIR$/script_executor.gemspec">
1024
975
  <provider selected="true" editor-type-id="text-editor">
1025
- <state vertical-scroll-proportion="0.13509934" vertical-offset="0" max-vertical-offset="755">
976
+ <state vertical-scroll-proportion="0.13509934">
1026
977
  <caret line="6" column="43" selection-start-line="6" selection-start-column="43" selection-end-line="6" selection-end-column="43" />
1027
978
  </state>
1028
979
  </provider>
1029
980
  </entry>
1030
981
  <entry file="file://$PROJECT_DIR$/spec/script_locator_spec.rb">
1031
982
  <provider selected="true" editor-type-id="text-editor">
1032
- <state vertical-scroll-proportion="0.0" vertical-offset="463" max-vertical-offset="1241">
983
+ <state vertical-scroll-proportion="0.0">
1033
984
  <caret line="39" column="31" selection-start-line="39" selection-start-column="28" selection-end-line="39" selection-end-column="31" />
1034
985
  <folding />
1035
986
  </state>
@@ -1037,108 +988,114 @@
1037
988
  </entry>
1038
989
  <entry file="file://$PROJECT_DIR$/lib/executable.rb">
1039
990
  <provider selected="true" editor-type-id="text-editor">
1040
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="102">
991
+ <state vertical-scroll-proportion="0.0">
1041
992
  <caret line="0" column="26" selection-start-line="0" selection-start-column="26" selection-end-line="0" selection-end-column="26" />
1042
993
  </state>
1043
994
  </provider>
1044
995
  </entry>
1045
996
  <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
1046
997
  <provider selected="true" editor-type-id="text-editor">
1047
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="102">
998
+ <state vertical-scroll-proportion="0.0">
1048
999
  <caret line="0" column="41" selection-start-line="0" selection-start-column="41" selection-end-line="0" selection-end-column="41" />
1049
1000
  </state>
1050
1001
  </provider>
1051
1002
  </entry>
1052
1003
  <entry file="file://$PROJECT_DIR$/lib/script_locator.rb">
1053
1004
  <provider selected="true" editor-type-id="text-editor">
1054
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="102">
1005
+ <state vertical-scroll-proportion="0.0">
1055
1006
  <caret line="0" column="40" selection-start-line="0" selection-start-column="40" selection-end-line="0" selection-end-column="40" />
1056
1007
  </state>
1057
1008
  </provider>
1058
1009
  </entry>
1059
1010
  <entry file="file://$PROJECT_DIR$/spec/executable_spec.rb">
1060
1011
  <provider selected="true" editor-type-id="text-editor">
1061
- <state vertical-scroll-proportion="0.0" vertical-offset="170" max-vertical-offset="2193">
1012
+ <state vertical-scroll-proportion="0.0">
1062
1013
  <caret line="10" column="30" selection-start-line="10" selection-start-column="30" selection-end-line="10" selection-end-column="30" />
1063
- <folding />
1064
1014
  </state>
1065
1015
  </provider>
1066
1016
  </entry>
1067
1017
  <entry file="file://$PROJECT_DIR$/Rakefile">
1068
1018
  <provider selected="true" editor-type-id="text-editor">
1069
- <state vertical-scroll-proportion="0.0" vertical-offset="187" max-vertical-offset="765">
1019
+ <state vertical-scroll-proportion="0.0">
1070
1020
  <caret line="11" column="12" selection-start-line="0" selection-start-column="0" selection-end-line="39" selection-end-column="0" />
1021
+ </state>
1022
+ </provider>
1023
+ </entry>
1024
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
1025
+ <provider selected="true" editor-type-id="text-editor">
1026
+ <state vertical-scroll-proportion="0.0">
1027
+ <caret line="1" column="24" selection-start-line="1" selection-start-column="24" selection-end-line="1" selection-end-column="24" />
1071
1028
  <folding />
1072
1029
  </state>
1073
1030
  </provider>
1074
1031
  </entry>
1075
- <entry file="file://$PROJECT_DIR$/Gemfile">
1032
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/script_locator.rb">
1076
1033
  <provider selected="true" editor-type-id="text-editor">
1077
- <state vertical-scroll-proportion="0.0" vertical-offset="150" max-vertical-offset="465">
1078
- <caret line="10" column="33" selection-start-line="10" selection-start-column="24" selection-end-line="10" selection-end-column="33" />
1034
+ <state vertical-scroll-proportion="0.0">
1035
+ <caret line="18" column="8" selection-start-line="18" selection-start-column="8" selection-end-line="18" selection-end-column="8" />
1079
1036
  <folding />
1080
1037
  </state>
1081
1038
  </provider>
1082
1039
  </entry>
1083
- <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
1040
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/base_provision.rb">
1084
1041
  <provider selected="true" editor-type-id="text-editor">
1085
- <state vertical-scroll-proportion="0.0" vertical-offset="405" max-vertical-offset="1185">
1086
- <caret line="27" column="0" selection-start-line="27" selection-start-column="0" selection-end-line="27" selection-end-column="0" />
1042
+ <state vertical-scroll-proportion="0.085365854">
1043
+ <caret line="59" column="13" selection-start-line="59" selection-start-column="13" selection-end-line="59" selection-end-column="13" />
1087
1044
  <folding />
1088
1045
  </state>
1089
1046
  </provider>
1090
1047
  </entry>
1091
- <entry file="file://$PROJECT_DIR$/lib/script_executor/remote_command.rb">
1048
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
1092
1049
  <provider selected="true" editor-type-id="text-editor">
1093
- <state vertical-scroll-proportion="0.0" vertical-offset="225" max-vertical-offset="1770">
1094
- <caret line="15" column="52" selection-start-line="15" selection-start-column="52" selection-end-line="15" selection-end-column="52" />
1050
+ <state vertical-scroll-proportion="0.0">
1051
+ <caret line="33" column="0" selection-start-line="33" selection-start-column="0" selection-end-line="33" selection-end-column="0" />
1095
1052
  <folding />
1096
1053
  </state>
1097
1054
  </provider>
1098
1055
  </entry>
1099
- <entry file="file://$PROJECT_DIR$/lib/script_executor/local_command.rb">
1056
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/remote_command.rb">
1100
1057
  <provider selected="true" editor-type-id="text-editor">
1101
- <state vertical-scroll-proportion="0.0" vertical-offset="195" max-vertical-offset="1455">
1102
- <caret line="13" column="45" selection-start-line="13" selection-start-column="45" selection-end-line="13" selection-end-column="45" />
1058
+ <state vertical-scroll-proportion="0.66463417">
1059
+ <caret line="118" column="62" selection-start-line="118" selection-start-column="62" selection-end-line="118" selection-end-column="62" />
1103
1060
  <folding />
1104
1061
  </state>
1105
1062
  </provider>
1106
1063
  </entry>
1107
- <entry file="file://$PROJECT_DIR$/.ruby-version">
1064
+ <entry file="file://$PROJECT_DIR$/Gemfile">
1108
1065
  <provider selected="true" editor-type-id="text-editor">
1109
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="481">
1110
- <caret line="0" column="5" selection-start-line="0" selection-start-column="5" selection-end-line="0" selection-end-column="5" />
1066
+ <state vertical-scroll-proportion="0.0">
1067
+ <caret line="10" column="33" selection-start-line="10" selection-start-column="24" selection-end-line="10" selection-end-column="33" />
1111
1068
  <folding />
1112
1069
  </state>
1113
1070
  </provider>
1114
1071
  </entry>
1115
- <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
1072
+ <entry file="file://$PROJECT_DIR$/.ruby-gemset">
1116
1073
  <provider selected="true" editor-type-id="text-editor">
1117
- <state vertical-scroll-proportion="0.0" vertical-offset="15" max-vertical-offset="195">
1118
- <caret line="1" column="24" selection-start-line="1" selection-start-column="24" selection-end-line="1" selection-end-column="24" />
1074
+ <state vertical-scroll-proportion="0.0">
1075
+ <caret line="0" column="15" selection-start-line="0" selection-start-column="15" selection-end-line="0" selection-end-column="15" />
1119
1076
  <folding />
1120
1077
  </state>
1121
1078
  </provider>
1122
1079
  </entry>
1123
- <entry file="file://$PROJECT_DIR$/lib/script_executor/script_locator.rb">
1080
+ <entry file="file://$PROJECT_DIR$/.ruby-version">
1124
1081
  <provider selected="true" editor-type-id="text-editor">
1125
- <state vertical-scroll-proportion="0.0" vertical-offset="133" max-vertical-offset="1275">
1126
- <caret line="18" column="8" selection-start-line="18" selection-start-column="8" selection-end-line="18" selection-end-column="8" />
1082
+ <state vertical-scroll-proportion="0.0">
1083
+ <caret line="0" column="5" selection-start-line="0" selection-start-column="5" selection-end-line="0" selection-end-column="5" />
1127
1084
  <folding />
1128
1085
  </state>
1129
1086
  </provider>
1130
1087
  </entry>
1131
- <entry file="file://$PROJECT_DIR$/lib/script_executor/base_provision.rb">
1088
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/local_command.rb">
1132
1089
  <provider selected="true" editor-type-id="text-editor">
1133
- <state vertical-scroll-proportion="0.0" vertical-offset="748" max-vertical-offset="1335">
1134
- <caret line="59" column="13" selection-start-line="59" selection-start-column="13" selection-end-line="59" selection-end-column="13" />
1090
+ <state vertical-scroll-proportion="0.45674044">
1091
+ <caret line="90" column="76" selection-start-line="90" selection-start-column="63" selection-end-line="90" selection-end-column="76" />
1135
1092
  <folding />
1136
1093
  </state>
1137
1094
  </provider>
1138
1095
  </entry>
1139
1096
  <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
1140
1097
  <provider selected="true" editor-type-id="text-editor">
1141
- <state vertical-scroll-proportion="0.0" vertical-offset="15" max-vertical-offset="120">
1098
+ <state vertical-scroll-proportion="0.0">
1142
1099
  <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
1143
1100
  <folding />
1144
1101
  </state>
@@ -1146,8 +1103,8 @@
1146
1103
  </entry>
1147
1104
  <entry file="file://$PROJECT_DIR$/CHANGES">
1148
1105
  <provider selected="true" editor-type-id="text-editor">
1149
- <state vertical-scroll-proportion="1.3783784" vertical-offset="687" max-vertical-offset="1440">
1150
- <caret line="90" column="2" selection-start-line="90" selection-start-column="2" selection-end-line="90" selection-end-column="2" />
1106
+ <state vertical-scroll-proportion="0.81891346">
1107
+ <caret line="94" column="2" selection-start-line="94" selection-start-column="2" selection-end-line="94" selection-end-column="43" />
1151
1108
  <folding />
1152
1109
  </state>
1153
1110
  </provider>
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.1.4
1
+ 2.2.1
data/CHANGES CHANGED
@@ -88,4 +88,8 @@
88
88
 
89
89
  == Version 1.5.4
90
90
 
91
- * Print errors in case of existing errors.
91
+ * Print errors in case of existing errors.
92
+
93
+ == Version 1.5.5
94
+
95
+ * Adding new input parameter: output_stream
@@ -4,15 +4,16 @@
4
4
  class LocalCommand
5
5
  attr_accessor :simulate
6
6
 
7
- attr_reader :password, :suppress_output, :capture_output, :simulate
7
+ attr_reader :password, :suppress_output, :capture_output, :output_stream, :simulate
8
8
 
9
9
  def initialize params
10
10
  params = sanitize_parameters params
11
11
 
12
12
  @password = params[:password]
13
+ @simulate = params[:simulate]
13
14
  @suppress_output = params[:suppress_output]
14
15
  @capture_output = params[:capture_output]
15
- @simulate = params[:simulate]
16
+ @output_stream = params[:output_stream]
16
17
  end
17
18
 
18
19
  def execute commands, line_action
@@ -20,14 +21,24 @@ class LocalCommand
20
21
 
21
22
  unless simulate
22
23
  storage = capture_output ? OutputBuffer.new : nil
23
- output = suppress_output ? nil : $stdout
24
+ output = if output_stream
25
+ output_stream
26
+ else
27
+ suppress_output ? nil : $stdout
28
+ end
24
29
 
25
30
  commands = commands + inline_password(password) if password
26
31
 
27
- IO.popen(commands) do |pipe|
28
- pipe.each("\r") do |line|
29
- output.print(line) if output
30
- storage.save(line.chomp) if storage
32
+ IO.popen(commands) do |io|
33
+ io.each_line("\r") do |line|
34
+ if output
35
+ output.write(line)
36
+ output.flush
37
+ end
38
+
39
+ if storage
40
+ storage.save(line.chomp)
41
+ end
31
42
 
32
43
  line_action.call(line) if line_action
33
44
  end
@@ -77,7 +88,7 @@ class LocalCommand
77
88
 
78
89
  def permitted_params
79
90
  @permitted_params ||= [:script, :sudo, :remote, :line_action, :password,
80
- :suppress_output, :capture_output, :simulate]
91
+ :suppress_output, :capture_output, :output_stream, :simulate]
81
92
  end
82
93
  end
83
94
 
@@ -3,7 +3,7 @@ require 'net/ssh'
3
3
  require "highline"
4
4
 
5
5
  class RemoteCommand
6
- attr_reader :host, :user, :options, :suppress_output, :capture_output, :simulate
6
+ attr_reader :host, :user, :options, :suppress_output, :capture_output, :output_stream, :simulate
7
7
 
8
8
  def initialize params
9
9
  params = sanitize_parameters params
@@ -14,6 +14,7 @@ class RemoteCommand
14
14
 
15
15
  @suppress_output = params.delete(:suppress_output)
16
16
  @capture_output = params.delete(:capture_output)
17
+ @output_stream = params[:output_stream]
17
18
  @simulate = params.delete(:simulate)
18
19
 
19
20
  @options = params
@@ -27,7 +28,11 @@ class RemoteCommand
27
28
 
28
29
  unless simulate
29
30
  storage = capture_output ? OutputBuffer.new : nil
30
- output = suppress_output ? nil : $stdout
31
+ output = if output_stream
32
+ output_stream
33
+ else
34
+ suppress_output ? nil : $stdout
35
+ end
31
36
 
32
37
  Net::SSH.start(host, user, options) do |session|
33
38
  session.exec(commands) do |channel, _, line|
@@ -35,8 +40,14 @@ class RemoteCommand
35
40
  channel.request_pty
36
41
  channel.send_data options[:password] + "\n"
37
42
  else
38
- output.print(line) if output
39
- storage.save(line.chomp) if storage
43
+ if output
44
+ output.write(line)
45
+ output.flush
46
+ end
47
+
48
+ if storage
49
+ storage.save(line.chomp)
50
+ end
40
51
 
41
52
  line_action.call(line) if line_action
42
53
  end
@@ -105,7 +116,7 @@ class RemoteCommand
105
116
 
106
117
  def permitted_params
107
118
  @permitted_params ||= [:script, :sudo, :remote, :line_action, :password,
108
- :suppress_output, :capture_output, :simulate,
119
+ :suppress_output, :capture_output, :output_stream, :simulate,
109
120
  :domain, :host, :port, :user, :options]
110
121
  end
111
122
  end
@@ -1,3 +1,3 @@
1
1
  class ScriptExecutor
2
- VERSION = "1.5.4"
2
+ VERSION = "1.5.5"
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.4
4
+ version: 1.5.5
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-11-03 00:00:00.000000000 Z
11
+ date: 2015-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  version: '0'
157
157
  requirements: []
158
158
  rubyforge_project:
159
- rubygems_version: 2.4.2
159
+ rubygems_version: 2.4.6
160
160
  signing_key:
161
161
  specification_version: 4
162
162
  summary: This library helps to execute code, locally or remote over ssh