weaver 0.8.11 → 0.8.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/weaver +5 -5
- data/lib/weaver/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a0c140d29a69d405a040f1daa47f216800a6d71c7fe60f5d66d1334c15b187f
|
4
|
+
data.tar.gz: 92c853bc946894c83ab381188ee921ca0893c44fa5c8ee0d6a1189549d61ad5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f60ed4d8ba97f27cef892f147a4151fa14bb83d9a675d5b965a652e8d2a6f855af94d721a2e2465a7e436f6e6737c8c6cb35801e587c890628da3271e6ccb6a
|
7
|
+
data.tar.gz: e74417a0256eabb9ab41d351418df8bae7d1522e949ad4462d21ef52897806d17550e7ba79357afbc404c010a9626eb4ebd327944c81585380137654bee4b097
|
data/exe/weaver
CHANGED
@@ -96,19 +96,19 @@ def build!(_args)
|
|
96
96
|
|
97
97
|
buildDir = "#{Dir.pwd}/build"
|
98
98
|
|
99
|
-
|
99
|
+
preserve = true
|
100
100
|
|
101
101
|
FileUtils.rm_rf buildDir
|
102
|
-
FileUtils.cp_r(File.join(Gem.loaded_specs['weaver'].full_gem_path, 'data', 'weaver'), buildDir,
|
103
|
-
FileUtils.cp_r('images', buildDir,
|
102
|
+
FileUtils.cp_r(File.join(Gem.loaded_specs['weaver'].full_gem_path, 'data', 'weaver'), buildDir, preserve: preserve)
|
103
|
+
FileUtils.cp_r('images', buildDir, preserve: preserve) if Dir.exist? 'images'
|
104
104
|
if Dir.exist? 'js'
|
105
105
|
Dir['js/*.*'].each do |x|
|
106
|
-
FileUtils.cp_r(x, File.join(buildDir, 'js'),
|
106
|
+
FileUtils.cp_r(x, File.join(buildDir, 'js'), preserve: preserve)
|
107
107
|
end
|
108
108
|
end
|
109
109
|
if Dir.exist? 'css'
|
110
110
|
Dir['css/*.*'].each do |x|
|
111
|
-
FileUtils.cp_r(x, File.join(buildDir, 'css'),
|
111
|
+
FileUtils.cp_r(x, File.join(buildDir, 'css'), preserve: preserve)
|
112
112
|
end
|
113
113
|
end
|
114
114
|
|
data/lib/weaver/version.rb
CHANGED