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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7b6fe9ffcfac9fce4076eb3134ee479123c201c7
4
- data.tar.gz: 153953b1f453894f2daeb4b17852f8a1542847e5
2
+ SHA256:
3
+ metadata.gz: 962a8cec3217a536377c675251250ff58aaf769c38c6a5cee08c95f29fe06640
4
+ data.tar.gz: 3e95e9cc22dd83f3ceab4ec1fd9dd69ab97d3f2a9f14b18fd7124fd37b44e463
5
5
  SHA512:
6
- metadata.gz: 39d41688c171d912dcf1098a7674aa07376021ebb4e6803b30fd62195f4f5df61ddf30af33d0bee09832a1823608f799f665d4f6da5bb97976a4e9e7f71c9f2c
7
- data.tar.gz: 4b197625f5443e335709e7cacb0d40d29583795c6c8074ac2d308d48c20d872ca83693737b8309f9ccc367982bdc8a18cefbda3590727e45c94e2cee23fd4ef7
6
+ metadata.gz: cd29d2729d3e4b6647c105439cd6692ee2dde8b44e811a9cd931b361874dc635e342775b1322f07d1f968e47afbeec733d53c3a67a44e543dc804c5501efead9
7
+ data.tar.gz: 2c3f4ad6b0c8e206967d307fdf0bb60fe71248d04dfd4dd506b3a9d35f6e1c3229b6ae6f06c5154dec60c83d94d00aa67bc5a6d3be3752bf9c51ecbc4652ebb9
@@ -94,7 +94,12 @@ module Navy
94
94
 
95
95
 
96
96
  def div_tag(options, &block)
97
- content_tag_string(:div, block.call, options, true)
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
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Navy
4
- VERSION = "0.6.1"
4
+ VERSION = "0.6.2"
5
5
  end
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.1
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: 2017-03-08 00:00:00.000000000 Z
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.5.1
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.