cloudblocks 0.0.12a → 0.0.12b
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/chief +1 -1
- data/bin/quartz +4 -4
- metadata +1 -1
data/bin/chief
CHANGED
@@ -26,7 +26,7 @@ config_dir = File.join(Dir.home, '.cloudblocks')
|
|
26
26
|
config_full = File.join(config_dir, config_file)
|
27
27
|
|
28
28
|
api_key = ''
|
29
|
-
faye_url = '
|
29
|
+
faye_url = 'https://sockets.cloudblocks.co/'
|
30
30
|
|
31
31
|
if File.exists?(config_full)
|
32
32
|
# config file present
|
data/bin/quartz
CHANGED
@@ -291,7 +291,7 @@ config_file = 'cloudblocks.yaml'
|
|
291
291
|
@log_full = File.join('/tmp', @log_file)
|
292
292
|
|
293
293
|
@api_key = ''
|
294
|
-
@faye_url = '
|
294
|
+
@faye_url = 'https://sockets.cloudblocks.co/push/'
|
295
295
|
commands = %w[register unregister start stop]
|
296
296
|
|
297
297
|
@plugins = {}
|
@@ -300,7 +300,7 @@ commands = %w[register unregister start stop]
|
|
300
300
|
@daemon_mode = true
|
301
301
|
command = nil
|
302
302
|
@agent_id = ''
|
303
|
-
@realtime =
|
303
|
+
@realtime = false
|
304
304
|
OptionParser.new do |opts|
|
305
305
|
opts.banner = <<-EOF
|
306
306
|
CloudQuartz Agent. v#{str_version} (c) 2012 CloudBlocks
|
@@ -349,8 +349,8 @@ EOF
|
|
349
349
|
@secret_key = v
|
350
350
|
end
|
351
351
|
|
352
|
-
opts.on('-
|
353
|
-
@realtime =
|
352
|
+
opts.on('-r', '--realtime', 'Enable realtime notifications (beta)') do |v|
|
353
|
+
@realtime = true
|
354
354
|
end
|
355
355
|
|
356
356
|
opts.on_tail("-h", "--help", "Show this message") do
|