brpm_content 0.1.37 → 0.1.38
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 +8 -8
- data/modules/framework/brpm_auto.rb +4 -2
- data/modules/framework/config.yml +1 -1
- data/modules/framework/lib/module_installer.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MzFkN2I5ODM4MTViMDQzNTBlZDY3NjAzMDVlZWMxNmE2ZDQzY2JmYg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDE0MzM1YmY1NWFhZmI3ODI5NmVkNzg3MmZjNzNiNzM3ZDcwOTUzZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NjJjZGVlNjgwZGI0NmQ3MThkZmJkN2I1NWFjNmUwM2VhYmI2ZDMzMzE0Nzhk
|
10
|
+
NDA1YzQ1MTM1ODVmYzJlY2IwNjkyMzNlNTUzNDM4MDI4NTA5N2JmMmExYThk
|
11
|
+
OWY5YjJhNDRhZTI2ODc1MzZlNmQ4ZmJjYWRlMDlmN2JjMTNiMzc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWViZjdkMWU2YTQzY2JlMDIyZmZmMTY0ODY5M2E4YjEzMjllZDkxMGJmMDAz
|
14
|
+
NGZjMjllY2EwZDVjMjhmOGQ3Y2I2ZTQyMjMyODdjNTU2N2UwMmM5M2E3Y2Jm
|
15
|
+
YWZjYjFlODc4NmE5YmM2N2IyODM1ZWFmNjNiNjQ0MjgyNGYwNDM=
|
@@ -116,7 +116,7 @@ class BrpmAuto
|
|
116
116
|
module_gem_path = get_module_gem_path(module_name, module_version)
|
117
117
|
|
118
118
|
if File.exists?(module_gem_path)
|
119
|
-
BrpmAuto.log "Found
|
119
|
+
BrpmAuto.log "Found module #{module_name} #{module_version || ""} in gem path #{module_gem_path}."
|
120
120
|
else
|
121
121
|
raise Gem::GemNotFoundException, "Module #{module_name} version #{module_version} is not installed. Expected it on path #{module_gem_path}."
|
122
122
|
end
|
@@ -124,7 +124,9 @@ class BrpmAuto
|
|
124
124
|
gemfile_lock_path = "#{module_gem_path}/Gemfile.lock"
|
125
125
|
if File.exists?(gemfile_lock_path)
|
126
126
|
BrpmAuto.log "Found a Gemfile.lock: #{gemfile_lock_path}. Parsing the version numbers for later usage..."
|
127
|
-
|
127
|
+
Dir.chdir(File.dirname(gemfile_lock_path)) do
|
128
|
+
@gemfile_lock = Bundler::LockfileParser.new(Bundler.read_file(gemfile_lock_path))
|
129
|
+
end
|
128
130
|
end
|
129
131
|
|
130
132
|
require_module_internal(module_name, module_version)
|
@@ -57,6 +57,7 @@ class ModuleInstaller
|
|
57
57
|
end
|
58
58
|
|
59
59
|
begin
|
60
|
+
BrpmAuto.log "Loading brpm_module_brpm..."
|
60
61
|
BrpmAuto.require_module_from_gem "brpm_module_brpm"
|
61
62
|
rescue Gem::GemNotFoundException
|
62
63
|
BrpmAuto.log "WARNING - Module brpm_module_brpm is not installed so not installing the automation script wrappers in BRPM."
|