script_executor 1.4.2 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NWNjM2FlM2EzZDQzMTc3ZmRhYTk5ODA4MDAzMGUyMWIzMGMwZWFlOQ==
4
+ Njg4ZGY1ODQwYmNiNzk0ZWQzOTZmZjMzMDk0NmM3YjFjMDRhZjZkNQ==
5
5
  data.tar.gz: !binary |-
6
- MDA5MDZhNmZiYzYwNDBiNWRhYWRlYmY4ZDA5NzBhNzQ1YThlNGRmYg==
6
+ ZWZjNGQ0OGVmODAzYmQ3YWYwNTk1Y2NkYzE3MzhiMjQyNDAzZTE5Yw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjRjODI3NzU1NDMxZGU4M2M3N2I0ZjBiZDFlMDU3YjBhNTUzY2ZlMjY3ZjY5
10
- MmU1YmQ5YWQ5OTFkMjI1NGYyMjc3YWNlMzE3ZjU5MjRjNDBmMjRlYTBhMTY1
11
- YTA5NGY4MGU0MjE3YjJmZTgwYTlkMjcxODI5NDNjN2U2MjBlNGQ=
9
+ MDM3M2IxNjJkNjc0MmU1NDk3MTlkY2FhZTJmMmY0MDI3OGU5MWJiZmJiYmZh
10
+ MjU5MGRhOWE4YzQxYWFkY2UyZWUyOTI0ZTlhZTAxMDFjOTZhNzFhMzUyYTll
11
+ ZmY0OGE4NzVkMGNmZGQyYTljZjdiZTQ5N2QwYjYzNDg5YjU2ODk=
12
12
  data.tar.gz: !binary |-
13
- Yjg0Y2Q1ZDdiMzllY2NhY2I4NzA2MWU2NDNhYWRhZDFlMGM4YmEwNzllYjNl
14
- MmM0YWMxYzQxM2JlNTJlMGY0YmY3NzU5NThjOTkxYThhNjgxN2Y2ZTFjODhl
15
- ZmNlYjBiMWFlZWUwODI4NmMxYTk1ZGFhODMxZGE2MTlkOGRlYmM=
13
+ NjJlMjVlN2ZmZWMzNWZkOTc0NjM1YTM1Zjg5MTgwZGFkZjAwMmVkOTY1MWQ0
14
+ MzhiYjhiNDU0MmIzNGMxNzhiMGJhMWY0NzM2YTBjMDEyZTEwMTJiNzcwMjE4
15
+ NTcyNGQ3ODNkMjY3ODcxNDc3NGEyYjZmMTljM2NkNDBhMzIzZjg=
@@ -201,6 +201,7 @@
201
201
  <orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
202
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
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" />
204
205
  <orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.1, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
205
206
  <orderEntry type="library" scope="PROVIDED" name="mocha (v0.13.1, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
206
207
  <orderEntry type="library" scope="PROVIDED" name="net-ssh (v2.8.0, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" level="application" />
data/.idea/workspace.xml CHANGED
@@ -1,7 +1,9 @@
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" readonly="true" id="6995392e-f204-4557-be32-fd20f300d877" name="Default" comment="">
5
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
6
+ </list>
5
7
  <ignored path="script_executor.iws" />
6
8
  <ignored path=".idea/workspace.xml" />
7
9
  <option name="TRACKING_ENABLED" value="true" />
@@ -12,8 +14,8 @@
12
14
  </component>
13
15
  <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
14
16
  <component name="CoverageDataManager">
15
- <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" />
16
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" />
17
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" />
18
20
  <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" />
19
21
  <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" />
@@ -31,41 +33,31 @@
31
33
  </component>
32
34
  <component name="FileEditorManager">
33
35
  <leaf>
34
- <file leaf-file-name="script_locator_spec.rb" pinned="false" current="false" current-in-tab="false">
35
- <entry file="file://$PROJECT_DIR$/spec/script_locator_spec.rb">
36
+ <file leaf-file-name="executable.rb" pinned="false" current="false" current-in-tab="false">
37
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
36
38
  <provider selected="true" editor-type-id="text-editor">
37
- <state vertical-scroll-proportion="0.0" vertical-offset="596" max-vertical-offset="1071">
38
- <caret line="41" column="0" selection-start-line="41" selection-start-column="0" selection-end-line="41" selection-end-column="0" />
39
+ <state vertical-scroll-proportion="0.0" vertical-offset="85" max-vertical-offset="1309">
40
+ <caret line="5" column="30" selection-start-line="5" selection-start-column="30" selection-end-line="5" selection-end-column="30" />
39
41
  <folding />
40
42
  </state>
41
43
  </provider>
42
44
  </entry>
43
45
  </file>
44
- <file leaf-file-name="executable_spec.rb" pinned="false" current="false" current-in-tab="false">
45
- <entry file="file://$PROJECT_DIR$/spec/executable_spec.rb">
46
+ <file leaf-file-name="base_provision.rb" pinned="false" current="false" current-in-tab="false">
47
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/base_provision.rb">
46
48
  <provider selected="true" editor-type-id="text-editor">
47
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="2193">
48
- <caret line="76" column="0" selection-start-line="76" selection-start-column="0" selection-end-line="76" selection-end-column="0" />
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" />
49
51
  <folding />
50
52
  </state>
51
53
  </provider>
52
54
  </entry>
53
55
  </file>
54
- <file leaf-file-name="spec_helper.rb" pinned="false" current="false" current-in-tab="false">
55
- <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
56
+ <file leaf-file-name="script_executor.rb" pinned="false" current="false" current-in-tab="false">
57
+ <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
56
58
  <provider selected="true" editor-type-id="text-editor">
57
59
  <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="102">
58
- <caret line="0" column="56" selection-start-line="0" selection-start-column="56" selection-end-line="0" selection-end-column="56" />
59
- <folding />
60
- </state>
61
- </provider>
62
- </entry>
63
- </file>
64
- <file leaf-file-name="local_command.rb" pinned="false" current="false" current-in-tab="false">
65
- <entry file="file://$PROJECT_DIR$/lib/script_executor/local_command.rb">
66
- <provider selected="true" editor-type-id="text-editor">
67
- <state vertical-scroll-proportion="-7.1923075" vertical-offset="0" max-vertical-offset="1649">
68
- <caret line="11" column="0" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="0" />
60
+ <caret line="0" column="41" selection-start-line="0" selection-start-column="41" selection-end-line="0" selection-end-column="41" />
69
61
  <folding />
70
62
  </state>
71
63
  </provider>
@@ -74,28 +66,28 @@
74
66
  <file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
75
67
  <entry file="file://$PROJECT_DIR$/Gemfile">
76
68
  <provider selected="true" editor-type-id="text-editor">
77
- <state vertical-scroll-proportion="0.0" vertical-offset="1" max-vertical-offset="510">
78
- <caret line="18" column="0" selection-start-line="18" selection-start-column="0" selection-end-line="22" selection-end-column="0" />
69
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="527">
70
+ <caret line="6" column="20" selection-start-line="6" selection-start-column="20" selection-end-line="6" selection-end-column="20" />
79
71
  <folding />
80
72
  </state>
81
73
  </provider>
82
74
  </entry>
83
75
  </file>
84
- <file leaf-file-name="remote_command.rb" pinned="false" current="true" current-in-tab="true">
85
- <entry file="file://$PROJECT_DIR$/lib/script_executor/remote_command.rb">
76
+ <file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
77
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
86
78
  <provider selected="true" editor-type-id="text-editor">
87
- <state vertical-scroll-proportion="0.14718615" vertical-offset="0" max-vertical-offset="2006">
88
- <caret line="4" column="19" selection-start-line="4" selection-start-column="19" selection-end-line="4" selection-end-column="19" />
79
+ <state vertical-scroll-proportion="0.035639413" vertical-offset="0" max-vertical-offset="477">
80
+ <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
89
81
  <folding />
90
82
  </state>
91
83
  </provider>
92
84
  </entry>
93
85
  </file>
94
- <file leaf-file-name="executable.rb" pinned="false" current="false" current-in-tab="false">
95
- <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
86
+ <file leaf-file-name="CHANGES" pinned="false" current="false" current-in-tab="false">
87
+ <entry file="file://$PROJECT_DIR$/CHANGES">
96
88
  <provider selected="true" editor-type-id="text-editor">
97
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1309">
98
- <caret line="5" column="30" selection-start-line="5" selection-start-column="30" selection-end-line="5" selection-end-column="30" />
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" />
99
91
  <folding />
100
92
  </state>
101
93
  </provider>
@@ -137,14 +129,15 @@
137
129
  <option value="$PROJECT_DIR$/script_executor.gemspec.erb" />
138
130
  <option value="$PROJECT_DIR$/lib/script_executor/script_locator.rb" />
139
131
  <option value="$PROJECT_DIR$/spec/script_locator_spec.rb" />
140
- <option value="$PROJECT_DIR$/Gemfile" />
141
- <option value="$PROJECT_DIR$/lib/script_executor/version.rb" />
142
- <option value="$PROJECT_DIR$/CHANGES" />
143
132
  <option value="$PROJECT_DIR$/lib/script_executor/executable.rb" />
144
133
  <option value="$PROJECT_DIR$/lib/script_executor/local_command.rb" />
145
134
  <option value="$PROJECT_DIR$/spec/spec_helper.rb" />
146
135
  <option value="$PROJECT_DIR$/spec/executable_spec.rb" />
147
136
  <option value="$PROJECT_DIR$/lib/script_executor/remote_command.rb" />
137
+ <option value="$PROJECT_DIR$/Gemfile" />
138
+ <option value="$PROJECT_DIR$/lib/script_executor/base_provision.rb" />
139
+ <option value="$PROJECT_DIR$/lib/script_executor/version.rb" />
140
+ <option value="$PROJECT_DIR$/CHANGES" />
148
141
  </list>
149
142
  </option>
150
143
  </component>
@@ -263,21 +256,21 @@
263
256
  <property name="options.searchVisible" value="true" />
264
257
  <property name="options.splitter.details.proportions" value="0.2" />
265
258
  <property name="last_opened_file_path" value="$PROJECT_DIR$" />
266
- <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth0" value="189" />
259
+ <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth0" value="161" />
267
260
  <property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder0" value="0" />
268
- <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth1" value="191" />
261
+ <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth1" value="163" />
269
262
  <property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder1" value="1" />
270
- <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth2" value="195" />
263
+ <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth2" value="166" />
271
264
  <property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder2" value="2" />
272
- <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth3" value="989" />
265
+ <property name="FileHistory.git4idea.history.GitHistoryProvider_flatWidth3" value="834" />
273
266
  <property name="FileHistory.git4idea.history.GitHistoryProvider_flatOrder3" value="3" />
274
- <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth0" value="189" />
267
+ <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth0" value="161" />
275
268
  <property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder0" value="0" />
276
- <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth1" value="191" />
269
+ <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth1" value="163" />
277
270
  <property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder1" value="1" />
278
- <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth2" value="195" />
271
+ <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth2" value="166" />
279
272
  <property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder2" value="2" />
280
- <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth3" value="989" />
273
+ <property name="FileHistory.git4idea.history.GitHistoryProvider_treeWidth3" value="834" />
281
274
  <property name="FileHistory.git4idea.history.GitHistoryProvider_treeOrder3" value="3" />
282
275
  </component>
283
276
  <component name="RunManager" selected="RSpec.executable_spec">
@@ -579,11 +572,11 @@
579
572
  </list>
580
573
  <recent_temporary>
581
574
  <list size="5">
582
- <item index="0" class="java.lang.String" itemvalue="RSpec.executable_spec" />
583
- <item index="1" class="java.lang.String" itemvalue="RSpec.MyExecutable vagrant should execute commands from :script parameter: script_executor" />
584
- <item index="2" class="java.lang.String" itemvalue="RSpec.MyScriptLocator#evaluate_script_body locates script inside current file: script_executor" />
585
- <item index="3" class="java.lang.String" itemvalue="RSpec.MyExecutable local execution should execute commands locally from :script parameter: script_executor" />
586
- <item index="4" class="java.lang.String" itemvalue="RSpec.MyExecutable remote execution should execute commands from :script parameter" />
575
+ <item index="0" class="java.lang.String" itemvalue="RSpec.MyExecutable vagrant should execute commands from :script parameter: script_executor" />
576
+ <item index="1" class="java.lang.String" itemvalue="RSpec.MyScriptLocator#evaluate_script_body locates script inside current file: script_executor" />
577
+ <item index="2" class="java.lang.String" itemvalue="RSpec.MyExecutable local execution should execute commands locally from :script parameter: script_executor" />
578
+ <item index="3" class="java.lang.String" itemvalue="RSpec.MyExecutable remote execution should execute commands from :script parameter" />
579
+ <item index="4" class="java.lang.String" itemvalue="RSpec.executable_spec" />
587
580
  </list>
588
581
  </recent_temporary>
589
582
  </component>
@@ -642,34 +635,39 @@
642
635
  <created>1402345796776</created>
643
636
  <updated>1402345796776</updated>
644
637
  </task>
645
- <option name="localTasksCounter" value="12" />
638
+ <task id="LOCAL-00012" summary="Adding BaseProvision class to group convenient methods to build the provision.">
639
+ <created>1403791082126</created>
640
+ <updated>1403791082126</updated>
641
+ </task>
642
+ <option name="localTasksCounter" value="13" />
646
643
  <servers />
647
644
  </component>
648
645
  <component name="ToolWindowManager">
649
646
  <frame x="48" y="22" width="1396" height="878" extended-state="0" />
650
- <editor active="false" />
647
+ <editor active="true" />
651
648
  <layout>
652
649
  <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" />
653
- <window_info id="Changes" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.357599" sideWeight="0.9955329" order="7" 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" />
654
651
  <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" />
655
652
  <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" />
656
653
  <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" />
657
654
  <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" />
658
655
  <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" />
659
- <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3290461" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
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
+ <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" />
660
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" />
661
659
  <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" />
662
660
  <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" />
663
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.2252585" sideWeight="0.64040405" order="0" side_tool="false" content_ui="combo" />
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" />
664
662
  <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" />
665
663
  <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" />
666
664
  <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" />
667
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" />
668
- <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" />
669
666
  <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
+ <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" />
670
668
  <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" />
671
- <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
672
669
  <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
+ <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" />
673
671
  <window_info id="LuaJ" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
674
672
  </layout>
675
673
  <layout-to-restore>
@@ -691,9 +689,9 @@
691
689
  <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" />
692
690
  <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" />
693
691
  <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3199498" sideWeight="0.64040405" order="0" side_tool="false" content_ui="combo" />
694
- <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3226152" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
695
- <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" />
696
692
  <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
693
+ <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" />
694
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3226152" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
697
695
  <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" />
698
696
  </layout-to-restore>
699
697
  </component>
@@ -720,7 +718,8 @@
720
718
  <MESSAGE value="* Allow '-' and '_' symbols in script name." />
721
719
  <MESSAGE value="Adding script_title method to API" />
722
720
  <MESSAGE value="Bug fix" />
723
- <option name="LAST_COMMIT_MESSAGE" value="Bug fix" />
721
+ <MESSAGE value="Adding BaseProvision class to group convenient methods to build the provision." />
722
+ <option name="LAST_COMMIT_MESSAGE" value="Adding BaseProvision class to group convenient methods to build the provision." />
724
723
  </component>
725
724
  <component name="XDebuggerManager">
726
725
  <breakpoint-manager>
@@ -743,20 +742,6 @@
743
742
  </breakpoint-manager>
744
743
  </component>
745
744
  <component name="editorHistoryManager">
746
- <entry file="file://$PROJECT_DIR$/spec/script_locator_spec.rb">
747
- <provider selected="true" editor-type-id="text-editor">
748
- <state vertical-scroll-proportion="0.0" vertical-offset="495" max-vertical-offset="660">
749
- <caret line="33" column="0" selection-start-line="33" selection-start-column="0" selection-end-line="33" selection-end-column="0" />
750
- </state>
751
- </provider>
752
- </entry>
753
- <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
754
- <provider selected="true" editor-type-id="text-editor">
755
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120">
756
- <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
757
- </state>
758
- </provider>
759
- </entry>
760
745
  <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
761
746
  <provider selected="true" editor-type-id="text-editor">
762
747
  <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120">
@@ -969,13 +954,6 @@
969
954
  </state>
970
955
  </provider>
971
956
  </entry>
972
- <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
973
- <provider selected="true" editor-type-id="text-editor">
974
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
975
- <caret line="0" column="41" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
976
- </state>
977
- </provider>
978
- </entry>
979
957
  <entry file="file://$PROJECT_DIR$/lib/script_executor/output_buffer.rb">
980
958
  <provider selected="true" editor-type-id="text-editor">
981
959
  <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="602">
@@ -1021,98 +999,121 @@
1021
999
  </state>
1022
1000
  </provider>
1023
1001
  </entry>
1024
- <entry file="file://$PROJECT_DIR$/lib/script_executor/script_locator.rb">
1002
+ <entry file="file://$PROJECT_DIR$/spec/test.conf">
1025
1003
  <provider selected="true" editor-type-id="text-editor">
1026
- <state vertical-scroll-proportion="0.3245033" vertical-offset="571" max-vertical-offset="1326">
1027
- <caret line="48" column="16" selection-start-line="48" selection-start-column="16" selection-end-line="48" selection-end-column="16" />
1004
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="482">
1005
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1006
+ </state>
1007
+ </provider>
1008
+ </entry>
1009
+ <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
1010
+ <provider selected="true" editor-type-id="text-editor">
1011
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="102">
1012
+ <caret line="0" column="56" selection-start-line="0" selection-start-column="56" selection-end-line="0" selection-end-column="56" />
1028
1013
  <folding />
1029
1014
  </state>
1030
1015
  </provider>
1031
1016
  </entry>
1032
- <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
1017
+ <entry file="file://$PROJECT_DIR$/script_executor.gemspec">
1033
1018
  <provider selected="true" editor-type-id="text-editor">
1034
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="221">
1035
- <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1019
+ <state vertical-scroll-proportion="0.13509934" vertical-offset="0" max-vertical-offset="755">
1020
+ <caret line="6" column="43" selection-start-line="6" selection-start-column="43" selection-end-line="6" selection-end-column="43" />
1036
1021
  <folding />
1037
1022
  </state>
1038
1023
  </provider>
1039
1024
  </entry>
1040
- <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
1025
+ <entry file="file://$PROJECT_DIR$/spec/script_locator_spec.rb">
1041
1026
  <provider selected="true" editor-type-id="text-editor">
1042
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="136">
1043
- <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
1027
+ <state vertical-scroll-proportion="0.0" vertical-offset="463" max-vertical-offset="1241">
1028
+ <caret line="39" column="31" selection-start-line="39" selection-start-column="28" selection-end-line="39" selection-end-column="31" />
1044
1029
  <folding />
1045
1030
  </state>
1046
1031
  </provider>
1047
1032
  </entry>
1048
- <entry file="file://$PROJECT_DIR$/CHANGES">
1033
+ <entry file="file://$PROJECT_DIR$/spec/executable_spec.rb">
1049
1034
  <provider selected="true" editor-type-id="text-editor">
1050
- <state vertical-scroll-proportion="0.0" vertical-offset="747" max-vertical-offset="1292">
1051
- <caret line="68" column="16" selection-start-line="68" selection-start-column="16" selection-end-line="68" selection-end-column="16" />
1035
+ <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="2193">
1036
+ <caret line="76" column="0" selection-start-line="76" selection-start-column="0" selection-end-line="76" selection-end-column="0" />
1052
1037
  <folding />
1053
1038
  </state>
1054
1039
  </provider>
1055
1040
  </entry>
1056
- <entry file="file://$PROJECT_DIR$/spec/test.conf">
1041
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/script_locator.rb">
1057
1042
  <provider selected="true" editor-type-id="text-editor">
1058
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="482">
1059
- <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
1043
+ <state vertical-scroll-proportion="0.3245033" vertical-offset="571" max-vertical-offset="1326">
1044
+ <caret line="48" column="16" selection-start-line="48" selection-start-column="16" selection-end-line="48" selection-end-column="16" />
1045
+ <folding />
1046
+ </state>
1047
+ </provider>
1048
+ </entry>
1049
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/remote_command.rb">
1050
+ <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 />
1054
+ </state>
1055
+ </provider>
1056
+ </entry>
1057
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/local_command.rb">
1058
+ <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" />
1060
1061
  <folding />
1061
1062
  </state>
1062
1063
  </provider>
1063
1064
  </entry>
1064
1065
  <entry file="file://$PROJECT_DIR$/lib/script_executor/executable.rb">
1065
1066
  <provider selected="true" editor-type-id="text-editor">
1066
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1309">
1067
+ <state vertical-scroll-proportion="0.0" vertical-offset="702" max-vertical-offset="1155">
1067
1068
  <caret line="5" column="30" selection-start-line="5" selection-start-column="30" selection-end-line="5" selection-end-column="30" />
1068
1069
  <folding />
1069
1070
  </state>
1070
1071
  </provider>
1071
1072
  </entry>
1072
- <entry file="file://$PROJECT_DIR$/Gemfile">
1073
+ <entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
1073
1074
  <provider selected="true" editor-type-id="text-editor">
1074
- <state vertical-scroll-proportion="0.0" vertical-offset="1" max-vertical-offset="510">
1075
- <caret line="18" column="0" selection-start-line="18" selection-start-column="0" selection-end-line="22" selection-end-column="0" />
1075
+ <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" />
1076
1077
  <folding />
1077
1078
  </state>
1078
1079
  </provider>
1079
1080
  </entry>
1080
- <entry file="file://$PROJECT_DIR$/spec/script_locator_spec.rb">
1081
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/script_executor.rb">
1081
1082
  <provider selected="true" editor-type-id="text-editor">
1082
- <state vertical-scroll-proportion="0.0" vertical-offset="596" max-vertical-offset="1071">
1083
- <caret line="41" column="0" selection-start-line="41" selection-start-column="0" selection-end-line="41" selection-end-column="0" />
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" />
1084
1085
  <folding />
1085
1086
  </state>
1086
1087
  </provider>
1087
1088
  </entry>
1088
- <entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
1089
+ <entry file="file://$PROJECT_DIR$/Gemfile">
1089
1090
  <provider selected="true" editor-type-id="text-editor">
1090
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="102">
1091
- <caret line="0" column="56" selection-start-line="0" selection-start-column="56" selection-end-line="0" selection-end-column="56" />
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" />
1092
1093
  <folding />
1093
1094
  </state>
1094
1095
  </provider>
1095
1096
  </entry>
1096
- <entry file="file://$PROJECT_DIR$/lib/script_executor/local_command.rb">
1097
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/base_provision.rb">
1097
1098
  <provider selected="true" editor-type-id="text-editor">
1098
- <state vertical-scroll-proportion="-7.1923075" vertical-offset="0" max-vertical-offset="1649">
1099
- <caret line="11" column="0" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="0" />
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" />
1100
1101
  <folding />
1101
1102
  </state>
1102
1103
  </provider>
1103
1104
  </entry>
1104
- <entry file="file://$PROJECT_DIR$/spec/executable_spec.rb">
1105
+ <entry file="file://$PROJECT_DIR$/CHANGES">
1105
1106
  <provider selected="true" editor-type-id="text-editor">
1106
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="2193">
1107
- <caret line="76" column="0" selection-start-line="76" selection-start-column="0" selection-end-line="76" selection-end-column="0" />
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" />
1108
1109
  <folding />
1109
1110
  </state>
1110
1111
  </provider>
1111
1112
  </entry>
1112
- <entry file="file://$PROJECT_DIR$/lib/script_executor/remote_command.rb">
1113
+ <entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
1113
1114
  <provider selected="true" editor-type-id="text-editor">
1114
- <state vertical-scroll-proportion="0.14718615" vertical-offset="0" max-vertical-offset="2006">
1115
- <caret line="4" column="19" selection-start-line="4" selection-start-column="19" selection-end-line="4" selection-end-column="19" />
1115
+ <state vertical-scroll-proportion="0.035639413" vertical-offset="0" max-vertical-offset="477">
1116
+ <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
1116
1117
  <folding />
1117
1118
  </state>
1118
1119
  </provider>
data/CHANGES CHANGED
@@ -68,4 +68,8 @@
68
68
 
69
69
  == Version 1.4.2
70
70
 
71
- * Bug fix.
71
+ * Bug fix.
72
+
73
+ == Version 1.5.0
74
+
75
+ * Adding BaseProvision class to group convenient methods to build the provision.
data/Gemfile CHANGED
@@ -4,6 +4,7 @@ group :default do
4
4
  gem "highline", "~>1.6"
5
5
  gem "net-ssh", "~>2.8"
6
6
  gem "text-interpolator", "~>1.0"
7
+ gem "json_pure", "~>1.8"
7
8
  end
8
9
 
9
10
  group :development do
data/Gemfile.lock CHANGED
@@ -8,6 +8,7 @@ GEM
8
8
  bundler
9
9
  file_utils
10
10
  highline (1.6.15)
11
+ json_pure (1.8.1)
11
12
  metaclass (0.0.1)
12
13
  mocha (0.13.1)
13
14
  metaclass (~> 0.0.1)
@@ -29,6 +30,7 @@ DEPENDENCIES
29
30
  gemcutter (~> 0.7)
30
31
  gemspec_deps_gen (~> 1.1)
31
32
  highline (~> 1.6)
33
+ json_pure (~> 1.8)
32
34
  mocha
33
35
  net-ssh (~> 2.8)
34
36
  rspec
@@ -0,0 +1,79 @@
1
+ require 'json'
2
+ require "highline"
3
+
4
+ require 'text_interpolator'
5
+ require 'script_executor/executable'
6
+ require 'script_executor/script_locator'
7
+
8
+ class BaseProvision
9
+ include Executable, ScriptLocator
10
+
11
+ attr_reader :interpolator, :env, :script_list, :server_info
12
+
13
+ def initialize parent_class, config_file_name, scripts_file_names
14
+ @interpolator = TextInterpolator.new
15
+
16
+ @env = read_config(config_file_name)
17
+
18
+ @script_list = {}
19
+
20
+ scripts_file_names.each do |name|
21
+ @script_list.merge!(scripts(name))
22
+ end
23
+
24
+ create_script_methods
25
+
26
+ create_thor_methods(parent_class) if parent_class.ancestors.include?(Thor)
27
+
28
+ @server_info = env[:node] ? env[:node] : {}
29
+ end
30
+
31
+ protected
32
+
33
+ def create_script_methods
34
+ script_list.keys.each do |name|
35
+ singleton_class.send(:define_method, name.to_sym) do
36
+ self.send :run, server_info, name.to_s, env
37
+ end
38
+ end
39
+ end
40
+
41
+ def create_thor_methods parent_class
42
+ provision = self
43
+
44
+ provision.script_list.each do |name, value|
45
+ title = provision.script_title(value)
46
+
47
+ title = title.nil? ? name : title
48
+
49
+ parent_class.send(:desc, name, title) if parent_class.respond_to?(:desc)
50
+
51
+ parent_class.send(:define_method, name.to_sym) do
52
+ provision.send "#{name}".to_sym
53
+ end
54
+ end
55
+ end
56
+
57
+ def read_config config_file_name
58
+ hash = JSON.parse(File.read(config_file_name), :symbolize_names => true)
59
+
60
+ interpolator.interpolate hash
61
+ end
62
+
63
+ def terminal
64
+ @terminal ||= HighLine.new
65
+ end
66
+
67
+ def ask_password message
68
+ terminal.ask(message) { |q| q.echo = "*" }
69
+ end
70
+
71
+ def run server_info, script_name, params
72
+ execute(server_info) { evaluate_script_body(script_list[script_name], params, :string) }
73
+ end
74
+
75
+ def run_command server_info, command
76
+ execute(server_info.merge({script: command}))
77
+ end
78
+
79
+ end
@@ -1,3 +1,3 @@
1
1
  class ScriptExecutor
2
- VERSION = "1.4.2"
2
+ VERSION = "1.5.0"
3
3
  end
@@ -20,6 +20,7 @@ Gem::Specification.new do |spec|
20
20
  spec.add_runtime_dependency "highline", ["~> 1.6"]
21
21
  spec.add_runtime_dependency "net-ssh", ["~> 2.8"]
22
22
  spec.add_runtime_dependency "text-interpolator", ["~> 1.0"]
23
+ spec.add_runtime_dependency "json_pure", ["~> 1.8"]
23
24
  spec.add_development_dependency "gemspec_deps_gen", ["~> 1.1"]
24
25
  spec.add_development_dependency "gemcutter", ["~> 0.7"]
25
26
 
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.4.2
4
+ version: 1.5.0
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-06-09 00:00:00.000000000 Z
11
+ date: 2014-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: json_pure
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.8'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '1.8'
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: gemspec_deps_gen
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -107,6 +121,7 @@ files:
107
121
  - Rakefile
108
122
  - lib/executable.rb
109
123
  - lib/script_executor.rb
124
+ - lib/script_executor/base_provision.rb
110
125
  - lib/script_executor/executable.rb
111
126
  - lib/script_executor/local_command.rb
112
127
  - lib/script_executor/output_buffer.rb