raykit 0.0.359 → 0.0.360
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 +19 -2
- 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: 21ce3d58f725c687f775027d81fd54c78e05c738858688d277422335dca76d1c
|
4
|
+
data.tar.gz: d788cd2bba0ac31173d29fbc3ccf45508441f10edea2c6366707af7268319282
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70899d6ba0f82c7d8b3260949b406a5c2b549481567e4dfc1d82b2ca6a1d0ec34bdd10353996f819600c63f83eec4d88c2a0d56ffaae6ea6bd130423fecdaee7
|
7
|
+
data.tar.gz: 5ae991a783de9f92c997d97099566f990627bca5b05109956be2bd2f9ddc6bfb08679216701b1583734dfe134cf37a6bc176dd6cc7f45ab2d192d6253eaee5b2
|
@@ -102,11 +102,28 @@ module Raykit
|
|
102
102
|
false
|
103
103
|
end
|
104
104
|
|
105
|
+
def self.work_pull(url)
|
106
|
+
repo = Raykit::Git::Repository.new(url)
|
107
|
+
work_dir = repo.get_dev_dir("work")
|
108
|
+
repo.clone(work_dir) if !Dir.exist?(work_dir)
|
109
|
+
Dir.chdir(work_dir) do
|
110
|
+
run("git pull")
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
def self.work_integrate(url)
|
115
|
+
repo = Raykit::Git::Repository.new(url)
|
116
|
+
work_dir = repo.get_dev_dir("work")
|
117
|
+
repo.clone(work_dir) if !Dir.exist?(work_dir)
|
118
|
+
Dir.chdir(work_dir) do
|
119
|
+
run("git pull")
|
120
|
+
run("rake integrate")
|
121
|
+
end
|
122
|
+
end
|
123
|
+
|
105
124
|
def self.work(url,cmd)
|
106
|
-
#Raykit::Git::Repository::work("https://gitlab.com/nuget-cs/roam.git","rake");
|
107
125
|
repo = Raykit::Git::Repository.new(url)
|
108
126
|
work_dir = repo.get_dev_dir("work")
|
109
|
-
show_value "work_dir", "#{work_dir}"
|
110
127
|
repo.clone(work_dir) if !Dir.exist?(work_dir)
|
111
128
|
Dir.chdir(work_dir) do
|
112
129
|
run("git pull")
|
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.360
|
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-04-
|
11
|
+
date: 2022-04-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|