dokuen 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -209,6 +209,14 @@ class Dokuen::Application
209
209
  end
210
210
  end
211
211
 
212
+ def clean
213
+ with_current_release do
214
+ Dir.glob(".dokuen/*.pid") do |f|
215
+ File.delete(f)
216
+ end
217
+ end
218
+ end
219
+
212
220
  private
213
221
 
214
222
  def clone(git_dir, revision)
data/lib/dokuen/cli.rb CHANGED
@@ -93,6 +93,7 @@ class Dokuen::CLI < Thor
93
93
  Dir.glob("#{@config.dokuen_dir}/apps/*") do |appdir|
94
94
  next if File.basename(appdir)[0] == '.'
95
95
  app = Dokuen::Application.new(File.basename(appdir), @config)
96
+ app.clean
96
97
  app.scale
97
98
  end
98
99
  end
@@ -1,3 +1,3 @@
1
1
  module Dokuen
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dokuen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-29 00:00:00.000000000Z
12
+ date: 2012-05-30 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake