weaver 0.8.11 → 0.8.13
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 +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1683b0933e4d5201922cbccfad748fd42b50af0fc8e6ab18f4024068aab792bf
|
4
|
+
data.tar.gz: 783ec407a487dbdd57f64ba37b19a569c3417882d12026cd298bb31e657a35eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54605062e368db5f964754b1a9a70122e95eef91b6b8c578cdc02e2c7865454da94ad9222b1e5fb8ef1adb8bcce2245a0b00761ab6b57dc0d92b4f732bdd3da1
|
7
|
+
data.tar.gz: aec571841dbc2fcd6eea719fdb94fc2b7a8d06a9becf405c70fc10e011916eb44ab9d0f1885dc9134b009981041ec9dcab14a71fedbca8680d32802107ce9f69
|
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
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.8.
|
4
|
+
version: 0.8.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Siaw
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -31410,7 +31410,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
31410
31410
|
- !ruby/object:Gem::Version
|
31411
31411
|
version: '0'
|
31412
31412
|
requirements: []
|
31413
|
-
rubygems_version: 3.3
|
31413
|
+
rubygems_version: 3.2.3
|
31414
31414
|
signing_key:
|
31415
31415
|
specification_version: 4
|
31416
31416
|
summary: Website generator
|