makandra-navy 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/navy/renderer.rb +6 -1
- data/lib/navy/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 962a8cec3217a536377c675251250ff58aaf769c38c6a5cee08c95f29fe06640
|
4
|
+
data.tar.gz: 3e95e9cc22dd83f3ceab4ec1fd9dd69ab97d3f2a9f14b18fd7124fd37b44e463
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd29d2729d3e4b6647c105439cd6692ee2dde8b44e811a9cd931b361874dc635e342775b1322f07d1f968e47afbeec733d53c3a67a44e543dc804c5501efead9
|
7
|
+
data.tar.gz: 2c3f4ad6b0c8e206967d307fdf0bb60fe71248d04dfd4dd506b3a9d35f6e1c3229b6ae6f06c5154dec60c83d94d00aa67bc5a6d3be3752bf9c51ecbc4652ebb9
|
data/lib/navy/renderer.rb
CHANGED
@@ -94,7 +94,12 @@ module Navy
|
|
94
94
|
|
95
95
|
|
96
96
|
def div_tag(options, &block)
|
97
|
-
|
97
|
+
if ActionPack::VERSION::MAJOR.to_s < '5'
|
98
|
+
content_tag_string(:div, block.call, options, true)
|
99
|
+
else
|
100
|
+
# Rails 5 moved this method to the tag_builder and will raise a NameError
|
101
|
+
tag_builder.content_tag_string(:div, block.call, options, true)
|
102
|
+
end
|
98
103
|
end
|
99
104
|
|
100
105
|
end
|
data/lib/navy/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: makandra-navy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Kraze
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-05-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionpack
|
@@ -71,7 +71,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
version: '0'
|
72
72
|
requirements: []
|
73
73
|
rubyforge_project: navy
|
74
|
-
rubygems_version: 2.
|
74
|
+
rubygems_version: 2.7.6
|
75
75
|
signing_key:
|
76
76
|
specification_version: 4
|
77
77
|
summary: Comprehensive solution for multi-level horizontal navigation bars.
|