rem_com 0.0.1 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.idea/rem_com.iml +2 -0
- data/.idea/workspace.xml +482 -43
- data/Gemfile +2 -0
- data/README.md +30 -1
- data/lib/rem_com.rb +19 -18
- data/lib/rem_com/version.rb +1 -1
- data/rem_com.gemspec +2 -1
- metadata +50 -63
data/.idea/rem_com.iml
CHANGED
@@ -14,7 +14,9 @@
|
|
14
14
|
<orderEntry type="inheritedJdk" />
|
15
15
|
<orderEntry type="sourceFolder" forTests="false" />
|
16
16
|
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.3.5, ruby-1.9.3-p125) [gem]" level="application" />
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="net-ssh (v2.6.8, ruby-1.9.3-p125) [gem]" level="application" />
|
17
18
|
<orderEntry type="library" scope="PROVIDED" name="rake (v0.9.2.2, ruby-1.9.3-p125) [gem]" level="application" />
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="rem_com (v1.0.1, C:/Users/hammanocka/RubymineProjects/rem_com) [path][gem]" level="application" />
|
18
20
|
</component>
|
19
21
|
</module>
|
20
22
|
|
data/.idea/workspace.xml
CHANGED
@@ -2,29 +2,21 @@
|
|
2
2
|
<project version="4">
|
3
3
|
<component name="ChangeListManager">
|
4
4
|
<list default="true" id="221c378b-a8cd-4ae7-b084-2bf58e9e0b9b" name="Default" comment="">
|
5
|
-
<change type="
|
6
|
-
<change type="
|
7
|
-
<change type="
|
8
|
-
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Gemfile" />
|
9
|
-
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/LICENSE.txt" />
|
10
|
-
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/README.md" />
|
11
|
-
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Rakefile" />
|
12
|
-
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/encodings.xml" />
|
13
|
-
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
|
14
|
-
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/modules.xml" />
|
15
|
-
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/rem_com.gemspec" />
|
16
|
-
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/rem_com.rb" />
|
17
|
-
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/scopes/scope_settings.xml" />
|
18
|
-
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/vcs.xml" />
|
19
|
-
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/rem_com/version.rb" />
|
20
|
-
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/rem_com.rb" afterPath="$PROJECT_DIR$/lib/rem_com.rb" />
|
6
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/rem_com/version.rb" afterPath="$PROJECT_DIR$/lib/rem_com/version.rb" />
|
7
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
21
8
|
</list>
|
22
9
|
<ignored path="rem_com.iws" />
|
23
10
|
<ignored path=".idea/workspace.xml" />
|
24
11
|
<file path="$USER_HOME$/Documents/Aptana Studio 3 Workspace/rubyEssentials/remote.rb" changelist="221c378b-a8cd-4ae7-b084-2bf58e9e0b9b" time="1375731486736" ignored="false" />
|
25
|
-
<file path="/Dummy.txt" changelist="221c378b-a8cd-4ae7-b084-2bf58e9e0b9b" time="
|
26
|
-
<file path="/rem_com.rb" changelist="221c378b-a8cd-4ae7-b084-2bf58e9e0b9b" time="
|
27
|
-
<file path="/rem_com.gemspec" changelist="221c378b-a8cd-4ae7-b084-2bf58e9e0b9b" time="
|
12
|
+
<file path="/Dummy.txt" changelist="221c378b-a8cd-4ae7-b084-2bf58e9e0b9b" time="1375892418929" ignored="false" />
|
13
|
+
<file path="/rem_com.rb" changelist="221c378b-a8cd-4ae7-b084-2bf58e9e0b9b" time="1375892994873" ignored="false" />
|
14
|
+
<file path="/rem_com.gemspec" changelist="221c378b-a8cd-4ae7-b084-2bf58e9e0b9b" time="1375736692552" ignored="false" />
|
15
|
+
<file path="/Gemfile" changelist="221c378b-a8cd-4ae7-b084-2bf58e9e0b9b" time="1375733978988" ignored="false" />
|
16
|
+
<file path="/Ruby Console" changelist="221c378b-a8cd-4ae7-b084-2bf58e9e0b9b" time="1375734418622" ignored="false" />
|
17
|
+
<file path="/README.md" changelist="221c378b-a8cd-4ae7-b084-2bf58e9e0b9b" time="1375738121606" ignored="false" />
|
18
|
+
<file path="$PROJECT_DIR$/../port/port.rb" changelist="221c378b-a8cd-4ae7-b084-2bf58e9e0b9b" time="1375835354889" ignored="false" />
|
19
|
+
<file path="/port.rb" changelist="221c378b-a8cd-4ae7-b084-2bf58e9e0b9b" time="1375835211328" ignored="false" />
|
28
20
|
<option name="TRACKING_ENABLED" value="true" />
|
29
21
|
<option name="SHOW_DIALOG" value="false" />
|
30
22
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
@@ -44,19 +36,69 @@
|
|
44
36
|
</component>
|
45
37
|
<component name="FileEditorManager">
|
46
38
|
<leaf>
|
47
|
-
<file leaf-file-name="rem_com.rb" pinned="false" current="
|
39
|
+
<file leaf-file-name="rem_com.rb" pinned="false" current="true" current-in-tab="true">
|
48
40
|
<entry file="file://$PROJECT_DIR$/lib/rem_com.rb">
|
49
41
|
<provider selected="true" editor-type-id="text-editor">
|
50
|
-
<state line="
|
42
|
+
<state line="34" column="0" selection-start="1049" selection-end="1049" vertical-scroll-proportion="0.624498">
|
51
43
|
<folding />
|
52
44
|
</state>
|
53
45
|
</provider>
|
54
46
|
</entry>
|
55
47
|
</file>
|
56
|
-
<file leaf-file-name="rem_com.gemspec" pinned="false" current="
|
48
|
+
<file leaf-file-name="rem_com.gemspec" pinned="false" current="false" current-in-tab="false">
|
57
49
|
<entry file="file://$PROJECT_DIR$/rem_com.gemspec">
|
58
50
|
<provider selected="true" editor-type-id="text-editor">
|
59
|
-
<state line="
|
51
|
+
<state line="7" column="6" selection-start="214" selection-end="214" vertical-scroll-proportion="0.0">
|
52
|
+
<folding />
|
53
|
+
</state>
|
54
|
+
</provider>
|
55
|
+
</entry>
|
56
|
+
</file>
|
57
|
+
<file leaf-file-name="GemDependency/#rem_com" pinned="false" current="false" current-in-tab="false">
|
58
|
+
<entry file="uml://GemDependency/#rem_com">
|
59
|
+
<provider selected="true" editor-type-id="UmlEditorProvider">
|
60
|
+
<state>
|
61
|
+
<ID>GemDependency</ID>
|
62
|
+
<OriginalElement>#rem_com</OriginalElement>
|
63
|
+
<nodes>
|
64
|
+
<node x="90.0" y="0.0">net-ssh</node>
|
65
|
+
<node x="0.0" y="0.0">bundler</node>
|
66
|
+
<node x="180.0" y="0.0">rake</node>
|
67
|
+
<node x="90.5" y="156.0">#rem_com</node>
|
68
|
+
<node x="86.5" y="78.0">rem_com</node>
|
69
|
+
</nodes>
|
70
|
+
<notes />
|
71
|
+
<edges>
|
72
|
+
<edge source="#rem_com" target="net-ssh">
|
73
|
+
<point x="0.0" y="0.0" />
|
74
|
+
<point x="0.0" y="0.0" />
|
75
|
+
</edge>
|
76
|
+
<edge source="#rem_com" target="rake">
|
77
|
+
<point x="0.0" y="0.0" />
|
78
|
+
<point x="0.0" y="0.0" />
|
79
|
+
</edge>
|
80
|
+
<edge source="#rem_com" target="rem_com">
|
81
|
+
<point x="0.0" y="0.0" />
|
82
|
+
<point x="0.0" y="0.0" />
|
83
|
+
</edge>
|
84
|
+
<edge source="#rem_com" target="bundler">
|
85
|
+
<point x="0.0" y="0.0" />
|
86
|
+
<point x="0.0" y="0.0" />
|
87
|
+
</edge>
|
88
|
+
</edges>
|
89
|
+
<settings layout="Hierarchic Group" zoom="1.0" x="-201.0" y="-31.0" />
|
90
|
+
<SelectedNodes>
|
91
|
+
<node>net-ssh</node>
|
92
|
+
</SelectedNodes>
|
93
|
+
<Categories />
|
94
|
+
</state>
|
95
|
+
</provider>
|
96
|
+
</entry>
|
97
|
+
</file>
|
98
|
+
<file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
|
99
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
100
|
+
<provider selected="true" editor-type-id="text-editor">
|
101
|
+
<state line="5" column="25" selection-start="118" selection-end="118" vertical-scroll-proportion="0.0">
|
60
102
|
<folding />
|
61
103
|
</state>
|
62
104
|
</provider>
|
@@ -65,7 +107,7 @@
|
|
65
107
|
<file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
|
66
108
|
<entry file="file://$PROJECT_DIR$/lib/rem_com/version.rb">
|
67
109
|
<provider selected="true" editor-type-id="text-editor">
|
68
|
-
<state line="
|
110
|
+
<state line="1" column="18" selection-start="32" selection-end="32" vertical-scroll-proportion="0.0">
|
69
111
|
<folding />
|
70
112
|
</state>
|
71
113
|
</provider>
|
@@ -79,6 +121,12 @@
|
|
79
121
|
</FindUsagesManager>
|
80
122
|
</component>
|
81
123
|
<component name="Git.Settings">
|
124
|
+
<option name="PREVIOUS_COMMIT_AUTHORS">
|
125
|
+
<list>
|
126
|
+
<option value="jjam3774" />
|
127
|
+
<option value="Jeffrey James" />
|
128
|
+
</list>
|
129
|
+
</option>
|
82
130
|
<option name="SYNC_SETTING" value="DONT" />
|
83
131
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
84
132
|
</component>
|
@@ -90,8 +138,11 @@
|
|
90
138
|
<component name="IdeDocumentHistory">
|
91
139
|
<option name="changedFiles">
|
92
140
|
<list>
|
93
|
-
<option value="$PROJECT_DIR$/
|
141
|
+
<option value="$PROJECT_DIR$/Gemfile" />
|
94
142
|
<option value="$PROJECT_DIR$/rem_com.gemspec" />
|
143
|
+
<option value="$PROJECT_DIR$/README.md" />
|
144
|
+
<option value="$PROJECT_DIR$/lib/rem_com/version.rb" />
|
145
|
+
<option value="$PROJECT_DIR$/lib/rem_com.rb" />
|
95
146
|
</list>
|
96
147
|
</option>
|
97
148
|
</component>
|
@@ -101,6 +152,25 @@
|
|
101
152
|
<option name="width" value="1552" />
|
102
153
|
<option name="height" value="916" />
|
103
154
|
</component>
|
155
|
+
<component name="ProjectInspectionProfilesVisibleTreeState">
|
156
|
+
<entry key="Project Default">
|
157
|
+
<profile-state>
|
158
|
+
<expanded-state>
|
159
|
+
<State>
|
160
|
+
<id />
|
161
|
+
</State>
|
162
|
+
<State>
|
163
|
+
<id>Gems</id>
|
164
|
+
</State>
|
165
|
+
</expanded-state>
|
166
|
+
<selected-state>
|
167
|
+
<State>
|
168
|
+
<id>CoffeeScript</id>
|
169
|
+
</State>
|
170
|
+
</selected-state>
|
171
|
+
</profile-state>
|
172
|
+
</entry>
|
173
|
+
</component>
|
104
174
|
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
|
105
175
|
<OptionsSetting value="true" id="Add" />
|
106
176
|
<OptionsSetting value="true" id="Remove" />
|
@@ -127,7 +197,6 @@
|
|
127
197
|
<sortByType />
|
128
198
|
</navigator>
|
129
199
|
<panes>
|
130
|
-
<pane id="Scope" />
|
131
200
|
<pane id="ProjectPane">
|
132
201
|
<subPane>
|
133
202
|
<PATH>
|
@@ -180,17 +249,124 @@
|
|
180
249
|
</PATH>
|
181
250
|
</subPane>
|
182
251
|
</pane>
|
252
|
+
<pane id="Scope" />
|
183
253
|
</panes>
|
184
254
|
</component>
|
185
255
|
<component name="PropertiesComponent">
|
186
256
|
<property name="options.splitter.main.proportions" value="0.3" />
|
187
|
-
<property name="
|
257
|
+
<property name="WebServerToolWindowPanel.toolwindow.show.permissions" value="false" />
|
188
258
|
<property name="options.lastSelected" value="vcs.Git" />
|
259
|
+
<property name="recentsLimit" value="5" />
|
260
|
+
<property name="WebServerToolWindowPanel.toolwindow.show.size" value="false" />
|
189
261
|
<property name="last_opened_file_path" value="C:/Program Files (x86)/Git/bin/git.exe" />
|
190
|
-
<property name="
|
262
|
+
<property name="WebServerToolWindowPanel.toolwindow.highlight.mappings" value="true" />
|
263
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
264
|
+
<property name="WebServerToolWindowPanel.toolwindow.show.date" value="false" />
|
265
|
+
<property name="restartRequiresConfirmation" value="true" />
|
266
|
+
<property name="FullScreen" value="false" />
|
267
|
+
<property name="WebServerToolWindowPanel.toolwindow.highlight.symlinks" value="true" />
|
191
268
|
<property name="options.splitter.details.proportions" value="0.2" />
|
269
|
+
<property name="options.searchVisible" value="true" />
|
270
|
+
</component>
|
271
|
+
<component name="RecentsManager">
|
272
|
+
<key name="CopyFile.RECENT_KEYS">
|
273
|
+
<recent name="C:\Users\hammanocka\RubymineProjects\rem_com" />
|
274
|
+
</key>
|
192
275
|
</component>
|
193
|
-
<component name="RunManager">
|
276
|
+
<component name="RunManager" selected="RSpec.All specs in: rem_com">
|
277
|
+
<configuration default="false" name="IRB console" type="IrbRunConfigurationType" factoryName="IRB console" temporary="true">
|
278
|
+
<module name="rem_com" />
|
279
|
+
<IRB_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
280
|
+
<IRB_RUN_CONFIG NAME="WORK DIR" VALUE="$PROJECT_DIR$" />
|
281
|
+
<IRB_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
282
|
+
<IRB_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
283
|
+
<IRB_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
284
|
+
<envs />
|
285
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
286
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
287
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
|
288
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
289
|
+
<IRB_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="C:/Ruby193/bin/irb" />
|
290
|
+
<IRB_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="--prompt simple" />
|
291
|
+
<IRB_RUN_CONFIG NAME="IS_RAILS_CONSOLE" VALUE="false" />
|
292
|
+
<RunnerSettings RunnerId="RubyRunner" />
|
293
|
+
<ConfigurationWrapper RunnerId="RubyRunner" />
|
294
|
+
<method />
|
295
|
+
</configuration>
|
296
|
+
<configuration default="false" name="All specs in: rem_com" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
|
297
|
+
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
298
|
+
<module name="rem_com" />
|
299
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
300
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$PROJECT_DIR$" />
|
301
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
302
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
303
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
304
|
+
<envs>
|
305
|
+
<env name="JRUBY_OPTS" value="-X+O" />
|
306
|
+
</envs>
|
307
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
308
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
309
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
|
310
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
311
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="$PROJECT_DIR$" />
|
312
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
313
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
314
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
315
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
316
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="ALL_IN_FOLDER" />
|
317
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
318
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="2.14.4" />
|
319
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
320
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
321
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
322
|
+
<RunnerSettings RunnerId="RubyRunner" />
|
323
|
+
<ConfigurationWrapper RunnerId="RubyRunner" />
|
324
|
+
<method />
|
325
|
+
</configuration>
|
326
|
+
<configuration default="true" type="CommandRunConfigurationType" factoryName="Gem Command">
|
327
|
+
<module name="" />
|
328
|
+
<COMMAND_RUN_CONFIGURATION NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
329
|
+
<COMMAND_RUN_CONFIGURATION NAME="WORK DIR" VALUE="" />
|
330
|
+
<COMMAND_RUN_CONFIGURATION NAME="SHOULD_USE_SDK" VALUE="false" />
|
331
|
+
<COMMAND_RUN_CONFIGURATION NAME="ALTERN_SDK_NAME" VALUE="" />
|
332
|
+
<COMMAND_RUN_CONFIGURATION NAME="myPassParentEnvs" VALUE="true" />
|
333
|
+
<envs />
|
334
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
335
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
336
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
|
337
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
338
|
+
<COMMAND_CONFIG_SETTINGS_ID NAME="GEM_NAME" VALUE="" />
|
339
|
+
<COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_NAME" VALUE="" />
|
340
|
+
<COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_ARGS" VALUE="" />
|
341
|
+
<COMMAND_CONFIG_SETTINGS_ID NAME="WORKING_DIR" VALUE="" />
|
342
|
+
<method />
|
343
|
+
</configuration>
|
344
|
+
<configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
|
345
|
+
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
346
|
+
<module name="" />
|
347
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
348
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
349
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
350
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
351
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
352
|
+
<envs />
|
353
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
354
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
355
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
|
356
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
357
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
358
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
359
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
360
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
361
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
362
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
363
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
364
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
365
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
|
366
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
367
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
368
|
+
<method />
|
369
|
+
</configuration>
|
194
370
|
<configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
|
195
371
|
<module name="" />
|
196
372
|
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
@@ -207,7 +383,76 @@
|
|
207
383
|
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
208
384
|
<method />
|
209
385
|
</configuration>
|
210
|
-
<
|
386
|
+
<configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
|
387
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
388
|
+
<module name="" />
|
389
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
390
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
|
391
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
392
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
393
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
394
|
+
<envs />
|
395
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
396
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
397
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
|
398
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
399
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
400
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
|
401
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
402
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
403
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
404
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
405
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
406
|
+
<method />
|
407
|
+
</configuration>
|
408
|
+
<configuration default="true" type="IrbRunConfigurationType" factoryName="IRB console">
|
409
|
+
<module name="" />
|
410
|
+
<IRB_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
411
|
+
<IRB_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
412
|
+
<IRB_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
413
|
+
<IRB_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
414
|
+
<IRB_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
415
|
+
<envs />
|
416
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
417
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
418
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
|
419
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
420
|
+
<IRB_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
421
|
+
<IRB_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
422
|
+
<IRB_RUN_CONFIG NAME="IS_RAILS_CONSOLE" VALUE="false" />
|
423
|
+
<method />
|
424
|
+
</configuration>
|
425
|
+
<configuration default="false" name="RemCom Installer" type="CommandRunConfigurationType" factoryName="Gem Command">
|
426
|
+
<module name="rem_com" />
|
427
|
+
<COMMAND_RUN_CONFIGURATION NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
428
|
+
<COMMAND_RUN_CONFIGURATION NAME="WORK DIR" VALUE="$PROJECT_DIR$" />
|
429
|
+
<COMMAND_RUN_CONFIGURATION NAME="SHOULD_USE_SDK" VALUE="false" />
|
430
|
+
<COMMAND_RUN_CONFIGURATION NAME="ALTERN_SDK_NAME" VALUE="" />
|
431
|
+
<COMMAND_RUN_CONFIGURATION NAME="myPassParentEnvs" VALUE="true" />
|
432
|
+
<envs />
|
433
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
434
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" />
|
435
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
|
436
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
437
|
+
<COMMAND_CONFIG_SETTINGS_ID NAME="GEM_NAME" VALUE="bundler" />
|
438
|
+
<COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_NAME" VALUE="gem" />
|
439
|
+
<COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_ARGS" VALUE="install ./rem_com-0.0.1.gem" />
|
440
|
+
<COMMAND_CONFIG_SETTINGS_ID NAME="WORKING_DIR" VALUE="install ./rem_com-0.0.1.gem" />
|
441
|
+
<RunnerSettings RunnerId="RubyRunner" />
|
442
|
+
<ConfigurationWrapper RunnerId="RubyRunner" />
|
443
|
+
<method />
|
444
|
+
</configuration>
|
445
|
+
<list size="3">
|
446
|
+
<item index="0" class="java.lang.String" itemvalue="IRB console.IRB console" />
|
447
|
+
<item index="1" class="java.lang.String" itemvalue="RSpec.All specs in: rem_com" />
|
448
|
+
<item index="2" class="java.lang.String" itemvalue="Gem Command.RemCom Installer" />
|
449
|
+
</list>
|
450
|
+
<recent_temporary>
|
451
|
+
<list size="2">
|
452
|
+
<item index="0" class="java.lang.String" itemvalue="RSpec.All specs in: rem_com" />
|
453
|
+
<item index="1" class="java.lang.String" itemvalue="IRB console.IRB console" />
|
454
|
+
</list>
|
455
|
+
</recent_temporary>
|
211
456
|
</component>
|
212
457
|
<component name="ShelveChangesManager" show_recycled="false" />
|
213
458
|
<component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="false" SSL_PROTOCOLS="all">
|
@@ -233,29 +478,36 @@
|
|
233
478
|
<created>1375731486481</created>
|
234
479
|
<updated>1375731486481</updated>
|
235
480
|
</task>
|
481
|
+
<task id="LOCAL-00001" summary="Initial version of RemCom">
|
482
|
+
<created>1375738701267</created>
|
483
|
+
<updated>1375738701267</updated>
|
484
|
+
</task>
|
485
|
+
<option name="localTasksCounter" value="2" />
|
236
486
|
<servers />
|
237
487
|
</component>
|
238
488
|
<component name="ToolWindowManager">
|
239
489
|
<frame x="-8" y="-8" width="1552" height="916" extended-state="0" />
|
240
490
|
<editor active="true" />
|
241
491
|
<layout>
|
242
|
-
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="
|
492
|
+
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
243
493
|
<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" />
|
244
|
-
<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="
|
245
|
-
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.
|
246
|
-
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.
|
494
|
+
<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" />
|
495
|
+
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25302014" sideWeight="0.67008984" order="1" side_tool="false" content_ui="tabs" />
|
496
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25302014" sideWeight="0.6709347" order="0" side_tool="false" content_ui="combo" />
|
247
497
|
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
248
|
-
<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="
|
249
|
-
<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="
|
250
|
-
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.
|
251
|
-
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="
|
498
|
+
<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" />
|
499
|
+
<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" />
|
500
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.3290653" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
501
|
+
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
252
502
|
<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" />
|
253
503
|
<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" />
|
254
|
-
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
255
504
|
<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" />
|
505
|
+
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
506
|
+
<window_info id="Remote Host" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.3295302" sideWeight="0.67008984" order="3" side_tool="false" content_ui="tabs" />
|
507
|
+
<window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32991013" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
256
508
|
<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" />
|
257
|
-
<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" />
|
258
509
|
<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" />
|
510
|
+
<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" />
|
259
511
|
</layout>
|
260
512
|
</component>
|
261
513
|
<component name="VcsContentAnnotationSettings">
|
@@ -300,7 +552,7 @@
|
|
300
552
|
<option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="false" />
|
301
553
|
<option name="FORCE_NON_EMPTY_COMMENT" value="false" />
|
302
554
|
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
|
303
|
-
<option name="LAST_COMMIT_MESSAGE" />
|
555
|
+
<option name="LAST_COMMIT_MESSAGE" value="Initial version of RemCom" />
|
304
556
|
<option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
|
305
557
|
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
|
306
558
|
<option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
|
@@ -314,11 +566,72 @@
|
|
314
566
|
<option name="UPDATE_FILTER_BY_SCOPE" value="false" />
|
315
567
|
<option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
|
316
568
|
<option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
|
569
|
+
<MESSAGE value="Initial version of RemCom" />
|
317
570
|
</component>
|
318
571
|
<component name="XDebuggerManager">
|
319
572
|
<breakpoint-manager />
|
320
573
|
</component>
|
321
574
|
<component name="editorHistoryManager">
|
575
|
+
<entry file="file://$PROJECT_DIR$/lib/rem_com.rb">
|
576
|
+
<provider selected="true" editor-type-id="text-editor">
|
577
|
+
<state line="12" column="47" selection-start="488" selection-end="488" vertical-scroll-proportion="0.0">
|
578
|
+
<folding />
|
579
|
+
</state>
|
580
|
+
</provider>
|
581
|
+
</entry>
|
582
|
+
<entry file="file://$PROJECT_DIR$/rem_com.gemspec">
|
583
|
+
<provider selected="true" editor-type-id="text-editor">
|
584
|
+
<state line="7" column="6" selection-start="214" selection-end="214" vertical-scroll-proportion="0.0">
|
585
|
+
<folding />
|
586
|
+
</state>
|
587
|
+
</provider>
|
588
|
+
</entry>
|
589
|
+
<entry file="uml://GemDependency/#rem_com">
|
590
|
+
<provider selected="true" editor-type-id="UmlEditorProvider">
|
591
|
+
<state>
|
592
|
+
<ID>GemDependency</ID>
|
593
|
+
<OriginalElement>#rem_com</OriginalElement>
|
594
|
+
<nodes>
|
595
|
+
<node x="90.0" y="0.0">net-ssh</node>
|
596
|
+
<node x="0.0" y="0.0">bundler</node>
|
597
|
+
<node x="180.0" y="0.0">rake</node>
|
598
|
+
<node x="90.5" y="156.0">#rem_com</node>
|
599
|
+
<node x="86.5" y="78.0">rem_com</node>
|
600
|
+
</nodes>
|
601
|
+
<notes />
|
602
|
+
<edges>
|
603
|
+
<edge source="#rem_com" target="net-ssh">
|
604
|
+
<point x="0.0" y="0.0" />
|
605
|
+
<point x="0.0" y="0.0" />
|
606
|
+
</edge>
|
607
|
+
<edge source="#rem_com" target="rake">
|
608
|
+
<point x="0.0" y="0.0" />
|
609
|
+
<point x="0.0" y="0.0" />
|
610
|
+
</edge>
|
611
|
+
<edge source="#rem_com" target="rem_com">
|
612
|
+
<point x="0.0" y="0.0" />
|
613
|
+
<point x="0.0" y="0.0" />
|
614
|
+
</edge>
|
615
|
+
<edge source="#rem_com" target="bundler">
|
616
|
+
<point x="0.0" y="0.0" />
|
617
|
+
<point x="0.0" y="0.0" />
|
618
|
+
</edge>
|
619
|
+
</edges>
|
620
|
+
<settings layout="Hierarchic Group" zoom="1.0" x="-201.0" y="-31.0" />
|
621
|
+
<SelectedNodes>
|
622
|
+
<node>net-ssh</node>
|
623
|
+
</SelectedNodes>
|
624
|
+
<Categories />
|
625
|
+
</state>
|
626
|
+
</provider>
|
627
|
+
</entry>
|
628
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
629
|
+
<provider selected="true" editor-type-id="text-editor">
|
630
|
+
<state line="5" column="25" selection-start="118" selection-end="118" vertical-scroll-proportion="0.0">
|
631
|
+
<folding />
|
632
|
+
</state>
|
633
|
+
</provider>
|
634
|
+
</entry>
|
322
635
|
<entry file="file://$PROJECT_DIR$/lib/rem_com/version.rb">
|
323
636
|
<provider selected="true" editor-type-id="text-editor">
|
324
637
|
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
@@ -328,14 +641,140 @@
|
|
328
641
|
</entry>
|
329
642
|
<entry file="file://$PROJECT_DIR$/lib/rem_com.rb">
|
330
643
|
<provider selected="true" editor-type-id="text-editor">
|
331
|
-
<state line="
|
644
|
+
<state line="14" column="25" selection-start="497" selection-end="497" vertical-scroll-proportion="0.0">
|
332
645
|
<folding />
|
333
646
|
</state>
|
334
647
|
</provider>
|
335
648
|
</entry>
|
336
649
|
<entry file="file://$PROJECT_DIR$/rem_com.gemspec">
|
337
650
|
<provider selected="true" editor-type-id="text-editor">
|
338
|
-
<state line="
|
651
|
+
<state line="7" column="54" selection-start="246" selection-end="246" vertical-scroll-proportion="0.0">
|
652
|
+
<folding />
|
653
|
+
</state>
|
654
|
+
</provider>
|
655
|
+
</entry>
|
656
|
+
<entry file="uml://GemDependency/#rem_com">
|
657
|
+
<provider selected="true" editor-type-id="UmlEditorProvider">
|
658
|
+
<state>
|
659
|
+
<ID>GemDependency</ID>
|
660
|
+
<OriginalElement>#rem_com</OriginalElement>
|
661
|
+
<nodes>
|
662
|
+
<node x="90.0" y="0.0">net-ssh</node>
|
663
|
+
<node x="0.0" y="0.0">bundler</node>
|
664
|
+
<node x="180.0" y="0.0">rake</node>
|
665
|
+
<node x="90.5" y="156.0">#rem_com</node>
|
666
|
+
<node x="86.5" y="78.0">rem_com</node>
|
667
|
+
</nodes>
|
668
|
+
<notes />
|
669
|
+
<edges>
|
670
|
+
<edge source="#rem_com" target="net-ssh">
|
671
|
+
<point x="0.0" y="0.0" />
|
672
|
+
<point x="0.0" y="0.0" />
|
673
|
+
</edge>
|
674
|
+
<edge source="#rem_com" target="rake">
|
675
|
+
<point x="0.0" y="0.0" />
|
676
|
+
<point x="0.0" y="0.0" />
|
677
|
+
</edge>
|
678
|
+
<edge source="#rem_com" target="rem_com">
|
679
|
+
<point x="0.0" y="0.0" />
|
680
|
+
<point x="0.0" y="0.0" />
|
681
|
+
</edge>
|
682
|
+
<edge source="#rem_com" target="bundler">
|
683
|
+
<point x="0.0" y="0.0" />
|
684
|
+
<point x="0.0" y="0.0" />
|
685
|
+
</edge>
|
686
|
+
</edges>
|
687
|
+
<settings layout="Hierarchic Group" zoom="1.0" x="-201.0" y="-31.0" />
|
688
|
+
<SelectedNodes>
|
689
|
+
<node>net-ssh</node>
|
690
|
+
</SelectedNodes>
|
691
|
+
<Categories />
|
692
|
+
<SCOPE>All</SCOPE>
|
693
|
+
</state>
|
694
|
+
</provider>
|
695
|
+
</entry>
|
696
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
697
|
+
<provider selected="true" editor-type-id="text-editor">
|
698
|
+
<state line="5" column="25" selection-start="118" selection-end="118" vertical-scroll-proportion="0.0">
|
699
|
+
<folding />
|
700
|
+
</state>
|
701
|
+
</provider>
|
702
|
+
</entry>
|
703
|
+
<entry file="file://$PROJECT_DIR$/lib/rem_com/version.rb">
|
704
|
+
<provider selected="true" editor-type-id="text-editor">
|
705
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
706
|
+
<folding />
|
707
|
+
</state>
|
708
|
+
</provider>
|
709
|
+
</entry>
|
710
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
711
|
+
<provider selected="true" editor-type-id="text-editor">
|
712
|
+
<state line="19" column="16" selection-start="482" selection-end="482" vertical-scroll-proportion="0.0" />
|
713
|
+
</provider>
|
714
|
+
</entry>
|
715
|
+
<entry file="file://$PROJECT_DIR$/lib/rem_com/version.rb">
|
716
|
+
<provider selected="true" editor-type-id="text-editor">
|
717
|
+
<state line="1" column="18" selection-start="32" selection-end="32" vertical-scroll-proportion="0.0">
|
718
|
+
<folding />
|
719
|
+
</state>
|
720
|
+
</provider>
|
721
|
+
</entry>
|
722
|
+
<entry file="file://$PROJECT_DIR$/rem_com.gemspec">
|
723
|
+
<provider selected="true" editor-type-id="text-editor">
|
724
|
+
<state line="7" column="6" selection-start="214" selection-end="214" vertical-scroll-proportion="0.0">
|
725
|
+
<folding />
|
726
|
+
</state>
|
727
|
+
</provider>
|
728
|
+
</entry>
|
729
|
+
<entry file="uml://GemDependency/#rem_com">
|
730
|
+
<provider selected="true" editor-type-id="UmlEditorProvider">
|
731
|
+
<state>
|
732
|
+
<ID>GemDependency</ID>
|
733
|
+
<OriginalElement>#rem_com</OriginalElement>
|
734
|
+
<nodes>
|
735
|
+
<node x="90.0" y="0.0">net-ssh</node>
|
736
|
+
<node x="0.0" y="0.0">bundler</node>
|
737
|
+
<node x="180.0" y="0.0">rake</node>
|
738
|
+
<node x="90.5" y="156.0">#rem_com</node>
|
739
|
+
<node x="86.5" y="78.0">rem_com</node>
|
740
|
+
</nodes>
|
741
|
+
<notes />
|
742
|
+
<edges>
|
743
|
+
<edge source="#rem_com" target="net-ssh">
|
744
|
+
<point x="0.0" y="0.0" />
|
745
|
+
<point x="0.0" y="0.0" />
|
746
|
+
</edge>
|
747
|
+
<edge source="#rem_com" target="rake">
|
748
|
+
<point x="0.0" y="0.0" />
|
749
|
+
<point x="0.0" y="0.0" />
|
750
|
+
</edge>
|
751
|
+
<edge source="#rem_com" target="rem_com">
|
752
|
+
<point x="0.0" y="0.0" />
|
753
|
+
<point x="0.0" y="0.0" />
|
754
|
+
</edge>
|
755
|
+
<edge source="#rem_com" target="bundler">
|
756
|
+
<point x="0.0" y="0.0" />
|
757
|
+
<point x="0.0" y="0.0" />
|
758
|
+
</edge>
|
759
|
+
</edges>
|
760
|
+
<settings layout="Hierarchic Group" zoom="1.0" x="-201.0" y="-31.0" />
|
761
|
+
<SelectedNodes>
|
762
|
+
<node>net-ssh</node>
|
763
|
+
</SelectedNodes>
|
764
|
+
<Categories />
|
765
|
+
</state>
|
766
|
+
</provider>
|
767
|
+
</entry>
|
768
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
769
|
+
<provider selected="true" editor-type-id="text-editor">
|
770
|
+
<state line="5" column="25" selection-start="118" selection-end="118" vertical-scroll-proportion="0.0">
|
771
|
+
<folding />
|
772
|
+
</state>
|
773
|
+
</provider>
|
774
|
+
</entry>
|
775
|
+
<entry file="file://$PROJECT_DIR$/lib/rem_com.rb">
|
776
|
+
<provider selected="true" editor-type-id="text-editor">
|
777
|
+
<state line="34" column="0" selection-start="1049" selection-end="1049" vertical-scroll-proportion="0.624498">
|
339
778
|
<folding />
|
340
779
|
</state>
|
341
780
|
</provider>
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,35 @@
|
|
1
1
|
# RemCom
|
2
2
|
|
3
|
-
|
3
|
+
This tool will allow you to run batch commands to multiple servers and workstations.
|
4
|
+
You can put the hostname or ip address of each server in a file called hosts. Rem_Com will then iterate through
|
5
|
+
that file and execute the commands.
|
6
|
+
|
7
|
+
|
8
|
+
Here is an example of when can be done with rem_com at the moment
|
9
|
+
|
10
|
+
class Batch
|
11
|
+
include Rem_Com
|
12
|
+
|
13
|
+
def db(user, pass, hostfile, commands)
|
14
|
+
execute(user, pass, hostfile, commands)
|
15
|
+
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
host = File.open('hosts')
|
20
|
+
pass = 'password'
|
21
|
+
user = 'root'
|
22
|
+
commands = <<-eos
|
23
|
+
hostname
|
24
|
+
uptime
|
25
|
+
df -h
|
26
|
+
lvs
|
27
|
+
getfacl /
|
28
|
+
id
|
29
|
+
eos
|
30
|
+
|
31
|
+
server = Batch.new
|
32
|
+
server.db(user, pass, host, commands)
|
4
33
|
|
5
34
|
## Installation
|
6
35
|
|
data/lib/rem_com.rb
CHANGED
@@ -6,38 +6,39 @@ module Rem_Com
|
|
6
6
|
|
7
7
|
def self.execute(user, pass, hostfile, commands)
|
8
8
|
begin
|
9
|
+
File.open(hostfile).each {
|
10
|
+
|i|
|
11
|
+
Net::SSH.start( i.chomp, user, :password => pass ) do|ssh|
|
12
|
+
result = ssh.exec!(commands)
|
13
|
+
puts result
|
14
|
+
end
|
15
|
+
}
|
16
|
+
rescue
|
17
|
+
puts("Please verify that the your username, password and hostfile have been defined")
|
9
18
|
puts "Hostfile is present" if File.exists?(hostfile)
|
10
19
|
puts defined?(user) ? "User is defined as user #{user}" : 'User variable is not set...'
|
11
20
|
puts defined?(pass) ? "Password has been set" : 'Password has not been set'
|
12
21
|
puts defined?(commands) ? "Have been issued and ready for execution" : 'Commands have not been given'
|
13
|
-
|
14
|
-
|
15
22
|
end
|
16
|
-
|
17
|
-
|i|
|
18
|
-
Net::SSH.start( i.chomp, user, :password => pass ) do|ssh|
|
19
|
-
result = ssh.exec!(commands)
|
20
|
-
puts result
|
21
|
-
end
|
22
|
-
}
|
23
|
+
|
23
24
|
end
|
24
25
|
|
25
26
|
def self.status(user, pass, hostfile)
|
26
27
|
begin
|
28
|
+
File.open(hostfile).each {
|
29
|
+
|i|
|
30
|
+
Net::SSH.start( i.chomp, user, :password => pass ) do|ssh|
|
31
|
+
result = ssh.exec!('hostname')
|
32
|
+
puts result
|
33
|
+
end
|
34
|
+
}
|
35
|
+
rescue
|
27
36
|
puts "Hostfile is present" if File.exists?(hostfile)
|
28
37
|
puts defined?(user) ? "User is defined as user #{user}" : 'User variable is not set...'
|
29
38
|
puts defined?(pass) ? "Password has been set" : 'Password has not been set'
|
30
39
|
puts defined?(commands) ? "Have been issued and ready for execution" : 'Commands have not been given'
|
31
|
-
|
32
|
-
|
33
40
|
end
|
34
|
-
|
35
|
-
|i|
|
36
|
-
Net::SSH.start( i.chomp, user, :password => pass ) do|ssh|
|
37
|
-
result = ssh.exec!('hostname')
|
38
|
-
puts result
|
39
|
-
end
|
40
|
-
}
|
41
|
+
|
41
42
|
end
|
42
43
|
end
|
43
44
|
|
data/lib/rem_com/version.rb
CHANGED
data/rem_com.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = "rem_com"
|
8
8
|
spec.version = RemCom::VERSION
|
9
9
|
spec.authors = ["Jeffrey James"]
|
10
|
-
spec.email = ["
|
10
|
+
spec.email = ["jjames@cosprofessionals.com"]
|
11
11
|
spec.description = %q{Tool to execute commands on remote workstations}
|
12
12
|
spec.summary = %q{This tools should allow you to run batch commands to multiple servers or workstations all at once.}
|
13
13
|
spec.homepage = ""
|
@@ -20,4 +20,5 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_development_dependency "bundler", "~> 1.3"
|
22
22
|
spec.add_development_dependency "rake"
|
23
|
+
spec.add_development_dependency "net-ssh"
|
23
24
|
end
|
metadata
CHANGED
@@ -1,61 +1,56 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rem_com
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
- 1
|
10
|
-
version: 0.0.1
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Jeffrey James
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2013-08-07 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: bundler
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: &26410380 !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
18
|
+
requirements:
|
26
19
|
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
|
29
|
-
segments:
|
30
|
-
- 1
|
31
|
-
- 3
|
32
|
-
version: "1.3"
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '1.3'
|
33
22
|
type: :development
|
34
|
-
|
35
|
-
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *26410380
|
25
|
+
- !ruby/object:Gem::Dependency
|
36
26
|
name: rake
|
27
|
+
requirement: &26410128 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ! '>='
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0'
|
33
|
+
type: :development
|
37
34
|
prerelease: false
|
38
|
-
|
35
|
+
version_requirements: *26410128
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: net-ssh
|
38
|
+
requirement: &26409804 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
44
|
-
segments:
|
45
|
-
- 0
|
46
|
-
version: "0"
|
40
|
+
requirements:
|
41
|
+
- - ! '>='
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0'
|
47
44
|
type: :development
|
48
|
-
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *26409804
|
49
47
|
description: Tool to execute commands on remote workstations
|
50
|
-
email:
|
51
|
-
-
|
48
|
+
email:
|
49
|
+
- jjames@cosprofessionals.com
|
52
50
|
executables: []
|
53
|
-
|
54
51
|
extensions: []
|
55
|
-
|
56
52
|
extra_rdoc_files: []
|
57
|
-
|
58
|
-
files:
|
53
|
+
files:
|
59
54
|
- .gitignore
|
60
55
|
- .idea/.name
|
61
56
|
- .idea/encodings.xml
|
@@ -72,38 +67,30 @@ files:
|
|
72
67
|
- lib/rem_com.rb
|
73
68
|
- lib/rem_com/version.rb
|
74
69
|
- rem_com.gemspec
|
75
|
-
homepage:
|
76
|
-
licenses:
|
70
|
+
homepage: ''
|
71
|
+
licenses:
|
77
72
|
- MIT
|
78
73
|
post_install_message:
|
79
74
|
rdoc_options: []
|
80
|
-
|
81
|
-
require_paths:
|
75
|
+
require_paths:
|
82
76
|
- lib
|
83
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
77
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
84
78
|
none: false
|
85
|
-
requirements:
|
86
|
-
- -
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
|
89
|
-
|
90
|
-
- 0
|
91
|
-
version: "0"
|
92
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ! '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
84
|
none: false
|
94
|
-
requirements:
|
95
|
-
- -
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
|
98
|
-
segments:
|
99
|
-
- 0
|
100
|
-
version: "0"
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
101
89
|
requirements: []
|
102
|
-
|
103
90
|
rubyforge_project:
|
104
|
-
rubygems_version: 1.8.
|
91
|
+
rubygems_version: 1.8.16
|
105
92
|
signing_key:
|
106
93
|
specification_version: 3
|
107
|
-
summary: This tools should allow you to run batch commands to multiple servers or
|
94
|
+
summary: This tools should allow you to run batch commands to multiple servers or
|
95
|
+
workstations all at once.
|
108
96
|
test_files: []
|
109
|
-
|