woody 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -92,6 +92,9 @@ module Woody
92
92
 
93
93
  # Purge left over files
94
94
  purge_output(touchedfiles)
95
+
96
+ # Remove all empty directories from the output
97
+ Dir['output/**/*'].select { |d| File.directory? d }.select { |d| (Dir.entries(d) - %w[ . .. ]).empty? }.each { |d| Dir.rmdir d }
95
98
  end
96
99
 
97
100
  private
data/lib/woody/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Woody
2
2
  # Specifies Woody gem version
3
- VERSION = "0.0.14"
3
+ VERSION = "0.0.15"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: woody
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: