plug 0.1.25 → 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: 887214bb19f4ba2255374fb542b912c43932f1d0aefdc6a4e2c3235957fbf6fd
4
- data.tar.gz: ae3217d9d07a8ad3bbf57f3f84c86bd50fa78eab23583850a014850e3049862b
3
+ metadata.gz: 3b24b659f1fef423ad79f8327fcc139c2fe76855e46cc1891f058e90d0a3010f
4
+ data.tar.gz: 73d8bffaa03bf0e913ade43e26d1eefd57ccba71d22bcdd23f65caeca4424d05
5
5
  SHA512:
6
- metadata.gz: 389e71cfb8b619d007e164b0ed967ad1c79a2824a85c77c7b8e983d08f4c812a8cecd2ebcf09a8f350887da147c8b9409ac888397410a694edcf11ef72303b9e
7
- data.tar.gz: be0c9b7483d6d9d6a019daaa1aaf60a97b92d70dbcf1c7df26e22cb5ec79f642e0fb2663f8d5ce94c5650e20766484737214181302b66d648442eb2b9f42177c
6
+ metadata.gz: 28ff4f598b31181a73247d0448ce972d7d7dc0afef95417e10a7f8b922d7444e1e0c897a9aaed253ab73aa1fe347c355f82f0cc9c234368a85ca0f9cb6de5f8e
7
+ data.tar.gz: 46e9dda363fa11bda56f4496e4b212a8c61293e2f0cf9b31613b940c32a744c8a4bf6e3d2968319ffe539a1c42c83d1059cac27f5960891beebd6ec8aa3a2a2c
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Plug [![Maintainability](https://api.codeclimate.com/v1/badges/6246b1cd8e42603c42f6/maintainability)](https://codeclimate.com/github/DigitalNZ/plug/maintainability)
1
+ # Plug [![Maintainability](https://api.codeclimate.com/v1/badges/6246b1cd8e42603c42f6/maintainability)](https://codeclimate.com/github/DigitalNZ/plug/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/6246b1cd8e42603c42f6/test_coverage)](https://codeclimate.com/github/DigitalNZ/plug/test_coverage)
2
2
 
3
3
  A Rails engine to turn on/off features (Feature flipper).
4
4
 
@@ -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.25'
4
+ VERSION = '0.1.27'
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.25
4
+ version: 0.1.27
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-07-06 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
@@ -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: []