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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2547f9b4f999a498dbc84f12dc8512159d60007d
4
- data.tar.gz: c0f581a9cf8133de247f56c4cadf9e80a1797bbc
3
+ metadata.gz: 7e2e72f8f2cec1041946fbc40dc1fd0800440bfd
4
+ data.tar.gz: defa4621c6d460432298430ebebdf7b1bac598e0
5
5
  SHA512:
6
- metadata.gz: cad88a2755440b96bf43f49471eadb39739f3ce60fec4821d4eff9b6f9940256ba216382e0677d5f4cf54e454f4e8bfd3fe6590ab762e6be5a020346f9570233
7
- data.tar.gz: c65252bade38211b418996ffc128f7a392e5bfb8856fe6ad3d3687292d2c4510cdacc7eb378c1113efebb7e0a594d5829023e0f8e7576ba19508780f9de09bb9
6
+ metadata.gz: 7c760ff529c3bffa637421be4ea440ea4fd66abf821c8d6fa0fcd548f07b0a173b456bb722cdedde245fa74034032008436e56e36ab20558b72885849ffdc2cf
7
+ data.tar.gz: a1991e7b9a9956737bd239a68587a334004fb234c492ecd5d5057b61cd7e8581a4547efbca8cb562bed24b6cfe3be25b078ae21c1fbc1756aee15cc00ec94d61
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- daemon-ogre (2.1.2)
4
+ daemon-ogre (2.1.3)
5
5
  tmp (>= 2.2.2)
6
6
 
7
7
  GEM
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.1.2
1
+ 2.1.3
@@ -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 =~ Regexp.new(string_to_find.to_s) }}
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]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daemon-ogre
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Luzsi