bard-static 2.3.0 → 2.3.1

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
2
  SHA1:
3
- metadata.gz: 7cbb27db858a030dccee0606798c599a7c5b20d3
4
- data.tar.gz: fa784259da89bb88db5aa07776037068dfab2f21
3
+ metadata.gz: a18aa9aeba33d71c2928a05a29ef6785c0eff5fc
4
+ data.tar.gz: b758365213e8a9b0a00b3a0786346205642cf551
5
5
  SHA512:
6
- metadata.gz: 89360694ffa4461738f5611ad77e75bb979650493bc111fce76cddd2ff171a538a8eab9089cf1b1ed4d2bf8211fc0da08a710e2848cb2980d30255c089c2e614
7
- data.tar.gz: 8211d811879c12593a83d33db35279a2d3fcd1cbeb53782d2dcbe32b1c04595e89f2589314b25d5ff29b7710a74f4ee9b08b904a884d7aadfac8b5a67d7a16f7
6
+ metadata.gz: 8e74febfbfa3e40bd8ac893b1314494e0290248c68ea27ebca9334f179c9571a47e59d33f561a99f477b39753c18d10437f3e4002c1c10e376b90c811282efd1
7
+ data.tar.gz: b2a6d640cea689d14cb2124202c669ee9a2d218db3332a900a776d8e646760f79e1d46190f1eae025173dbd5904e4166f03905ece448c1f2ffb4538bfb9d880c
@@ -56,7 +56,11 @@ module Bard
56
56
  end
57
57
 
58
58
  def tag_options
59
- context.send(:tag_options, html_options)
59
+ if context.respond_to?(:tag_builder, true) # Rails 5.1+
60
+ context.send(:tag_builder).tag_options(html_options)
61
+ else
62
+ context.send(:tag_options, html_options)
63
+ end
60
64
  end
61
65
 
62
66
  def body
@@ -1,5 +1,5 @@
1
1
  module Bard
2
2
  module Static
3
- VERSION = "2.3.0"
3
+ VERSION = "2.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bard-static
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2017-02-17 00:00:00.000000000 Z
15
+ date: 2017-05-02 00:00:00.000000000 Z
16
16
  dependencies: []
17
17
  description: Handcrafted prototypes for Rails.
18
18
  email: