raykit 0.0.446 → 0.0.447
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/raykit/tasks.rb +16 -1
- data/lib/raykit.rb +0 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52d7a937985a029ae7bebe5cc79f0f8a004161494da2eb87175a241025f25fc0
|
4
|
+
data.tar.gz: 3578a64ca693d22760f5576dd1ae59a9054ed3da6d5e1c1a911a4cf872163529
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11c294b415bfb8f29e6f2c9e982686113017a9b6124d08c8376b2c266ddfb677e90e55df047f704160ffedf85376eaa15b10c2aa52c0ef2e30fba08b5714633d
|
7
|
+
data.tar.gz: fa80fce42bc5360b656ad895060689830db15bd36adfaf1a64c9b93154c1d68856a705a68a3f64b5a599839e27e6d22848010ecf0abf46a9d561512d3460fd19
|
data/lib/raykit/tasks.rb
CHANGED
@@ -29,8 +29,8 @@ task :integrate do
|
|
29
29
|
unless `git status`.include?("nothing to commit")
|
30
30
|
commit_message = "integrate"
|
31
31
|
PROJECT.run("git commit -m\"#{commit_message}\"") if PROJECT.outstanding_commit?
|
32
|
-
PROJECT.run("git pull", false)
|
33
32
|
end
|
33
|
+
PROJECT.run("git pull", false)
|
34
34
|
end
|
35
35
|
end
|
36
36
|
end
|
@@ -53,6 +53,21 @@ task :clean do
|
|
53
53
|
PROJECT.run("git clean -dXf", false)
|
54
54
|
end
|
55
55
|
|
56
|
+
desc "tag the git repository at the current version"
|
57
|
+
task :tag do
|
58
|
+
puts Rainbow(": tag").blue.bright
|
59
|
+
if PROJECT.read_only?
|
60
|
+
puts " read only state, skipping tag operation"
|
61
|
+
else
|
62
|
+
if (PROJECT.version != PROJECT.latest_tag)
|
63
|
+
PROJECT.run "git tag -a #{PROJECT.version} -m\"version #{PROJECT.version}\""
|
64
|
+
PROJECT.try "git push --tags"
|
65
|
+
else
|
66
|
+
puts " tag #{PROJECT.latest_tag} already exists."
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
56
71
|
desc "update_source from sourceImports.json"
|
57
72
|
task :update_source do
|
58
73
|
if File.exist?("sourceImports.json")
|
data/lib/raykit.rb
CHANGED
@@ -44,11 +44,6 @@ if defined?(RAYKIT_GLOBALS)
|
|
44
44
|
FileUtils.mkdir("artifacts") if (!Dir.exist?(name))
|
45
45
|
end
|
46
46
|
|
47
|
-
def copy(source, dest)
|
48
|
-
FileUtils.mkdir_p(File.dirname(dest)) if !Dir.exist?(File.dirname(dest))
|
49
|
-
FileUtils.cp(source, dest)
|
50
|
-
end
|
51
|
-
|
52
47
|
def make(artifact, command)
|
53
48
|
if (File.exist?(artifact))
|
54
49
|
puts " #{artifact} exists"
|
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.447
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|