rem_com 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/.idea/.name ADDED
@@ -0,0 +1 @@
1
+ rem_com
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
+ </project>
5
+
data/.idea/misc.xml ADDED
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectRootManager" version="2" project-jdk-name="ruby-1.9.3-p125" project-jdk-type="RUBY_SDK" />
4
+ </project>
5
+
data/.idea/modules.xml ADDED
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/rem_com.iml" filepath="$PROJECT_DIR$/.idea/rem_com.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
9
+
data/.idea/rem_com.iml ADDED
@@ -0,0 +1,20 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="FacetManager">
4
+ <facet type="gem" name="Gem">
5
+ <configuration>
6
+ <option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
7
+ <option name="GEM_APP_TEST_PATH" value="" />
8
+ <option name="GEM_APP_LIB_PATH" value="" />
9
+ </configuration>
10
+ </facet>
11
+ </component>
12
+ <component name="NewModuleRootManager">
13
+ <content url="file://$MODULE_DIR$" />
14
+ <orderEntry type="inheritedJdk" />
15
+ <orderEntry type="sourceFolder" forTests="false" />
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="rake (v0.9.2.2, ruby-1.9.3-p125) [gem]" level="application" />
18
+ </component>
19
+ </module>
20
+
@@ -0,0 +1,5 @@
1
+ <component name="DependencyValidationManager">
2
+ <state>
3
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
+ </state>
5
+ </component>
data/.idea/vcs.xml ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="" vcs="Git" />
5
+ </component>
6
+ </project>
7
+
@@ -0,0 +1,345 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="221c378b-a8cd-4ae7-b084-2bf58e9e0b9b" name="Default" comment="">
5
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/rem_com.iml" />
6
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.gitignore" />
7
+ <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/.name" />
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" />
21
+ </list>
22
+ <ignored path="rem_com.iws" />
23
+ <ignored path=".idea/workspace.xml" />
24
+ <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="1375732311854" ignored="false" />
26
+ <file path="/rem_com.rb" changelist="221c378b-a8cd-4ae7-b084-2bf58e9e0b9b" time="1375733366128" ignored="false" />
27
+ <file path="/rem_com.gemspec" changelist="221c378b-a8cd-4ae7-b084-2bf58e9e0b9b" time="1375733704631" ignored="false" />
28
+ <option name="TRACKING_ENABLED" value="true" />
29
+ <option name="SHOW_DIALOG" value="false" />
30
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
31
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
32
+ <option name="LAST_RESOLUTION" value="IGNORE" />
33
+ </component>
34
+ <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
35
+ <component name="CreatePatchCommitExecutor">
36
+ <option name="PATCH_PATH" value="" />
37
+ </component>
38
+ <component name="DaemonCodeAnalyzer">
39
+ <disable_hints />
40
+ </component>
41
+ <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
42
+ <component name="FavoritesManager">
43
+ <favorites_list name="rem_com" />
44
+ </component>
45
+ <component name="FileEditorManager">
46
+ <leaf>
47
+ <file leaf-file-name="rem_com.rb" pinned="false" current="false" current-in-tab="false">
48
+ <entry file="file://$PROJECT_DIR$/lib/rem_com.rb">
49
+ <provider selected="true" editor-type-id="text-editor">
50
+ <state line="36" column="36" selection-start="1233" selection-end="1233" vertical-scroll-proportion="0.0">
51
+ <folding />
52
+ </state>
53
+ </provider>
54
+ </entry>
55
+ </file>
56
+ <file leaf-file-name="rem_com.gemspec" pinned="false" current="true" current-in-tab="true">
57
+ <entry file="file://$PROJECT_DIR$/rem_com.gemspec">
58
+ <provider selected="true" editor-type-id="text-editor">
59
+ <state line="12" column="24" selection-start="565" selection-end="565" vertical-scroll-proportion="0.41129032">
60
+ <folding />
61
+ </state>
62
+ </provider>
63
+ </entry>
64
+ </file>
65
+ <file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
66
+ <entry file="file://$PROJECT_DIR$/lib/rem_com/version.rb">
67
+ <provider selected="true" editor-type-id="text-editor">
68
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
69
+ <folding />
70
+ </state>
71
+ </provider>
72
+ </entry>
73
+ </file>
74
+ </leaf>
75
+ </component>
76
+ <component name="FindManager">
77
+ <FindUsagesManager>
78
+ <setting name="OPEN_NEW_TAB" value="false" />
79
+ </FindUsagesManager>
80
+ </component>
81
+ <component name="Git.Settings">
82
+ <option name="SYNC_SETTING" value="DONT" />
83
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
84
+ </component>
85
+ <component name="GitLogSettings">
86
+ <option name="myDateState">
87
+ <MyDateState />
88
+ </option>
89
+ </component>
90
+ <component name="IdeDocumentHistory">
91
+ <option name="changedFiles">
92
+ <list>
93
+ <option value="$PROJECT_DIR$/lib/rem_com.rb" />
94
+ <option value="$PROJECT_DIR$/rem_com.gemspec" />
95
+ </list>
96
+ </option>
97
+ </component>
98
+ <component name="ProjectFrameBounds">
99
+ <option name="x" value="-8" />
100
+ <option name="y" value="-8" />
101
+ <option name="width" value="1552" />
102
+ <option name="height" value="916" />
103
+ </component>
104
+ <component name="ProjectLevelVcsManager" settingsEditedManually="true">
105
+ <OptionsSetting value="true" id="Add" />
106
+ <OptionsSetting value="true" id="Remove" />
107
+ <OptionsSetting value="true" id="Checkout" />
108
+ <OptionsSetting value="true" id="Update" />
109
+ <OptionsSetting value="true" id="Status" />
110
+ <OptionsSetting value="true" id="Edit" />
111
+ <ConfirmationsSetting value="0" id="Add" />
112
+ <ConfirmationsSetting value="0" id="Remove" />
113
+ </component>
114
+ <component name="ProjectReloadState">
115
+ <option name="STATE" value="0" />
116
+ </component>
117
+ <component name="ProjectView">
118
+ <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
119
+ <flattenPackages />
120
+ <showMembers />
121
+ <showModules />
122
+ <showLibraryContents />
123
+ <hideEmptyPackages />
124
+ <abbreviatePackageNames />
125
+ <autoscrollToSource />
126
+ <autoscrollFromSource />
127
+ <sortByType />
128
+ </navigator>
129
+ <panes>
130
+ <pane id="Scope" />
131
+ <pane id="ProjectPane">
132
+ <subPane>
133
+ <PATH>
134
+ <PATH_ELEMENT>
135
+ <option name="myItemId" value="rem_com" />
136
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
137
+ </PATH_ELEMENT>
138
+ </PATH>
139
+ <PATH>
140
+ <PATH_ELEMENT>
141
+ <option name="myItemId" value="rem_com" />
142
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
143
+ </PATH_ELEMENT>
144
+ <PATH_ELEMENT>
145
+ <option name="myItemId" value="rem_com" />
146
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
147
+ </PATH_ELEMENT>
148
+ </PATH>
149
+ <PATH>
150
+ <PATH_ELEMENT>
151
+ <option name="myItemId" value="rem_com" />
152
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
153
+ </PATH_ELEMENT>
154
+ <PATH_ELEMENT>
155
+ <option name="myItemId" value="rem_com" />
156
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
157
+ </PATH_ELEMENT>
158
+ <PATH_ELEMENT>
159
+ <option name="myItemId" value="lib" />
160
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
161
+ </PATH_ELEMENT>
162
+ </PATH>
163
+ <PATH>
164
+ <PATH_ELEMENT>
165
+ <option name="myItemId" value="rem_com" />
166
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
167
+ </PATH_ELEMENT>
168
+ <PATH_ELEMENT>
169
+ <option name="myItemId" value="rem_com" />
170
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
171
+ </PATH_ELEMENT>
172
+ <PATH_ELEMENT>
173
+ <option name="myItemId" value="lib" />
174
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
175
+ </PATH_ELEMENT>
176
+ <PATH_ELEMENT>
177
+ <option name="myItemId" value="rem_com" />
178
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
179
+ </PATH_ELEMENT>
180
+ </PATH>
181
+ </subPane>
182
+ </pane>
183
+ </panes>
184
+ </component>
185
+ <component name="PropertiesComponent">
186
+ <property name="options.splitter.main.proportions" value="0.3" />
187
+ <property name="WebServerToolWindowFactoryState" value="false" />
188
+ <property name="options.lastSelected" value="vcs.Git" />
189
+ <property name="last_opened_file_path" value="C:/Program Files (x86)/Git/bin/git.exe" />
190
+ <property name="options.searchVisible" value="true" />
191
+ <property name="options.splitter.details.proportions" value="0.2" />
192
+ </component>
193
+ <component name="RunManager">
194
+ <configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
195
+ <module name="" />
196
+ <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
197
+ <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
198
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
199
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
200
+ <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
201
+ <envs />
202
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
203
+ <EXTENSION ID="JRubyRunConfigurationExtension" />
204
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov" />
205
+ <EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
206
+ <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
207
+ <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
208
+ <method />
209
+ </configuration>
210
+ <list size="0" />
211
+ </component>
212
+ <component name="ShelveChangesManager" show_recycled="false" />
213
+ <component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="false" SSL_PROTOCOLS="all">
214
+ <option name="USER" value="" />
215
+ <option name="PASSWORD" value="" />
216
+ <option name="mySSHConnectionTimeout" value="30000" />
217
+ <option name="mySSHReadTimeout" value="30000" />
218
+ <option name="LAST_MERGED_REVISION" />
219
+ <option name="MERGE_DRY_RUN" value="false" />
220
+ <option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
221
+ <option name="UPDATE_LOCK_ON_DEMAND" value="false" />
222
+ <option name="IGNORE_SPACES_IN_MERGE" value="false" />
223
+ <option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
224
+ <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
225
+ <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
226
+ <option name="FORCE_UPDATE" value="false" />
227
+ <option name="IGNORE_EXTERNALS" value="false" />
228
+ <myIsUseDefaultProxy>false</myIsUseDefaultProxy>
229
+ </component>
230
+ <component name="TaskManager">
231
+ <task active="true" id="Default" summary="Default task">
232
+ <changelist id="221c378b-a8cd-4ae7-b084-2bf58e9e0b9b" name="Default" comment="" />
233
+ <created>1375731486481</created>
234
+ <updated>1375731486481</updated>
235
+ </task>
236
+ <servers />
237
+ </component>
238
+ <component name="ToolWindowManager">
239
+ <frame x="-8" y="-8" width="1552" height="916" extended-state="0" />
240
+ <editor active="true" />
241
+ <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="-1" side_tool="false" content_ui="tabs" />
243
+ <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="-1" side_tool="false" content_ui="tabs" />
245
+ <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="false" content_ui="tabs" />
246
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24966443" sideWeight="0.67008984" order="0" side_tool="false" content_ui="combo" />
247
+ <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="-1" side_tool="true" content_ui="tabs" />
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="-1" side_tool="true" content_ui="tabs" />
250
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.32991013" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
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="-1" side_tool="false" content_ui="tabs" />
252
+ <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
+ <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
+ <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" />
256
+ <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
+ <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" />
259
+ </layout>
260
+ </component>
261
+ <component name="VcsContentAnnotationSettings">
262
+ <option name="myLimit" value="2678400000" />
263
+ </component>
264
+ <component name="VcsManagerConfiguration">
265
+ <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
266
+ <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="false" />
267
+ <option name="CHECK_NEW_TODO" value="true" />
268
+ <option name="myTodoPanelSettings">
269
+ <value>
270
+ <are-packages-shown value="false" />
271
+ <are-modules-shown value="false" />
272
+ <flatten-packages value="false" />
273
+ <is-autoscroll-to-source value="false" />
274
+ </value>
275
+ </option>
276
+ <option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
277
+ <option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
278
+ <option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
279
+ <option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
280
+ <option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
281
+ <option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
282
+ <option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
283
+ <option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
284
+ <option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
285
+ <option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
286
+ <option name="DEFAULT_PATCH_EXTENSION" value="patch" />
287
+ <option name="SHORT_DIFF_HORIZONTALLY" value="true" />
288
+ <option name="SHORT_DIFF_EXTRA_LINES" value="2" />
289
+ <option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
290
+ <option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
291
+ <option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
292
+ <option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
293
+ <option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
294
+ <option name="SHOW_DIRTY_RECURSIVELY" value="false" />
295
+ <option name="LIMIT_HISTORY" value="true" />
296
+ <option name="MAXIMUM_HISTORY_ROWS" value="1000" />
297
+ <option name="UPDATE_FILTER_SCOPE_NAME" />
298
+ <option name="USE_COMMIT_MESSAGE_MARGIN" value="false" />
299
+ <option name="COMMIT_MESSAGE_MARGIN_SIZE" value="72" />
300
+ <option name="WRAP_WHEN_TYPING_REACHES_RIGHT_MARGIN" value="false" />
301
+ <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
302
+ <option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
303
+ <option name="LAST_COMMIT_MESSAGE" />
304
+ <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
305
+ <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
306
+ <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
307
+ <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
308
+ <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
309
+ <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
310
+ <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
311
+ <option name="ACTIVE_VCS_NAME" />
312
+ <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
313
+ <option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
314
+ <option name="UPDATE_FILTER_BY_SCOPE" value="false" />
315
+ <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
316
+ <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
317
+ </component>
318
+ <component name="XDebuggerManager">
319
+ <breakpoint-manager />
320
+ </component>
321
+ <component name="editorHistoryManager">
322
+ <entry file="file://$PROJECT_DIR$/lib/rem_com/version.rb">
323
+ <provider selected="true" editor-type-id="text-editor">
324
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
325
+ <folding />
326
+ </state>
327
+ </provider>
328
+ </entry>
329
+ <entry file="file://$PROJECT_DIR$/lib/rem_com.rb">
330
+ <provider selected="true" editor-type-id="text-editor">
331
+ <state line="36" column="36" selection-start="1233" selection-end="1233" vertical-scroll-proportion="0.0">
332
+ <folding />
333
+ </state>
334
+ </provider>
335
+ </entry>
336
+ <entry file="file://$PROJECT_DIR$/rem_com.gemspec">
337
+ <provider selected="true" editor-type-id="text-editor">
338
+ <state line="12" column="24" selection-start="565" selection-end="565" vertical-scroll-proportion="0.41129032">
339
+ <folding />
340
+ </state>
341
+ </provider>
342
+ </entry>
343
+ </component>
344
+ </project>
345
+
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in rem_com.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 TODO: Write your name
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # RemCom
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'rem_com'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install rem_com
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Contributing
24
+
25
+ 1. Fork it
26
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
28
+ 4. Push to the branch (`git push origin my-new-feature`)
29
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"
@@ -0,0 +1,3 @@
1
+ module RemCom
2
+ VERSION = "0.0.1"
3
+ end
data/lib/rem_com.rb ADDED
@@ -0,0 +1,43 @@
1
+ require "rem_com/version"
2
+
3
+ module Rem_Com
4
+ require 'rubygems'
5
+ require 'net/ssh'
6
+
7
+ def self.execute(user, pass, hostfile, commands)
8
+ begin
9
+ puts "Hostfile is present" if File.exists?(hostfile)
10
+ puts defined?(user) ? "User is defined as user #{user}" : 'User variable is not set...'
11
+ puts defined?(pass) ? "Password has been set" : 'Password has not been set'
12
+ puts defined?(commands) ? "Have been issued and ready for execution" : 'Commands have not been given'
13
+
14
+
15
+ end
16
+ File.open(hostfile).each {
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
+ end
24
+
25
+ def self.status(user, pass, hostfile)
26
+ begin
27
+ puts "Hostfile is present" if File.exists?(hostfile)
28
+ puts defined?(user) ? "User is defined as user #{user}" : 'User variable is not set...'
29
+ puts defined?(pass) ? "Password has been set" : 'Password has not been set'
30
+ puts defined?(commands) ? "Have been issued and ready for execution" : 'Commands have not been given'
31
+
32
+
33
+ end
34
+ File.open(hostfile).each {
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
+ end
42
+ end
43
+
data/rem_com.gemspec ADDED
@@ -0,0 +1,23 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'rem_com/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "rem_com"
8
+ spec.version = RemCom::VERSION
9
+ spec.authors = ["Jeffrey James"]
10
+ spec.email = ["cos@cosprofessionals.com"]
11
+ spec.description = %q{Tool to execute commands on remote workstations}
12
+ spec.summary = %q{This tools should allow you to run batch commands to multiple servers or workstations all at once.}
13
+ spec.homepage = ""
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files`.split($/)
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.3"
22
+ spec.add_development_dependency "rake"
23
+ end
metadata ADDED
@@ -0,0 +1,109 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rem_com
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Jeffrey James
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2013-08-05 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: bundler
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ~>
27
+ - !ruby/object:Gem::Version
28
+ hash: 9
29
+ segments:
30
+ - 1
31
+ - 3
32
+ version: "1.3"
33
+ type: :development
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: rake
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
46
+ version: "0"
47
+ type: :development
48
+ version_requirements: *id002
49
+ description: Tool to execute commands on remote workstations
50
+ email:
51
+ - cos@cosprofessionals.com
52
+ executables: []
53
+
54
+ extensions: []
55
+
56
+ extra_rdoc_files: []
57
+
58
+ files:
59
+ - .gitignore
60
+ - .idea/.name
61
+ - .idea/encodings.xml
62
+ - .idea/misc.xml
63
+ - .idea/modules.xml
64
+ - .idea/rem_com.iml
65
+ - .idea/scopes/scope_settings.xml
66
+ - .idea/vcs.xml
67
+ - .idea/workspace.xml
68
+ - Gemfile
69
+ - LICENSE.txt
70
+ - README.md
71
+ - Rakefile
72
+ - lib/rem_com.rb
73
+ - lib/rem_com/version.rb
74
+ - rem_com.gemspec
75
+ homepage: ""
76
+ licenses:
77
+ - MIT
78
+ post_install_message:
79
+ rdoc_options: []
80
+
81
+ require_paths:
82
+ - lib
83
+ required_ruby_version: !ruby/object:Gem::Requirement
84
+ none: false
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ hash: 3
89
+ segments:
90
+ - 0
91
+ version: "0"
92
+ required_rubygems_version: !ruby/object:Gem::Requirement
93
+ none: false
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ hash: 3
98
+ segments:
99
+ - 0
100
+ version: "0"
101
+ requirements: []
102
+
103
+ rubyforge_project:
104
+ rubygems_version: 1.8.24
105
+ signing_key:
106
+ specification_version: 3
107
+ summary: This tools should allow you to run batch commands to multiple servers or workstations all at once.
108
+ test_files: []
109
+