plug 0.1.26 → 0.1.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/config/plug_manifest.js +1 -0
- data/app/views/layouts/plug/application.html.haml +0 -1
- data/app/views/plug/shared/_head.html.haml +1 -0
- data/lib/plug/engine.rb +8 -0
- data/lib/plug/version.rb +1 -1
- metadata +6 -6
- /data/app/assets/images/{favicon.png → plug/favicon.png} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3556a736fbc35dff94da6c72d970f7c422236e1683b2cba7db007b2fc5b8da52
|
4
|
+
data.tar.gz: 37f1decdea6b40930cca641c5ea94f6fd51a4d15459564cedec8ba4a09981870
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d6ef1d4c19fea0e4c3d7fae41621482e6a8f72f0ac0e6058a364dbd937e03b0cac3b8be4bb05d021735fe745999aec3f61afb1de0bec76b006e734422947396
|
7
|
+
data.tar.gz: 9d035f49418d267bee068a55181a1fb44006c4ae428790b8b036487de4a412d841e21e6428b97294e7948cc7a2512773b743de18269adcc29047e6a48fea42da
|
data/lib/plug/engine.rb
CHANGED
@@ -8,6 +8,14 @@ module Plug
|
|
8
8
|
class Engine < ::Rails::Engine
|
9
9
|
isolate_namespace Plug
|
10
10
|
|
11
|
+
if defined?(Sprockets)
|
12
|
+
initializer 'plug.assets.precompile' do |app|
|
13
|
+
app.config.assets.precompile += %w[
|
14
|
+
plug/application.js plug/application.css plug/favicon.png
|
15
|
+
]
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
11
19
|
config.generators do |g|
|
12
20
|
g.test_framework :rspec
|
13
21
|
g.fixture_replacement :factory_bot
|
data/lib/plug/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plug
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Boost
|
8
8
|
- DNZ
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-
|
12
|
+
date: 2023-11-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: aasm
|
@@ -190,7 +190,7 @@ files:
|
|
190
190
|
- README.md
|
191
191
|
- Rakefile
|
192
192
|
- app/assets/config/plug_manifest.js
|
193
|
-
- app/assets/images/favicon.png
|
193
|
+
- app/assets/images/plug/favicon.png
|
194
194
|
- app/assets/javascripts/plug/application.js
|
195
195
|
- app/assets/javascripts/plug/trix-core.js
|
196
196
|
- app/assets/stylesheets/plug/_settings.scss
|
@@ -255,7 +255,7 @@ homepage: https://github.com/digitalnz/plug
|
|
255
255
|
licenses:
|
256
256
|
- MIT
|
257
257
|
metadata: {}
|
258
|
-
post_install_message:
|
258
|
+
post_install_message:
|
259
259
|
rdoc_options: []
|
260
260
|
require_paths:
|
261
261
|
- lib
|
@@ -271,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
271
271
|
version: '0'
|
272
272
|
requirements: []
|
273
273
|
rubygems_version: 3.2.32
|
274
|
-
signing_key:
|
274
|
+
signing_key:
|
275
275
|
specification_version: 4
|
276
276
|
summary: Rails engine that can plug/unplug features
|
277
277
|
test_files: []
|
File without changes
|