promethee 4.0.7 → 4.0.8

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
  SHA256:
3
- metadata.gz: 60787a28eb9c8c580782b60802ffebc3b273f307e1739b70646a1113fa38572e
4
- data.tar.gz: 87411b13aad8c8c8cdef91ed34dba6345ebe6c88266bb6f32be9e2dfd69009bf
3
+ metadata.gz: 66b8cc13d256e4f91ae32312221b5eeb3d3f8eb87be5a83f2fb7629a2c7062b4
4
+ data.tar.gz: f707045ba5de4b68398d3bfc6a6acd508e473937f73e0c0e5f2867a2bd590e3d
5
5
  SHA512:
6
- metadata.gz: 9211bd662ce49546c3f8c319e48586cc6ce037f89e92913298ca2405046e86d97ca094b3c706a8b8e6455210fa67aceecb9d1706085bd748725dafba6346ef43
7
- data.tar.gz: 4e7af14920bae79e214db32bfab03975bf6663eb5bdc68493a2ea1bb2d2f11584a5adc0b2683dca11d2eeb29ba87cac70460b6eeb61cee4f9953cb0fd3eed0be
6
+ metadata.gz: ee64608606c0cbb86b0318b28ceb49c59ac18ec106d03e943d816ffe3d01be3493abc478ba30a831718c0195bf73490a863f4a786a1e5811e47721d9ff635738
7
+ data.tar.gz: 5a13ccec91548d9cb005470a9c9ea41049db5e0867a4525895d4c1cd5a1ef096533c5acd43559f27092b01f2dc1f4da9f4dafd78b4c74feb193f61b516ab89cf
data/README.md CHANGED
@@ -16,6 +16,12 @@ And then execute:
16
16
  $ bundle
17
17
  ```
18
18
 
19
+ Add these lines in `config/application.rb`:
20
+ ```ruby
21
+ config.action_view.sanitized_allowed_tags = ['strong', 'em', 'b', 'i', 'p', 'code', 'pre', 'tt', 'samp', 'kbd', 'var', 'sub', 'sup', 'dfn', 'cite', 'big', 'small', 'address', 'hr', 'br', 'div', 'span', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'ul', 'ol', 'li', 'dl', 'dt', 'dd', 'abbr', 'acronym', 'a', 'img', 'blockquote', 'del', 'ins']
22
+ config.action_view.sanitized_allowed_attributes = ['href', 'src', 'srcset', 'width', 'height', 'alt', 'cite', 'datetime', 'title', 'class', 'name', 'xml:lang', 'abbr', 'style']
23
+ ```
24
+
19
25
  ## Usage
20
26
  In this example, we have a page with a title (string) and a data (jsonb) attribute.
21
27
 
@@ -83,6 +83,7 @@
83
83
 
84
84
  &__columns
85
85
  .row.grid
86
+ pointer-events: none
86
87
  user-select: none
87
88
  height: 100%
88
89
  min-height: 50px
@@ -184,7 +185,7 @@
184
185
  left: 0
185
186
  &-header
186
187
  padding-left: 10px
187
-
188
+
188
189
  &__item-container, &__item
189
190
  display: inline-block
190
191
  &__item
@@ -1,5 +1,5 @@
1
1
  module Promethee
2
2
  module Rails
3
- VERSION = '4.0.7'
3
+ VERSION = '4.0.8'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promethee
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.7
4
+ version: 4.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sébastien Gaya
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2019-12-16 00:00:00.000000000 Z
17
+ date: 2020-01-29 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: rails
@@ -498,7 +498,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
498
498
  - !ruby/object:Gem::Version
499
499
  version: '0'
500
500
  requirements: []
501
- rubygems_version: 3.0.3
501
+ rubygems_version: 3.1.2
502
502
  signing_key:
503
503
  specification_version: 4
504
504
  summary: Bring fire to your page