Skip to content
Browse files

Square up all gem version in gemspec

  • Loading branch information...
1 parent b52313e commit 426eac1c8ca45053901d0f5184cc3655a9e148a5 Alex Jackson and Tony Hansmann committed Jan 28, 2013
Showing with 403 additions and 345 deletions.
  1. +1 −0 BOSH_VERSION
  2. +123 −122 Gemfile.lock
  3. +7 −5 agent_client/agent_client.gemspec
  4. +18 −17 aws_bootstrap/bosh_aws_bootstrap.gemspec
  5. +12 −10 aws_cpi/bosh_aws_cpi.gemspec
  6. +10 −7 aws_registry/bosh_aws_registry.gemspec
  7. +10 −10 blobstore_client/blobstore_client.gemspec
  8. +18 −18 bosh_agent/bosh_agent.gemspec
  9. +4 −0 bosh_agent/lib/bosh_agent/handler.rb
  10. +11 −9 cli/bosh_cli.gemspec
  11. +8 −4 common/bosh_common.gemspec
  12. +9 −5 cpi/bosh_cpi.gemspec
  13. +18 −14 deployer/bosh_deployer.gemspec
  14. +29 −27 director/director.gemspec
  15. +1 −2 director/lib/cloud/dummy.rb
  16. +10 −7 encryption/bosh_encryption.gemspec
  17. +15 −15 health_monitor/health_monitor.gemspec
  18. +6 −6 integration_tests/spec/sandbox.rb
  19. +1 −1 integration_tests/spec/spec_helper.rb
  20. +9 −5 monit_api/monit_api.gemspec
  21. +11 −9 openstack_registry/bosh_openstack_registry.gemspec
  22. +13 −9 package_compiler/package_compiler.gemspec
  23. +12 −10 ruby_vcloud_sdk/ruby_vcloud_sdk.gemspec
  24. +11 −9 ruby_vim_sdk/ruby_vim_sdk.gemspec
  25. +10 −6 simple_blobstore_server/simple_blobstore_server.gemspec
  26. +12 −8 vcloud_cpi/vcloud_cpi.gemspec
  27. BIN vendor/cache/ci_reporter-1.8.3.gem
  28. BIN vendor/cache/ci_reporter-1.8.4.gem
  29. BIN vendor/cache/{guard-1.6.1.gem → guard-1.6.2.gem}
  30. BIN vendor/cache/linecache19-0.5.12.gem
  31. BIN vendor/cache/linecache19-0.5.13.gem
  32. BIN vendor/cache/rack-1.5.0.gem
  33. BIN vendor/cache/rack-1.5.1.gem
  34. BIN vendor/cache/rspec-mocks-2.12.1.gem
  35. BIN vendor/cache/rspec-mocks-2.12.2.gem
  36. BIN vendor/cache/thor-0.16.0.gem
  37. BIN vendor/cache/thor-0.17.0.gem
  38. +14 −10 vsphere_cpi/vsphere_cpi.gemspec
View
1 BOSH_VERSION
@@ -0,0 +1 @@
+1.5.0.pre
View
245 Gemfile.lock
@@ -1,231 +1,231 @@
PATH
remote: agent_client
specs:
- agent_client (0.1.1)
- httpclient
- yajl-ruby
+ agent_client (1.5.0.pre)
+ httpclient (= 2.2.4)
+ yajl-ruby (~> 1.1.0)
PATH
remote: aws_bootstrap
specs:
- bosh_aws_bootstrap (0.0.1)
- aws-sdk (>= 1.8.0)
- bosh_cli
- uuidtools (>= 2.1.3)
+ bosh_aws_bootstrap (1.5.0.pre)
+ aws-sdk (~> 1.8.0)
+ bosh_cli (~> 1.5.0.pre)
+ uuidtools (~> 2.1.3)
PATH
remote: aws_cpi
specs:
- bosh_aws_cpi (0.7.0)
- aws-sdk (>= 1.3.5)
- bosh_common
- bosh_cpi
- httpclient (>= 2.2.0)
- uuidtools (>= 2.1.2)
+ bosh_aws_cpi (1.5.0.pre)
+ aws-sdk (~> 1.8.0)
+ bosh_common (~> 1.5.0.pre)
+ bosh_cpi (~> 1.5.0.pre)
+ httpclient (= 2.2.4)
+ uuidtools (~> 2.1.3)
yajl-ruby (>= 0.8.2)
PATH
remote: aws_registry
specs:
- bosh_aws_registry (0.2.3)
- aws-sdk
- sequel
+ bosh_aws_registry (1.5.0.pre)
+ aws-sdk (~> 1.8.0)
+ sequel (~> 3.43.0)
sinatra (~> 1.2.8)
- thin
+ thin (~> 1.5.0)
yajl-ruby (~> 1.1.0)
PATH
remote: blobstore_client
specs:
- blobstore_client (0.5.2)
- aws-sdk
- bosh_common
- fog (>= 1.9.0)
- httpclient (>= 2.2)
+ blobstore_client (1.5.0.pre)
+ aws-sdk (~> 1.8.0)
+ bosh_common (~> 1.5.0.pre)
+ fog (~> 1.9.0)
+ httpclient (= 2.2.4)
multi_json (~> 1.1.0)
ruby-atmos-pure (~> 1.0.5)
uuidtools (~> 2.1.2)
PATH
remote: bosh_agent
specs:
- bosh_agent (0.7.0)
- blobstore_client
- bosh_common
- bosh_encryption
- highline
- monit_api
+ bosh_agent (1.5.0.pre)
+ blobstore_client (~> 1.5.0.pre)
+ bosh_common (~> 1.5.0.pre)
+ bosh_encryption (~> 1.5.0.pre)
+ highline (~> 1.6.2)
+ monit_api (~> 1.5.0.pre)
nats (~> 0.4.28)
- netaddr
- posix-spawn
- ruby-atmos-pure
+ netaddr (~> 1.5.0)
+ posix-spawn (~> 0.3.6)
+ ruby-atmos-pure (~> 1.0.5)
sigar (>= 0.7.2)
sinatra (~> 1.2.8)
- thin
- uuidtools
- yajl-ruby
+ thin (~> 1.5.0)
+ uuidtools (~> 2.1.3)
+ yajl-ruby (~> 1.1.0)
PATH
remote: cli
specs:
- bosh_cli (1.0.3)
- blobstore_client
- bosh_common
+ bosh_cli (1.5.0.pre)
+ blobstore_client (~> 1.5.0.pre)
+ bosh_common (~> 1.5.0.pre)
highline (~> 1.6.2)
- httpclient (>= 2.2.4, <= 2.2.4)
+ httpclient (= 2.2.4)
json_pure (~> 1.7.6)
net-scp (~> 1.0.4)
net-ssh (>= 2.2.1)
net-ssh-gateway (~> 1.1.0)
netaddr (~> 1.5.0)
progressbar (~> 0.9.0)
- terminal-table (~> 1.4.2)
+ terminal-table (~> 1.4.3)
PATH
remote: common
specs:
- bosh_common (0.5.5)
+ bosh_common (1.5.0.pre)
PATH
remote: cpi
specs:
- bosh_cpi (0.5.1)
- bosh_common
+ bosh_cpi (1.5.0.pre)
+ bosh_common (~> 1.5.0.pre)
PATH
remote: deployer
specs:
- bosh_deployer (1.4.0)
- agent_client
- bosh_aws_cpi
- bosh_aws_registry
- bosh_cli
- bosh_cpi
- bosh_openstack_cpi
- bosh_openstack_registry
- bosh_vcloud_cpi
- bosh_vsphere_cpi
- sqlite3 (~> 1.3.3)
+ bosh_deployer (1.5.0.pre)
+ agent_client (~> 1.5.0.pre)
+ bosh_aws_cpi (~> 1.5.0.pre)
+ bosh_aws_registry (~> 1.5.0.pre)
+ bosh_cli (~> 1.5.0.pre)
+ bosh_cpi (~> 1.5.0.pre)
+ bosh_openstack_cpi (~> 0.0.7)
+ bosh_openstack_registry (~> 1.5.0.pre)
+ bosh_vcloud_cpi (~> 1.5.0.pre)
+ bosh_vsphere_cpi (~> 1.5.0.pre)
+ sqlite3 (~> 1.3.7)
PATH
remote: director
specs:
- director (0.7)
- bcrypt-ruby
- blobstore_client
- bosh_aws_cpi
- bosh_common
- bosh_cpi
- bosh_encryption
- bosh_openstack_cpi
- bosh_vcloud_cpi
- bosh_vsphere_cpi
- eventmachine
- httpclient
+ director (1.5.0.pre)
+ bcrypt-ruby (~> 3.0.1)
+ blobstore_client (~> 1.5.0.pre)
+ bosh_aws_cpi (~> 1.5.0.pre)
+ bosh_common (~> 1.5.0.pre)
+ bosh_cpi (~> 1.5.0.pre)
+ bosh_encryption (~> 1.5.0.pre)
+ bosh_openstack_cpi (~> 0.0.7)
+ bosh_vcloud_cpi (~> 1.5.0.pre)
+ bosh_vsphere_cpi (~> 1.5.0.pre)
+ eventmachine (~> 0.12.9)
+ httpclient (= 2.2.4)
nats (~> 0.4.28)
- netaddr
- rack-test
- rake
- redis
- resque
- sequel
+ netaddr (~> 1.5.0)
+ rack-test (~> 0.6.2)
+ rake (~> 10.0.3)
+ redis (~> 3.0.2)
+ resque (~> 1.23.0)
+ sequel (~> 3.43.0)
sinatra (~> 1.2.8)
- thin
- uuidtools
- yajl-ruby
+ thin (~> 1.5.0)
+ uuidtools (~> 2.1.3)
+ yajl-ruby (~> 1.1.0)
PATH
remote: encryption
specs:
- bosh_encryption (0.0.4)
+ bosh_encryption (1.5.0.pre)
gibberish (~> 1.2.0)
- uuidtools (~> 2.1.2)
- yajl-ruby
+ uuidtools (~> 2.1.3)
+ yajl-ruby (~> 1.1.0)
PATH
remote: health_monitor
specs:
- health_monitor (0.1.2)
+ health_monitor (1.5.0.pre)
em-http-request (~> 0.3.0)
eventmachine (~> 0.12.10)
logging (~> 1.5.0)
nats (~> 0.4.28)
sinatra (~> 1.2.8)
- thin
- uuidtools
+ thin (~> 1.5.0)
+ uuidtools (~> 2.1.3)
yajl-ruby (~> 1.1.0)
PATH
remote: monit_api
specs:
- monit_api (1.0.2)
- crack
+ monit_api (1.5.0.pre)
+ crack (~> 0.3.2)
PATH
remote: openstack_registry
specs:
- bosh_openstack_registry (0.0.5)
- fog (>= 1.6.0)
- sequel
+ bosh_openstack_registry (1.5.0.pre)
+ fog (~> 1.9.0)
+ sequel (~> 3.43.0)
sinatra (~> 1.2.8)
- thin
- yajl-ruby
+ thin (~> 1.5.0)
+ yajl-ruby (~> 1.1.0)
PATH
remote: package_compiler
specs:
- package_compiler (0.2.0)
- agent_client
- blobstore_client
- bosh_common
+ package_compiler (1.5.0.pre)
+ agent_client (~> 1.5.0.pre)
+ blobstore_client (~> 1.5.0.pre)
+ bosh_common (~> 1.5.0.pre)
trollop (~> 1.16)
- yajl-ruby
+ yajl-ruby (~> 1.1.0)
PATH
remote: ruby_vcloud_sdk
specs:
- ruby_vcloud_sdk (0.4.8)
- builder
- httpclient
- nokogiri (~> 1.5)
- rest-client
+ ruby_vcloud_sdk (1.5.0.pre)
+ builder (~> 3.1.4)
+ httpclient (= 2.2.4)
+ nokogiri (~> 1.5.6)
+ rest-client (~> 1.6.7)
PATH
remote: ruby_vim_sdk
specs:
- ruby_vim_sdk (0.0.3)
- builder
- httpclient
- nokogiri
+ ruby_vim_sdk (1.5.0.pre)
+ builder (~> 3.1.4)
+ httpclient (= 2.2.4)
+ nokogiri (~> 1.5.6)
PATH
remote: simple_blobstore_server
specs:
- simple_blobstore_server (0.0.1)
+ simple_blobstore_server (1.5.0.pre)
sinatra (~> 1.2.8)
- thin
- uuidtools
+ thin (~> 1.5.0)
+ uuidtools (~> 2.1)
PATH
remote: vcloud_cpi
specs:
- bosh_vcloud_cpi (0.4.9)
- bosh_common
- bosh_cpi
- ruby_vcloud_sdk
- uuidtools
+ bosh_vcloud_cpi (1.5.0.pre)
+ bosh_common (~> 1.5.0.pre)
+ bosh_cpi (~> 1.5.0.pre)
+ ruby_vcloud_sdk (~> 1.5.0.pre)
+ uuidtools (~> 2.1)
yajl-ruby (>= 0.8.2)
PATH
remote: vsphere_cpi
specs:
- bosh_vsphere_cpi (0.6.0)
- bosh_common
- bosh_cpi
- membrane
- ruby_vim_sdk
- sequel
- uuidtools
+ bosh_vsphere_cpi (1.5.0.pre)
+ bosh_common (~> 1.5.0.pre)
+ bosh_cpi (~> 1.5.0.pre)
+ membrane (~> 0.0.2)
+ ruby_vim_sdk (~> 1.5.0.pre)
+ sequel (~> 3.43.0)
+ uuidtools (~> 2.1.3)
GEM
remote: http://rubygems.org/
@@ -246,7 +246,7 @@ GEM
uuidtools (>= 2.1.2)
yajl-ruby (>= 0.8.2)
builder (3.1.4)
- ci_reporter (1.8.3)
+ ci_reporter (1.8.4)
builder (>= 2.1.2)
coderay (1.0.8)
columnize (0.3.6)
@@ -272,10 +272,11 @@ GEM
ruby-hmac
formatador (0.2.4)
gibberish (1.2.0)
- guard (1.6.1)
+ guard (1.6.2)
listen (>= 0.6.0)
lumberjack (>= 1.0.2)
pry (>= 0.9.10)
+ terminal-table (>= 1.4.3)
thor (>= 0.14.6)
guard-bundler (1.0.0)
bundler (~> 1.0)
@@ -290,7 +291,7 @@ GEM
httpclient (2.2.4)
json (1.7.6)
json_pure (1.7.6)
- linecache19 (0.5.12)
+ linecache19 (0.5.13)
ruby_core_source (>= 0.1.4)
listen (0.7.2)
little-plugger (1.1.3)
@@ -327,7 +328,7 @@ GEM
coderay (~> 1.0.5)
method_source (~> 0.8)
slop (~> 3.4)
- rack (1.5.0)
+ rack (1.5.1)
rack-test (0.6.2)
rack (>= 1.0)
rake (10.0.3)
@@ -348,7 +349,7 @@ GEM
rspec-core (2.12.2)
rspec-expectations (2.12.1)
diff-lcs (~> 1.1.3)
- rspec-mocks (2.12.1)
+ rspec-mocks (2.12.2)
ruby-atmos-pure (1.0.5)
log4r (>= 1.1.9)
ruby-hmac (>= 0.4.0)
@@ -383,7 +384,7 @@ GEM
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
- thor (0.16.0)
+ thor (0.17.0)
tilt (1.3.3)
trollop (1.16.2)
uuidtools (2.1.3)
View
12 agent_client/agent_client.gemspec
@@ -1,21 +1,23 @@
-require File.dirname(__FILE__) + "/lib/agent_client/version"
+# -*- encoding: utf-8 -*-
+# Copyright (c) 2009-2012 VMware, Inc.
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "agent_client"
- s.version = Bosh::Agent::Client::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "BOSH agent client"
s.description = s.summary
s.author = "VMware"
s.homepage = 'https://github.com/cloudfoundry/bosh'
s.license = 'Apache 2.0'
s.email = "support@cloudfoundry.com"
- s.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- lib/*`.split("\n") + %w(README)
s.require_path = "lib"
- s.add_dependency "httpclient"
- s.add_dependency "yajl-ruby"
+ s.add_dependency "httpclient", "=2.2.4"
+ s.add_dependency "yajl-ruby", "~>1.1.0"
end
View
35 aws_bootstrap/bosh_aws_bootstrap.gemspec
@@ -1,22 +1,23 @@
# -*- encoding: utf-8 -*-
-$:.unshift(File.expand_path("../lib", __FILE__))
+# Copyright (c) 2009-2012 VMware, Inc.
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
-require 'bosh_aws_bootstrap/version'
+Gem::Specification.new do |s|
+ s.name = "bosh_aws_bootstrap"
+ s.version = version
+ s.platform = Gem::Platform::RUBY
+ s.description = %q{BOSH plugin to easily create and delete an AWS VPC}
+ s.summary = %q{BOSH plugin to easily create and delete an AWS VPC}
+ s.author = "VMware"
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
+ s.email = "support@cloudfoundry.com"
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
-Gem::Specification.new do |gem|
- gem.name = "bosh_aws_bootstrap"
- gem.version = Bosh::Aws::Bootstrap::VERSION
- gem.authors = ["VMware Inc"]
- gem.email = ["support@vmware.com"]
- gem.description = %q{BOSH plugin to easily create and delete an AWS VPC}
- gem.summary = %q{BOSH plugin to easily create and delete an AWS VPC}
- gem.homepage = ""
+ s.files = `git ls-files -- lib/*`.split($/)
+ s.require_path = "lib"
- gem.files = `git ls-files`.split($/)
- gem.test_files = gem.files.grep(%r{^spec/})
- gem.require_paths = ["lib"]
-
- gem.add_dependency "bosh_cli"
- gem.add_dependency "aws-sdk", ">=1.8.0"
- gem.add_dependency "uuidtools", ">=2.1.3"
+ s.add_dependency "bosh_cli", "~>#{version}"
+ s.add_dependency "aws-sdk", "~>1.8.0"
+ s.add_dependency "uuidtools", "~>2.1.3"
end
View
22 aws_cpi/bosh_aws_cpi.gemspec
@@ -1,26 +1,28 @@
+# -*- encoding: utf-8 -*-
# Copyright (c) 2009-2012 VMware, Inc.
-
-require File.dirname(__FILE__) + "/lib/cloud/aws/version"
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "bosh_aws_cpi"
- s.version = Bosh::AwsCloud::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "BOSH AWS CPI"
s.description = s.summary
s.author = "VMware"
- s.email = "support@vmware.com"
- s.homepage = "http://www.vmware.com"
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
+ s.email = "support@cloudfoundry.com"
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- bin/* lib/*`.split("\n") + %w(README.md)
s.require_path = "lib"
s.bindir = "bin"
s.executables = %w(bosh_aws_console)
- s.add_dependency "aws-sdk", ">=1.3.5"
- s.add_dependency "bosh_common"
- s.add_dependency "bosh_cpi"
- s.add_dependency "httpclient", ">=2.2.0"
- s.add_dependency "uuidtools", ">=2.1.2"
+ s.add_dependency "aws-sdk", "~>1.8.0"
+ s.add_dependency "bosh_common", "~>#{version}"
+ s.add_dependency "bosh_cpi", "~>#{version}"
+ s.add_dependency "httpclient", "=2.2.4"
+ s.add_dependency "uuidtools", "~>2.1.3"
s.add_dependency "yajl-ruby", ">=0.8.2"
end
View
17 aws_registry/bosh_aws_registry.gemspec
@@ -1,25 +1,28 @@
+# -*- encoding: utf-8 -*-
# Copyright (c) 2009-2012 VMware, Inc.
-require File.dirname(__FILE__) + "/lib/aws_registry/version"
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "bosh_aws_registry"
- s.version = Bosh::AwsRegistry::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "BOSH AWS registry"
s.description = s.summary
s.author = "VMware"
- s.email = "support@vmware.com"
- s.homepage = "http://www.vmware.com"
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
+ s.email = "support@cloudfoundry.com"
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- bin/* lib/*`.split("\n") + %w(README)
s.require_path = "lib"
s.bindir = "bin"
s.executables = %w(aws_registry)
- s.add_dependency "sequel"
+ s.add_dependency "sequel", "~>3.43.0"
s.add_dependency "sinatra", "~> 1.2.8"
- s.add_dependency "thin"
+ s.add_dependency "thin", "~>1.5.0"
s.add_dependency "yajl-ruby", "~> 1.1.0"
- s.add_dependency "aws-sdk"
+ s.add_dependency "aws-sdk", "~>1.8.0"
end
View
20 blobstore_client/blobstore_client.gemspec
@@ -1,29 +1,29 @@
+# -*- encoding: utf-8 -*-
# Copyright (c) 2009-2012 VMware, Inc.
-
-require File.dirname(__FILE__) + "/lib/blobstore_client/version"
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "blobstore_client"
- s.version = Bosh::Blobstore::Client::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "BOSH blobstore client"
s.author = "VMware"
- s.homepage = 'https://github.com/cloudfoundry/bosh'
- s.license = 'Apache 2.0'
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
s.email = "support@cloudfoundry.com"
- s.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- bin/* lib/*`.split("\n") + %w(README)
s.require_path = "lib"
s.bindir = "bin"
s.executables = %w(blobstore_client_console)
- s.add_dependency "aws-sdk"
- s.add_dependency "fog", ">= 1.9.0"
- s.add_dependency "httpclient", ">=2.2"
+ s.add_dependency "aws-sdk", "~>1.8.0"
+ s.add_dependency "fog", "~> 1.9.0"
+ s.add_dependency "httpclient", "=2.2.4"
s.add_dependency "multi_json", "~> 1.1.0"
s.add_dependency "ruby-atmos-pure", "~> 1.0.5"
s.add_dependency "uuidtools", "~> 2.1.2"
- s.add_dependency "bosh_common"
+ s.add_dependency "bosh_common", "~>#{version}"
end
View
36 bosh_agent/bosh_agent.gemspec
@@ -1,32 +1,32 @@
- $:.unshift(File.join(File.dirname(__FILE__), 'lib'))
-
-require 'bosh_agent/version'
+# -*- encoding: utf-8 -*-
+# Copyright (c) 2009-2012 VMware, Inc.
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = 'bosh_agent'
s.summary = 'Agent for Cloud Foundry BOSH release engineering tool.'
s.description = 'This agent listens for instructions from the bosh director on each server that bosh manages.'
s.author = 'VMware'
- s.version = Bosh::Agent::VERSION
+ s.version = version
s.homepage = 'https://github.com/cloudfoundry/bosh'
s.license = 'Apache 2.0'
s.email = "support@cloudfoundry.com"
s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
- s.add_dependency 'highline'
- s.add_dependency 'monit_api'
- s.add_dependency 'netaddr'
- s.add_dependency 'posix-spawn'
- s.add_dependency 'ruby-atmos-pure'
- s.add_dependency 'thin'
- s.add_dependency 'uuidtools'
- s.add_dependency 'yajl-ruby'
- s.add_dependency 'blobstore_client'
- s.add_dependency 'bosh_common'
- s.add_dependency 'bosh_encryption'
- s.add_dependency 'sinatra', "~> 1.2.8"
- s.add_dependency 'nats', "~> 0.4.28"
- s.add_dependency 'sigar', ">= 0.7.2"
+ s.add_dependency 'highline', '~>1.6.2'
+ s.add_dependency 'monit_api', "~>#{version}"
+ s.add_dependency 'netaddr', "~>1.5.0"
+ s.add_dependency 'posix-spawn', "~>0.3.6"
+ s.add_dependency 'ruby-atmos-pure', "~>1.0.5"
+ s.add_dependency 'thin', "~>1.5.0"
+ s.add_dependency 'uuidtools', "~>2.1.3"
+ s.add_dependency 'yajl-ruby', "~>1.1.0"
+ s.add_dependency 'blobstore_client', "~>#{version}"
+ s.add_dependency 'bosh_common', "~>#{version}"
+ s.add_dependency 'bosh_encryption', "~>#{version}"
+ s.add_dependency 'sinatra', "~>1.2.8"
+ s.add_dependency 'nats', "~>0.4.28"
+ s.add_dependency 'sigar', ">=0.7.2"
s.files = `git ls-files -- lib/*`.split("\n") + %w(CHANGELOG)
s.require_path = "lib"
View
4 bosh_agent/lib/bosh_agent/handler.rb
@@ -102,6 +102,7 @@ def start
def shutdown
@logger.info("Exit")
+ raise
NATS.stop { EM.stop; exit }
end
@@ -161,6 +162,7 @@ def handle_message(json)
elsif method == "get_task"
handle_get_task(reply_to, args.first)
elsif method == "shutdown"
+ @logger.info("################# Got a shutdown message?")
handle_shutdown(reply_to)
else
re = RemoteException.new("unknown message #{msg.inspect}")
@@ -204,6 +206,7 @@ def process_in_thread(processor, reply_to, method, args)
end
def handle_get_task(reply_to, agent_task_id)
+ @logger.info("########################## got get_task")
if @long_running_agent_task == [agent_task_id]
publish(reply_to, {"value" => {"state" => "running", "agent_task_id" => agent_task_id}})
else
@@ -215,6 +218,7 @@ def handle_get_task(reply_to, agent_task_id)
publish(reply_to, {"exception" => "unknown agent_task_id" })
end
end
+ @logger.info("########################## replied to get_task")
end
# TODO once we upgrade to nats 0.4.22 we can use
View
20 cli/bosh_cli.gemspec
@@ -1,29 +1,31 @@
+# -*- encoding: utf-8 -*-
# Copyright (c) 2009-2012 VMware, Inc.
-
-require File.dirname(__FILE__) + "/lib/cli/version"
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "bosh_cli"
- s.version = Bosh::Cli::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "BOSH CLI"
s.description = "BOSH command-line tool for release engineering and deployment"
s.author = "VMware"
- s.email = "support@vmware.com"
- s.homepage = "http://www.vmware.com"
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
+ s.email = "support@cloudfoundry.com"
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- bin/* lib/*`.split("\n") + %w(README)
s.require_path = "lib"
s.bindir = "bin"
s.executables = %w(bosh)
- s.add_dependency "bosh_common"
+ s.add_dependency "bosh_common", "~>#{version}"
s.add_dependency "json_pure", "~>1.7.6"
s.add_dependency "highline", "~>1.6.2"
s.add_dependency "progressbar", "~>0.9.0"
- s.add_dependency "httpclient", ">=2.2.4", "<=2.2.4"
- s.add_dependency "terminal-table", "~>1.4.2"
- s.add_dependency "blobstore_client"
+ s.add_dependency "httpclient", "=2.2.4"
+ s.add_dependency "terminal-table", "~>1.4.3"
+ s.add_dependency "blobstore_client", "~>#{version}"
s.add_dependency "net-ssh", ">=2.2.1"
s.add_dependency "net-ssh-gateway", "~>1.1.0"
s.add_dependency "net-scp", "~>1.0.4"
View
12 common/bosh_common.gemspec
@@ -1,14 +1,18 @@
-require File.dirname(__FILE__) + "/lib/common/version"
+# -*- encoding: utf-8 -*-
+# Copyright (c) 2009-2012 VMware, Inc.
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "bosh_common"
- s.version = Bosh::Common::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "BOSH common"
s.description = s.summary
s.author = "VMware"
- s.email = "support@vmware.com"
- s.homepage = "http://www.vmware.com"
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
+ s.email = "support@cloudfoundry.com"
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- lib/*`.split("\n") + %w(README)
s.require_path = "lib"
View
14 cpi/bosh_cpi.gemspec
@@ -1,17 +1,21 @@
-require File.dirname(__FILE__) + "/lib/cloud/version"
+# -*- encoding: utf-8 -*-
+# Copyright (c) 2009-2012 VMware, Inc.
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "bosh_cpi"
- s.version = Bosh::Clouds::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "BOSH CPI"
s.description = s.summary
s.author = "VMware"
- s.email = "support@vmware.com"
- s.homepage = "http://www.vmware.com"
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
+ s.email = "support@cloudfoundry.com"
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- lib/*`.split("\n") + %w(README)
s.require_path = "lib"
- s.add_dependency "bosh_common"
+ s.add_dependency "bosh_common", "~>#{version}"
end
View
32 deployer/bosh_deployer.gemspec
@@ -1,26 +1,30 @@
-require File.dirname(__FILE__) + "/lib/deployer/version"
+# -*- encoding: utf-8 -*-
+# Copyright (c) 2009-2012 VMware, Inc.
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "bosh_deployer"
- s.version = Bosh::Deployer::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "Micro BOSH Deployer"
s.description = s.summary
s.author = "VMware"
- s.email = "support@vmware.com"
- s.homepage = "http://www.vmware.com"
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
+ s.email = "support@cloudfoundry.com"
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- lib/* config/*`.split("\n") + %w(README.rdoc)
s.require_paths = ["lib", "config"]
- s.add_dependency "bosh_cli"
- s.add_dependency "bosh_cpi"
- s.add_dependency "bosh_vcloud_cpi"
- s.add_dependency "bosh_vsphere_cpi"
- s.add_dependency "bosh_aws_cpi"
- s.add_dependency "bosh_aws_registry"
- s.add_dependency "bosh_openstack_cpi"
- s.add_dependency "bosh_openstack_registry"
- s.add_dependency "agent_client"
- s.add_dependency "sqlite3", "~>1.3.3"
+ s.add_dependency "bosh_cli", "~>#{version}"
+ s.add_dependency "bosh_cpi", "~>#{version}"
+ s.add_dependency "bosh_vcloud_cpi", "~>#{version}"
+ s.add_dependency "bosh_vsphere_cpi", "~>#{version}"
+ s.add_dependency "bosh_aws_cpi", "~>#{version}"
+ s.add_dependency "bosh_aws_registry", "~>#{version}"
+ s.add_dependency "bosh_openstack_cpi", "~>0.0.7"
+ s.add_dependency "bosh_openstack_registry", "~>#{version}"
+ s.add_dependency "agent_client", "~>#{version}"
+ s.add_dependency "sqlite3", "~>1.3.7"
end
View
56 director/director.gemspec
@@ -1,44 +1,46 @@
-require File.dirname(__FILE__) + "/lib/director/version"
+# -*- encoding: utf-8 -*-
+# Copyright (c) 2009-2012 VMware, Inc.
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "director"
- s.version = Bosh::Director::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "BOSH Director"
s.description = s.summary
s.author = "VMware"
- s.homepage = 'https://github.com/cloudfoundry/bosh'
- s.license = 'Apache 2.0'
- s.email = "support@cloudfoundry.com"
- s.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
+ s.email = "support@cloudfoundry.com"
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- lib/*`.split("\n") + %w(CHANGELOG)
s.require_path = "lib"
- s.add_dependency "bcrypt-ruby"
- s.add_dependency "blobstore_client"
- s.add_dependency "bosh_common"
- s.add_dependency "bosh_encryption"
- s.add_dependency "bosh_cpi"
- s.add_dependency "bosh_openstack_cpi"
- s.add_dependency "bosh_aws_cpi"
- s.add_dependency "bosh_vcloud_cpi"
- s.add_dependency "bosh_vsphere_cpi"
- s.add_dependency "eventmachine"
- s.add_dependency "httpclient"
+ s.add_dependency "bcrypt-ruby", "~>3.0.1"
+ s.add_dependency "blobstore_client", "~>#{version}"
+ s.add_dependency "bosh_common", "~>#{version}"
+ s.add_dependency "bosh_encryption", "~>#{version}"
+ s.add_dependency "bosh_cpi", "~>#{version}"
+ s.add_dependency "bosh_openstack_cpi", "~>0.0.7"
+ s.add_dependency "bosh_aws_cpi", "~>#{version}"
+ s.add_dependency "bosh_vcloud_cpi", "~>#{version}"
+ s.add_dependency "bosh_vsphere_cpi", "~>#{version}"
+ s.add_dependency "eventmachine", "~>0.12.9"
+ s.add_dependency "httpclient", "=2.2.4"
s.add_dependency "nats", "~> 0.4.28"
- s.add_dependency "netaddr"
- s.add_dependency "rack-test" # needed for console
- s.add_dependency "rake"
- s.add_dependency "redis"
- s.add_dependency "resque"
- s.add_dependency "sequel"
- s.add_dependency "sinatra", "~> 1.2.8"
- s.add_dependency "thin"
- s.add_dependency "uuidtools"
- s.add_dependency "yajl-ruby"
+ s.add_dependency "netaddr", "~>1.5.0"
+ s.add_dependency "rack-test","~>0.6.2" # needed for console
+ s.add_dependency "rake", "~>10.0.3"
+ s.add_dependency "redis", "~>3.0.2"
+ s.add_dependency "resque", "~>1.23.0"
+ s.add_dependency "sequel", "~>3.43.0"
+ s.add_dependency "sinatra", "~>1.2.8"
+ s.add_dependency "thin", "~>1.5.0"
+ s.add_dependency "uuidtools", "~>2.1.3"
+ s.add_dependency "yajl-ruby", "~>1.1.0"
s.bindir = 'bin'
s.executables << 'console'
View
3 director/lib/cloud/dummy.rb
@@ -33,7 +33,6 @@ def delete_stemcell(stemcell_cid)
end
def create_vm(agent_id, stemcell, resource_pool, networks, disk_locality = nil, env = nil)
- agent_dir = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "..", "bosh_agent"))
agent_base_dir = "/tmp/bosh_test_cloud/agent-base-dir-#{agent_id}"
root_dir = File.join(agent_base_dir, 'root_dir')
@@ -42,7 +41,7 @@ def create_vm(agent_id, stemcell, resource_pool, networks, disk_locality = nil,
# FIXME: if there is a need to start this dummy cloud agent with alerts turned on
# then port should be overriden for each agent, otherwise all but first won't start
# (won't be able to bind to port)
- agent_cmd = File.join(agent_dir, "bin", "bosh_agent -a #{agent_id} -s bs_admin:bs_pass@http://127.0.0.1:9590 -p simple -b #{agent_base_dir} -n nats://localhost:42112 -r #{root_dir} --no-alerts")
+ agent_cmd = "bosh_agent -a #{agent_id} -s bs_admin:bs_pass@http://127.0.0.1:9590 -p simple -b #{agent_base_dir} -n nats://localhost:42112 -r #{root_dir} --no-alerts"
agent_pid = fork do
# exec will actually fork off another process (due to shell expansion),
View
17 encryption/bosh_encryption.gemspec
@@ -1,21 +1,24 @@
-require File.dirname(__FILE__) + "/lib/encryption/version"
+# -*- encoding: utf-8 -*-
+# Copyright (c) 2009-2012 VMware, Inc.
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "bosh_encryption"
- s.version = Bosh::Encryption::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "BOSH encryption"
s.description = s.summary
s.license = "Apache-2"
s.author = "VMware"
- s.email = "support@vmware.com"
- s.homepage = "http://www.vmware.com"
- s.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
+ s.email = "support@cloudfoundry.com"
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- lib/*`.split("\n") + %w(README)
s.require_path = "lib"
s.add_dependency "gibberish", "~>1.2.0"
- s.add_dependency "uuidtools", "~>2.1.2"
- s.add_dependency "yajl-ruby"
+ s.add_dependency "uuidtools", "~>2.1.3"
+ s.add_dependency "yajl-ruby", "~>1.1.0"
end
View
30 health_monitor/health_monitor.gemspec
@@ -1,30 +1,30 @@
-require File.dirname(__FILE__) + "/lib/health_monitor/version"
+# -*- encoding: utf-8 -*-
+# Copyright (c) 2009-2012 VMware, Inc.
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "health_monitor"
- s.version = Bosh::HealthMonitor::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "BOSH Health Montior"
s.description = s.summary
s.author = "VMware"
- s.homepage = 'https://github.com/cloudfoundry/bosh'
- s.license = 'Apache 2.0'
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
s.email = "support@cloudfoundry.com"
- s.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
-
-
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- lib/*`.split("\n") + %w(README)
s.require_path = "lib"
- s.add_dependency "eventmachine", "~> 0.12.10"
- s.add_dependency "logging", "~> 1.5.0"
- s.add_dependency "em-http-request", "~> 0.3.0"
- s.add_dependency "nats", "~> 0.4.28"
- s.add_dependency "yajl-ruby", "~> 1.1.0"
- s.add_dependency "uuidtools"
- s.add_dependency "thin"
- s.add_dependency "sinatra", "~> 1.2.8"
+ s.add_dependency "eventmachine", "~>0.12.10"
+ s.add_dependency "logging", "~>1.5.0"
+ s.add_dependency "em-http-request", "~>0.3.0"
+ s.add_dependency "nats", "~>0.4.28"
+ s.add_dependency "yajl-ruby", "~>1.1.0"
+ s.add_dependency "uuidtools", "~>2.1.3"
+ s.add_dependency "thin", "~>1.5.0"
+ s.add_dependency "sinatra", "~>1.2.8"
s.bindir = 'bin'
s.executables << 'console'
View
12 integration_tests/spec/sandbox.rb
@@ -55,7 +55,7 @@ def start
FileUtils.rm_rf(TESTCASE_SQLITE_DB)
Dir.chdir(DIRECTOR_PATH) do
- output = `rake migration:run[#{DIRECTOR_CONF}] --trace`
+ output = `bundle exec rake migration:run[#{DIRECTOR_CONF}] --trace`
unless $?.exitstatus == 0
puts "Failed to run migration:"
puts output
@@ -66,9 +66,9 @@ def start
FileUtils.cp(TESTCASE_SQLITE_DB, @sqlite_db)
run_with_pid("redis-server #{REDIS_CONF}", REDIS_PID)
- run_with_pid("#{BLOBSTORE_PATH}/bin/simple_blobstore_server -c #{BLOBSTORE_CONF}", BLOBSTORE_PID)
+ run_with_pid("bundle exec simple_blobstore_server -c #{BLOBSTORE_CONF}", BLOBSTORE_PID)
- run_with_pid("nats-server -p #{NATS_PORT}", NATS_PID)
+ run_with_pid("bundle exec nats-server -p #{NATS_PORT}", NATS_PID)
if ENV["DEBUG"]
FileUtils.rm_rf(LOGS_PATH)
@@ -115,11 +115,11 @@ def reset(name)
f.write(Yajl::Encoder.encode({"uuid" => DIRECTOR_UUID}))
end
- run_with_pid("#{DIRECTOR_PATH}/bin/director -c #{DIRECTOR_CONF}", DIRECTOR_PID,
+ run_with_pid("bundle exec director -c #{DIRECTOR_CONF}", DIRECTOR_PID,
:output => director_output)
- run_with_pid("#{DIRECTOR_PATH}/bin/worker -c #{DIRECTOR_CONF}", WORKER_PID,
+ run_with_pid("bundle exec worker -c #{DIRECTOR_CONF}", WORKER_PID,
:output => worker_output, :env => {"QUEUE" => "*"})
- run_with_pid("#{HM_PATH}/bin/health_monitor -c #{HM_CONF}", HM_PID,
+ run_with_pid("bundle exec health_monitor -c #{HM_CONF}", HM_PID,
:output => hm_output)
loop do
View
2 integration_tests/spec/spec_helper.rb
@@ -85,7 +85,7 @@ def director_version
def run_bosh(cmd, work_dir = nil)
Dir.chdir(work_dir || BOSH_WORK_DIR) do
- `#{CLI_DIR}/bin/bosh -n -c #{BOSH_CONFIG} -C #{BOSH_CACHE_DIR} #{cmd}`
+ `bundle exec bosh -n -c #{BOSH_CONFIG} -C #{BOSH_CACHE_DIR} #{cmd}`
end
end
View
14 monit_api/monit_api.gemspec
@@ -1,17 +1,21 @@
-require File.dirname(__FILE__) + "/lib/monit_api/version"
+# -*- encoding: utf-8 -*-
+# Copyright (c) 2009-2012 VMware, Inc.
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "monit_api"
- s.version = MonitApi::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "BOSH Monit API client"
s.description = s.summary
s.author = "VMware"
- s.email = "support@vmware.com"
- s.homepage = "http://www.vmware.com"
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
+ s.email = "support@cloudfoundry.com"
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- lib/*`.split("\n") + %w(README)
s.require_path = "lib"
- s.add_dependency "crack"
+ s.add_dependency "crack", "~>0.3.2"
end
View
20 openstack_registry/bosh_openstack_registry.gemspec
@@ -1,26 +1,28 @@
+# -*- encoding: utf-8 -*-
# Copyright (c) 2009-2012 VMware, Inc.
-
-require File.dirname(__FILE__) + "/lib/openstack_registry/version"
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "bosh_openstack_registry"
- s.version = Bosh::OpenstackRegistry::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "BOSH OpenStack registry"
s.description = s.summary
s.author = "VMware"
- s.email = "support@vmware.com"
- s.homepage = "http://www.vmware.com"
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
+ s.email = "support@cloudfoundry.com"
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- bin/* lib/*`.split("\n") +
%w(README.md)
s.require_path = "lib"
s.bindir = "bin"
s.executables = %w(openstack_registry)
- s.add_dependency "sequel"
+ s.add_dependency "sequel", "~>3.43.0"
s.add_dependency "sinatra", "~> 1.2.8"
- s.add_dependency "thin"
- s.add_dependency "yajl-ruby"
- s.add_dependency "fog", ">=1.6.0"
+ s.add_dependency "thin", "~>1.5.0"
+ s.add_dependency "yajl-ruby", "~>1.1.0"
+ s.add_dependency "fog", "~>1.9.0"
end
View
22 package_compiler/package_compiler.gemspec
@@ -1,23 +1,27 @@
-require File.dirname(__FILE__) + "/lib/package_compiler/version"
+# -*- encoding: utf-8 -*-
+# Copyright (c) 2009-2012 VMware, Inc.
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "package_compiler"
- s.version = Bosh::PackageCompiler::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "Bosh package compiler"
s.description = s.summary
s.author = "VMware"
- s.email = "support@vmware.com"
- s.homepage = "http://www.vmware.com"
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
+ s.email = "support@cloudfoundry.com"
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- lib/*`.split("\n") + %w(README)
s.require_path = "lib"
s.bindir = "bin"
s.executables = %w(package_compiler)
- s.add_dependency "agent_client"
- s.add_dependency "blobstore_client"
- s.add_dependency "bosh_common"
- s.add_dependency "yajl-ruby"
- s.add_dependency "trollop", "~> 1.16"
+ s.add_dependency "agent_client", "~>#{version}"
+ s.add_dependency "blobstore_client", "~>#{version}"
+ s.add_dependency "bosh_common", "~>#{version}"
+ s.add_dependency "yajl-ruby", "~>1.1.0"
+ s.add_dependency "trollop", "~>1.16"
end
View
22 ruby_vcloud_sdk/ruby_vcloud_sdk.gemspec
@@ -1,22 +1,24 @@
-$:.unshift(File.expand_path("../lib", __FILE__))
-
-require "ruby_vcloud_sdk/version"
+# -*- encoding: utf-8 -*-
+# Copyright (c) 2009-2012 VMware, Inc.
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "ruby_vcloud_sdk"
- s.version = VCloudSdk::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "BOSH vCloud API client"
s.description = s.summary
s.author = "VMware"
- s.email = "support@vmware.com"
- s.homepage = "http://www.vmware.com"
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
+ s.email = "support@cloudfoundry.com"
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- lib/*`.split("\n") + %w(README)
s.require_path = "lib"
- s.add_dependency("builder")
- s.add_dependency("httpclient")
- s.add_dependency("rest-client")
- s.add_dependency("nokogiri", "~> 1.5")
+ s.add_dependency("builder","~>3.1.4")
+ s.add_dependency("httpclient", "=2.2.4")
+ s.add_dependency("rest-client", "~>1.6.7")
+ s.add_dependency("nokogiri", "~>1.5.6")
end
View
20 ruby_vim_sdk/ruby_vim_sdk.gemspec
@@ -1,21 +1,23 @@
-$:.unshift(File.expand_path("../lib", __FILE__))
-
-require "ruby_vim_sdk/version"
+# -*- encoding: utf-8 -*-
+# Copyright (c) 2009-2012 VMware, Inc.
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "ruby_vim_sdk"
- s.version = VimSdk::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "BOSH vSphere API client"
s.description = s.summary
s.author = "VMware"
- s.email = "support@vmware.com"
- s.homepage = "http://www.vmware.com"
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
+ s.email = "support@cloudfoundry.com"
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- lib/*`.split("\n") + %w(README)
s.require_path = "lib"
- s.add_dependency("builder")
- s.add_dependency("httpclient")
- s.add_dependency("nokogiri")
+ s.add_dependency("builder", "~>3.1.4")
+ s.add_dependency("httpclient", "=2.2.4")
+ s.add_dependency("nokogiri", "~>1.5.6")
end
View
16 simple_blobstore_server/simple_blobstore_server.gemspec
@@ -1,20 +1,24 @@
+# -*- encoding: utf-8 -*-
+# Copyright (c) 2009-2012 VMware, Inc.
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
+
Gem::Specification.new do |s|
s.name = "simple_blobstore_server"
- s.version = '0.0.1'
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "BOSH Simple Blobstore Server"
s.description = s.summary
s.author = "VMware"
- s.homepage = 'https://github.com/cloudfoundry/bosh'
- s.license = 'Apache 2.0'
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
s.email = "support@cloudfoundry.com"
- s.required_ruby_version = Gem::Requirement.new(">= 1.9.2")
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- lib/*`.split("\n") + %w(README)
s.require_path = "lib"
- s.add_dependency "uuidtools"
- s.add_dependency "thin"
+ s.add_dependency "uuidtools", "~>2.1"
+ s.add_dependency "thin", "~>1.5.0"
s.add_dependency "sinatra", "~> 1.2.8"
s.bindir = 'bin'
View
20 vcloud_cpi/vcloud_cpi.gemspec
@@ -1,21 +1,25 @@
-require File.dirname(__FILE__) + "/lib/cloud/vcloud/version"
+# -*- encoding: utf-8 -*-
+# Copyright (c) 2009-2012 VMware, Inc.
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "bosh_vcloud_cpi"
- s.version = Bosh::Clouds::VCloud::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "BOSH vCloud CPI"
s.description = s.summary
s.author = "VMware"
- s.email = "support@vmware.com"
- s.homepage = "http://www.vmware.com"
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
+ s.email = "support@cloudfoundry.com"
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- lib/*`.split("\n") + %w(README)
s.require_path = "lib"
- s.add_dependency "bosh_common"
- s.add_dependency "bosh_cpi"
- s.add_dependency "ruby_vcloud_sdk"
- s.add_dependency "uuidtools"
+ s.add_dependency "bosh_common", "~>#{version}"
+ s.add_dependency "bosh_cpi", "~>#{version}"
+ s.add_dependency "ruby_vcloud_sdk", "~>#{version}"
+ s.add_dependency "uuidtools", "~>2.1"
s.add_dependency "yajl-ruby", ">=0.8.2"
end
View
BIN vendor/cache/ci_reporter-1.8.3.gem
Binary file not shown.
View
BIN vendor/cache/ci_reporter-1.8.4.gem
Binary file not shown.
View
BIN vendor/cache/guard-1.6.1.gem → vendor/cache/guard-1.6.2.gem
Binary file not shown.
View
BIN vendor/cache/linecache19-0.5.12.gem
Binary file not shown.
View
BIN vendor/cache/linecache19-0.5.13.gem
Binary file not shown.
View
BIN vendor/cache/rack-1.5.0.gem
Binary file not shown.
View
BIN vendor/cache/rack-1.5.1.gem
Binary file not shown.
View
BIN vendor/cache/rspec-mocks-2.12.1.gem
Binary file not shown.
View
BIN vendor/cache/rspec-mocks-2.12.2.gem
Binary file not shown.
View
BIN vendor/cache/thor-0.16.0.gem
Binary file not shown.
View
BIN vendor/cache/thor-0.17.0.gem
Binary file not shown.
View
24 vsphere_cpi/vsphere_cpi.gemspec
@@ -1,22 +1,26 @@
-require File.dirname(__FILE__) + "/lib/cloud/vsphere/version"
+# -*- encoding: utf-8 -*-
+# Copyright (c) 2009-2012 VMware, Inc.
+version = File.read(File.expand_path('../../BOSH_VERSION', __FILE__)).strip
Gem::Specification.new do |s|
s.name = "bosh_vsphere_cpi"
- s.version = Bosh::Clouds::VSphere::VERSION
+ s.version = version
s.platform = Gem::Platform::RUBY
s.summary = "BOSH VSphere CPI"
s.description = s.summary
s.author = "VMware"
- s.email = "support@vmware.com"
- s.homepage = "http://www.vmware.com"
+ s.homepage = 'https://github.com/cloudfoundry/bosh'
+ s.license = 'Apache 2.0'
+ s.email = "support@cloudfoundry.com"
+ s.required_ruby_version = Gem::Requirement.new(">= 1.9.3")
s.files = `git ls-files -- db/* lib/*`.split("\n") + %w(README)
s.require_path = "lib"
- s.add_dependency "bosh_common"
- s.add_dependency "bosh_cpi"
- s.add_dependency "membrane"
- s.add_dependency "ruby_vim_sdk"
- s.add_dependency "sequel"
- s.add_dependency "uuidtools"
+ s.add_dependency "bosh_common", "~>#{version}"
+ s.add_dependency "bosh_cpi", "~>#{version}"
+ s.add_dependency "membrane", "~>0.0.2"
+ s.add_dependency "ruby_vim_sdk", "~>#{version}"
+ s.add_dependency "sequel", "~>3.43.0"
+ s.add_dependency "uuidtools", "~>2.1.3"
end

0 comments on commit 426eac1

Please sign in to comment.
Something went wrong with that request. Please try again.