raykit 0.0.359 → 0.0.360

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/raykit/git/repository.rb +19 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b72802c7ec5a1b0f892e79a2c51dfbf8f805579fd0172664863b2e43988dee2b
4
- data.tar.gz: ba6c23059ccd6acd00451c0b43a9e8f34fcdc65bd31b9530bbae2dc542e1b3cf
3
+ metadata.gz: 21ce3d58f725c687f775027d81fd54c78e05c738858688d277422335dca76d1c
4
+ data.tar.gz: d788cd2bba0ac31173d29fbc3ccf45508441f10edea2c6366707af7268319282
5
5
  SHA512:
6
- metadata.gz: 81bbdc0c10a0a10e32699332e41f877f1a7482b7a2ad9598ecb3d290f9b5eb5b24354b67d0f2487b5c45a0c9cb58babc94701646dbd4f045aa257101cfbaf810
7
- data.tar.gz: 93c36d88d395acfe38b1c947536f8dbc59936dd24cdf8738c2af8c59f5e5074a9a5a5fced8c0982582eb45dab599e5c7e438dd9f9e1e507f8ba273914baf1a1b
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.359
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-27 00:00:00.000000000 Z
11
+ date: 2022-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler