cake 0.5.1 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. data/bin/cake +3 -3
  2. data/lib/bake.jar +0 -0
  3. data/lib/cake.jar +0 -0
  4. metadata +4 -4
data/bin/cake CHANGED
@@ -393,10 +393,10 @@ class JVM
393
393
  def start
394
394
  return unless enabled?
395
395
  if running?
396
- log(:start, "#{type} jvm already running") if $command == :start and not $opts[:silent]
396
+ log(:start, "#{type} jvm already running") if $command == :start
397
397
  return
398
398
  else
399
- log(:start, "starting #{type} jvm") if verbose? or ($command == :start and not $opts[:silent])
399
+ log(:start, "starting #{type} jvm") if verbose? or $command == :start
400
400
  @port = rand(MAX_PORT - MIN_PORT) + MIN_PORT
401
401
  @pid = daemon %{java #{vm_opts} -Dcake.project="#{$bakedir}" #{java_opts} clojure.main -e "(require '#{type}.core) (#{type}.core/start-server #{port})"}
402
402
  File.open(pidfile, 'w') {|f| f.write("#{pid}\n#{port}\n#{$version}\n") }
@@ -781,7 +781,7 @@ else
781
781
  end
782
782
 
783
783
  if $command == :upgrade
784
- system($0, "start", "--silent")
784
+ system($0, "killall")
785
785
  exec($0, "--version")
786
786
  end
787
787
 
Binary file
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: 9
4
+ hash: 13
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 1
10
- version: 0.5.1
9
+ - 3
10
+ version: 0.5.3
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: 2010-10-14 00:00:00 -07:00
19
+ date: 2010-10-16 00:00:00 -07:00
20
20
  default_executable: cake
21
21
  dependencies: []
22
22