middleman-bootstrap-navbar 3.0.0 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d9d7bf6e265da5b7a293c3888af4b311a969c40d
4
- data.tar.gz: 17e8b99ab9a48106564289d8bd62ab0beb357d5e
3
+ metadata.gz: 30800beea7b14fd9f6ecc5a1fb82219304ee5e2e
4
+ data.tar.gz: 90e1ce7218fa0bdda8864a851d12c3e30e52c4aa
5
5
  SHA512:
6
- metadata.gz: 93c05690e702e7b70ff8adbc9c4412435c56a375fc28104f2cbbb81b37e68a4075332d42aae0bf15b119d93c66296a0b1c8d32e293a015de3fb6e89dcfa8c0bf
7
- data.tar.gz: 342b5190b0ff8236a5481ab5a365fe0a7866f1fb409c4d5a645706cede11b3ec99d7a293e5016edbb40aba439e0f3963345adaf1d4815a12f1c945accc87a41f
6
+ metadata.gz: 3eff66c77e5e26da96ad71a76e45c1b49a16b889c0e5a9987469b9241913219b62730cfea940f7b9a1fe1c75f51961fa03f25b73aba1e0cc4c19b96ecb137a28
7
+ data.tar.gz: 49f4ec9e5ec0d123ce3d6777fe4984854c0e23daac1486e94a6000a20d42590b56c0cec1a8209b13e43e428df2aac3882a8201278d07c5364ccd1c3f47888e9c
@@ -1,13 +1,14 @@
1
1
  language: ruby
2
+ sudo: false
2
3
  rvm:
3
- - 2.0
4
- - 2.1
5
- - 2.2
6
- - 2.3
4
+ - 2.2.5
5
+ - 2.3.1
6
+ before_install:
7
+ - gem update --system
8
+ - gem update bundler
7
9
  gemfile:
8
10
  - gemfiles/middleman_3.1.gemfile
9
11
  - gemfiles/middleman_3.2.gemfile
10
- - gemfiles/middleman_3.3.gemfile
11
12
  - gemfiles/middleman_3.4.gemfile
12
13
  - gemfiles/middleman_3_stable.gemfile
13
14
  - gemfiles/middleman_4.0.gemfile
data/Appraisals CHANGED
@@ -6,9 +6,11 @@ appraise 'middleman_3.2' do
6
6
  gem 'middleman', '~> 3.2.0'
7
7
  end
8
8
 
9
- appraise 'middleman_3.3' do
10
- gem 'middleman', '~> 3.3.0'
11
- end
9
+ # Don't test with Middleman 3.3, some weird errors happen:
10
+ # https://travis-ci.org/bootstrap-ruby/middleman-bootstrap-navbar/jobs/125385647
11
+ # appraise 'middleman_3.3' do
12
+ # gem 'middleman', '~> 3.3.0'
13
+ # end
12
14
 
13
15
  appraise 'middleman_3.4' do
14
16
  gem 'middleman', '~> 3.4.0'
data/README.md CHANGED
@@ -41,13 +41,13 @@ activate :bootstrap_navbar
41
41
 
42
42
  This extension needs to know which Bootstrap version you are using, because the navbar HTML looks different in different Bootstrap versions.
43
43
 
44
- If you're using [bootstrap-sass](https://github.com/thomas-mcdonald/bootstrap-sass), you're all set because the Boostrap version will be sniffed from the bootstrap-sass version.
44
+ If you're using [`bootstrap-sass`](https://github.com/twbs/bootstrap-sass), you're all set because the Boostrap version will be sniffed from that gem's version. Make sure to include the `bootstrap-sass` gem before `rails_bootstrap_navbar` in your Gemfile though.
45
45
 
46
- Otherwise set the Bootstrap version when activating the extension:
46
+ If you're not using `bootstrap-sass` but include the Bootstrap CSS and JS some other way, set the Bootstrap version when activating the extension:
47
47
 
48
48
  ```ruby
49
49
  activate :bootstrap_navbar do |bootstrap_navbar|
50
- bootstrap_navbar.bootstrap_version = '3.0.3'
50
+ bootstrap_navbar.bootstrap_version = '4.0.0'
51
51
  end
52
52
  ```
53
53
 
@@ -55,9 +55,11 @@ end
55
55
 
56
56
  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:
57
57
 
58
- [Usage with Bootstrap 2.x](https://github.com/bootstrap-ruby/bootstrap-navbar/wiki/Usage-with-Bootstrap-2.x)
58
+ [Usage with Bootstrap 2](https://github.com/bootstrap-ruby/bootstrap-navbar/wiki/Usage-with-Bootstrap-2)
59
59
 
60
- [Usage with Bootstrap 3.x](https://github.com/bootstrap-ruby/bootstrap-navbar/wiki/Usage-with-Bootstrap-3.x)
60
+ [Usage with Bootstrap 3](https://github.com/bootstrap-ruby/bootstrap-navbar/wiki/Usage-with-Bootstrap-3)
61
+
62
+ [Usage with Bootstrap 4](https://github.com/bootstrap-ruby/bootstrap-navbar/wiki/Usage-with-Bootstrap-4)
61
63
 
62
64
  ## Contributing
63
65
 
@@ -1,5 +1,5 @@
1
1
  Feature: Rendering the navbar
2
2
  Scenario: The navbar is rendered successfully
3
- Given the Server is running at "app"
4
- When I go to "/index.html"
5
- Then I should see '<nav class="navbar navbar-default" role="navigation">'
3
+ Given the Server is running at "app"
4
+ When I go to "/index.html"
5
+ Then I should see '<nav class="navbar navbar-default" role="navigation">'
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module BootstrapNavbar
3
- VERSION = '3.0.0'
3
+ VERSION = '3.0.2'
4
4
  end
5
5
  end
@@ -21,6 +21,7 @@ Gem::Specification.new do |gem|
21
21
 
22
22
  gem.add_development_dependency 'rake'
23
23
  gem.add_development_dependency 'appraisal'
24
+ gem.add_development_dependency 'capybara'
24
25
  gem.add_development_dependency 'cucumber', '~> 2.3'
25
26
  gem.add_development_dependency 'aruba', '~> 0.14'
26
27
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-bootstrap-navbar
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manuel Meurer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-24 00:00:00.000000000 Z
11
+ date: 2016-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: capybara
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: cucumber
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -111,10 +125,8 @@ files:
111
125
  - features/support/env.rb
112
126
  - fixtures/app/config.rb
113
127
  - fixtures/app/source/index.html.erb
114
- - gemfiles/middleman_3.0.gemfile
115
128
  - gemfiles/middleman_3.1.gemfile
116
129
  - gemfiles/middleman_3.2.gemfile
117
- - gemfiles/middleman_3.3.gemfile
118
130
  - gemfiles/middleman_3.4.gemfile
119
131
  - gemfiles/middleman_3_stable.gemfile
120
132
  - gemfiles/middleman_4.0.gemfile
@@ -144,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
156
  version: '0'
145
157
  requirements: []
146
158
  rubyforge_project:
147
- rubygems_version: 2.5.1
159
+ rubygems_version: 2.6.6
148
160
  signing_key:
149
161
  specification_version: 4
150
162
  summary: Middleman extension to easily generate a Bootstrap style navbar
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org/"
4
-
5
- gem "middleman", "~> 3.0.0"
6
-
7
- gemspec :path => "../"
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org/"
4
-
5
- gem "middleman", "~> 3.3.0"
6
-
7
- gemspec :path => "../"