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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e79894b3905c3ebed0b9ddb4965e59dd4d5663035f75e06b84f668109067278
4
- data.tar.gz: ac714f67277fa02f6cbc8282ac52fe0a8c85b24e8d5379264c7ec6017a09a438
3
+ metadata.gz: 3556a736fbc35dff94da6c72d970f7c422236e1683b2cba7db007b2fc5b8da52
4
+ data.tar.gz: 37f1decdea6b40930cca641c5ea94f6fd51a4d15459564cedec8ba4a09981870
5
5
  SHA512:
6
- metadata.gz: 914c66b1d4412d4ec3c0c35742ea19819d0d1579b1c7cb4d93bd97f5699a8ed367c84119f42d5c030f9f2e9c1779bad417be319d13f677601f8a96158307947c
7
- data.tar.gz: d9ac92d1770105e5a841ced51775bb489c54085167589bcb953e552724979e8b8c345515927461493f1fbe51ff2e1b554b0c52f8036039e8d8492898804bef4b
6
+ metadata.gz: 0d6ef1d4c19fea0e4c3d7fae41621482e6a8f72f0ac0e6058a364dbd937e03b0cac3b8be4bb05d021735fe745999aec3f61afb1de0bec76b006e734422947396
7
+ data.tar.gz: 9d035f49418d267bee068a55181a1fb44006c4ae428790b8b036487de4a412d841e21e6428b97294e7948cc7a2512773b743de18269adcc29047e6a48fea42da
@@ -1,2 +1,3 @@
1
+ //= link ../images/favicon.png
1
2
  //= link_directory ../javascripts/plug .js
2
3
  //= link_directory ../stylesheets/plug .css
@@ -1,6 +1,5 @@
1
1
  !!!
2
2
  %html{ lang: 'en' }
3
- = favicon_link_tag 'favicon.png'
4
3
  = render 'plug/shared/head'
5
4
 
6
5
  %body
@@ -5,6 +5,7 @@
5
5
 
6
6
  = stylesheet_link_tag 'plug/application', media: 'all'
7
7
  = javascript_include_tag 'plug/application'
8
+ = favicon_link_tag 'plug/favicon.png'
8
9
  = csrf_meta_tags
9
10
 
10
11
  %script{ defer: '', src: 'https://use.fontawesome.com/releases/v5.13.0/js/all.js' }
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Plug
4
- VERSION = '0.1.26'
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.26
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-18 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
@@ -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: []