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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/neetob/cli/github/make_pr/base.rb +9 -0
- data/lib/neetob/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '0873c562da391a87b6c4e353f2bd2901c1e3a23522411cb8240699f484518724'
|
4
|
+
data.tar.gz: c46548594d0f852c63d1c546b0fe31d34f07d940a77bf72b59ded1c3fff656aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28c3698cdc46e8afa595ac1270b8397b37e0523b6cad52dd77b853db918a3764a8a5a460aa12f594a9430b3ebd89ed35971d6529ab1910cbd2a3fd4880b5022c
|
7
|
+
data.tar.gz: 33d2f5384a941f4b9e781d0168c784fd24b75f9f2ce9463d312256f4620f5e6936a5c0012c5ea3df2f3df0a8ec4a3cda2c0296e894b30081f3b159b2cc3fdc76
|
data/Gemfile.lock
CHANGED
@@ -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
|
data/lib/neetob/version.rb
CHANGED