bootstrap-navbar 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/bootstrap-navbar.gemspec +6 -6
- data/lib/bootstrap-navbar/helpers/bootstrap3.rb +1 -1
- data/lib/bootstrap-navbar/version.rb +1 -1
- data/spec/bootstrap-navbar/helpers_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -2
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff9167933289eb680c07d5ca19988b3aa2363d4b
|
4
|
+
data.tar.gz: a443e7248e7111cc5bee7d7989550f79c0039eeb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d24867cd0c601303199feb31f4d9d16828f5c1a0c78fe645e9240b50bdfd751301e9f5f863094c715e7e1c07c2bcebccd027107a17d8557c213b4d5b42a5b41c
|
7
|
+
data.tar.gz: a77ccd212e6ca17ff1949cf0ce29ca94b888425b45d0c8cce3e0c9bad1dca7fdd3d08006e3a90f2052e5748bd31a9df280d8fdcadd7dc296956052f64a6c23ea
|
data/CHANGELOG.md
CHANGED
@@ -1,7 +1,22 @@
|
|
1
|
+
## 2.1.3
|
2
|
+
|
3
|
+
* Update test gems
|
4
|
+
* Fixed bug when using Bootstrap 3 and calling `navbar` without block
|
5
|
+
|
1
6
|
## 2.1.2
|
2
7
|
|
3
8
|
* Fixed bug when using Bootstrap 3 and `navbar_item` with block
|
4
9
|
|
10
|
+
## 2.1.1
|
11
|
+
|
12
|
+
* Fix marking sub URLs as active
|
13
|
+
|
14
|
+
## 2.1.0
|
15
|
+
|
16
|
+
* Update gem_config dependency
|
17
|
+
* Don't allow Bootstrap version configuration to be nil
|
18
|
+
* Mark sub URLs as active
|
19
|
+
|
5
20
|
## 2.0.0
|
6
21
|
|
7
22
|
* Refactor: Add navbar_header and navbar_collapse to make it possible to insert content outside of header and collapse sections.
|
data/bootstrap-navbar.gemspec
CHANGED
@@ -21,13 +21,13 @@ 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'
|
25
|
-
gem.add_development_dependency 'rspec', '~>
|
26
|
-
gem.add_development_dependency 'rspec-html-matchers', '~> 0.
|
27
|
-
gem.add_development_dependency 'guard-rspec', '~>
|
28
|
-
gem.add_development_dependency 'padrino-helpers', '~> 0.
|
24
|
+
gem.add_development_dependency 'rake', '>= 0.9'
|
25
|
+
gem.add_development_dependency 'rspec', '~> 3.0'
|
26
|
+
gem.add_development_dependency 'rspec-html-matchers', '~> 0.6'
|
27
|
+
gem.add_development_dependency 'guard-rspec', '~> 4.2'
|
28
|
+
gem.add_development_dependency 'padrino-helpers', '~> 0.12'
|
29
29
|
# Listen >= 2.0.0 only works with Ruby >= 1.9.3
|
30
30
|
gem.add_development_dependency 'listen', '< 2.0.0' if RUBY_VERSION < '1.9.3'
|
31
31
|
gem.add_development_dependency 'bootstrap-sass', '3.0.2.0'
|
32
|
-
gem.add_runtime_dependency 'gem_config', '~> 0.3
|
32
|
+
gem.add_runtime_dependency 'gem_config', '~> 0.3'
|
33
33
|
end
|
@@ -26,7 +26,7 @@ describe BootstrapNavbar::Helpers do
|
|
26
26
|
# Remove bootstrap-sass from loaded specs
|
27
27
|
loaded_specs = Gem.loaded_specs.dup
|
28
28
|
loaded_specs.delete('bootstrap-sass')
|
29
|
-
Gem.
|
29
|
+
allow(Gem).to receive(:loaded_specs).and_return(loaded_specs)
|
30
30
|
end
|
31
31
|
|
32
32
|
it 'raises an exception' do
|
data/spec/spec_helper.rb
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
-
|
1
|
+
require_relative '../lib/bootstrap-navbar'
|
2
2
|
require 'rspec-html-matchers'
|
3
3
|
|
4
4
|
Dir[File.expand_path('../support/**/*.rb', __FILE__)].each { |f| require f }
|
5
5
|
|
6
6
|
RSpec.configure do |config|
|
7
|
-
config.treat_symbols_as_metadata_keys_with_true_values = true
|
8
7
|
config.run_all_when_everything_filtered = true
|
9
8
|
config.filter_run :focus
|
10
9
|
config.order = 'random'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap-navbar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel Meurer
|
@@ -16,70 +16,70 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
19
|
+
version: '0.9'
|
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: '0'
|
26
|
+
version: '0.9'
|
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
|
-
version:
|
33
|
+
version: '3.0'
|
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
|
-
version:
|
40
|
+
version: '3.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec-html-matchers
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: '0.6'
|
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
|
-
version: 0.
|
54
|
+
version: '0.6'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: guard-rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ~>
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '4.2'
|
62
62
|
type: :development
|
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: '
|
68
|
+
version: '4.2'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: padrino-helpers
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ~>
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: '0.12'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - ~>
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: '0.12'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: bootstrap-sass
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - ~>
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.3
|
103
|
+
version: '0.3'
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - ~>
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.3
|
110
|
+
version: '0.3'
|
111
111
|
description: Helpers to generate a Twitter Bootstrap style navbar
|
112
112
|
email: manuel@krautcomputing.com
|
113
113
|
executables: []
|