raykit 0.0.244 → 0.0.245
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/sourceImport.rb +0 -3
- data/lib/raykit/tasks.rb +9 -6
- 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: 1f873a2d375ce490d06e47a6720e43392b68ecb67633dcb1c411d7454b36c7cc
|
|
4
|
+
data.tar.gz: 9e71ec5fb38920593c1d9a03226862d885fcdf9ed1519d157ee656f4460c3aba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70ac08aa8403ac092dbfb31662bf8bf589a8b4b09408427cc4e1e1bd1cf1b6c36396b958b4f807b6cab9050df388925ebd84a09ba71ec618de7ad0d0196a2338
|
|
7
|
+
data.tar.gz: 4edc773d0a9989646b7cd4027f4e1f178c316192125e743e54856cbc525617170ac4427cb6e1d8e8ae1d0032144cbab1dfc535d9cc5ce509378afffb903d99d4
|
data/lib/raykit/sourceImport.rb
CHANGED
|
@@ -27,14 +27,12 @@ module Raykit
|
|
|
27
27
|
if(Dir.exist?(work))
|
|
28
28
|
Dir.chdir(work) do
|
|
29
29
|
cmd = Command.new('git pull')
|
|
30
|
-
#PROJECT.run("git pull")
|
|
31
30
|
end
|
|
32
31
|
else
|
|
33
32
|
PROJECT.run("git clone #{remote} #{work}")
|
|
34
33
|
end
|
|
35
34
|
|
|
36
35
|
Dir.chdir(work) do
|
|
37
|
-
|
|
38
36
|
text=`git log -n 1`
|
|
39
37
|
scan=text.scan(/commit ([\w]+)\s/)
|
|
40
38
|
self['commit'] = scan[0][0].to_s
|
|
@@ -51,7 +49,6 @@ module Raykit
|
|
|
51
49
|
Dir.chdir(work) do
|
|
52
50
|
if(File.exist?('rakefile.rb'))
|
|
53
51
|
cmd = Command.new('rake clean')
|
|
54
|
-
#PROJECT.run("rake clean")
|
|
55
52
|
end
|
|
56
53
|
source_names=Dir.glob(self['glob'])
|
|
57
54
|
end
|
data/lib/raykit/tasks.rb
CHANGED
|
@@ -6,11 +6,11 @@ end
|
|
|
6
6
|
|
|
7
7
|
desc "integrate changes into the git repository"
|
|
8
8
|
task :integrate do
|
|
9
|
-
if(File.exist?('sourceImports.json'))
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
end
|
|
9
|
+
#if(File.exist?('sourceImports.json'))
|
|
10
|
+
# if(Rake::Task.task_defined?("update_source"))
|
|
11
|
+
# Rake::Task["update_source"].invoke
|
|
12
|
+
# end
|
|
13
|
+
#end
|
|
14
14
|
if(PROJECT.outstanding_commit?)
|
|
15
15
|
if(Rake::Task.task_defined?("test"))
|
|
16
16
|
Rake::Task["test"].invoke
|
|
@@ -54,4 +54,7 @@ task :update_source do
|
|
|
54
54
|
puts ' no update required.'
|
|
55
55
|
end
|
|
56
56
|
end
|
|
57
|
-
end
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
desc "update source files"
|
|
60
|
+
task :update => [:update_source]
|
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.
|
|
4
|
+
version: 0.0.245
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Lou Parslow
|
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
118
118
|
- !ruby/object:Gem::Version
|
|
119
119
|
version: '0'
|
|
120
120
|
requirements: []
|
|
121
|
-
rubygems_version: 3.
|
|
121
|
+
rubygems_version: 3.0.3
|
|
122
122
|
signing_key:
|
|
123
123
|
specification_version: 4
|
|
124
124
|
summary: ruby gem to support rake ci/cd tasks
|