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: fd417dcce5c90538dc57c848043d4b99dcace998
4
- data.tar.gz: a7bf3933723b529066f1c94e90b1b174cd5c178d
3
+ metadata.gz: c9fb446f1675166df467e0f7a24e77cafeb77c2a
4
+ data.tar.gz: 189933e48ae3177c3f70b30220cdb5e44f9f7185
5
5
  SHA512:
6
- metadata.gz: a299fe5475251186d38e82b85c6565f78d6270b880ce24f1c8eb3118a572facd33199aaf53872ccc0f3479d469c7d811bf52664da7b72c2ba1ae5123e549f83d
7
- data.tar.gz: ed8d1b793f606017029664b4f110fb80897cd8068b77cc5e94b5f203b2666cee601b96b41d35e6e005538ab32ee14675ea5f3c51be09c230bdadf58b61c8d4c7
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
@@ -1,5 +1,5 @@
1
1
  module Parliament
2
2
  module Utils
3
- VERSION = '0.10.2'.freeze
3
+ VERSION = '0.11.0'.freeze
4
4
  end
5
5
  end
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.10.2
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-07-24 00:00:00.000000000 Z
11
+ date: 2018-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parliament-ruby