daemon-ogre 1.2.2 → 1.2.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.
- data/VERSION +1 -1
- data/daemon-ogre.gemspec +1 -1
- data/lib/daemon-ogre.rb +13 -9
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.2.
|
|
1
|
+
1.2.3
|
data/daemon-ogre.gemspec
CHANGED
data/lib/daemon-ogre.rb
CHANGED
|
@@ -298,11 +298,15 @@ begin
|
|
|
298
298
|
end
|
|
299
299
|
end
|
|
300
300
|
|
|
301
|
-
if !terminate_on_command.
|
|
302
|
-
|
|
301
|
+
if !terminate_on_command.nil?
|
|
302
|
+
if !terminate_on_command.include?(true)
|
|
303
|
+
@@startup = true
|
|
304
|
+
else
|
|
305
|
+
puts "sorry but process is already running in this specification"
|
|
306
|
+
Process.exit
|
|
307
|
+
end
|
|
303
308
|
else
|
|
304
|
-
|
|
305
|
-
Process.exit
|
|
309
|
+
@@startup = true
|
|
306
310
|
end
|
|
307
311
|
end
|
|
308
312
|
|
|
@@ -429,11 +433,6 @@ begin
|
|
|
429
433
|
def process_running?(input)
|
|
430
434
|
DaemonOgre.process_running?(input)
|
|
431
435
|
end
|
|
432
|
-
class File
|
|
433
|
-
def self.create!(input,optionable_data=nil,optionable_file_mod="w")
|
|
434
|
-
DaemonOgre.create_on_filesystem(input,optionable_data,optionable_file_mod)
|
|
435
|
-
end
|
|
436
|
-
end
|
|
437
436
|
def require_directory(directory,*args)
|
|
438
437
|
DaemonOgre.load_directory(directory,*args)
|
|
439
438
|
end
|
|
@@ -446,6 +445,11 @@ begin
|
|
|
446
445
|
def logger(error_msg,prefix="",log_file=DaemonOgre::App.log_path)
|
|
447
446
|
DaemonOgre.error_logger(error_msg,prefix,log_file)
|
|
448
447
|
end
|
|
448
|
+
class File
|
|
449
|
+
def self.create!(input,optionable_data=nil,optionable_file_mod="w")
|
|
450
|
+
DaemonOgre.create_on_filesystem(input,optionable_data,optionable_file_mod)
|
|
451
|
+
end
|
|
452
|
+
end
|
|
449
453
|
class Class
|
|
450
454
|
def class_methods
|
|
451
455
|
self.methods - Object.methods
|