Skip to content

Commit db7d60a

Browse files
committed
Rename rails_bootstrap_navbar to rails-bootstrap-navbar, fix gemspec
1 parent 7bf6d6d commit db7d60a

File tree

7 files changed

+5
-5
lines changed

7 files changed

+5
-5
lines changed

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
source 'https://rubygems.org'
22

3-
# Specify your gem's dependencies in rails_bootstrap_navbar.gemspec
3+
# Specify your gem's dependencies in rails-bootstrap-navbar.gemspec
44
gemspec

lib/rails-bootstrap-navbar.rb

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require_relative 'rails-bootstrap-navbar/version'
2+
require_relative 'rails-bootstrap-navbar/railtie' if defined?(Rails)

lib/rails_bootstrap_navbar.rb

-2
This file was deleted.

rails_bootstrap_navbar.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require 'rails-bootstrap-navbar/version'
77

88
Gem::Specification.new do |gem|
99
gem.name = 'rails_bootstrap_navbar'
10-
gem.version = Middleman::BootstrapNavbar::VERSION
10+
gem.version = RailsBootstrapNavbar::VERSION
1111
gem.platform = Gem::Platform::RUBY
1212
gem.authors = ['Manuel Meurer']
1313
gem.email = 'manuel.meurer@gmail.com'

spec/spec_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require 'rails_bootstrap_navbar'
1+
require 'rails-bootstrap-navbar'
22

33
RSpec.configure do |config|
44
config.treat_symbols_as_metadata_keys_with_true_values = true

0 commit comments

Comments
 (0)