cake 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/bin/cake +5 -2
  2. data/lib/bake.jar +0 -0
  3. data/lib/cake.jar +0 -0
  4. metadata +6 -6
data/bin/cake CHANGED
@@ -35,7 +35,7 @@ else
35
35
  def daemon(cmd)
36
36
  puts cmd.join(' ') if debug?
37
37
  pid = fork do
38
- if not $stdin.tty?
38
+ if $config['jvm.detach-output'] or not $stdin.tty?
39
39
  $stdout.close
40
40
  $stderr.close
41
41
  end
@@ -167,8 +167,8 @@ def parse_opts!
167
167
  $opts = {}
168
168
  ARGV[1..-1].each do |opt|
169
169
  case opt
170
+ when "--" then break # stop parsing options
170
171
  when /^@([-\w]+)$/ then add_opt!(:context, $1)
171
- when /^--$/ then break # Other REs will match, so check first.
172
172
  when /^-(\w+)$/ then $1.split('').each {|c| add_opt!(c, '')}
173
173
  when /^--?([-\w]+)=(.+)$/ then add_opt!($1, *$2.split(','))
174
174
  when /^--?([-\w]+)$/ then add_opt!($1, "")
@@ -316,6 +316,9 @@ end
316
316
 
317
317
  def ps
318
318
  `jps -v`.split("\n").select {|l| l =~ /cake\.project/}
319
+ rescue Errno::ENOENT => e
320
+ puts "jps was not found on your PATH. Please add it."
321
+ raise e
319
322
  end
320
323
 
321
324
  def cake_pids
data/lib/bake.jar CHANGED
Binary file
data/lib/cake.jar CHANGED
Binary file
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cake
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
5
- prerelease:
4
+ hash: 5
5
+ prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 6
9
- - 0
10
- version: 0.6.0
9
+ - 1
10
+ version: 0.6.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Balthrop
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-01-01 00:00:00 -08:00
19
+ date: 2011-02-12 00:00:00 -08:00
20
20
  default_executable: cake
21
21
  dependencies: []
22
22
 
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  requirements: []
65
65
 
66
66
  rubyforge_project: cake
67
- rubygems_version: 1.4.1
67
+ rubygems_version: 1.3.7
68
68
  signing_key:
69
69
  specification_version: 3
70
70
  summary: A tasty build tool and concurrent repl for Clojure.