discourse-fonts 0.0.12 → 0.0.14

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: 415d2ad05a667b2c8ffd5344e9fde66013e6d92dc59ea6e4d8cca1ea9265279e
4
- data.tar.gz: a1709410babc56dd5697c1c5b75da5349935da9b22993648fe96ce5fe01b1607
3
+ metadata.gz: df2c1fd0b66686e6995d20154ba502387c31fac10192eb94e4d1a509663b115f
4
+ data.tar.gz: '083eeffa76262d439810931d39201dc23e07507baded8b44a56002eff16597b8'
5
5
  SHA512:
6
- metadata.gz: b4b349bc2237627c57a61fb41eb4e7f14c665ace66fb4e30fcded31e482fb7d53f6c7dc1193ac8805a22f0d7eee75746b68c6c9b10a52489927ee57ca1d15bd6
7
- data.tar.gz: c471f0da32a903e655828faff3007679949aa34542cb3afdc7f4926c3f85d1a2d52ac5605ce8dca9de365db24031070656c82ba7e3289f0d9bf105412a8cbcfb
6
+ metadata.gz: 3a8be09a551242eb6ef4edc35417bdee2aed717154d40b29a334fe017e37ff5748095983e8cade33647c1670758011c9a3bdefacd3d2c9b6fbb0f540a9a530b2
7
+ data.tar.gz: 4b1c1942f9fbc0c1421c3fe9795fa075de7bbbea5bf66da3f748ab392ca437f14d51210ecb22019730aa27a23af297ae653dd2fdae9f98b615f4f111245820a1
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DiscourseFonts
4
- VERSION = "0.0.12"
4
+ VERSION = "0.0.14"
5
5
 
6
6
  def self.path_for_fonts
7
7
  File.expand_path("../../vendor/assets/fonts", __FILE__)
@@ -55,7 +55,10 @@ module DiscourseFonts
55
55
  {
56
56
  name: "Inter",
57
57
  stack: "Inter, Arial, sans-serif",
58
- variants: [{ filename: "Inter.ttf", format: "truetype", weight: 400 }]
58
+ # Inter is variable font, so the same file is used for all weights.
59
+ variants: [
60
+ { filename: "InterVariable.woff2", format: "woff2", weight: "100 900" },
61
+ ]
59
62
  },
60
63
  {
61
64
  name: "NotoSansJP",
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discourse-fonts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bianca Nenciu
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-19 00:00:00.000000000 Z
10
+ date: 2025-01-20 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rake
@@ -45,7 +44,7 @@ extensions: []
45
44
  extra_rdoc_files: []
46
45
  files:
47
46
  - lib/discourse_fonts.rb
48
- - vendor/assets/fonts/Inter.ttf
47
+ - vendor/assets/fonts/InterVariable.woff2
49
48
  - vendor/assets/fonts/Lato-Bold.ttf
50
49
  - vendor/assets/fonts/Lato-Regular.ttf
51
50
  - vendor/assets/fonts/Lora-Bold.ttf
@@ -92,7 +91,6 @@ homepage: https://github.com/discourse/discourse-fonts
92
91
  licenses:
93
92
  - MIT
94
93
  metadata: {}
95
- post_install_message:
96
94
  rdoc_options: []
97
95
  require_paths:
98
96
  - lib
@@ -107,8 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
105
  - !ruby/object:Gem::Version
108
106
  version: '0'
109
107
  requirements: []
110
- rubygems_version: 3.5.22
111
- signing_key:
108
+ rubygems_version: 3.6.2
112
109
  specification_version: 4
113
110
  summary: Bundle of customizable Discourse fonts
114
111
  test_files: []
Binary file