script_executor 1.3.7 → 1.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.idea/workspace.xml +96 -119
- data/CHANGES +5 -1
- data/Gemfile +5 -5
- data/Gemfile.lock +9 -8
- data/Rakefile +12 -10
- data/lib/script_executor/script_locator.rb +2 -2
- data/lib/script_executor/version.rb +1 -1
- data/script_executor.gemspec +7 -5
- data/script_executor.gemspec.erb +2 -1
- metadata +24 -23
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTMwNmQyZDg5NzNmNDZhOTU3NTI2N2RhODYyYWQwZTk5YjA0ODFjMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDQ2ZDZjOThmMTg1YmJiN2QyYTg4Njg3MGJkNzBhYTNhNDVjYzA4Yg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OGJiMjc3OGVhNGEyZWJhNTNiNzgyNWYwMTM1NTE3NmQzYmQ5NWVhYzE1MTY4
|
10
|
+
YWUwYjg1MGRiZmVjNzI2OTM5YTc3YzA2NGY1MTYwZWQ1MWY3MzZiN2Q1MTBl
|
11
|
+
NWVlZDQwN2NlMDA3ZDdkMmI4M2FmYjAzNWY2NmRhYTI4Y2EzOTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGI1MWIxMzIwYjVlODM1MTM5NjEyMGI4NTllZWJjOWEwZDAwMzE2MDkxZTcx
|
14
|
+
YzkxMGU5M2Y2ODk5NTVmMmU1YjIyNDQzYjFiMjBjZTBlZGNjZDhiYWRlNGE3
|
15
|
+
YjJiODQwNDI5YjI1MDRiZTA5ZGZiZGNhMTg3MWM4NzI1ZTI5MjY=
|
data/.idea/workspace.xml
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<project version="4">
|
3
3
|
<component name="ChangeListManager">
|
4
|
-
<list default="true" id="6995392e-f204-4557-be32-fd20f300d877" name="Default" comment=""
|
4
|
+
<list default="true" id="6995392e-f204-4557-be32-fd20f300d877" name="Default" comment="">
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile.lock" afterPath="$PROJECT_DIR$/Gemfile.lock" />
|
6
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile" afterPath="$PROJECT_DIR$/Gemfile" />
|
7
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Rakefile" afterPath="$PROJECT_DIR$/Rakefile" />
|
8
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/script_executor.gemspec.erb" afterPath="$PROJECT_DIR$/script_executor.gemspec.erb" />
|
9
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/script_executor.gemspec" afterPath="$PROJECT_DIR$/script_executor.gemspec" />
|
10
|
+
</list>
|
5
11
|
<ignored path="script_executor.iws" />
|
6
12
|
<ignored path=".idea/workspace.xml" />
|
7
13
|
<option name="TRACKING_ENABLED" value="true" />
|
@@ -42,8 +48,8 @@
|
|
42
48
|
<file leaf-file-name="script_locator.rb" pinned="false" current="false" current-in-tab="false">
|
43
49
|
<entry file="file://$PROJECT_DIR$/lib/script_executor/script_locator.rb">
|
44
50
|
<provider selected="true" editor-type-id="text-editor">
|
45
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="
|
46
|
-
<caret line="
|
51
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1050">
|
52
|
+
<caret line="5" column="18" selection-start-line="0" selection-start-column="0" selection-end-line="64" selection-end-column="3" />
|
47
53
|
<folding />
|
48
54
|
</state>
|
49
55
|
</provider>
|
@@ -59,43 +65,51 @@
|
|
59
65
|
</provider>
|
60
66
|
</entry>
|
61
67
|
</file>
|
62
|
-
<file leaf-file-name="CHANGES" pinned="false" current="
|
68
|
+
<file leaf-file-name="CHANGES" pinned="false" current="false" current-in-tab="false">
|
63
69
|
<entry file="file://$PROJECT_DIR$/CHANGES">
|
64
70
|
<provider selected="true" editor-type-id="text-editor">
|
65
|
-
<state vertical-scroll-proportion="0.
|
66
|
-
<caret line="
|
71
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="485" max-vertical-offset="960">
|
72
|
+
<caret line="42" column="23" selection-start-line="42" selection-start-column="23" selection-end-line="42" selection-end-column="23" />
|
67
73
|
<folding />
|
68
74
|
</state>
|
69
75
|
</provider>
|
70
76
|
</entry>
|
71
77
|
</file>
|
72
|
-
<file leaf-file-name="
|
73
|
-
<entry file="file://$
|
78
|
+
<file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
|
79
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
74
80
|
<provider selected="true" editor-type-id="text-editor">
|
75
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="
|
81
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="90" max-vertical-offset="675">
|
76
82
|
<caret line="16" column="0" selection-start-line="16" selection-start-column="0" selection-end-line="16" selection-end-column="0" />
|
77
83
|
<folding />
|
78
84
|
</state>
|
79
85
|
</provider>
|
80
86
|
</entry>
|
81
87
|
</file>
|
82
|
-
<file leaf-file-name="
|
83
|
-
<entry file="file://$PROJECT_DIR$/
|
88
|
+
<file leaf-file-name="Gemfile" pinned="false" current="true" current-in-tab="true">
|
89
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
90
|
+
<provider selected="true" editor-type-id="text-editor">
|
91
|
+
<state vertical-scroll-proportion="0.31578946" vertical-offset="0" max-vertical-offset="475">
|
92
|
+
<caret line="10" column="26" selection-start-line="10" selection-start-column="26" selection-end-line="10" selection-end-column="26" />
|
93
|
+
<folding />
|
94
|
+
</state>
|
95
|
+
</provider>
|
96
|
+
</entry>
|
97
|
+
</file>
|
98
|
+
<file leaf-file-name="script_executor.gemspec.erb" pinned="false" current="false" current-in-tab="false">
|
99
|
+
<entry file="file://$PROJECT_DIR$/script_executor.gemspec.erb">
|
84
100
|
<provider selected="true" editor-type-id="text-editor">
|
85
|
-
<state vertical-scroll-proportion="
|
86
|
-
<caret line="
|
87
|
-
<folding
|
88
|
-
<element signature="e#1205#1265#0" expanded="true" />
|
89
|
-
</folding>
|
101
|
+
<state vertical-scroll-proportion="-3.125" vertical-offset="0" max-vertical-offset="405">
|
102
|
+
<caret line="5" column="33" selection-start-line="5" selection-start-column="33" selection-end-line="5" selection-end-column="33" />
|
103
|
+
<folding />
|
90
104
|
</state>
|
91
105
|
</provider>
|
92
106
|
</entry>
|
93
107
|
</file>
|
94
|
-
<file leaf-file-name="
|
95
|
-
<entry file="file://$PROJECT_DIR$/spec/
|
108
|
+
<file leaf-file-name="script_locator_spec.rb" pinned="false" current="false" current-in-tab="false">
|
109
|
+
<entry file="file://$PROJECT_DIR$/spec/script_locator_spec.rb">
|
96
110
|
<provider selected="true" editor-type-id="text-editor">
|
97
|
-
<state vertical-scroll-proportion="
|
98
|
-
<caret line="
|
111
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="287" max-vertical-offset="1065">
|
112
|
+
<caret line="60" column="0" selection-start-line="60" selection-start-column="0" selection-end-line="60" selection-end-column="0" />
|
99
113
|
<folding />
|
100
114
|
</state>
|
101
115
|
</provider>
|
@@ -135,21 +149,23 @@
|
|
135
149
|
<option value="$PROJECT_DIR$/lib/script_executor/executable.rb" />
|
136
150
|
<option value="$PROJECT_DIR$/lib/script_executor/remote_command.rb" />
|
137
151
|
<option value="$PROJECT_DIR$/spec/executable_spec.rb" />
|
138
|
-
<option value="$PROJECT_DIR$/lib/script_executor/version.rb" />
|
139
|
-
<option value="$PROJECT_DIR$/Gemfile" />
|
140
152
|
<option value="$PROJECT_DIR$/spec/test.conf" />
|
141
|
-
<option value="$PROJECT_DIR$/lib/script_executor/script_locator.rb" />
|
142
153
|
<option value="$USER_HOME$/.rvm/gems/ruby-1.9.3-p545@script_executor/gems/text-interpolator-1.0.0/lib/text_interpolator/text_interpolator.rb" />
|
143
154
|
<option value="$PROJECT_DIR$/spec/script_locator_spec.rb" />
|
155
|
+
<option value="$PROJECT_DIR$/lib/script_executor/script_locator.rb" />
|
156
|
+
<option value="$PROJECT_DIR$/lib/script_executor/version.rb" />
|
144
157
|
<option value="$PROJECT_DIR$/CHANGES" />
|
158
|
+
<option value="$PROJECT_DIR$/Rakefile" />
|
159
|
+
<option value="$PROJECT_DIR$/script_executor.gemspec.erb" />
|
160
|
+
<option value="$PROJECT_DIR$/Gemfile" />
|
145
161
|
</list>
|
146
162
|
</option>
|
147
163
|
</component>
|
148
164
|
<component name="ProjectFrameBounds">
|
149
165
|
<option name="x" value="48" />
|
150
166
|
<option name="y" value="22" />
|
151
|
-
<option name="width" value="
|
152
|
-
<option name="height" value="
|
167
|
+
<option name="width" value="1396" />
|
168
|
+
<option name="height" value="878" />
|
153
169
|
</component>
|
154
170
|
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
155
171
|
<OptionsSetting value="true" id="Add" />
|
@@ -180,46 +196,6 @@
|
|
180
196
|
<pane id="Scope" />
|
181
197
|
<pane id="ProjectPane">
|
182
198
|
<subPane>
|
183
|
-
<PATH>
|
184
|
-
<PATH_ELEMENT>
|
185
|
-
<option name="myItemId" value="script_executor" />
|
186
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
187
|
-
</PATH_ELEMENT>
|
188
|
-
<PATH_ELEMENT>
|
189
|
-
<option name="myItemId" value="External Libraries" />
|
190
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
|
191
|
-
</PATH_ELEMENT>
|
192
|
-
<PATH_ELEMENT>
|
193
|
-
<option name="myItemId" value="text-interpolator (v1.0.0, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" />
|
194
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
|
195
|
-
</PATH_ELEMENT>
|
196
|
-
<PATH_ELEMENT>
|
197
|
-
<option name="myItemId" value="lib" />
|
198
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
199
|
-
</PATH_ELEMENT>
|
200
|
-
</PATH>
|
201
|
-
<PATH>
|
202
|
-
<PATH_ELEMENT>
|
203
|
-
<option name="myItemId" value="script_executor" />
|
204
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
205
|
-
</PATH_ELEMENT>
|
206
|
-
<PATH_ELEMENT>
|
207
|
-
<option name="myItemId" value="External Libraries" />
|
208
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ExternalLibrariesNode" />
|
209
|
-
</PATH_ELEMENT>
|
210
|
-
<PATH_ELEMENT>
|
211
|
-
<option name="myItemId" value="text-interpolator (v1.0.0, RVM: ruby-1.9.3-p545 [script_executor]) [gem]" />
|
212
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.NamedLibraryElementNode" />
|
213
|
-
</PATH_ELEMENT>
|
214
|
-
<PATH_ELEMENT>
|
215
|
-
<option name="myItemId" value="lib" />
|
216
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
217
|
-
</PATH_ELEMENT>
|
218
|
-
<PATH_ELEMENT>
|
219
|
-
<option name="myItemId" value="text_interpolator" />
|
220
|
-
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
221
|
-
</PATH_ELEMENT>
|
222
|
-
</PATH>
|
223
199
|
<PATH>
|
224
200
|
<PATH_ELEMENT>
|
225
201
|
<option name="myItemId" value="script_executor" />
|
@@ -616,9 +592,9 @@
|
|
616
592
|
</list>
|
617
593
|
<recent_temporary>
|
618
594
|
<list size="5">
|
619
|
-
<item index="0" class="java.lang.String" itemvalue="RSpec.
|
620
|
-
<item index="1" class="java.lang.String" itemvalue="RSpec.MyExecutable
|
621
|
-
<item index="2" class="java.lang.String" itemvalue="RSpec.
|
595
|
+
<item index="0" class="java.lang.String" itemvalue="RSpec.MyExecutable local execution should execute commands locally from :script parameter: script_executor" />
|
596
|
+
<item index="1" class="java.lang.String" itemvalue="RSpec.MyExecutable remote execution should execute commands from :script parameter" />
|
597
|
+
<item index="2" class="java.lang.String" itemvalue="RSpec.executable_spec" />
|
622
598
|
<item index="3" class="java.lang.String" itemvalue="RSpec.script_locator_spec" />
|
623
599
|
<item index="4" class="java.lang.String" itemvalue="RSpec.ScriptExecutor should execute commands locally from the block of code as sudo" />
|
624
600
|
</list>
|
@@ -647,15 +623,19 @@
|
|
647
623
|
<created>1398722117085</created>
|
648
624
|
<updated>1398722117085</updated>
|
649
625
|
</task>
|
650
|
-
<
|
626
|
+
<task id="LOCAL-00005" summary="* Allow '-' and '_' symbols in script name.">
|
627
|
+
<created>1398787935685</created>
|
628
|
+
<updated>1398787935685</updated>
|
629
|
+
</task>
|
630
|
+
<option name="localTasksCounter" value="6" />
|
651
631
|
<servers />
|
652
632
|
</component>
|
653
633
|
<component name="ToolWindowManager">
|
654
|
-
<frame x="48" y="22" width="
|
655
|
-
<editor active="
|
634
|
+
<frame x="48" y="22" width="1396" height="878" extended-state="0" />
|
635
|
+
<editor active="true" />
|
656
636
|
<layout>
|
657
637
|
<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" />
|
658
|
-
<window_info id="Changes" active="
|
638
|
+
<window_info id="Changes" active="false" 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" />
|
659
639
|
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
|
660
640
|
<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" />
|
661
641
|
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3979798" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
@@ -665,7 +645,7 @@
|
|
665
645
|
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32925683" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
666
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" />
|
667
647
|
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
|
668
|
-
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.
|
648
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.20162481" sideWeight="0.64040405" order="0" side_tool="false" content_ui="combo" />
|
669
649
|
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3226152" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
670
650
|
<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" />
|
671
651
|
<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" />
|
@@ -722,7 +702,8 @@
|
|
722
702
|
<MESSAGE value="internal refactoring " />
|
723
703
|
<MESSAGE value="adding port as parameter" />
|
724
704
|
<MESSAGE value="Using text-interpolator as an additional engine." />
|
725
|
-
<
|
705
|
+
<MESSAGE value="* Allow '-' and '_' symbols in script name." />
|
706
|
+
<option name="LAST_COMMIT_MESSAGE" value="* Allow '-' and '_' symbols in script name." />
|
726
707
|
</component>
|
727
708
|
<component name="XDebuggerManager">
|
728
709
|
<breakpoint-manager>
|
@@ -740,6 +721,22 @@
|
|
740
721
|
</breakpoint-manager>
|
741
722
|
</component>
|
742
723
|
<component name="editorHistoryManager">
|
724
|
+
<entry file="file://$PROJECT_DIR$/CHANGES">
|
725
|
+
<provider selected="true" editor-type-id="text-editor">
|
726
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="750" max-vertical-offset="840">
|
727
|
+
<caret line="50" column="2" selection-start-line="50" selection-start-column="2" selection-end-line="50" selection-end-column="2" />
|
728
|
+
<folding />
|
729
|
+
</state>
|
730
|
+
</provider>
|
731
|
+
</entry>
|
732
|
+
<entry file="file://$PROJECT_DIR$/spec/script_locator_spec.rb">
|
733
|
+
<provider selected="true" editor-type-id="text-editor">
|
734
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="495" max-vertical-offset="660">
|
735
|
+
<caret line="33" column="0" selection-start-line="33" selection-start-column="0" selection-end-line="33" selection-end-column="0" />
|
736
|
+
<folding />
|
737
|
+
</state>
|
738
|
+
</provider>
|
739
|
+
</entry>
|
743
740
|
<entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
|
744
741
|
<provider selected="true" editor-type-id="text-editor">
|
745
742
|
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120">
|
@@ -959,20 +956,6 @@
|
|
959
956
|
</state>
|
960
957
|
</provider>
|
961
958
|
</entry>
|
962
|
-
<entry file="file://$PROJECT_DIR$/Rakefile">
|
963
|
-
<provider selected="true" editor-type-id="text-editor">
|
964
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0">
|
965
|
-
<caret line="11" column="67" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
966
|
-
</state>
|
967
|
-
</provider>
|
968
|
-
</entry>
|
969
|
-
<entry file="file://$PROJECT_DIR$/script_executor.gemspec.erb">
|
970
|
-
<provider selected="true" editor-type-id="text-editor">
|
971
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="224" max-vertical-offset="416">
|
972
|
-
<caret line="14" column="56" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
973
|
-
</state>
|
974
|
-
</provider>
|
975
|
-
</entry>
|
976
959
|
<entry file="file://$PROJECT_DIR$/lib/script_executor.rb">
|
977
960
|
<provider selected="true" editor-type-id="text-editor">
|
978
961
|
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="90">
|
@@ -1020,7 +1003,6 @@
|
|
1020
1003
|
<provider selected="true" editor-type-id="text-editor">
|
1021
1004
|
<state vertical-scroll-proportion="0.0" vertical-offset="610" max-vertical-offset="1515">
|
1022
1005
|
<caret line="34" column="40" selection-start-line="34" selection-start-column="40" selection-end-line="34" selection-end-column="40" />
|
1023
|
-
<folding />
|
1024
1006
|
</state>
|
1025
1007
|
</provider>
|
1026
1008
|
</entry>
|
@@ -1031,7 +1013,6 @@
|
|
1031
1013
|
<provider selected="true" editor-type-id="text-editor">
|
1032
1014
|
<state vertical-scroll-proportion="-13.925926" vertical-offset="1019" max-vertical-offset="1935">
|
1033
1015
|
<caret line="93" column="24" selection-start-line="93" selection-start-column="24" selection-end-line="93" selection-end-column="24" />
|
1034
|
-
<folding />
|
1035
1016
|
</state>
|
1036
1017
|
</provider>
|
1037
1018
|
</entry>
|
@@ -1039,7 +1020,6 @@
|
|
1039
1020
|
<provider selected="true" editor-type-id="text-editor">
|
1040
1021
|
<state vertical-scroll-proportion="-0.0" vertical-offset="0" max-vertical-offset="90">
|
1041
1022
|
<caret line="0" column="42" selection-start-line="0" selection-start-column="42" selection-end-line="0" selection-end-column="42" />
|
1042
|
-
<folding />
|
1043
1023
|
</state>
|
1044
1024
|
</provider>
|
1045
1025
|
</entry>
|
@@ -1047,72 +1027,69 @@
|
|
1047
1027
|
<provider selected="true" editor-type-id="text-editor">
|
1048
1028
|
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="604">
|
1049
1029
|
<caret line="0" column="40" selection-start-line="0" selection-start-column="40" selection-end-line="0" selection-end-column="40" />
|
1050
|
-
<folding />
|
1051
1030
|
</state>
|
1052
1031
|
</provider>
|
1053
1032
|
</entry>
|
1054
|
-
<entry file="file://$PROJECT_DIR$/
|
1033
|
+
<entry file="file://$PROJECT_DIR$/spec/executable_spec.rb">
|
1055
1034
|
<provider selected="true" editor-type-id="text-editor">
|
1056
|
-
<state vertical-scroll-proportion="0.
|
1057
|
-
<caret line="
|
1035
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1755">
|
1036
|
+
<caret line="13" column="42" selection-start-line="13" selection-start-column="42" selection-end-line="13" selection-end-column="42" />
|
1058
1037
|
<folding />
|
1059
1038
|
</state>
|
1060
1039
|
</provider>
|
1061
1040
|
</entry>
|
1062
|
-
<entry file="file://$PROJECT_DIR$/spec/
|
1041
|
+
<entry file="file://$PROJECT_DIR$/spec/script_locator_spec.rb">
|
1063
1042
|
<provider selected="true" editor-type-id="text-editor">
|
1064
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="
|
1065
|
-
<caret line="
|
1043
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="287" max-vertical-offset="1065">
|
1044
|
+
<caret line="60" column="0" selection-start-line="60" selection-start-column="0" selection-end-line="60" selection-end-column="0" />
|
1066
1045
|
<folding />
|
1067
1046
|
</state>
|
1068
1047
|
</provider>
|
1069
1048
|
</entry>
|
1070
|
-
<entry file="file://$PROJECT_DIR$/
|
1049
|
+
<entry file="file://$PROJECT_DIR$/lib/script_executor/script_locator.rb">
|
1071
1050
|
<provider selected="true" editor-type-id="text-editor">
|
1072
|
-
<state vertical-scroll-proportion="
|
1073
|
-
<caret line="
|
1051
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1050">
|
1052
|
+
<caret line="5" column="18" selection-start-line="0" selection-start-column="0" selection-end-line="64" selection-end-column="3" />
|
1074
1053
|
<folding />
|
1075
1054
|
</state>
|
1076
1055
|
</provider>
|
1077
1056
|
</entry>
|
1078
|
-
<entry file="file://$
|
1057
|
+
<entry file="file://$PROJECT_DIR$/lib/script_executor/version.rb">
|
1079
1058
|
<provider selected="true" editor-type-id="text-editor">
|
1080
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="
|
1081
|
-
<caret line="
|
1059
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="120">
|
1060
|
+
<caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
1082
1061
|
<folding />
|
1083
1062
|
</state>
|
1084
1063
|
</provider>
|
1085
1064
|
</entry>
|
1086
|
-
<entry file="file://$PROJECT_DIR$/
|
1065
|
+
<entry file="file://$PROJECT_DIR$/CHANGES">
|
1087
1066
|
<provider selected="true" editor-type-id="text-editor">
|
1088
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="
|
1089
|
-
<caret line="
|
1067
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="485" max-vertical-offset="960">
|
1068
|
+
<caret line="42" column="23" selection-start-line="42" selection-start-column="23" selection-end-line="42" selection-end-column="23" />
|
1090
1069
|
<folding />
|
1091
1070
|
</state>
|
1092
1071
|
</provider>
|
1093
1072
|
</entry>
|
1094
|
-
<entry file="file://$PROJECT_DIR$/
|
1073
|
+
<entry file="file://$PROJECT_DIR$/script_executor.gemspec.erb">
|
1095
1074
|
<provider selected="true" editor-type-id="text-editor">
|
1096
|
-
<state vertical-scroll-proportion="
|
1097
|
-
<caret line="
|
1098
|
-
<folding
|
1099
|
-
<element signature="e#1205#1265#0" expanded="true" />
|
1100
|
-
</folding>
|
1075
|
+
<state vertical-scroll-proportion="-3.125" vertical-offset="0" max-vertical-offset="405">
|
1076
|
+
<caret line="5" column="33" selection-start-line="5" selection-start-column="33" selection-end-line="5" selection-end-column="33" />
|
1077
|
+
<folding />
|
1101
1078
|
</state>
|
1102
1079
|
</provider>
|
1103
1080
|
</entry>
|
1104
|
-
<entry file="file://$PROJECT_DIR$/
|
1081
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
1105
1082
|
<provider selected="true" editor-type-id="text-editor">
|
1106
|
-
<state vertical-scroll-proportion="0.0" vertical-offset="
|
1107
|
-
<caret line="
|
1083
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="90" max-vertical-offset="675">
|
1084
|
+
<caret line="16" column="0" selection-start-line="16" selection-start-column="0" selection-end-line="16" selection-end-column="0" />
|
1108
1085
|
<folding />
|
1109
1086
|
</state>
|
1110
1087
|
</provider>
|
1111
1088
|
</entry>
|
1112
|
-
<entry file="file://$PROJECT_DIR$/
|
1089
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
1113
1090
|
<provider selected="true" editor-type-id="text-editor">
|
1114
|
-
<state vertical-scroll-proportion="0.
|
1115
|
-
<caret line="
|
1091
|
+
<state vertical-scroll-proportion="0.31578946" vertical-offset="0" max-vertical-offset="475">
|
1092
|
+
<caret line="10" column="26" selection-start-line="10" selection-start-column="26" selection-end-line="10" selection-end-column="26" />
|
1116
1093
|
<folding />
|
1117
1094
|
</state>
|
1118
1095
|
</provider>
|
data/CHANGES
CHANGED
data/Gemfile
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
source "https://rubygems.org"
|
2
2
|
|
3
3
|
group :default do
|
4
|
-
gem "highline"
|
5
|
-
gem "net-ssh"
|
6
|
-
gem "text-interpolator"
|
4
|
+
gem "highline", "~>1.6"
|
5
|
+
gem "net-ssh", "~>2.8"
|
6
|
+
gem "text-interpolator", "~>1.0"
|
7
7
|
end
|
8
8
|
|
9
9
|
group :development do
|
10
|
-
gem "gemspec_deps_gen"
|
11
|
-
gem "gemcutter"
|
10
|
+
gem "gemspec_deps_gen", "~>1.1"
|
11
|
+
gem "gemcutter", "~>0.7"
|
12
12
|
end
|
13
13
|
|
14
14
|
group :test do
|
data/Gemfile.lock
CHANGED
@@ -3,15 +3,16 @@ GEM
|
|
3
3
|
specs:
|
4
4
|
debugger-ruby_core_source (1.2.2)
|
5
5
|
diff-lcs (1.1.3)
|
6
|
-
file_utils (1.0.
|
6
|
+
file_utils (1.0.7)
|
7
7
|
gemcutter (0.7.1)
|
8
|
-
gemspec_deps_gen (1.
|
8
|
+
gemspec_deps_gen (1.1.2)
|
9
|
+
bundler
|
9
10
|
file_utils
|
10
11
|
highline (1.6.15)
|
11
12
|
metaclass (0.0.1)
|
12
13
|
mocha (0.13.1)
|
13
14
|
metaclass (~> 0.0.1)
|
14
|
-
net-ssh (2.
|
15
|
+
net-ssh (2.8.0)
|
15
16
|
rake (10.0.4)
|
16
17
|
rspec (2.12.0)
|
17
18
|
rspec-core (~> 2.12.0)
|
@@ -32,12 +33,12 @@ PLATFORMS
|
|
32
33
|
ruby
|
33
34
|
|
34
35
|
DEPENDENCIES
|
35
|
-
gemcutter
|
36
|
-
gemspec_deps_gen
|
37
|
-
highline
|
36
|
+
gemcutter (~> 0.7)
|
37
|
+
gemspec_deps_gen (~> 1.1)
|
38
|
+
highline (~> 1.6)
|
38
39
|
mocha
|
39
|
-
net-ssh
|
40
|
+
net-ssh (~> 2.8)
|
40
41
|
rspec
|
41
42
|
ruby-debug-base19x (= 0.11.30.pre12)
|
42
43
|
ruby-debug-ide (= 0.4.17)
|
43
|
-
text-interpolator
|
44
|
+
text-interpolator (~> 1.0)
|
data/Rakefile
CHANGED
@@ -6,20 +6,16 @@ require "rspec/core/rake_task"
|
|
6
6
|
require "script_executor/version"
|
7
7
|
require "gemspec_deps_gen/gemspec_deps_gen"
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
end
|
12
|
-
|
13
|
-
def project_name
|
14
|
-
File.basename(Dir.pwd)
|
15
|
-
end
|
9
|
+
version = ScriptExecutor::VERSION
|
10
|
+
project_name = File.basename(Dir.pwd)
|
16
11
|
|
17
|
-
task :
|
18
|
-
system "rm #{project_name}.gemspec"
|
12
|
+
task :gen do
|
19
13
|
generator = GemspecDepsGen.new
|
20
14
|
|
21
|
-
generator.generate_dependencies "#{project_name}.gemspec.erb", "#{project_name}.gemspec"
|
15
|
+
generator.generate_dependencies "spec", "#{project_name}.gemspec.erb", "#{project_name}.gemspec"
|
16
|
+
end
|
22
17
|
|
18
|
+
task :build => :gen do
|
23
19
|
system "gem build #{project_name}.gemspec"
|
24
20
|
end
|
25
21
|
|
@@ -27,6 +23,10 @@ task :install do
|
|
27
23
|
system "gem install #{project_name}-#{version}.gem"
|
28
24
|
end
|
29
25
|
|
26
|
+
task :uninstall do
|
27
|
+
system "gem uninstall #{project_name}"
|
28
|
+
end
|
29
|
+
|
30
30
|
task :release => :build do
|
31
31
|
system "gem push #{project_name}-#{version}.gem"
|
32
32
|
end
|
@@ -35,3 +35,5 @@ RSpec::Core::RakeTask.new do |task|
|
|
35
35
|
task.pattern = 'spec/**/*_spec.rb'
|
36
36
|
task.verbose = false
|
37
37
|
end
|
38
|
+
|
39
|
+
|
@@ -45,8 +45,8 @@ module ScriptLocator
|
|
45
45
|
current_key = nil
|
46
46
|
|
47
47
|
stream.each_line do |line|
|
48
|
-
if line =~ /^(\s)*\[[\w\d\s]*\](\s)*$/
|
49
|
-
marker = line.strip.gsub(/\[[\w\d\s]*\]/).first
|
48
|
+
if line =~ /^(\s)*\[[\w\d\s\-\_]*\](\s)*$/
|
49
|
+
marker = line.strip.gsub(/\[[\w\d\s\-\_]*\]/).first
|
50
50
|
|
51
51
|
if !marker.nil? and marker.strip.length > 0
|
52
52
|
key = marker[1..marker.length-2]
|
data/script_executor.gemspec
CHANGED
@@ -14,12 +14,14 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
15
15
|
spec.require_paths = ["lib"]
|
16
16
|
spec.version = ScriptExecutor::VERSION
|
17
|
+
spec.license = "MIT"
|
17
18
|
|
18
|
-
spec.add_runtime_dependency "highline", [">= 0"]
|
19
|
-
spec.add_runtime_dependency "net-ssh", [">= 0"]
|
20
|
-
spec.add_runtime_dependency "text-interpolator", [">= 0"]
|
21
|
-
spec.add_development_dependency "gemspec_deps_gen", [">= 0"]
|
22
|
-
spec.add_development_dependency "gemcutter", [">= 0"]
|
23
19
|
|
20
|
+
spec.add_runtime_dependency "highline", ["~> 1.6"]
|
21
|
+
spec.add_runtime_dependency "net-ssh", ["~> 2.8"]
|
22
|
+
spec.add_runtime_dependency "text-interpolator", ["~> 1.0"]
|
23
|
+
spec.add_development_dependency "gemspec_deps_gen", ["~> 1.1"]
|
24
|
+
spec.add_development_dependency "gemcutter", ["~> 0.7"]
|
25
|
+
|
24
26
|
end
|
25
27
|
|
data/script_executor.gemspec.erb
CHANGED
@@ -14,7 +14,8 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
15
15
|
spec.require_paths = ["lib"]
|
16
16
|
spec.version = ScriptExecutor::VERSION
|
17
|
+
spec.license = "MIT"
|
17
18
|
|
18
|
-
<%=
|
19
|
+
<%= project_dependencies %>
|
19
20
|
end
|
20
21
|
|
metadata
CHANGED
@@ -1,85 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: script_executor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.8
|
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-04-
|
11
|
+
date: 2014-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: highline
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '1.6'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '1.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: net-ssh
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2.8'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2.8'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: text-interpolator
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
47
|
+
version: '1.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
54
|
+
version: '1.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: gemspec_deps_gen
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '1.1'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '1.1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: gemcutter
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
75
|
+
version: '0.7'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ~>
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
82
|
+
version: '0.7'
|
83
83
|
description: This library helps to execute code, locally or remote over ssh
|
84
84
|
email: alexander.shvets@gmail.com
|
85
85
|
executables: []
|
@@ -122,7 +122,8 @@ files:
|
|
122
122
|
- spec/spec_helper.rb
|
123
123
|
- spec/test.conf
|
124
124
|
homepage: http://github.com/shvets/script_executor
|
125
|
-
licenses:
|
125
|
+
licenses:
|
126
|
+
- MIT
|
126
127
|
metadata: {}
|
127
128
|
post_install_message:
|
128
129
|
rdoc_options: []
|