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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d2172a661f1295ca2cb3816e542a7a6e044d8d1c
4
- data.tar.gz: 4fbd700c8b49939d3764e9e45614987e756ff40e
3
+ metadata.gz: 2a815e372012e59186b1502204fbe87386a3d763
4
+ data.tar.gz: '0588c08641aba0e11d449805a415f7f02acd3568'
5
5
  SHA512:
6
- metadata.gz: 1dba2360f056f2f93c59d3a7aa74ae9d10029b81a9d7f65d34eb8fb7e012b7b8916828ce8778c54ae9f8ae7c16be0bef94645fe9cb6b9c49aca85fd2a2657d63
7
- data.tar.gz: dca3bd4efb946af0d2d9270449081ab19d6522778d063807ae6ab80767236b3ee26e96000388c7c2b4a04adc384c94dee9783811e39e00ebfd78d67dd29f6acb
6
+ metadata.gz: 6ce393cbc9e258ca61894cc72c156fefea05329b5ba4acd0c413d9477aef5543ac963f3b79551c3ba03c9dd1ece929b70fba3ff4c4c2e8281aa39c720f55fc57
7
+ data.tar.gz: 71abb7249a9e83af511f08b778df0529dd7084051d801a61c3bda3cca87b70bc41160a956de41ba082d5be9511ee667214b44f3d64c252175f7f1c55c88d73c2
@@ -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.rm File.join(dir_out, '*') if @dir_out_clear
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
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module Svelte
3
- VERSION = '0.1.3'
3
+ VERSION = '0.1.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svelte-rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - So Awesome Man