fontawesome_subsetter 0.1.4 → 0.1.6

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: 5d4899f684cf0f8abb56aa022c5becbf72ff17dcb93c6120ae30825739ac515b
4
- data.tar.gz: 077a8cf27d8fdf860fe5e6f5ce43b06bf5ba5e87616f9912c823d72a169ade0d
3
+ metadata.gz: c3395a57402faa7fb58158786c202eb9a2f000086d2d245bce27987c94fbbbbe
4
+ data.tar.gz: 9f012d76d36a0715d4b586819dad35c52864ad2c81594bdaa4cffd64e58b2809
5
5
  SHA512:
6
- metadata.gz: ca16888526892dcf518fc911d40a8a380f3085d391ae773b88ba8854ab390533a77a5225852a392de132d24805772c41f0490456962f2472a1cb854ef714ba34
7
- data.tar.gz: 817c69ec6b911debdd143c902294e18aeb019eb539aa8164de6beae19ff16eaa6419381d0d15d8f9907e064e8db9a9f6929f65f08769cd5c753e750c7eebde1d
6
+ metadata.gz: 28e09214a8a1908393e13d9748b0fd494addcffa6cfeb8838e531adfd1cfa6c8fd8903381c46f1e4fe317c8cba9e70725e2592078f7d899b13e676dc0a4c6ca5
7
+ data.tar.gz: e0587974d644d2c006928c8dfa493fea56e1291b095f664825b561dce5cde1243806804e2b4f978916155db9379b3268530b044c97c67c3a96ebbf216e6ef9eb
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # FontAwesome Subsetter
2
2
 
3
- A Rails gem that tree-shakes FontAwesome — scans your views and helpers for `icon()` calls, subsets WOFF2 font files to include only used glyphs, and generates minimal CSS.
3
+ A Rails gem that tree-shakes FontAwesome 7 — scans your views and helpers for `icon()` calls, subsets WOFF2 font files to include only used glyphs, and generates minimal CSS.
4
4
 
5
5
  ## Requirements
6
6
 
@@ -47,8 +47,6 @@ vendor/
47
47
  fa-thin-100.woff2
48
48
  ```
49
49
 
50
- The gem's custom Sass importer automatically handles FontAwesome's `variables.scss` in memory — it strips the large populated `$icons` and `$brand-icons` maps and replaces them with empty `!default` maps at compile time. **No manual edits to your vendor FontAwesome files are needed.**
51
-
52
50
  ## Features
53
51
 
54
52
  ### 1. Icon Helper
@@ -67,7 +65,7 @@ Add to your `config/puma.rb`:
67
65
 
68
66
  ```ruby
69
67
  if ENV.fetch("RAILS_ENV", "development") == "development"
70
- plugin :fontawesome
68
+ plugin :fontawesome_subsetter
71
69
  end
72
70
  ```
73
71
 
@@ -1,5 +1,5 @@
1
1
  module FontawesomeSubsetter
2
2
 
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.6"
4
4
 
5
5
  end
@@ -1,8 +1,5 @@
1
1
  require "puma/plugin"
2
2
 
3
- class Fontawesome
4
- end
5
-
6
3
  Puma::Plugin.create do
7
4
 
8
5
  attr_reader :puma_pid, :fontawesome_pid, :log_writer
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fontawesome_subsetter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - 16554289+optimuspwnius@users.noreply.github.com
@@ -95,7 +95,7 @@ files:
95
95
  - lib/fontawesome_subsetter/icon_helper.rb
96
96
  - lib/fontawesome_subsetter/subsetter.rb
97
97
  - lib/fontawesome_subsetter/version.rb
98
- - lib/puma/plugin/fontawesome.rb
98
+ - lib/puma/plugin/fontawesome_subsetter.rb
99
99
  - lib/tasks/fontawesome_subsetter.rake
100
100
  homepage: https://github.com/optimuspwnius/fontawesome-subsetter
101
101
  licenses: