raykit 0.0.368 → 0.0.371
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raykit/git/repository.rb +4 -0
- data/lib/raykit/rake.rb +6 -0
- data/lib/raykit/version.rb +6 -0
- 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: af286f03af1fab415981a1d943e5935a099b9da4c98fffcdcc4523c2703af628
|
4
|
+
data.tar.gz: 93c4cf5be2f7ada6775efe577f6df453708a4230bba112092076649728ae7d6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc4f1bc8c1b2efd2ca540ca7ec5da6e3f25ea29e80ed50eb9777d9c684cd0bd50eeb9833fd4066b6df892b7c329c9bd6abe73883d75dbf001a85c0cf478a12f7
|
7
|
+
data.tar.gz: bcec44e7954b1a2c6fa591d431c150fccc733e2555b858df3a8257a36221b27395d6afd178fa2e3325ca602818975211958e47b0fa5e630f317c345e6f0ce4a6
|
data/lib/raykit/rake.rb
CHANGED
data/lib/raykit/version.rb
CHANGED
@@ -51,6 +51,12 @@ module Raykit
|
|
51
51
|
version
|
52
52
|
end
|
53
53
|
|
54
|
+
def self.set_version_in_glob(glob_pattern, version)
|
55
|
+
Dir.glob(glob_pattern).each { |f|
|
56
|
+
Raykit::Version::set_version_in_file(f, version)
|
57
|
+
}
|
58
|
+
end
|
59
|
+
|
54
60
|
def self.set_version_in_file(filename, version)
|
55
61
|
text = IO.read(filename)
|
56
62
|
new_text = text.gsub(/version\s?=\s?['|"]([.\d]+)['|"]/, "version='#{version}'") if filename.include?(".gemspec")
|
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.371
|
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-19 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.3.7
|
146
146
|
signing_key:
|
147
147
|
specification_version: 4
|
148
148
|
summary: ruby gem to support rake ci/cd tasks
|