raykit 0.0.375 → 0.0.376

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/raykit/filesystem.rb +3 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 858fbff0aeaaef97296ca72190c287f7b7285ea720f690be7e9ea47bac75c72d
4
- data.tar.gz: 30b43577ff9c4c25afbcd1e0743efaa2110217c8c72283371c2abbe9c3c69ed6
3
+ metadata.gz: 224ba871da0a6c96eb376a9c1237e9b1d5398b705e3a6d8d20a18b89baa77fba
4
+ data.tar.gz: 27e1c2f103d9f2eaaaef2a60583582a1d5ee9b5330e535be14bd7c7d5e632dc7
5
5
  SHA512:
6
- metadata.gz: ea7e12bb7b5061df8df5dc0f5f7e75ce2dff3ce004e07b9f85705e644a15775468d2d9b0a721a8b06038bc0be9fceaca5b6b295051b03ecccdd3923a8d8adde0
7
- data.tar.gz: addf2412dc13b32ef13a2f977630d7b51fcd3db0711661b032ada7e9d0b7ac6c27d90f8e283b58e6461bea8424df2d902d03f36fdc604c8b99c904da55cf2823
6
+ metadata.gz: d8911520507618ca82c3fb071735e66a3390941abdf2447cb5e4b31af660d93bc12634d28ee5fc5d5b5882a759de9983b07bf9e3d632f9db7a9586b7b63785bc
7
+ data.tar.gz: 33d29879e64222cb9f9f5b229957a04754dbe0f27f46164e0462a7417ea5eefc808369965ccbaecd203029c900ae665e53f4ed8c95a7e5f4af067b37d2e95ed3
@@ -4,8 +4,9 @@ module Raykit
4
4
  FileUtils.mkdir_p(target_dir) if !Dir.exist?(target_dir)
5
5
  #Dir.chdir(source_dir) do
6
6
  Dir.glob("#{source_dir}/#{glob_pattern}").each { |f|
7
- dest = "#{target_dir}/#{f}"
8
- puts " copying #{f} to #{dest}"
7
+ rel = f.gsub(source_dir, "")
8
+ dest = "#{target_dir}/#{rel}"
9
+ puts " copying #{rel} to #{dest}"
9
10
  FileUtils.cp(f, dest)
10
11
  }
11
12
  #end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raykit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.375
4
+ version: 0.0.376
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow