je 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/bin/je +6 -5
- data/lib/je/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/bin/je
CHANGED
@@ -15,12 +15,13 @@ end
|
|
15
15
|
|
16
16
|
# Option parsing
|
17
17
|
$verbose = false
|
18
|
-
|
19
|
-
if
|
18
|
+
argv = ARGV
|
19
|
+
usage() if argv.length == 0
|
20
|
+
if argv[0] == '-v'
|
20
21
|
$verbose = true
|
21
|
-
|
22
|
+
argv = argv[1..-1]
|
22
23
|
end
|
23
|
-
usage() if
|
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 *
|
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
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.
|
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:
|
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:
|
103
|
+
hash: -3121816511925691560
|
104
104
|
requirements: []
|
105
105
|
rubyforge_project:
|
106
106
|
rubygems_version: 1.8.24
|