je 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/Gemfile.lock +1 -1
  2. data/bin/je +6 -5
  3. data/lib/je/version.rb +1 -1
  4. metadata +3 -3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- je (0.1.1)
4
+ je (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
data/bin/je CHANGED
@@ -15,12 +15,13 @@ end
15
15
 
16
16
  # Option parsing
17
17
  $verbose = false
18
- usage() if ARGV.length == 0
19
- if ARGV[0] == '-v'
18
+ argv = ARGV
19
+ usage() if argv.length == 0
20
+ if argv[0] == '-v'
20
21
  $verbose = true
21
- ARGV = ARGV[1..-1]
22
+ argv = argv[1..-1]
22
23
  end
23
- usage() if ARGV.length == 0
24
+ usage() if argv.length == 0
24
25
 
25
26
  # Set ENV for preloading jemalloc
26
27
  lib_dir = File.expand_path('../lib/', File.dirname(__FILE__))
@@ -54,7 +55,7 @@ trap("TERM") { puts "SIGTERM received"; terminate_gracefully pid }
54
55
 
55
56
  # exec(2)
56
57
  if pid.nil? then
57
- Kernel.exec *ARGV
58
+ Kernel.exec *argv
58
59
  else
59
60
  pid, status = Process.wait2
60
61
  Kernel.exit (status.exitstatus || 0)
data/lib/je/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module JE
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: je
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -91,7 +91,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  segments:
93
93
  - 0
94
- hash: 1127827269214901943
94
+ hash: -3121816511925691560
95
95
  required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  version: '0'
101
101
  segments:
102
102
  - 0
103
- hash: 1127827269214901943
103
+ hash: -3121816511925691560
104
104
  requirements: []
105
105
  rubyforge_project:
106
106
  rubygems_version: 1.8.24