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 +4 -4
- data/README.md +6 -0
- data/app/assets/stylesheets/promethee-edit/_move.sass +2 -1
- data/lib/promethee/rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 66b8cc13d256e4f91ae32312221b5eeb3d3f8eb87be5a83f2fb7629a2c7062b4
|
|
4
|
+
data.tar.gz: f707045ba5de4b68398d3bfc6a6acd508e473937f73e0c0e5f2867a2bd590e3d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
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.
|
|
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:
|
|
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.
|
|
501
|
+
rubygems_version: 3.1.2
|
|
502
502
|
signing_key:
|
|
503
503
|
specification_version: 4
|
|
504
504
|
summary: Bring fire to your page
|