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 +4 -4
- data/lib/raykit/version.rb +1 -0
- data/lib/raykit.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43f19ae06d03747c52c4b37c0aa31e9df0597b8c8d1d99a67d7eb77a91c9c712
|
4
|
+
data.tar.gz: f9578c06fa2c67ea0e91af4ef62f1680760652f6c98e075a3fcd4d15c50f7f12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b76b8f656653272e3c6f85ce346d4d8840b3b353ddf5a300e38c39b272e3e7576c493343880be2e09ced078c82a2d7f8ec997cc9aa6977920d27c61a1cb97a2
|
7
|
+
data.tar.gz: 3f7ea6b61e53bb03f573a3e318bd73b7af97c2568cfd02f24ba6ca3b54a7dae08eac91328bd9385d5e9a865251858ce076f7a53489b63c3aa14a4d306ef42f5c
|
data/lib/raykit/version.rb
CHANGED
@@ -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
|