raykit 0.0.372 → 0.0.375
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raykit/filesystem.rb +7 -7
- data/lib/raykit/rake.rb +1 -1
- data/lib/raykit.rb +0 -4
- 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: 858fbff0aeaaef97296ca72190c287f7b7285ea720f690be7e9ea47bac75c72d
|
4
|
+
data.tar.gz: 30b43577ff9c4c25afbcd1e0743efaa2110217c8c72283371c2abbe9c3c69ed6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea7e12bb7b5061df8df5dc0f5f7e75ce2dff3ce004e07b9f85705e644a15775468d2d9b0a721a8b06038bc0be9fceaca5b6b295051b03ecccdd3923a8d8adde0
|
7
|
+
data.tar.gz: addf2412dc13b32ef13a2f977630d7b51fcd3db0711661b032ada7e9d0b7ac6c27d90f8e283b58e6461bea8424df2d902d03f36fdc604c8b99c904da55cf2823
|
data/lib/raykit/filesystem.rb
CHANGED
@@ -2,13 +2,13 @@ module Raykit
|
|
2
2
|
class FileSystem
|
3
3
|
def self.copy_files(source_dir, target_dir, glob_pattern)
|
4
4
|
FileUtils.mkdir_p(target_dir) if !Dir.exist?(target_dir)
|
5
|
-
Dir.chdir(source_dir) do
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
end
|
5
|
+
#Dir.chdir(source_dir) do
|
6
|
+
Dir.glob("#{source_dir}/#{glob_pattern}").each { |f|
|
7
|
+
dest = "#{target_dir}/#{f}"
|
8
|
+
puts " copying #{f} to #{dest}"
|
9
|
+
FileUtils.cp(f, dest)
|
10
|
+
}
|
11
|
+
#end
|
12
12
|
end
|
13
13
|
|
14
14
|
def self.copy_file_to_dir(file, dir)
|
data/lib/raykit/rake.rb
CHANGED
data/lib/raykit.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raykit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.375
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
- !ruby/object:Gem::Version
|
143
143
|
version: '0'
|
144
144
|
requirements: []
|
145
|
-
rubygems_version: 3.
|
145
|
+
rubygems_version: 3.2.22
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: ruby gem to support rake ci/cd tasks
|