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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MWY4YzM4M2VkMzRiMTFiNTMwZGU4YzJkMTZjMjNkNzgwMDI1MTBlZA==
4
+ MjU4MjgzOTQ5YjI3MGM1MzcwZDc0YTg4NzQ1ZmNiNDI1NWQ2NzkwZg==
5
5
  data.tar.gz: !binary |-
6
- YWMxNWEyZTkxMzg2NGVlOTRhNmUxMGJiZGQ1ZTAwZmNmYjAzODc0NQ==
6
+ Nzg1Yzc1OThkZDM2NjMwZDRhNjJkNDNhMGIzZTRkZDcyMWNkNDBlNA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjY2ZGYyZjg5OTQ0OWRmOGEwNmQwZjU0ZWU0NjM3NWEzNWYwYzBhYTU0ZmM2
10
- YmMwMmU3YzdmOGZkODM3NzkwNWEwYTBlMjY0NzFiNjhmODI4NWEzOTRhOTlh
11
- MjA2N2MwNGZkNDRjZDhlZGQzZTA0M2RiMTBiYzk5YTQyZGQ3NWY=
9
+ NTVjNjBjZTU4OGE0Y2YyZGE0YjQ1OGM2MjhhMDE1YmM1ZGMyMzQxODM1MTA3
10
+ YzdjZGFlZDBjODI0ZWEyNGQ4MTcyZTQzY2QwMmI4NWE4YmM5MGNkODk5NTgw
11
+ YzRkNzdjZTQyZTIyMGQxYWQ1OTlmNTVjY2M5YTRhM2FmNTVmODI=
12
12
  data.tar.gz: !binary |-
13
- YzNjZmU0YmJkN2FjZmQyMmYwNmRmOTIxNzBlMGEwNjE3YjNkMjYyMmUwYzg1
14
- MWExZGJmZjJhZWIyYjdjNmQ2N2VlZDZmNTZkNmYxYWZmOWQ2OWE4YWQ1MjUx
15
- NmJjZGZjMTBiNTA2NGQ1OTJmZDZiNTIwOTVkMjQwMGE0NjQ1ZTE=
13
+ YTYyNTA2ODRkNzZmMWY2NDg3MTFiNThmOTEyM2JmMTJmYTQ3ZjU1M2JhMTBm
14
+ YTFmMThjMDNlYTc1ZDYyMjdmZjU0NzQ4NjFiZTIyMzFmYzVhZTYyMDZmZjZh
15
+ YjY2YzEwMWE0ODc5N2RmYjIwZDMwZWYzNTdkYWZlODYwMzlhYzg=
data/config.yml CHANGED
@@ -1,4 +1,4 @@
1
- version: 0.2.57
1
+ version: 0.2.58
2
2
  author: Niek Bartholomeus
3
3
  email: niek.bartholomeus@gmail.com
4
4
  homepage: https://github.com/BMC-RLM/brpm_content_framework
@@ -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|
@@ -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
- spec.add_development_dependency "rake"
33
- spec.add_development_dependency "rspec"
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.57
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-05 00:00:00.000000000 Z
11
+ date: 2015-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh