parliament-utils 0.10.2 → 0.11.0
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c9fb446f1675166df467e0f7a24e77cafeb77c2a
|
|
4
|
+
data.tar.gz: 189933e48ae3177c3f70b30220cdb5e44f9f7185
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c71f22e145584e6bce932ffd7594dbab4f6bf06c2335ab12b7edf51a9dfa4bf5cf5a6bc757e7f35ebd9fc07fb91f9a31c417dd769adc4f672fcbc2546fa899cf
|
|
7
|
+
data.tar.gz: 17a178523e7f3d199596d0cd9dcf22cc8dce22611c091e7374f7449e28804dfcf6294dbf05fbad22424a58267be1f30edcb656be3d98940c0e1cf0045ccbf5fb
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.5
|
|
1
|
+
2.5.1
|
|
@@ -4,9 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
# Don't change this
|
|
6
6
|
default_sanitize_tags = ActionView::Base.sanitized_allowed_tags
|
|
7
|
+
default_sanitize_attributes = ActionView::Base.sanitized_allowed_attributes
|
|
7
8
|
|
|
8
9
|
# Add your desired HTML tags in here
|
|
9
10
|
desired_sanitize_tags = %w[table tbody td tfoot th thead tr]
|
|
11
|
+
desired_sanitize_attributes = %w[colspan]
|
|
10
12
|
|
|
11
13
|
# Merge default_sanitize_tags with desired_sanitize_tags
|
|
12
14
|
Rails.application.config.action_view.sanitized_allowed_tags = default_sanitize_tags.merge(desired_sanitize_tags).to_a
|
|
15
|
+
Rails.application.config.action_view.sanitized_allowed_attributes = default_sanitize_attributes.merge(desired_sanitize_attributes).to_a
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: parliament-utils
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Rebecca Appleyard
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-08-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: parliament-ruby
|