weaver 0.8.11 → 0.8.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/weaver +5 -5
  3. data/lib/weaver/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40d900204bcee3bfdccf154242fcd11d6ed03f232bb7ab47ccec717c6a4838c3
4
- data.tar.gz: 3eb1b1873e03ccf4f53f438d741395c41febad11db476663587a84dfe3116f07
3
+ metadata.gz: 7a0c140d29a69d405a040f1daa47f216800a6d71c7fe60f5d66d1334c15b187f
4
+ data.tar.gz: 92c853bc946894c83ab381188ee921ca0893c44fa5c8ee0d6a1189549d61ad5c
5
5
  SHA512:
6
- metadata.gz: 507ea16a0c4de45fa83513a8762bbd1cb0b111fca32245c6ef33acccaf4fa57f103265d5e636dcfcbe95fc0f4d6d92f3f4d8fe961986d3fffffe191524e9952c
7
- data.tar.gz: 5c2ebe963cc782f3c6afe7ed71a21b6567b80f71f923d1ba79440316be03ed8cdc419004d1a67df8df7e58bdf43df154abfddc75a824f22a2016b98e2bf18b8b
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
- cp_r_options = { preserve: true }
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, cp_r_options)
103
- FileUtils.cp_r('images', buildDir, cp_r_options) if Dir.exist? 'images'
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'), cp_r_options)
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'), cp_r_options)
111
+ FileUtils.cp_r(x, File.join(buildDir, 'css'), preserve: preserve)
112
112
  end
113
113
  end
114
114
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Weaver
4
- VERSION = '0.8.11'
4
+ VERSION = '0.8.12'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weaver
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.11
4
+ version: 0.8.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Siaw