plug 0.1.26 → 0.1.27

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: 3b24b659f1fef423ad79f8327fcc139c2fe76855e46cc1891f058e90d0a3010f
4
+ data.tar.gz: 73d8bffaa03bf0e913ade43e26d1eefd57ccba71d22bcdd23f65caeca4424d05
5
5
  SHA512:
6
- metadata.gz: 914c66b1d4412d4ec3c0c35742ea19819d0d1579b1c7cb4d93bd97f5699a8ed367c84119f42d5c030f9f2e9c1779bad417be319d13f677601f8a96158307947c
7
- data.tar.gz: d9ac92d1770105e5a841ced51775bb489c54085167589bcb953e552724979e8b8c345515927461493f1fbe51ff2e1b554b0c52f8036039e8d8492898804bef4b
6
+ metadata.gz: 28ff4f598b31181a73247d0448ce972d7d7dc0afef95417e10a7f8b922d7444e1e0c897a9aaed253ab73aa1fe347c355f82f0cc9c234368a85ca0f9cb6de5f8e
7
+ data.tar.gz: 46e9dda363fa11bda56f4496e4b212a8c61293e2f0cf9b31613b940c32a744c8a4bf6e3d2968319ffe539a1c42c83d1059cac27f5960891beebd6ec8aa3a2a2c
@@ -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,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
+ ]
15
+ end
16
+
11
17
  config.generators do |g|
12
18
  g.test_framework :rspec
13
19
  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.27'
5
5
  end
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.1.26
4
+ version: 0.1.27
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: 2023-09-18 00:00:00.000000000 Z
12
+ date: 2023-09-19 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