plug 0.2.1 → 0.2.3
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4636655c1e65952543cf0e3acaee6fc53a53194bfebe3cef5d76ecec2cce3023
|
4
|
+
data.tar.gz: f2566806c3ac39ea1fb47ba030c381b0802f18385eff8ce77d16e52ad267f399
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96f2fce53a4fb367a6b31e46e3f3fc35eab000860d332e11049d5bad217434c51ffac07c2d7e0a5fa59c0d8a38c83e0cf3db6b4d472415e10f294082f3df2a4b
|
7
|
+
data.tar.gz: 6dcb5278803a91436a2c2a5615befdcc89c646937bbda7973b8c949e2c910fc8329e54bf21c791870ab83cdb68cac7a8be53021a61dfc906ea764f8aacaedaad
|
@@ -31,7 +31,7 @@
|
|
31
31
|
- @features.each do |feature|
|
32
32
|
%tr
|
33
33
|
%td= link_to sanitize(feature.name), edit_feature_path(feature), class: 'strong'
|
34
|
-
%td= sanitize(feature.description)
|
34
|
+
%td= sanitize(feature.description, tags: %w(a p), attributes: %w(href))
|
35
35
|
%td= feature.slug
|
36
36
|
%td{ width: 150, align: 'center' }
|
37
37
|
- if feature.state == 'enabled'
|
@@ -27,7 +27,7 @@
|
|
27
27
|
- @site_notices.each do |site_notice|
|
28
28
|
%tr
|
29
29
|
%td= link_to sanitize(site_notice.name), edit_site_notice_path(site_notice), class: 'strong'
|
30
|
-
%td= sanitize(site_notice.notice.html_safe)
|
30
|
+
%td= sanitize(site_notice.notice.html_safe, tags: %w(a p), attributes: %w(href))
|
31
31
|
%td= site_notice.slug
|
32
32
|
%td{ width: 150, align: 'center' }
|
33
33
|
- if site_notice.state == 'enabled'
|
data/lib/plug/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boost
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2025-07-
|
12
|
+
date: 2025-07-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aasm
|
@@ -195,7 +195,6 @@ files:
|
|
195
195
|
- app/controllers/plug/application_controller.rb
|
196
196
|
- app/controllers/plug/features_controller.rb
|
197
197
|
- app/controllers/plug/site_notices_controller.rb
|
198
|
-
- app/frontend/entrypoints/plug.js
|
199
198
|
- app/helpers/plug/application_helper.rb
|
200
199
|
- app/mailers/plug/application_mailer.rb
|
201
200
|
- app/models/plug/application_record.rb
|
@@ -217,7 +216,6 @@ files:
|
|
217
216
|
- app/views/plug/site_notices/edit.html.haml
|
218
217
|
- app/views/plug/site_notices/index.html.haml
|
219
218
|
- app/views/plug/site_notices/new.html.haml
|
220
|
-
- config/initializers/plug.rb
|
221
219
|
- config/routes.rb
|
222
220
|
- db/migrate/20171207020316_create_plug_features.rb
|
223
221
|
- db/migrate/20180128202026_add_notice_to_plug_features.rb
|