neetob 0.5.17 → 0.5.18
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/Gemfile.lock +1 -1
- data/lib/neetob/cli/github/bundle_audit.rb +5 -0
- data/lib/neetob/cli/github/make_pr/base.rb +4 -0
- data/lib/neetob/version.rb +1 -1
- 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: 8942c3a30b3d6edc581f2578939d0fc183553269ecd8640142051b90371554a5
|
4
|
+
data.tar.gz: 5fb19b35d0af660c4d91d1ee0425ed39ae61aff0749718466a34eb0d70cd3ccd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fbf9a88888b0d500836970638cfe86d0d76a9381ef7c27ee1a3d28d6f783dc2ded006c491ac5a11e8b5c5cbb8b33d853e80ca3837632164b86d84c101d66f82
|
7
|
+
data.tar.gz: d8f9381c36e206a4a5b9d54364b5aa9a71524403777e8fbd7844fa20e312829c14f7dc7e73e116be8e884f9c6f2198de4fe5d9adae788b2143c535ecfe5dcbf9
|
data/Gemfile.lock
CHANGED
@@ -23,6 +23,11 @@ module Neetob
|
|
23
23
|
begin
|
24
24
|
ui.info("\nWorking on repo #{repo}", print_to_audit_log: false)
|
25
25
|
clone_repo_in_tmp_dir(repo)
|
26
|
+
gemfile_path = File.join(tmp_repo_path(repo), "Gemfile")
|
27
|
+
until File.exist?(gemfile_path)
|
28
|
+
ui.info("Waiting for clone to finish", print_to_audit_log: false)
|
29
|
+
sleep(1)
|
30
|
+
end
|
26
31
|
bundle_install!(repo)
|
27
32
|
report = run_bundle_audit(repo)
|
28
33
|
ui.success("Successfully executed bundle audit for #{repo}", print_to_audit_log: false)
|
@@ -46,6 +46,10 @@ module Neetob
|
|
46
46
|
`git clone --quiet git@github.com:#{repo}.git /tmp/neetob/#{repo_name_without_org_suffix(repo)}`
|
47
47
|
end
|
48
48
|
|
49
|
+
def tmp_repo_path(repo)
|
50
|
+
"/tmp/neetob/#{repo_name_without_org_suffix(repo)}"
|
51
|
+
end
|
52
|
+
|
49
53
|
def add_commmit_and_push_changes!(repo, local_repo = false)
|
50
54
|
create_commit!(repo, local_repo)
|
51
55
|
push_changes!(repo, local_repo)
|
data/lib/neetob/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: neetob
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Udai Gupta
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|