chap 0.0.8 → 0.0.9

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 (3) hide show
  1. data/lib/chap/runner.rb +5 -1
  2. data/lib/chap/version.rb +1 -1
  3. metadata +1 -1
@@ -67,7 +67,11 @@ module Chap
67
67
  shared_dirs.each do |path|
68
68
  src = path
69
69
  relative_path = path.sub("#{shared_path}/",'')
70
- dest = "#{release_path}/#{relative_path}"
70
+ dest = if relative_path == "system"
71
+ "#{release_path}/public/#{relative_path}"
72
+ else
73
+ "#{release_path}/#{relative_path}"
74
+ end
71
75
  # make sure the directory exist for symlink creation
72
76
  dirname = File.dirname(dest)
73
77
  FileUtils.mkdir_p(dirname) unless File.exist?(dirname)
@@ -1,3 +1,3 @@
1
1
  module Chap
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: chap
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: