Skip to content

Commit adc1e79

Browse files
arampriceystros
authored andcommitted
Use ruby conventions in Bosh::Common internal gem
This work is in preparation for extracting this code to a separate repository since it is consumed by existing Ruby-based CPI's Signed-off-by: Brian Upton <brian.upton@broadcom.com>
1 parent c9f9471 commit adc1e79

22 files changed

+12
-12
lines changed

packages/director/spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ dependencies:
88

99
files:
1010
- bosh-director/**/*
11-
- bosh_common/**/*
11+
- bosh-common/**/*
1212
- vendor/cache/*.gem
1313
- vendor/cache/extensions/**

src/Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ source 'https://rubygems.org'
33
gem 'bosh-director', path: 'bosh-director'
44
gem 'bosh-monitor', path: 'bosh-monitor'
55
gem 'bosh-nats-sync', path: 'bosh-nats-sync'
6-
gem 'bosh_common', path: 'bosh_common'
6+
gem 'bosh-common', path: 'bosh-common'
77

88
gem 'mysql2'
99
gem 'pg'

src/Gemfile.lock

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
PATH
2+
remote: bosh-common
3+
specs:
4+
bosh-common (0.0.0)
5+
16
PATH
27
remote: bosh-director
38
specs:
49
bosh-director (0.0.0)
510
activesupport
611
bcrypt
7-
bosh_common (~> 0.0.0)
12+
bosh-common (~> 0.0.0)
813
bosh_cpi
914
cf-uaa-lib
1015
json
@@ -58,11 +63,6 @@ PATH
5863
openssl
5964
rufus-scheduler
6065

61-
PATH
62-
remote: bosh_common
63-
specs:
64-
bosh_common (0.0.0)
65-
6666
GEM
6767
remote: https://rubygems.org/
6868
specs:
@@ -333,10 +333,10 @@ PLATFORMS
333333

334334
DEPENDENCIES
335335
async-rspec
336+
bosh-common!
336337
bosh-director!
337338
bosh-monitor!
338339
bosh-nats-sync!
339-
bosh_common!
340340
bundle-audit
341341
factory_bot
342342
fakefs
File renamed without changes.

src/bosh_common/bosh_common.gemspec src/bosh-common/bosh-common.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
require File.expand_path('../lib/bosh/common/version', __FILE__)
33

44
Gem::Specification.new do |spec|
5-
spec.name = 'bosh_common'
5+
spec.name = 'bosh-common'
66
spec.version = Bosh::Common::VERSION
77
spec.platform = Gem::Platform::RUBY
88
spec.summary = 'BOSH common'
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/bosh_common/spec/gemspec_spec.rb src/bosh-common/spec/gemspec_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
module Bosh::Common
55
describe 'gem' do
6-
let(:name) { 'bosh_common' }
6+
let(:name) { 'bosh-common' }
77
let(:spec) { Gem::Specification.load "#{name}.gemspec" }
88

99
it 'validates' do
File renamed without changes.

src/bosh-director/bosh-director.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
3232
]
3333
spec.require_paths = ['lib']
3434

35-
spec.add_dependency 'bosh_common', "~>#{Bosh::Director::VERSION}"
35+
spec.add_dependency 'bosh-common', "~>#{Bosh::Director::VERSION}"
3636

3737
spec.add_dependency 'activesupport'
3838
spec.add_dependency 'bcrypt'

0 commit comments

Comments
 (0)