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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e8763c03d0ef8ec6a8e7ec7e4b84f7eb150070f05b94c767d2aa189d366d46d
4
- data.tar.gz: 73e774ccf3c1a2cd36aebd21af3cbfd324cbf7ecdfc727f09b3d8d146330294e
3
+ metadata.gz: 8942c3a30b3d6edc581f2578939d0fc183553269ecd8640142051b90371554a5
4
+ data.tar.gz: 5fb19b35d0af660c4d91d1ee0425ed39ae61aff0749718466a34eb0d70cd3ccd
5
5
  SHA512:
6
- metadata.gz: e07b979801bac3d93609c36f0745fc852d3930c41fc84132f7dcee7312750552759445708b7bab37751693e9bceda42dd8dfca180c295b58590b99f8b89bfc20
7
- data.tar.gz: f7d0a429cab3555af8cbbf8e8ad5c81ab9208579ee5e40722e1ade3cc0a58758966461fad611305bbd05fbb43f49ed2ddf4bfdcb0360a568e89275f7fc4a2fdb
6
+ metadata.gz: 0fbf9a88888b0d500836970638cfe86d0d76a9381ef7c27ee1a3d28d6f783dc2ded006c491ac5a11e8b5c5cbb8b33d853e80ca3837632164b86d84c101d66f82
7
+ data.tar.gz: d8f9381c36e206a4a5b9d54364b5aa9a71524403777e8fbd7844fa20e312829c14f7dc7e73e116be8e884f9c6f2198de4fe5d9adae788b2143c535ecfe5dcbf9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neetob (0.5.17)
4
+ neetob (0.5.18)
5
5
  brakeman (~> 5.0)
6
6
  chronic
7
7
  dotenv (~> 2.8.1)
@@ -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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Neetob
4
- VERSION = "0.5.17"
4
+ VERSION = "0.5.18"
5
5
  end
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.17
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-17 00:00:00.000000000 Z
11
+ date: 2024-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor