rails_bootstrap_navbar 2.0.1 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 49e4eaa2fc88e28c70615b116f39ea9f4eae2477
4
- data.tar.gz: aaf4f336abbc921dad549e75d135e8b926e8e4c2
3
+ metadata.gz: 6309ba882139ed1c22f9ec99021c24ec3275eb70
4
+ data.tar.gz: 15f090354dba098c0f843f824e39830d557a87b3
5
5
  SHA512:
6
- metadata.gz: 239c12cbc4ed9f5131f7cb6ccdf8d78616f3702718d6d9bcd519af813252c1ebdce266d5cd22cb8d6147b59f3b3751bc3d9c9288892f4e7d383caac1fef9c7d5
7
- data.tar.gz: f8f3e74adb8be2e80aee97e7d4958e7efe7a94abca558d21fbab3b3966b70cbca14b4823be2b147e3432c11f6b386b2508e22903cdf7bd6a2c796fec50ff67f6
6
+ metadata.gz: e91df2fd64e3ff3d90d3c75282738a3ebab114f63c5a28fdce291dbb9149bb2b3c5882bca5a89204b97db1b4f7acecc6dea6eb72125e86f43cba05d3fc4a89aa
7
+ data.tar.gz: 79d02cbedc9c12334334b8409ab20cf4108b3befff2a56efddd633182804cb0864d30f9fb0e071a2eb76f8d3feef623d595e28f90892b0a35f095734b29cd47e
@@ -0,0 +1 @@
1
+ Gemfile.lock
@@ -1,6 +1,9 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.3
4
- - 2.0.0
5
- - 2.1.0
6
- - jruby
3
+ - 2.2.7
4
+ - 2.3.4
5
+ - 2.4.1
6
+ before_install:
7
+ - gem update --system
8
+ - gem update bundler
9
+ sudo: false
data/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [![Dependency Status](https://gemnasium.com/bootstrap-ruby/rails-bootstrap-navbar.png)](https://gemnasium.com/bootstrap-ruby/rails-bootstrap-navbar)
6
6
  [![Code Climate](https://codeclimate.com/github/bootstrap-ruby/rails-bootstrap-navbar.png)](https://codeclimate.com/github/bootstrap-ruby/rails-bootstrap-navbar)
7
7
 
8
- Easily generate a [Twitter Bootstrap navbar](http://twitter.github.io/bootstrap/components.html#navbar) in your Rails app
8
+ Easily generate a [Bootstrap](https://getbootstrap.com/) navbar in your Rails app
9
9
 
10
10
  ## Installation
11
11
 
@@ -29,11 +29,31 @@ At least the CSS files for the navbar are required, and the JS files for dropdow
29
29
 
30
30
  ## Usage
31
31
 
32
+ ### Set Bootstrap version
33
+
34
+ This gem needs to know which Bootstrap version you are using, because the navbar HTML looks different in different Bootstrap versions.
35
+
36
+ If you're using either the [`bootstrap-sass`](https://github.com/twbs/bootstrap-sass) or [`bootstrap`](https://github.com/twbs/bootstrap-rubygem) gem, you're all set because the Boostrap version will be sniffed automatically from those gems' versions. Make sure to include the `bootstrap-sass` or `bootstrap` gem before `rails_bootstrap_navbar` in your Gemfile though.
37
+
38
+ If you include the Bootstrap CSS and JS some other way, you need to set the Bootstrap version explicitly in an initializer:
39
+
40
+ ```ruby
41
+ # config/initializers/rails-bootstrap-navbar.rb
42
+
43
+ BootstrapNavbar.configure do |config|
44
+ config.bootstrap_version = '4.0.0'
45
+ end
46
+ ```
47
+
48
+ ### Output HTML
49
+
32
50
  The gem [bootstrap-navbar](https://github.com/bootstrap-ruby/bootstrap-navbar) is used to generate the HTML. Please refer to the gem's [README](https://github.com/bootstrap-ruby/bootstrap-navbar/blob/master/README.md) and the following Wiki entries for detailed instructions on how to generate the navbar:
33
51
 
34
- [Usage with Bootstrap 2.x](https://github.com/bootstrap-ruby/bootstrap-navbar/wiki/Usage-with-Bootstrap-2.x)
52
+ [Usage with Bootstrap 2](https://github.com/bootstrap-ruby/bootstrap-navbar/wiki/Usage-with-Bootstrap-2)
53
+
54
+ [Usage with Bootstrap 3](https://github.com/bootstrap-ruby/bootstrap-navbar/wiki/Usage-with-Bootstrap-3)
35
55
 
36
- [Usage with Bootstrap 3.x](https://github.com/bootstrap-ruby/bootstrap-navbar/wiki/Usage-with-Bootstrap-3.x)
56
+ [Usage with Bootstrap 4](https://github.com/bootstrap-ruby/bootstrap-navbar/wiki/Usage-with-Bootstrap-4)
37
57
 
38
58
  ## Acknowledgements
39
59
 
@@ -1,3 +1,3 @@
1
1
  module RailsBootstrapNavbar
2
- VERSION = "2.0.1"
2
+ VERSION = '3.0.0'
3
3
  end
@@ -9,11 +9,11 @@ Gem::Specification.new do |gem|
9
9
  gem.name = 'rails_bootstrap_navbar'
10
10
  gem.version = RailsBootstrapNavbar::VERSION
11
11
  gem.platform = Gem::Platform::RUBY
12
- gem.authors = ['Manuel Meurer']
12
+ gem.author = 'Manuel Meurer'
13
13
  gem.email = 'manuel@krautcomputing.com'
14
- gem.description = 'Easily generate a Twitter Bootstrap navbar in your Rails app'
15
- gem.summary = 'Easily generate a Twitter Bootstrap navbar in your Rails app'
16
- gem.homepage = 'https://github.com/bootstrap-ruby/rails-bootstrap-navbar'
14
+ gem.description = 'Easily generate a Bootstrap navbar in your Rails app'
15
+ gem.summary = 'Easily generate a Bootstrap navbar in your Rails app'
16
+ gem.homepage = 'http://bootstrap-ruby.github.io/rails-bootstrap-navbar'
17
17
  gem.license = 'MIT'
18
18
 
19
19
  gem.files = `git ls-files`.split($/)
@@ -21,10 +21,10 @@ Gem::Specification.new do |gem|
21
21
  gem.test_files = gem.files.grep(%r(^(test|spec|features)/))
22
22
  gem.require_paths = ['lib']
23
23
 
24
- gem.add_development_dependency 'rake', '>= 10.0.0'
24
+ gem.add_development_dependency 'rake', '< 11.0'
25
25
  gem.add_development_dependency 'rspec', '~> 2.13'
26
26
  gem.add_development_dependency 'guard-rspec', '~> 3.0'
27
27
 
28
- gem.add_runtime_dependency 'bootstrap-navbar', '~> 2.0'
28
+ gem.add_runtime_dependency 'bootstrap-navbar', '~> 3.0'
29
29
  gem.add_runtime_dependency 'rails', '>= 3.0.0'
30
30
  end
metadata CHANGED
@@ -1,93 +1,94 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_bootstrap_navbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Meurer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-15 00:00:00.000000000 Z
11
+ date: 2017-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - "<"
18
18
  - !ruby/object:Gem::Version
19
- version: 10.0.0
19
+ version: '11.0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - "<"
25
25
  - !ruby/object:Gem::Version
26
- version: 10.0.0
26
+ version: '11.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '2.13'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '2.13'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: guard-rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '3.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bootstrap-navbar
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.0'
61
+ version: '3.0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '2.0'
68
+ version: '3.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rails
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: 3.0.0
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: 3.0.0
83
- description: Easily generate a Twitter Bootstrap navbar in your Rails app
83
+ description: Easily generate a Bootstrap navbar in your Rails app
84
84
  email: manuel@krautcomputing.com
85
85
  executables: []
86
86
  extensions: []
87
87
  extra_rdoc_files: []
88
88
  files:
89
- - .rspec
90
- - .travis.yml
89
+ - ".gitignore"
90
+ - ".rspec"
91
+ - ".travis.yml"
91
92
  - CHANGELOG.md
92
93
  - Gemfile
93
94
  - Guardfile
@@ -100,7 +101,7 @@ files:
100
101
  - lib/rails_bootstrap_navbar.rb
101
102
  - rails_bootstrap_navbar.gemspec
102
103
  - spec/spec_helper.rb
103
- homepage: https://github.com/bootstrap-ruby/rails-bootstrap-navbar
104
+ homepage: http://bootstrap-ruby.github.io/rails-bootstrap-navbar
104
105
  licenses:
105
106
  - MIT
106
107
  metadata: {}
@@ -110,20 +111,19 @@ require_paths:
110
111
  - lib
111
112
  required_ruby_version: !ruby/object:Gem::Requirement
112
113
  requirements:
113
- - - '>='
114
+ - - ">="
114
115
  - !ruby/object:Gem::Version
115
116
  version: '0'
116
117
  required_rubygems_version: !ruby/object:Gem::Requirement
117
118
  requirements:
118
- - - '>='
119
+ - - ">="
119
120
  - !ruby/object:Gem::Version
120
121
  version: '0'
121
122
  requirements: []
122
123
  rubyforge_project:
123
- rubygems_version: 2.2.0
124
+ rubygems_version: 2.6.13
124
125
  signing_key:
125
126
  specification_version: 4
126
- summary: Easily generate a Twitter Bootstrap navbar in your Rails app
127
+ summary: Easily generate a Bootstrap navbar in your Rails app
127
128
  test_files:
128
129
  - spec/spec_helper.rb
129
- has_rdoc: