diff --git a/Gemfile b/Gemfile index 933fde82bcb..4b56abda23e 100644 --- a/Gemfile +++ b/Gemfile @@ -2,25 +2,29 @@ source 'https://rubygems.org' -gemspec path: 'agent_client' -gemspec path: 'blobstore_client' -gemspec path: 'bosh_agent' -gemspec path: 'bosh_aws_cpi' -gemspec path: 'bosh_common' -gemspec path: 'bosh-core' -gemspec path: 'bosh_cpi' -gemspec path: 'bosh_cli' -gemspec path: 'bosh_cli_plugin_aws' -gemspec path: 'bosh_cli_plugin_micro' -gemspec path: 'bosh_openstack_cpi' -gemspec path: 'bosh-registry' -gemspec path: 'bosh_vsphere_cpi' -gemspec path: 'bosh_warden_cpi' -gemspec path: 'bosh-director' -gemspec path: 'bosh-director-core' -gemspec path: 'bosh-monitor' -gemspec path: 'bosh-release' -gemspec path: 'simple_blobstore_server' +%w( + agent_client + blobstore_client + bosh_agent + bosh_aws_cpi + bosh_common + bosh-core + bosh_cpi + bosh_cli + bosh_cli_plugin_aws + bosh_cli_plugin_micro + bosh_openstack_cpi + bosh-registry + bosh_vsphere_cpi + bosh_warden_cpi + bosh-director + bosh-director-core + bosh-monitor + bosh-release + simple_blobstore_server +).each do |gem_name| + gem gem_name, path: gem_name +end gem 'rake', '~>10.0' diff --git a/agent_client/agent_client.gemspec b/agent_client/agent_client.gemspec index 900604af9d7..2eb0da53db1 100644 --- a/agent_client/agent_client.gemspec +++ b/agent_client/agent_client.gemspec @@ -21,6 +21,4 @@ Gem::Specification.new do |s| s.add_dependency 'httpclient', '=2.2.4' s.add_dependency 'yajl-ruby', '~>1.1.0' - - s.add_development_dependency 'rspec' end diff --git a/blobstore_client/blobstore_client.gemspec b/blobstore_client/blobstore_client.gemspec index f14ad127a85..3f1dbe5bd71 100644 --- a/blobstore_client/blobstore_client.gemspec +++ b/blobstore_client/blobstore_client.gemspec @@ -26,6 +26,4 @@ Gem::Specification.new do |s| s.add_dependency 'multi_json', '~> 1.1' s.add_dependency 'ruby-atmos-pure', '~> 1.0.5' s.add_dependency 'bosh_common', "~>#{version}" - - s.add_development_dependency 'rspec' end diff --git a/bosh-core/bosh-core.gemspec b/bosh-core/bosh-core.gemspec index f34fdc02e19..eef0653beff 100644 --- a/bosh-core/bosh-core.gemspec +++ b/bosh-core/bosh-core.gemspec @@ -20,7 +20,4 @@ Gem::Specification.new do |spec| spec.add_dependency 'gibberish', '~>1.2.0' spec.add_dependency 'yajl-ruby', '~>1.1.0' - - spec.add_development_dependency 'rake' - spec.add_development_dependency 'rspec' end diff --git a/bosh-director-core/bosh-director-core.gemspec b/bosh-director-core/bosh-director-core.gemspec index 7f227076923..5fdd25c437c 100644 --- a/bosh-director-core/bosh-director-core.gemspec +++ b/bosh-director-core/bosh-director-core.gemspec @@ -21,8 +21,4 @@ Gem::Specification.new do |spec| spec.require_paths = %w[lib] spec.add_dependency 'bosh_common', "~>#{version}" - - spec.add_development_dependency 'rake' - spec.add_development_dependency 'rspec' - spec.add_development_dependency 'fakefs' end diff --git a/bosh-director/bosh-director.gemspec b/bosh-director/bosh-director.gemspec index 2c463e5f89e..c911f9fb7a7 100644 --- a/bosh-director/bosh-director.gemspec +++ b/bosh-director/bosh-director.gemspec @@ -47,11 +47,6 @@ Gem::Specification.new do |s| s.add_dependency 'yajl-ruby', '~>1.1.0' s.add_dependency 'membrane', '~>0.0.2' - s.add_development_dependency 'rspec' - s.add_development_dependency 'rspec-its' - s.add_development_dependency 'fakefs' - s.add_development_dependency 'machinist', '~>1.0' - s.bindir = 'bin' s.executables << 'bosh-director' s.executables << 'bosh-director-console' diff --git a/bosh_agent/bosh_agent.gemspec b/bosh_agent/bosh_agent.gemspec index 78427edbc61..93ff688db22 100644 --- a/bosh_agent/bosh_agent.gemspec +++ b/bosh_agent/bosh_agent.gemspec @@ -29,9 +29,6 @@ Gem::Specification.new do |s| s.add_dependency 'bosh_common', "~>#{version}" s.add_dependency 'blobstore_client', "~>#{version}" - s.add_development_dependency 'rspec' - s.add_development_dependency 'fakefs' - s.files = `git ls-files -- lib/*`.split("\n") + %w(CHANGELOG) s.require_paths = %w(lib) s.test_files = s.files.grep(%r{^(test|spec|features)/}) diff --git a/bosh_cli/bosh_cli.gemspec b/bosh_cli/bosh_cli.gemspec index a99eae77651..1ecd5723c6e 100644 --- a/bosh_cli/bosh_cli.gemspec +++ b/bosh_cli/bosh_cli.gemspec @@ -32,9 +32,4 @@ Gem::Specification.new do |s| s.add_dependency 'net-scp', '~>1.1.0' s.add_dependency 'netaddr', '~>1.5.0' s.add_dependency 'minitar', '~>0.5.4' - - s.add_development_dependency 'rspec' - s.add_development_dependency 'rspec-its' - s.add_development_dependency 'fakefs' - s.add_development_dependency 'webmock' end diff --git a/bosh_cli_plugin_aws/bosh_cli_plugin_aws.gemspec b/bosh_cli_plugin_aws/bosh_cli_plugin_aws.gemspec index 8a5f2dce6d8..8d2ac6d3554 100644 --- a/bosh_cli_plugin_aws/bosh_cli_plugin_aws.gemspec +++ b/bosh_cli_plugin_aws/bosh_cli_plugin_aws.gemspec @@ -22,7 +22,4 @@ Gem::Specification.new do |s| s.add_dependency 'bosh_aws_cpi', "~>#{version}" s.add_dependency 'bosh_cli_plugin_micro', "~>#{version}" s.add_dependency 'bosh-stemcell', "~>#{version}" - - s.add_development_dependency 'rspec' - s.add_development_dependency 'rspec-its' end diff --git a/bosh_cli_plugin_micro/bosh_cli_plugin_micro.gemspec b/bosh_cli_plugin_micro/bosh_cli_plugin_micro.gemspec index 67ef8b0e6fc..b0126fcb141 100644 --- a/bosh_cli_plugin_micro/bosh_cli_plugin_micro.gemspec +++ b/bosh_cli_plugin_micro/bosh_cli_plugin_micro.gemspec @@ -32,7 +32,4 @@ Gem::Specification.new do |s| s.add_dependency 'bosh_vsphere_cpi', "~>#{version}" s.add_dependency 'bosh-director-core', "~>#{version}" s.add_dependency 'blobstore_client', "~>#{version}" - - s.add_development_dependency 'rspec' - s.add_development_dependency 'fakefs' end diff --git a/bosh_vsphere_cpi/bosh_vsphere_cpi.gemspec b/bosh_vsphere_cpi/bosh_vsphere_cpi.gemspec index 6dee1fb15a9..2c9a6573b8e 100644 --- a/bosh_vsphere_cpi/bosh_vsphere_cpi.gemspec +++ b/bosh_vsphere_cpi/bosh_vsphere_cpi.gemspec @@ -30,6 +30,4 @@ Gem::Specification.new do |s| s.add_dependency 'builder', '~>3.1.4' s.add_dependency 'nokogiri', '~>1.5.10' s.add_dependency 'httpclient', '~>2.2.4' - - s.add_development_dependency 'rspec' end