Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
[staging] Do not assume Sinatra and Rails support
Browse files Browse the repository at this point in the history
  Only check ruby runtimes for Sinatra and Rails when they are
supported. So that we can create a minimal set of staging plugin
manifests in stager functional tests.

Change-Id: I847349a09283fb58d22b52988583911af0d66fe6
  • Loading branch information
d committed Feb 23, 2012
1 parent 763f431 commit 99c8252
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cloud_controller/Gemfile.lock
Expand Up @@ -140,7 +140,7 @@ GEM
yajl-ruby (~> 0.8.3)
vcap_logging (0.1.3)
vcap_stager (0.1.11)
vcap_staging (0.1.41)
vcap_staging (0.1.42)
nokogiri (>= 1.4.4)
rake
rspec
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion stager/Gemfile.lock
Expand Up @@ -43,7 +43,7 @@ GEM
thin (~> 1.3.1)
yajl-ruby (~> 0.8.3)
vcap_logging (0.1.3)
vcap_staging (0.1.41)
vcap_staging (0.1.42)
nokogiri (>= 1.4.4)
rake
rspec
Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion staging/Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
vcap_staging (0.1.41)
vcap_staging (0.1.42)
nokogiri (>= 1.4.4)
rake
rspec
Expand Down
2 changes: 1 addition & 1 deletion staging/lib/vcap/staging/plugin/common.rb
Expand Up @@ -90,7 +90,7 @@ def self.camelize(word)
# Checks the existence and version of the Ruby runtimes specified
# by the sinatra and rails staging manifests.
def self.check_ruby_runtimes
%w[sinatra rails3].each do |framework|
(%w[sinatra rails3] & manifests.keys).each do |framework|
manifests[framework]['runtimes'].each do |hash|
hash.each do |name, properties|
exe, ver = properties['executable'], properties['version']
Expand Down
2 changes: 1 addition & 1 deletion staging/lib/vcap/staging/version.rb
@@ -1,5 +1,5 @@
module VCAP
module Staging
VERSION = '0.1.41'
VERSION = '0.1.42'
end
end

0 comments on commit 99c8252

Please sign in to comment.