rcmd 1.6.2 → 1.6.3
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -15
- data/README.md +16 -4
- data/doc/rdocs/README_md.html +16 -3
- data/doc/rdocs/Rcmd/DB.html +9 -38
- data/doc/rdocs/created.rid +4 -4
- data/doc/rdocs/index.html +15 -3
- data/doc/rdocs/js/navigation.js.gz +0 -0
- data/doc/rdocs/js/search_index.js.gz +0 -0
- data/doc/rdocs/js/searcher.js.gz +0 -0
- data/doc/rdocs/table_of_contents.html +1 -0
- data/lib/rcmd/db.rb +2 -26
- data/lib/rcmd/version.rb +1 -1
- data/rcmd.gemspec +2 -2
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80c6c434947313790ac40baa6f5907edc3f2558d
|
4
|
+
data.tar.gz: bf1058baa67bf2508732a6df6342b891a86c8ee2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7cf46fcecfd98d8d7fc9335d388d6d9e4a90a49519867e13626cd7b7ac3a36a27451f6f0265f85dd5f892b873c2638f5674e8aed601e5a688812e2b1f7e3ac9
|
7
|
+
data.tar.gz: c185669cbd098bb165efc7b425679c82417592ae5d0378d61f6641df92de26dd7f011c8fc71b523f74c3bf50dc922cce6b3c5b70798a5a815791870bb768f159
|
data/Gemfile.lock
CHANGED
@@ -2,8 +2,8 @@ PATH
|
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
4
|
rcmd (1.6.2)
|
5
|
-
activerecord
|
6
|
-
activesupport
|
5
|
+
activerecord
|
6
|
+
activesupport
|
7
7
|
io-console
|
8
8
|
net-ssh
|
9
9
|
regexp-examples
|
@@ -13,27 +13,24 @@ PATH
|
|
13
13
|
GEM
|
14
14
|
remote: https://rubygems.org/
|
15
15
|
specs:
|
16
|
-
activemodel (
|
17
|
-
activesupport (=
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
16
|
+
activemodel (5.1.4)
|
17
|
+
activesupport (= 5.1.4)
|
18
|
+
activerecord (5.1.4)
|
19
|
+
activemodel (= 5.1.4)
|
20
|
+
activesupport (= 5.1.4)
|
21
|
+
arel (~> 8.0)
|
22
|
+
activesupport (5.1.4)
|
23
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
24
24
|
i18n (~> 0.7)
|
25
|
-
json (~> 1.7, >= 1.7.7)
|
26
25
|
minitest (~> 5.1)
|
27
|
-
thread_safe (~> 0.3, >= 0.3.4)
|
28
26
|
tzinfo (~> 1.1)
|
29
|
-
arel (
|
30
|
-
|
27
|
+
arel (8.0.0)
|
28
|
+
concurrent-ruby (1.0.5)
|
31
29
|
diff-lcs (1.3)
|
32
30
|
equatable (0.5.0)
|
33
31
|
hitimes (1.2.6)
|
34
32
|
i18n (0.8.6)
|
35
33
|
io-console (0.4.6)
|
36
|
-
json (1.8.6)
|
37
34
|
minitest (5.10.3)
|
38
35
|
necromancer (0.4.0)
|
39
36
|
net-ssh (4.2.0)
|
data/README.md
CHANGED
@@ -81,10 +81,15 @@ node12 :: node12.example.com
|
|
81
81
|
|
82
82
|
## Database backend support
|
83
83
|
The database backend support is provided by ActiveRecord and thus
|
84
|
-
compatible with databases which are supported by ActiveRecord.
|
85
|
-
|
86
|
-
|
87
|
-
|
84
|
+
compatible with databases which are supported by ActiveRecord. Out of
|
85
|
+
the box mysql2, sqlite3 and postgresql work. To use another database
|
86
|
+
backend then you will need to download the source, add it to the
|
87
|
+
rcmd.gemspec file, and correct the 'requires' in lib/rcmd/db.rb
|
88
|
+
accordingly.
|
89
|
+
|
90
|
+
I tried having all of types in there but the dependency requirements
|
91
|
+
became too great, both within Ruby and development libraries on the
|
92
|
+
system.
|
88
93
|
|
89
94
|
To set up the database backend run rcmd with the '-C' switch first.
|
90
95
|
This will create a database configuration file in ~/.rcmd named
|
@@ -143,6 +148,13 @@ node18 :: node18.example.com
|
|
143
148
|
node17 :: node17.example.com
|
144
149
|
node11 :: node11.example.com
|
145
150
|
```
|
151
|
+
## Database Issues
|
152
|
+
|
153
|
+
Due to some Operating systems forcing older Ruby versions (RedHat,
|
154
|
+
CentOS, Mac OS X) rcmd will not install properly on these hosts. You
|
155
|
+
can either manually install a newer version of Ruby (>= 2.2.2) or you
|
156
|
+
can try to install activerecord and activesuppert versions 4.2.6.
|
157
|
+
This might work but I have not fully tested it as of yet.
|
146
158
|
|
147
159
|
# Development
|
148
160
|
|
data/doc/rdocs/README_md.html
CHANGED
@@ -66,6 +66,7 @@
|
|
66
66
|
<li><a href="#label-Using+regex+to+build+node+list">Using regex to build node list</a>
|
67
67
|
<li><a href="#label-Database+backend+support">Database backend support</a>
|
68
68
|
<li><a href="#label-Database+backend+examples">Database backend examples</a>
|
69
|
+
<li><a href="#label-Database+Issues">Database Issues</a>
|
69
70
|
<li><a href="#label-Development">Development</a>
|
70
71
|
</ul>
|
71
72
|
</div>
|
@@ -177,9 +178,13 @@ node12 :: node12.example.com</pre>
|
|
177
178
|
<h2 id="label-Database+backend+support">Database backend support<span><a href="#label-Database+backend+support">¶</a> <a href="#top">↑</a></span></h2>
|
178
179
|
|
179
180
|
<p>The database backend support is provided by ActiveRecord and thus
|
180
|
-
compatible with databases which are supported by ActiveRecord.
|
181
|
-
|
182
|
-
|
181
|
+
compatible with databases which are supported by ActiveRecord. Out of the
|
182
|
+
box mysql2, sqlite3 and postgresql work. To use another database backend
|
183
|
+
then you will need to download the source, add it to the rcmd.gemspec file,
|
184
|
+
and correct the 'requires' in lib/rcmd/db.rb accordingly.</p>
|
185
|
+
|
186
|
+
<p>I tried having all of types in there but the dependency requirements became
|
187
|
+
too great, both within Ruby and development libraries on the system.</p>
|
183
188
|
|
184
189
|
<p>To set up the database backend run rcmd with the '-C' switch first.
|
185
190
|
This will create a database configuration file in ~/.rcmd named
|
@@ -224,6 +229,14 @@ node10 :: node10.example.com node12 :: node12.example.com node18 ::
|
|
224
229
|
node18.example.com node17 :: node17.example.com node11 ::
|
225
230
|
node11.example.com </code></p>
|
226
231
|
|
232
|
+
<h2 id="label-Database+Issues">Database Issues<span><a href="#label-Database+Issues">¶</a> <a href="#top">↑</a></span></h2>
|
233
|
+
|
234
|
+
<p>Due to some Operating systems forcing older Ruby versions (RedHat, CentOS,
|
235
|
+
Mac OS X) rcmd will not install properly on these hosts. You can either
|
236
|
+
manually install a newer version of Ruby (>= 2.2.2) or you can try to
|
237
|
+
install activerecord and activesuppert versions 4.2.6. This might work but
|
238
|
+
I have not fully tested it as of yet.</p>
|
239
|
+
|
227
240
|
<h1 id="label-Development">Development<span><a href="#label-Development">¶</a> <a href="#top">↑</a></span></h1>
|
228
241
|
|
229
242
|
<p>If you are wanting to modify the code by all means do so. If you clone this
|
data/doc/rdocs/Rcmd/DB.html
CHANGED
@@ -108,17 +108,7 @@ class:</p>
|
|
108
108
|
<ul><li>
|
109
109
|
<p>sqlite3</p>
|
110
110
|
</li><li>
|
111
|
-
<p>
|
112
|
-
</li><li>
|
113
|
-
<p>frontbase</p>
|
114
|
-
</li><li>
|
115
|
-
<p>firebird</p>
|
116
|
-
</li><li>
|
117
|
-
<p>db2</p>
|
118
|
-
</li><li>
|
119
|
-
<p>openbase</p>
|
120
|
-
</li><li>
|
121
|
-
<p>oracle</p>
|
111
|
+
<p>mysql2</p>
|
122
112
|
</li><li>
|
123
113
|
<p>postgresql</p>
|
124
114
|
</li></ul>
|
@@ -177,7 +167,7 @@ are:</p>
|
|
177
167
|
|
178
168
|
|
179
169
|
<div class="method-source-code" id="create_config-source">
|
180
|
-
<pre><span class="ruby-comment"># File lib/rcmd/db.rb, line
|
170
|
+
<pre><span class="ruby-comment"># File lib/rcmd/db.rb, line 79</span>
|
181
171
|
<span class="ruby-keyword">def</span> <span class="ruby-constant">DB</span>.<span class="ruby-identifier">create_config</span>
|
182
172
|
<span class="ruby-identifier">puts</span> <span class="ruby-node">"Function: #{@config_dir}"</span>
|
183
173
|
<span class="ruby-keyword">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">directory?</span>(<span class="ruby-ivar">@config_dir</span>)
|
@@ -222,29 +212,10 @@ and set the table_name variable of the class.</p>
|
|
222
212
|
|
223
213
|
|
224
214
|
<div class="method-source-code" id="db_connect-source">
|
225
|
-
<pre><span class="ruby-comment"># File lib/rcmd/db.rb, line
|
215
|
+
<pre><span class="ruby-comment"># File lib/rcmd/db.rb, line 157</span>
|
226
216
|
<span class="ruby-keyword">def</span> <span class="ruby-constant">DB</span>.<span class="ruby-identifier">db_connect</span>
|
227
217
|
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">load_config</span>
|
228
|
-
|
229
|
-
<span class="ruby-keyword">case</span> <span class="ruby-ivar">@conf</span>[<span class="ruby-value">:adapter</span>].<span class="ruby-identifier">downcase</span>
|
230
|
-
<span class="ruby-keyword">when</span> <span class="ruby-string">"sqlite3"</span>
|
231
|
-
<span class="ruby-identifier">require</span> <span class="ruby-string">"sqlite3"</span>
|
232
|
-
<span class="ruby-keyword">when</span> <span class="ruby-string">"mysql"</span>
|
233
|
-
<span class="ruby-identifier">require</span> <span class="ruby-string">"mysql"</span>
|
234
|
-
<span class="ruby-keyword">when</span> <span class="ruby-string">"frontbase"</span>
|
235
|
-
<span class="ruby-identifier">require</span> <span class="ruby-string">"ruby-frontbase"</span>
|
236
|
-
<span class="ruby-keyword">when</span> <span class="ruby-string">"firebird"</span>
|
237
|
-
<span class="ruby-identifier">require</span> <span class="ruby-string">"fireruby"</span>
|
238
|
-
<span class="ruby-keyword">when</span> <span class="ruby-string">"db2"</span>
|
239
|
-
<span class="ruby-identifier">require</span> <span class="ruby-string">"ruby-db2"</span>
|
240
|
-
<span class="ruby-keyword">when</span> <span class="ruby-string">"openbase"</span>
|
241
|
-
<span class="ruby-identifier">require</span> <span class="ruby-string">"openbase"</span>
|
242
|
-
<span class="ruby-keyword">when</span> <span class="ruby-string">"oracle"</span>
|
243
|
-
<span class="ruby-identifier">require</span> <span class="ruby-string">"ruby-oci8"</span>
|
244
|
-
<span class="ruby-keyword">when</span> <span class="ruby-string">"postgresql"</span>
|
245
|
-
<span class="ruby-identifier">require</span> <span class="ruby-string">"ruby-postgres"</span>
|
246
|
-
<span class="ruby-keyword">end</span>
|
247
|
-
|
218
|
+
|
248
219
|
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@conf</span>[<span class="ruby-value">:adapter</span>].<span class="ruby-identifier">downcase</span> <span class="ruby-operator">==</span> <span class="ruby-string">"sqlite3"</span>
|
249
220
|
<span class="ruby-constant">ActiveRecord</span><span class="ruby-operator">::</span><span class="ruby-constant">Base</span>.<span class="ruby-identifier">establish_connection</span>(<span class="ruby-value">:adapter</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@conf</span>[<span class="ruby-value">:adapter</span>].<span class="ruby-identifier">downcase</span>,
|
250
221
|
<span class="ruby-value">:database</span> =<span class="ruby-operator">></span> <span class="ruby-ivar">@conf</span>[<span class="ruby-value">:database</span>])
|
@@ -290,7 +261,7 @@ disabling of os/type queries if those fields are not in the configuration</p>
|
|
290
261
|
|
291
262
|
|
292
263
|
<div class="method-source-code" id="load_config-source">
|
293
|
-
<pre><span class="ruby-comment"># File lib/rcmd/db.rb, line
|
264
|
+
<pre><span class="ruby-comment"># File lib/rcmd/db.rb, line 116</span>
|
294
265
|
<span class="ruby-keyword">def</span> <span class="ruby-constant">DB</span>.<span class="ruby-identifier">load_config</span>
|
295
266
|
<span class="ruby-keyword">unless</span> <span class="ruby-constant">File</span>.<span class="ruby-identifier">file?</span>(<span class="ruby-ivar">@config_file</span>)
|
296
267
|
<span class="ruby-identifier">raise</span> <span class="ruby-constant">RuntimeError</span>, <span class="ruby-node">"No database configuration file found: #{@config_file}"</span>
|
@@ -356,7 +327,7 @@ disabling of os/type queries if those fields are not in the configuration</p>
|
|
356
327
|
|
357
328
|
|
358
329
|
<div class="method-source-code" id="override_config_file-source">
|
359
|
-
<pre><span class="ruby-comment"># File lib/rcmd/db.rb, line
|
330
|
+
<pre><span class="ruby-comment"># File lib/rcmd/db.rb, line 74</span>
|
360
331
|
<span class="ruby-keyword">def</span> <span class="ruby-constant">DB</span>.<span class="ruby-identifier">override_config_file</span>(<span class="ruby-identifier">path</span>)
|
361
332
|
<span class="ruby-ivar">@config_file</span> = <span class="ruby-identifier">path</span>
|
362
333
|
<span class="ruby-keyword">end</span></pre>
|
@@ -389,7 +360,7 @@ disabling of os/type queries if those fields are not in the configuration</p>
|
|
389
360
|
|
390
361
|
|
391
362
|
<div class="method-source-code" id="query_by_hostname-source">
|
392
|
-
<pre><span class="ruby-comment"># File lib/rcmd/db.rb, line
|
363
|
+
<pre><span class="ruby-comment"># File lib/rcmd/db.rb, line 93</span>
|
393
364
|
<span class="ruby-keyword">def</span> <span class="ruby-constant">DB</span>.<span class="ruby-identifier">query_by_hostname</span>(<span class="ruby-identifier">term</span>)
|
394
365
|
<span class="ruby-keyword">return</span> <span class="ruby-identifier">where</span>(<span class="ruby-node">"#{@conf[:host_field]} LIKE ?"</span>, <span class="ruby-identifier">term</span> ).<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">r</span><span class="ruby-operator">|</span> <span class="ruby-identifier">r</span>[<span class="ruby-ivar">@conf</span>[<span class="ruby-value">:host_field</span>]] }
|
395
366
|
<span class="ruby-keyword">end</span></pre>
|
@@ -422,7 +393,7 @@ disabling of os/type queries if those fields are not in the configuration</p>
|
|
422
393
|
|
423
394
|
|
424
395
|
<div class="method-source-code" id="query_by_os-source">
|
425
|
-
<pre><span class="ruby-comment"># File lib/rcmd/db.rb, line
|
396
|
+
<pre><span class="ruby-comment"># File lib/rcmd/db.rb, line 98</span>
|
426
397
|
<span class="ruby-keyword">def</span> <span class="ruby-constant">DB</span>.<span class="ruby-identifier">query_by_os</span>(<span class="ruby-identifier">term</span>)
|
427
398
|
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@db_os_queries</span>
|
428
399
|
<span class="ruby-identifier">raise</span> <span class="ruby-constant">RuntimeError</span>, <span class="ruby-string">"OS based queries not supported in the configuration supplied"</span>
|
@@ -458,7 +429,7 @@ disabling of os/type queries if those fields are not in the configuration</p>
|
|
458
429
|
|
459
430
|
|
460
431
|
<div class="method-source-code" id="query_by_type-source">
|
461
|
-
<pre><span class="ruby-comment"># File lib/rcmd/db.rb, line
|
432
|
+
<pre><span class="ruby-comment"># File lib/rcmd/db.rb, line 106</span>
|
462
433
|
<span class="ruby-keyword">def</span> <span class="ruby-constant">DB</span>.<span class="ruby-identifier">query_by_type</span>(<span class="ruby-identifier">term</span>)
|
463
434
|
<span class="ruby-keyword">unless</span> <span class="ruby-ivar">@db_type_queries</span>
|
464
435
|
<span class="ruby-identifier">raise</span> <span class="ruby-constant">RuntimeError</span>, <span class="ruby-string">"Type queries not supported in the configuration supplied"</span>
|
data/doc/rdocs/created.rid
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
|
2
|
-
README.md
|
1
|
+
Sat, 07 Oct 2017 11:32:53 +0000
|
2
|
+
README.md Sat, 07 Oct 2017 11:31:11 +0000
|
3
3
|
lib/rcmd.rb Fri, 06 Oct 2017 20:23:25 +0000
|
4
|
-
lib/rcmd/db.rb
|
5
|
-
lib/rcmd/version.rb
|
4
|
+
lib/rcmd/db.rb Sat, 07 Oct 2017 11:16:26 +0000
|
5
|
+
lib/rcmd/version.rb Sat, 07 Oct 2017 11:20:01 +0000
|
6
6
|
exe/rcmd Fri, 06 Oct 2017 21:52:54 +0000
|
data/doc/rdocs/index.html
CHANGED
@@ -173,9 +173,13 @@ node12 :: node12.example.com</pre>
|
|
173
173
|
<h2 id="label-Database+backend+support">Database backend support<span><a href="#label-Database+backend+support">¶</a> <a href="#top">↑</a></span></h2>
|
174
174
|
|
175
175
|
<p>The database backend support is provided by ActiveRecord and thus
|
176
|
-
compatible with databases which are supported by ActiveRecord.
|
177
|
-
|
178
|
-
|
176
|
+
compatible with databases which are supported by ActiveRecord. Out of the
|
177
|
+
box mysql2, sqlite3 and postgresql work. To use another database backend
|
178
|
+
then you will need to download the source, add it to the rcmd.gemspec file,
|
179
|
+
and correct the 'requires' in lib/rcmd/db.rb accordingly.</p>
|
180
|
+
|
181
|
+
<p>I tried having all of types in there but the dependency requirements became
|
182
|
+
too great, both within Ruby and development libraries on the system.</p>
|
179
183
|
|
180
184
|
<p>To set up the database backend run rcmd with the '-C' switch first.
|
181
185
|
This will create a database configuration file in ~/.rcmd named
|
@@ -220,6 +224,14 @@ node10 :: node10.example.com node12 :: node12.example.com node18 ::
|
|
220
224
|
node18.example.com node17 :: node17.example.com node11 ::
|
221
225
|
node11.example.com </code></p>
|
222
226
|
|
227
|
+
<h2 id="label-Database+Issues">Database Issues<span><a href="#label-Database+Issues">¶</a> <a href="#top">↑</a></span></h2>
|
228
|
+
|
229
|
+
<p>Due to some Operating systems forcing older Ruby versions (RedHat, CentOS,
|
230
|
+
Mac OS X) rcmd will not install properly on these hosts. You can either
|
231
|
+
manually install a newer version of Ruby (>= 2.2.2) or you can try to
|
232
|
+
install activerecord and activesuppert versions 4.2.6. This might work but
|
233
|
+
I have not fully tested it as of yet.</p>
|
234
|
+
|
223
235
|
<h1 id="label-Development">Development<span><a href="#label-Development">¶</a> <a href="#top">↑</a></span></h1>
|
224
236
|
|
225
237
|
<p>If you are wanting to modify the code by all means do so. If you clone this
|
Binary file
|
Binary file
|
data/doc/rdocs/js/searcher.js.gz
CHANGED
Binary file
|
@@ -39,6 +39,7 @@
|
|
39
39
|
<li><a href="README_md.html#label-Using+regex+to+build+node+list">Using regex to build node list</a>
|
40
40
|
<li><a href="README_md.html#label-Database+backend+support">Database backend support</a>
|
41
41
|
<li><a href="README_md.html#label-Database+backend+examples">Database backend examples</a>
|
42
|
+
<li><a href="README_md.html#label-Database+Issues">Database Issues</a>
|
42
43
|
<li><a href="README_md.html#label-Development">Development</a>
|
43
44
|
</ul>
|
44
45
|
</li>
|
data/lib/rcmd/db.rb
CHANGED
@@ -15,12 +15,7 @@ configured for backend use in this class:
|
|
15
15
|
|
16
16
|
Backend Databases:
|
17
17
|
- sqlite3
|
18
|
-
-
|
19
|
-
- frontbase
|
20
|
-
- firebird
|
21
|
-
- db2
|
22
|
-
- openbase
|
23
|
-
- oracle
|
18
|
+
- mysql2
|
24
19
|
- postgresql
|
25
20
|
|
26
21
|
This is achieved in the DB.db_connect method, which matches the
|
@@ -161,26 +156,7 @@ not implemented.
|
|
161
156
|
# adapter and set the table_name variable of the class.
|
162
157
|
def DB.db_connect
|
163
158
|
self.load_config
|
164
|
-
|
165
|
-
case @conf[:adapter].downcase
|
166
|
-
when "sqlite3"
|
167
|
-
require "sqlite3"
|
168
|
-
when "mysql"
|
169
|
-
require "mysql"
|
170
|
-
when "frontbase"
|
171
|
-
require "ruby-frontbase"
|
172
|
-
when "firebird"
|
173
|
-
require "fireruby"
|
174
|
-
when "db2"
|
175
|
-
require "ruby-db2"
|
176
|
-
when "openbase"
|
177
|
-
require "openbase"
|
178
|
-
when "oracle"
|
179
|
-
require "ruby-oci8"
|
180
|
-
when "postgresql"
|
181
|
-
require "ruby-postgres"
|
182
|
-
end
|
183
|
-
|
159
|
+
|
184
160
|
if @conf[:adapter].downcase == "sqlite3"
|
185
161
|
ActiveRecord::Base.establish_connection(:adapter => @conf[:adapter].downcase,
|
186
162
|
:database => @conf[:database])
|
data/lib/rcmd/version.rb
CHANGED
data/rcmd.gemspec
CHANGED
@@ -36,8 +36,8 @@ Gem::Specification.new do |spec|
|
|
36
36
|
spec.add_runtime_dependency('io-console')
|
37
37
|
spec.add_runtime_dependency('thread')
|
38
38
|
spec.add_runtime_dependency('tty-prompt')
|
39
|
-
spec.add_runtime_dependency('activesupport'
|
40
|
-
spec.add_runtime_dependency('activerecord'
|
39
|
+
spec.add_runtime_dependency('activesupport')
|
40
|
+
spec.add_runtime_dependency('activerecord')
|
41
41
|
spec.add_runtime_dependency('regexp-examples')
|
42
42
|
spec.add_development_dependency('rspec', '~> 3.0', '>= 2.0.0')
|
43
43
|
spec.add_development_dependency "bundler", ">= 1.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rcmd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Rose
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh
|
@@ -70,30 +70,30 @@ dependencies:
|
|
70
70
|
name: activesupport
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: '0'
|
76
76
|
type: :runtime
|
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:
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: activerecord
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: '0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: regexp-examples
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|