raykit 0.0.156 → 0.0.157
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/lib/raykit/console.rb +1 -55
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99a5f222f5330b83843df11372f3b55995fd0de6fadeadfd1109e1a750c9d820
|
4
|
+
data.tar.gz: 801ade65b5942f7c60e4200756bcee75efaedabd14ac1d31435e7d720fd6fcc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: abcd11035dd4066cf7dc6ed852c7884bc1d9c4a0773f5943400e24578b2ee304b1c5375813c6157ab286c8b9539dce72969e0c7d28bcc5e917235e119e8784b0
|
7
|
+
data.tar.gz: 25843491ed2179b8529e31aaf4e052addf44a32f2891b037234ed71ed3b84099a5cdef75b472f48cd9c8d73cbe875c64ec30cd0d18a8ad20da1c70075b46da2e
|
data/lib/raykit/console.rb
CHANGED
@@ -158,12 +158,8 @@ module Raykit
|
|
158
158
|
Dir.chdir(work.directory) do
|
159
159
|
if(File.exist?('rakefile.rb'))
|
160
160
|
rake = Raykit::Command.new("rake #{@opts[:task]}")
|
161
|
-
#if(rake.exitstatus != 0)
|
162
|
-
# rake.summary true
|
163
|
-
#end
|
164
161
|
rake.summary(true) if(@opts.verbose?) || rake.exitstatus != 0
|
165
162
|
if(rake.exitstatus != 0)
|
166
|
-
#puts 'rake exitstatus = ' + rake.exitstatus.to_s
|
167
163
|
rake.details
|
168
164
|
rake.summary true
|
169
165
|
return rake.exitstatus
|
@@ -287,56 +283,6 @@ module Raykit
|
|
287
283
|
|
288
284
|
|
289
285
|
end
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
# Parses the command line arguments for the Raykit console application
|
294
|
-
#class Parser
|
295
|
-
# def self.parse(options)
|
296
|
-
# hash=Hash.new
|
297
|
-
# opt_parser = OptionParser.new do |opts|
|
298
|
-
# opts.banner = "Usage: raykit [options]"
|
299
|
-
# opts.on('-l','--list [PATTERN]','list remotes') do |pattern|
|
300
|
-
# hash[:verb]="list"
|
301
|
-
# hash[:pattern]=pattern
|
302
|
-
# return hash
|
303
|
-
# end
|
304
|
-
|
305
|
-
# opts.on('-i','--import','import remotes') do |import|
|
306
|
-
# hash[:verb]="import"
|
307
|
-
# return hash
|
308
|
-
# end
|
309
|
-
|
310
|
-
# opts.on('-r','--rake [PATTERN]','rake [PATTERN]') do |pattern|
|
311
|
-
# hash[:verb]="rake"
|
312
|
-
# if(pattern.nil?)
|
313
|
-
# hash[:pattern] = ''
|
314
|
-
# else
|
315
|
-
# hash[:pattern]=pattern
|
316
|
-
# end
|
317
|
-
# return hash
|
318
|
-
# end
|
319
|
-
|
320
|
-
# opts.on('-w','--work [PATTERN]','work [PATTERN]') do |pattern|
|
321
|
-
# hash[:verb]="work"
|
322
|
-
# if(pattern.nil?)
|
323
|
-
# hash[:pattern] = ''
|
324
|
-
# else
|
325
|
-
# hash[:pattern]=pattern
|
326
|
-
# end
|
327
|
-
# return hash
|
328
|
-
# end
|
329
|
-
|
330
|
-
# opts.on('-h','--help','help') do
|
331
|
-
# puts opts
|
332
|
-
# exit
|
333
|
-
# end
|
334
|
-
# end
|
335
|
-
|
336
|
-
# opt_parser.parse!(options)
|
337
|
-
# hash
|
338
|
-
# end
|
339
|
-
#end
|
340
286
|
end
|
341
287
|
|
342
|
-
CONSOLE=Raykit::Console.new
|
288
|
+
#CONSOLE=Raykit::Console.new
|