html_attrs 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/html_attrs.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 737a5e8f52a5be75f40e73f69c877de82a91eb1819f3df87fbe0b0132e004b03
|
|
4
|
+
data.tar.gz: b8e415cab20c7a73a434e6ba8097631cf423d6d2bef6b1c0032cbe4c806804e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
|
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-
|
|
11
|
+
date: 2024-03-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: actionview
|