daemon-ogre 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/lib/daemon-ogre/argv.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e2e72f8f2cec1041946fbc40dc1fd0800440bfd
|
4
|
+
data.tar.gz: defa4621c6d460432298430ebebdf7b1bac598e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c760ff529c3bffa637421be4ea440ea4fd66abf821c8d6fa0fcd548f07b0a173b456bb722cdedde245fa74034032008436e56e36ab20558b72885849ffdc2cf
|
7
|
+
data.tar.gz: a1991e7b9a9956737bd239a68587a334004fb234c492ecd5d5057b61cd7e8581a4547efbca8cb562bed24b6cfe3be25b078ae21c1fbc1756aee15cc00ec94d61
|
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.1.
|
1
|
+
2.1.3
|
data/lib/daemon-ogre/argv.rb
CHANGED
@@ -5,7 +5,7 @@ module DaemonOgre
|
|
5
5
|
|
6
6
|
def check_args_for( *args )
|
7
7
|
args = args.map(&:to_s)
|
8
|
-
return ::ARGV.any?{|argument| args.any?{|string_to_find| argument =~
|
8
|
+
return ::ARGV.any?{|argument| args.any?{|string_to_find| argument =~ /--?#{string_to_find.to_s}$/ }}
|
9
9
|
end
|
10
10
|
|
11
11
|
@@daemon_keys= [:daemonize,:daemon,:d]
|