plug 0.2.0 → 0.2.1
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: 576b81e9d938343d962459062f25f3fc4ebc069876e994de50e2fd7525fc2881
|
4
|
+
data.tar.gz: a608747d874db0fd78de1fca5209c523df2fe5ae61d80d9644e0bf4ddfc88060
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 973d242dd4d0ba3429d6864fb6e74a02f6dff7db64c3f6d8656cb62bcd341002aec64ce7f394bf3f672bc03e41a7ea3b490fa34add9728b3e1db66b85cbd33da
|
7
|
+
data.tar.gz: a294e5b4e35d65ca7cc70aa5816995c0b2d5887816589e078ec882c002678c2d3170a54e2c93383a78a1886e580694c6384187495b004bab19d5dd0bbb161a16
|
@@ -30,8 +30,8 @@
|
|
30
30
|
%tbody
|
31
31
|
- @features.each do |feature|
|
32
32
|
%tr
|
33
|
-
%td= link_to feature.name, edit_feature_path(feature), class: 'strong'
|
34
|
-
%td= feature.description
|
33
|
+
%td= link_to sanitize(feature.name), edit_feature_path(feature), class: 'strong'
|
34
|
+
%td= sanitize(feature.description)
|
35
35
|
%td= feature.slug
|
36
36
|
%td{ width: 150, align: 'center' }
|
37
37
|
- if feature.state == 'enabled'
|
@@ -26,8 +26,8 @@
|
|
26
26
|
%tbody
|
27
27
|
- @site_notices.each do |site_notice|
|
28
28
|
%tr
|
29
|
-
%td= link_to site_notice.name, edit_site_notice_path(site_notice), class: 'strong'
|
30
|
-
%td= site_notice.notice.html_safe
|
29
|
+
%td= link_to sanitize(site_notice.name), edit_site_notice_path(site_notice), class: 'strong'
|
30
|
+
%td= sanitize(site_notice.notice.html_safe)
|
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.1
|
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:
|
12
|
+
date: 2025-07-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aasm
|
@@ -95,6 +95,20 @@ dependencies:
|
|
95
95
|
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
97
|
version: '0'
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: puma
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
type: :development
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - ">="
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '0'
|
98
112
|
- !ruby/object:Gem::Dependency
|
99
113
|
name: rails-controller-testing
|
100
114
|
requirement: !ruby/object:Gem::Requirement
|
@@ -181,6 +195,7 @@ files:
|
|
181
195
|
- app/controllers/plug/application_controller.rb
|
182
196
|
- app/controllers/plug/features_controller.rb
|
183
197
|
- app/controllers/plug/site_notices_controller.rb
|
198
|
+
- app/frontend/entrypoints/plug.js
|
184
199
|
- app/helpers/plug/application_helper.rb
|
185
200
|
- app/mailers/plug/application_mailer.rb
|
186
201
|
- app/models/plug/application_record.rb
|
@@ -202,6 +217,7 @@ files:
|
|
202
217
|
- app/views/plug/site_notices/edit.html.haml
|
203
218
|
- app/views/plug/site_notices/index.html.haml
|
204
219
|
- app/views/plug/site_notices/new.html.haml
|
220
|
+
- config/initializers/plug.rb
|
205
221
|
- config/routes.rb
|
206
222
|
- db/migrate/20171207020316_create_plug_features.rb
|
207
223
|
- db/migrate/20180128202026_add_notice_to_plug_features.rb
|
@@ -240,7 +256,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
240
256
|
- !ruby/object:Gem::Version
|
241
257
|
version: '0'
|
242
258
|
requirements: []
|
243
|
-
rubygems_version: 3.
|
259
|
+
rubygems_version: 3.3.26
|
244
260
|
signing_key:
|
245
261
|
specification_version: 4
|
246
262
|
summary: Rails engine that can plug/unplug features
|