weaver 0.7.2 → 0.8.0
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.
- checksums.yaml +4 -4
- data/exe/weaver +7 -4
- data/lib/weaver.rb +1 -1
- data/lib/weaver/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 64d0021b8ab6a2f1c556c7708d40daa45c13b508
|
|
4
|
+
data.tar.gz: c3b8f985efa4e770335708c0f59653de2fab749e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e5339d77dcd36e560dd84ce6448a81fd07837d4a1da90a8cbbe94f38e52bff1634f40d50aa698278b4d3b460c467269aa5f0fc16283fabf3e5ce7ab62958f67
|
|
7
|
+
data.tar.gz: 9d04d3c42cc0a707d9302dac8c47b2f2911d5807b1a1a8c82c0a2b030af2c330b0f156b03d48915aa5bd2416664d8107161f74ed5593e8394b588aa8bc55ac54
|
data/exe/weaver
CHANGED
|
@@ -99,19 +99,22 @@ where [options] are:
|
|
|
99
99
|
puts "Building site..."
|
|
100
100
|
|
|
101
101
|
buildDir = "#{Dir.pwd}/build"
|
|
102
|
+
|
|
103
|
+
cp_r_options = {preserve: true}
|
|
104
|
+
|
|
102
105
|
FileUtils::rm_rf buildDir
|
|
103
|
-
FileUtils.cp_r(File.join(Gem.loaded_specs['weaver'].full_gem_path, "data", "weaver"), buildDir)
|
|
106
|
+
FileUtils.cp_r(File.join(Gem.loaded_specs['weaver'].full_gem_path, "data", "weaver"), buildDir, cp_r_options)
|
|
104
107
|
if Dir.exist? "images"
|
|
105
|
-
FileUtils.cp_r("images", buildDir)
|
|
108
|
+
FileUtils.cp_r("images", buildDir, cp_r_options)
|
|
106
109
|
end
|
|
107
110
|
if Dir.exist? "js"
|
|
108
111
|
Dir["js/*.*"].each do |x|
|
|
109
|
-
FileUtils.cp_r(x, File.join(buildDir, "js"))
|
|
112
|
+
FileUtils.cp_r(x, File.join(buildDir, "js"), cp_r_options)
|
|
110
113
|
end
|
|
111
114
|
end
|
|
112
115
|
if Dir.exist? "css"
|
|
113
116
|
Dir["css/*.*"].each do |x|
|
|
114
|
-
FileUtils.cp_r(x, File.join(buildDir, "css"))
|
|
117
|
+
FileUtils.cp_r(x, File.join(buildDir, "css"), cp_r_options)
|
|
115
118
|
end
|
|
116
119
|
end
|
|
117
120
|
|
data/lib/weaver.rb
CHANGED
data/lib/weaver/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: weaver
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Siaw
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-11-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|