simple_navigation_bootstrap 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.rubocop.yml +14 -1136
- data/.travis.yml +7 -2
- data/CHANGELOG.md +7 -0
- data/Gemfile +2 -7
- data/README.md +14 -11
- data/Rakefile +2 -0
- data/lib/simple_navigation_bootstrap.rb +8 -6
- data/lib/simple_navigation_bootstrap/bootstrap2.rb +2 -0
- data/lib/simple_navigation_bootstrap/bootstrap3.rb +2 -0
- data/lib/simple_navigation_bootstrap/bootstrap_base.rb +3 -1
- data/lib/simple_navigation_bootstrap/engine.rb +2 -0
- data/lib/simple_navigation_bootstrap/errors.rb +2 -0
- data/lib/simple_navigation_bootstrap/rendered_item.rb +2 -0
- data/lib/simple_navigation_bootstrap/version.rb +4 -2
- data/simple_navigation_bootstrap.gemspec +7 -7
- data/spec/lib/simple_navigation_bootstrap/bootstrap2_spec.rb +14 -15
- data/spec/lib/simple_navigation_bootstrap/bootstrap3_spec.rb +46 -53
- data/spec/spec_helper.rb +4 -8
- data/vendor/assets/stylesheets/{bootstrap2_dropdown_submenu.css.scss → bootstrap2_dropdown_submenu.scss} +0 -0
- data/vendor/assets/stylesheets/{bootstrap2_navbar_divider_vertical.css.scss → bootstrap2_navbar_divider_vertical.scss} +0 -0
- data/vendor/assets/stylesheets/{simple_navigation_bootstrap.css.scss → simple_navigation_bootstrap.scss} +0 -0
- data/vendor/assets/stylesheets/{simple_navigation_bootstrap_overrides.css.scss → simple_navigation_bootstrap_overrides.scss} +0 -0
- metadata +10 -24
data/spec/spec_helper.rb
CHANGED
@@ -1,13 +1,9 @@
|
|
1
1
|
require 'simplecov'
|
2
|
-
require 'codeclimate-test-reporter'
|
3
2
|
|
4
|
-
#
|
5
|
-
SimpleCov.
|
6
|
-
|
7
|
-
|
8
|
-
])
|
9
|
-
|
10
|
-
SimpleCov.start
|
3
|
+
# Start SimpleCov
|
4
|
+
SimpleCov.start do
|
5
|
+
add_filter 'spec/'
|
6
|
+
end
|
11
7
|
|
12
8
|
# SimpleNavigation currently only works for Rails, Sinatra and Padrino apps
|
13
9
|
# This is a workaround to be able to test the lib
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_navigation_bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Shpak
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-08-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: simple-navigation
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '0'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
|
-
name:
|
57
|
+
name: rake
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - ">="
|
@@ -68,7 +68,7 @@ dependencies:
|
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
|
-
name:
|
71
|
+
name: rspec
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - ">="
|
@@ -82,21 +82,7 @@ dependencies:
|
|
82
82
|
- !ruby/object:Gem::Version
|
83
83
|
version: '0'
|
84
84
|
- !ruby/object:Gem::Dependency
|
85
|
-
name:
|
86
|
-
requirement: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - "~>"
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: '1.3'
|
91
|
-
type: :development
|
92
|
-
prerelease: false
|
93
|
-
version_requirements: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - "~>"
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: '1.3'
|
98
|
-
- !ruby/object:Gem::Dependency
|
99
|
-
name: rake
|
85
|
+
name: simplecov
|
100
86
|
requirement: !ruby/object:Gem::Requirement
|
101
87
|
requirements:
|
102
88
|
- - ">="
|
@@ -143,10 +129,10 @@ files:
|
|
143
129
|
- spec/lib/simple_navigation_renderers_spec.rb
|
144
130
|
- spec/spec_helper.rb
|
145
131
|
- spec/support/test_helper.rb
|
146
|
-
- vendor/assets/stylesheets/bootstrap2_dropdown_submenu.
|
147
|
-
- vendor/assets/stylesheets/bootstrap2_navbar_divider_vertical.
|
148
|
-
- vendor/assets/stylesheets/simple_navigation_bootstrap.
|
149
|
-
- vendor/assets/stylesheets/simple_navigation_bootstrap_overrides.
|
132
|
+
- vendor/assets/stylesheets/bootstrap2_dropdown_submenu.scss
|
133
|
+
- vendor/assets/stylesheets/bootstrap2_navbar_divider_vertical.scss
|
134
|
+
- vendor/assets/stylesheets/simple_navigation_bootstrap.scss
|
135
|
+
- vendor/assets/stylesheets/simple_navigation_bootstrap_overrides.scss
|
150
136
|
homepage: https://github.com/jbox-web/simple_navigation_bootstrap
|
151
137
|
licenses:
|
152
138
|
- MIT
|
@@ -167,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
153
|
version: '0'
|
168
154
|
requirements: []
|
169
155
|
rubyforge_project:
|
170
|
-
rubygems_version: 2.
|
156
|
+
rubygems_version: 2.7.7
|
171
157
|
signing_key:
|
172
158
|
specification_version: 4
|
173
159
|
summary: A Ruby gem that adds Bootstrap renderers for SimpleNavigation
|