raykit 0.0.274 → 0.0.279
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/raykit/tasks.rb +12 -4
- 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: f1de942187e96a6c006355de9289c5a7fe24da6fe3be3d7d23ce24b46d61620c
|
4
|
+
data.tar.gz: f1971d4e5bd6af02ec15cb92bd20c6c0febf45501b4d12d5dcf6e0fc98196a59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8c9eb52812daa489d3fc81dee98876aa8f66e1d9d57993fa3d4ecbc7d9973fa21ff105bb2cfcad94a8f0c2d5ee13f7eb47e61f3f5ff462ca525a149e795a0fb
|
7
|
+
data.tar.gz: 7af860cf994202d2cbf0c5e1cfb8b2ecbf52379fd91fa4250f7eafacdc8bccd56c703248d6dc27fc1ebfcba262a1069c3e8a9165b8745e3488a4a0a869ab7fed
|
data/lib/raykit/tasks.rb
CHANGED
@@ -9,7 +9,9 @@ task :integrate do
|
|
9
9
|
puts Rainbow(':integrate').blue.bright
|
10
10
|
|
11
11
|
git_dir=Raykit::Git::Directory.new(Rake.application.original_dir)
|
12
|
-
if(
|
12
|
+
if(git_dir.detached?)
|
13
|
+
puts "detached head state, skipping integrate operations"
|
14
|
+
else
|
13
15
|
if(PROJECT.outstanding_commit?)
|
14
16
|
if(Rake::Task.task_defined?("test"))
|
15
17
|
Rake::Task["test"].invoke
|
@@ -23,7 +25,8 @@ task :integrate do
|
|
23
25
|
puts "warning: .gitignore does not exist."
|
24
26
|
else
|
25
27
|
PROJECT.run('git add --all')
|
26
|
-
if(
|
28
|
+
if(!`git status`.include?('nothing to commit'))
|
29
|
+
#if(PROJECT.outstanding_commit?)
|
27
30
|
commit_message='integrate'
|
28
31
|
PROJECT.run("git commit -m\"#{commit_message}\"") if(PROJECT.outstanding_commit?)
|
29
32
|
PROJECT.run("git pull")
|
@@ -36,8 +39,13 @@ end
|
|
36
39
|
|
37
40
|
desc "push changes including tags"
|
38
41
|
task :push do
|
39
|
-
|
40
|
-
|
42
|
+
git_dir=Raykit::Git::Directory.new(Rake.application.original_dir)
|
43
|
+
if(git_dir.detached?)
|
44
|
+
puts "detached head state, skipping push operations"
|
45
|
+
else
|
46
|
+
PROJECT.run("git push")
|
47
|
+
PROJECT.run("git push --tags")
|
48
|
+
end
|
41
49
|
end
|
42
50
|
|
43
51
|
desc "clean files not tracked by git"
|
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.279
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lou Parslow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|