brpm_content_framework 0.2.57 → 0.2.58
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/config.yml +1 -1
- data/lib/module_installer.rb +3 -3
- data/module.gemspec +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjU4MjgzOTQ5YjI3MGM1MzcwZDc0YTg4NzQ1ZmNiNDI1NWQ2NzkwZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Nzg1Yzc1OThkZDM2NjMwZDRhNjJkNDNhMGIzZTRkZDcyMWNkNDBlNA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTVjNjBjZTU4OGE0Y2YyZGE0YjQ1OGM2MjhhMDE1YmM1ZGMyMzQxODM1MTA3
|
10
|
+
YzdjZGFlZDBjODI0ZWEyNGQ4MTcyZTQzY2QwMmI4NWE4YmM5MGNkODk5NTgw
|
11
|
+
YzRkNzdjZTQyZTIyMGQxYWQ1OTlmNTVjY2M5YTRhM2FmNTVmODI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YTYyNTA2ODRkNzZmMWY2NDg3MTFiNThmOTEyM2JmMTJmYTQ3ZjU1M2JhMTBm
|
14
|
+
YTFmMThjMDNlYTc1ZDYyMjdmZjU0NzQ4NjFiZTIyMzFmYzVhZTYyMDZmZjZh
|
15
|
+
YjY2YzEwMWE0ODc5N2RmYjIwZDMwZWYzNTdkYWZlODYwMzlhYzg=
|
data/config.yml
CHANGED
data/lib/module_installer.rb
CHANGED
@@ -135,7 +135,7 @@ class ModuleInstaller
|
|
135
135
|
|
136
136
|
def install_gem(module_name_or_path, module_version)
|
137
137
|
if is_module_path?(module_name_or_path)
|
138
|
-
BrpmAuto.log "Installing gem #{module_name_or_path}#{module_version.nil? ? "" : " " + module_version} from file..."
|
138
|
+
BrpmAuto.log "Installing gem #{module_name_or_path}#{module_version.nil? ? "" : " (ignoring dependencies) " + module_version} from file..."
|
139
139
|
require 'rubygems/name_tuple'
|
140
140
|
source = Gem::Source::SpecificFile.new module_name_or_path
|
141
141
|
module_spec = source.spec
|
@@ -147,7 +147,7 @@ class ModuleInstaller
|
|
147
147
|
inst.install
|
148
148
|
BrpmAuto.log "Done."
|
149
149
|
else
|
150
|
-
BrpmAuto.log "Installing gem #{module_name_or_path}#{module_version.nil? ? "" : " " + module_version}..."
|
150
|
+
BrpmAuto.log "Installing gem #{module_name_or_path}#{module_version.nil? ? "" : " " + module_version} (ignoring dependencies)..."
|
151
151
|
version_req = module_version ? Gem::Requirement.create(Gem::Version.new(module_version)) : Gem::Requirement.default
|
152
152
|
|
153
153
|
require "rubygems/dependency_installer"
|
@@ -170,7 +170,7 @@ class ModuleInstaller
|
|
170
170
|
gemfile_path = File.join(spec.gem_dir, "Gemfile")
|
171
171
|
|
172
172
|
if File.exists?(gemfile_path)
|
173
|
-
command = "cd #{spec.gem_dir}; bundle install --without development test"
|
173
|
+
command = "export BRPM_CONTENT_FRAMEWORK_DEPLOYMENT=true; cd #{spec.gem_dir}; bundle install --without development test"
|
174
174
|
command += " --local" if is_local
|
175
175
|
BrpmAuto.log "Found a Gemfile so executing command '#{command}'..."
|
176
176
|
_, stderr, _, status = BrpmAuto.execute_command(command) do |stdout_err|
|
data/module.gemspec
CHANGED
@@ -29,8 +29,10 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.add_runtime_dependency "stomp"
|
30
30
|
spec.add_runtime_dependency "xml-simple"
|
31
31
|
|
32
|
-
|
33
|
-
|
32
|
+
unless ENV["BRPM_CONTENT_FRAMEWORK_DEPLOYMENT"]
|
33
|
+
spec.add_development_dependency "rake"
|
34
|
+
spec.add_development_dependency "rspec"
|
35
|
+
end
|
34
36
|
|
35
37
|
spec.files = `git ls-files`.split("\n")
|
36
38
|
spec.require_path = 'lib'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brpm_content_framework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.58
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Niek Bartholomeus
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh
|