raykit 0.0.367 → 0.0.368

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: 90d58ea0b4cd31049340cac6a584ec5ff27e643c3f4e767a1d4c30e80ea7c160
4
- data.tar.gz: b21519b1e3b225ef23e51645471b164decac9448a73c6399738fe3f598225b69
3
+ metadata.gz: 43f19ae06d03747c52c4b37c0aa31e9df0597b8c8d1d99a67d7eb77a91c9c712
4
+ data.tar.gz: f9578c06fa2c67ea0e91af4ef62f1680760652f6c98e075a3fcd4d15c50f7f12
5
5
  SHA512:
6
- metadata.gz: a37e22141c41f4bd1f1a63caa4a85190f4e0a6f7ce3da992b7b0cdbbaa715a6e09149a520abcd53b7ba4f4594d8cf3dda69a7609f40fd70507e96369be8f3e94
7
- data.tar.gz: 40a749107c5b9dc01787fd1d8a235aa189c6ec8932811a172cbf47de2304271683550277e20bd8a52a13b678d8ced19119e6df4d9b20494ec688a55500f35210
6
+ metadata.gz: 9b76b8f656653272e3c6f85ce346d4d8840b3b353ddf5a300e38c39b272e3e7576c493343880be2e09ced078c82a2d7f8ec997cc9aa6977920d27c61a1cb97a2
7
+ data.tar.gz: 3f7ea6b61e53bb03f573a3e318bd73b7af97c2568cfd02f24ba6ca3b54a7dae08eac91328bd9385d5e9a865251858ce076f7a53489b63c3aa14a4d306ef42f5c
@@ -55,6 +55,7 @@ module Raykit
55
55
  text = IO.read(filename)
56
56
  new_text = text.gsub(/version\s?=\s?['|"]([.\d]+)['|"]/, "version='#{version}'") if filename.include?(".gemspec")
57
57
  new_text = text.gsub(/<Version>([-\w\d.]+)</, "<Version>#{version}<") if filename.include?(".csproj")
58
+ new_text = text.gsub(/<version>([-\w\d.]+)</, "<version>#{version}<") if filename.include?(".nuspec")
58
59
  # new_text=text.gsub(/<Version>([-\w\d.]+)</,"<Version>#{version}<")
59
60
  # new_text=new_text.gsub(/version[\s]+=\s?['|"]([.\d]+)['|"]/,"version='#{version}'")
60
61
  # new_text=new_text.gsub(/Version="([.\d]+)"/,"Version=\"#{version}\"")
data/lib/raykit.rb CHANGED
@@ -38,6 +38,10 @@ if defined?(RAYKIT_GLOBALS)
38
38
  Raykit::Log.show_value(name, value)
39
39
  end
40
40
 
41
+ def copy_files(src_dir, target_dir, glob)
42
+ Raykit::FileSystem::copy_files(src_dir, target_dir, glob)
43
+ end
44
+
41
45
  def copy_file_to_dir(file, dir)
42
46
  Raykit::FileSystem::copy_file_to_dir(file, dir)
43
47
  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.367
4
+ version: 0.0.368
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lou Parslow