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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8410833137d3bf66620f6bd689912382239e8957079ddb65318f442be677ccd8
4
- data.tar.gz: 68bac8f783834f8aa8bc3d4c619eba0a5954c5e80bfdc7113ddaf39238d2c467
3
+ metadata.gz: 858fbff0aeaaef97296ca72190c287f7b7285ea720f690be7e9ea47bac75c72d
4
+ data.tar.gz: 30b43577ff9c4c25afbcd1e0743efaa2110217c8c72283371c2abbe9c3c69ed6
5
5
  SHA512:
6
- metadata.gz: 1886a770c53c8ca9bbb0b1aab3b1ad945e5c7ed7e9fba05466ffb0b4d039d81fce1bbc46ebfc426b9f8c6032c96276988b700fcbe70a7bbceee57051cc6af9d6
7
- data.tar.gz: b9bdf6b28fe70fc41e66a3850d67a9a6d334a007e53f951f4a4f15f09faba24eb68bea4f104a40735f9e785ac8be582a58ecaecebd49c13d4d6c06b0a19ba8e1
6
+ metadata.gz: ea7e12bb7b5061df8df5dc0f5f7e75ce2dff3ce004e07b9f85705e644a15775468d2d9b0a721a8b06038bc0be9fceaca5b6b295051b03ecccdd3923a8d8adde0
7
+ data.tar.gz: addf2412dc13b32ef13a2f977630d7b51fcd3db0711661b032ada7e9d0b7ac6c27d90f8e283b58e6461bea8424df2d902d03f36fdc604c8b99c904da55cf2823
@@ -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
- Dir.glob("*.{exe,dll}").each { |f|
7
- dest = "#{target_dir}/#{f}"
8
- puts " copying #{f} to #{dest}"
9
- FileUtils.cp(f, dest)
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
@@ -32,7 +32,7 @@ module Raykit
32
32
 
33
33
  def self.rake(rakefile, task)
34
34
  Dir.chdir(File.dirname(rakefile)) do
35
- run("rake #{task}")
35
+ Raykit::TopLevel.run("rake #{task}", true)
36
36
  end
37
37
  end
38
38
  end
data/lib/raykit.rb CHANGED
@@ -45,8 +45,4 @@ if defined?(RAYKIT_GLOBALS)
45
45
  def copy_file_to_dir(file, dir)
46
46
  Raykit::FileSystem::copy_file_to_dir(file, dir)
47
47
  end
48
-
49
- def rake(rakefile, task)
50
- Raykit::Rake::rake(rakefile,task)
51
- end
52
48
  end
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.372
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-19 00:00:00.000000000 Z
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.3.7
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