svelte-rack 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack/svelte/cogs.rb +1 -1
- data/lib/rack/svelte/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a815e372012e59186b1502204fbe87386a3d763
|
4
|
+
data.tar.gz: '0588c08641aba0e11d449805a415f7f02acd3568'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ce393cbc9e258ca61894cc72c156fefea05329b5ba4acd0c413d9477aef5543ac963f3b79551c3ba03c9dd1ece929b70fba3ff4c4c2e8281aa39c720f55fc57
|
7
|
+
data.tar.gz: 71abb7249a9e83af511f08b778df0529dd7084051d801a61c3bda3cca87b70bc41160a956de41ba082d5be9511ee667214b44f3d64c252175f7f1c55c88d73c2
|
data/lib/rack/svelte/cogs.rb
CHANGED
@@ -32,7 +32,7 @@ module Rack::Svelte
|
|
32
32
|
raise "ERROR: Dir In cannot be found: #{dir_in}" unless Dir.exist? dir_in
|
33
33
|
raise "ERROR: Dir Out cannot be found: #{dir_out}" unless Dir.exist? dir_out
|
34
34
|
|
35
|
-
FileUtils.
|
35
|
+
FileUtils.rm_rf(Dir.glob(File.join(dir_out, '*'))) if @dir_out_clear
|
36
36
|
|
37
37
|
Dir.glob(File.join(dir_in, '**/*')).each do |filename_in|
|
38
38
|
# only html components
|
data/lib/rack/svelte/version.rb
CHANGED