plug 0.1.27 → 0.1.28

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: 3b24b659f1fef423ad79f8327fcc139c2fe76855e46cc1891f058e90d0a3010f
4
- data.tar.gz: 73d8bffaa03bf0e913ade43e26d1eefd57ccba71d22bcdd23f65caeca4424d05
3
+ metadata.gz: 3556a736fbc35dff94da6c72d970f7c422236e1683b2cba7db007b2fc5b8da52
4
+ data.tar.gz: 37f1decdea6b40930cca641c5ea94f6fd51a4d15459564cedec8ba4a09981870
5
5
  SHA512:
6
- metadata.gz: 28ff4f598b31181a73247d0448ce972d7d7dc0afef95417e10a7f8b922d7444e1e0c897a9aaed253ab73aa1fe347c355f82f0cc9c234368a85ca0f9cb6de5f8e
7
- data.tar.gz: 46e9dda363fa11bda56f4496e4b212a8c61293e2f0cf9b31613b940c32a744c8a4bf6e3d2968319ffe539a1c42c83d1059cac27f5960891beebd6ec8aa3a2a2c
6
+ metadata.gz: 0d6ef1d4c19fea0e4c3d7fae41621482e6a8f72f0ac0e6058a364dbd937e03b0cac3b8be4bb05d021735fe745999aec3f61afb1de0bec76b006e734422947396
7
+ data.tar.gz: 9d035f49418d267bee068a55181a1fb44006c4ae428790b8b036487de4a412d841e21e6428b97294e7948cc7a2512773b743de18269adcc29047e6a48fea42da
data/lib/plug/engine.rb CHANGED
@@ -8,10 +8,12 @@ module Plug
8
8
  class Engine < ::Rails::Engine
9
9
  isolate_namespace Plug
10
10
 
11
- initializer 'plug.assets.precompile' do |app|
12
- app.config.assets.precompile += %w[
13
- plug/application.js plug/application.css plug/favicon.png
14
- ]
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
15
17
  end
16
18
 
17
19
  config.generators do |g|
data/lib/plug/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Plug
4
- VERSION = '0.1.27'
4
+ VERSION = '0.1.28'
5
5
  end
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.27
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-09-19 00:00:00.000000000 Z
12
+ date: 2023-11-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aasm
@@ -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: []