html_attrs 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/html_attrs.rb +2 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e275871a3e81adcaa8d6856c397adab49166f15b6f4357ae3e3606864b1559c
4
- data.tar.gz: 73891eb35e4a0372a31c588f016ec14b1f7a834cccebea57718503b33a63eb18
3
+ metadata.gz: 737a5e8f52a5be75f40e73f69c877de82a91eb1819f3df87fbe0b0132e004b03
4
+ data.tar.gz: b8e415cab20c7a73a434e6ba8097631cf423d6d2bef6b1c0032cbe4c806804e7
5
5
  SHA512:
6
- metadata.gz: 11166749fdd6b6680acb6a07f8743ca106c76679adde0804339b2e20ed57e1896d5fa6823f25aed5b1266447feaa2b7d0abe65fadae30e00fc49e07eb6aefd90
7
- data.tar.gz: cdc3bf3931938151fa88fcb7c1a873d81776e779ff350c7643553b9e53e88a5c1382048fb15e85cad2e85628f2cfb6d523aa5200c5920fa72bd7c01ef47c7491
6
+ metadata.gz: 712b755dc31f8af3e613b492ef999a53ba1b8c0d53f2a63b9c6c81ffbe1be63c01a6d4bd2b268b68455be9f6f7b70e13ed5a49e9ff9b4a0cbcb6598abd249d05
7
+ data.tar.gz: ed08332771a5cb04194e93b5e6c3405f3d3322c15f513d865777b172de0af1140a104e6ff0920f595aa483f8fd60c091113427952ab86f9cf781097e4f4e849d
data/lib/html_attrs.rb CHANGED
@@ -1,9 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'action_view'
4
+ require 'bigdecimal' # tag_options references BigDecimal. Just require it here so non autoloading environments work.
4
5
 
5
6
  class HtmlAttrs < Hash
6
- VERSION = '1.1.0'
7
+ VERSION = '1.1.1'
7
8
  DEFAULT_MERGEABLE_ATTRIBUTES = %i[class style data].to_set
8
9
 
9
10
  def initialize(constructor = nil)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html_attrs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Owais
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-24 00:00:00.000000000 Z
11
+ date: 2024-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview