neetob 0.5.20 → 0.5.21

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: 39e94d460468fc82db93415ffdc880c955b82f3d9665ced61074a63a308e943c
4
- data.tar.gz: 9771fcca58bbd2806ffcaa817217f61d8630b0bf004ff827f22a1a3e3b83bb08
3
+ metadata.gz: '0873c562da391a87b6c4e353f2bd2901c1e3a23522411cb8240699f484518724'
4
+ data.tar.gz: c46548594d0f852c63d1c546b0fe31d34f07d940a77bf72b59ded1c3fff656aa
5
5
  SHA512:
6
- metadata.gz: f585207aa9f2d3414b74e1aa9bbc324af70cdc8ef8d870d79968674f06b54d5ec40da5ff52cc486e53300151c181e28310ec6ce06d9338f561790ca578e7d152
7
- data.tar.gz: b711f33d69f333e75fba222898c24f1330421de81ea251d26aa417da3b3fad0df928cd2c09d177307b06402ef6b3e2c09f42a3d629e86c5bda4669425b825288
6
+ metadata.gz: 28c3698cdc46e8afa595ac1270b8397b37e0523b6cad52dd77b853db918a3764a8a5a460aa12f594a9430b3ebd89ed35971d6529ab1910cbd2a3fd4880b5022c
7
+ data.tar.gz: 33d2f5384a941f4b9e781d0168c784fd24b75f9f2ce9463d312256f4620f5e6936a5c0012c5ea3df2f3df0a8ec4a3cda2c0296e894b30081f3b159b2cc3fdc76
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- neetob (0.5.20)
4
+ neetob (0.5.21)
5
5
  brakeman (~> 5.0)
6
6
  chronic
7
7
  dotenv (~> 2.8.1)
@@ -9,6 +9,10 @@ module Neetob
9
9
  class Base < Github::Base
10
10
  BRANCH_NAME = "neeto_compliance"
11
11
  PR_TITLE = "Neeto Compliance"
12
+ REPO_SPECIFIC_COMMANDS_BEFORE_BUNDLE_INSTALL = {
13
+ "bigbinary/neeto-deploy-web" => "sed -i '' '/gem \"karafka\"/d' Gemfile"
14
+ }
15
+
12
16
  attr_accessor :branch_name, :pr_title
13
17
 
14
18
  def initialize(pr_title = PR_TITLE, branch_name = BRANCH_NAME)
@@ -23,6 +27,7 @@ module Neetob
23
27
  commands = [
24
28
  cd_to_repo(repo, local_repo),
25
29
  "rbenv local 3.3.5",
30
+ repo_specific_commands_before_bundle_install(repo),
26
31
  "BUNDLE_GEMFILE='#{repo_path(repo)}/Gemfile' bundle install"
27
32
  ]
28
33
  execute_command!(commands.join(" && "))
@@ -32,6 +37,10 @@ module Neetob
32
37
  "/tmp/neetob/#{repo_name_without_org_suffix(repo)}"
33
38
  end
34
39
 
40
+ def repo_specific_commands_before_bundle_install(repo)
41
+ REPO_SPECIFIC_COMMANDS_BEFORE_BUNDLE_INSTALL[repo] || "pwd"
42
+ end
43
+
35
44
  def yarn_install!(repo, local_repo = false)
36
45
  execute_command!("#{cd_to_repo(repo, local_repo)} & yarn install")
37
46
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Neetob
4
- VERSION = "0.5.20"
4
+ VERSION = "0.5.21"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neetob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.20
4
+ version: 0.5.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Udai Gupta