discourse-fonts 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/discourse_fonts.rb +6 -2
  3. metadata +3 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 415d2ad05a667b2c8ffd5344e9fde66013e6d92dc59ea6e4d8cca1ea9265279e
4
- data.tar.gz: a1709410babc56dd5697c1c5b75da5349935da9b22993648fe96ce5fe01b1607
3
+ metadata.gz: 9f29b21e78af2c594979a5f6773b42d8c2897c8d048945d5ddc6d934581f6002
4
+ data.tar.gz: 7615152dc296300ae28cb2dcbcc7056d0c8543aa1ae46589fe595ee9ee7e4cf4
5
5
  SHA512:
6
- metadata.gz: b4b349bc2237627c57a61fb41eb4e7f14c665ace66fb4e30fcded31e482fb7d53f6c7dc1193ac8805a22f0d7eee75746b68c6c9b10a52489927ee57ca1d15bd6
7
- data.tar.gz: c471f0da32a903e655828faff3007679949aa34542cb3afdc7f4926c3f85d1a2d52ac5605ce8dca9de365db24031070656c82ba7e3289f0d9bf105412a8cbcfb
6
+ metadata.gz: 0b0dc7364967f5194e8301c5375b1b71a27593eee11b9e589e296a48f3795bf35033e53d4450eacf64dc04c2566b489b068bde0248279135efced1a57a7579e4
7
+ data.tar.gz: ccf3152bfbae1a6d0806f8dd66817ffbf4be92bb4613429f17c0d92e35b701122f520071bd68eb71a71b2e15f56a4bc3c376cc377881b8bdf862808ca984ab0d
@@ -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.13"
5
5
 
6
6
  def self.path_for_fonts
7
7
  File.expand_path("../../vendor/assets/fonts", __FILE__)
@@ -55,7 +55,11 @@ 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 .ttf file is used for all weights.
59
+ variants: [
60
+ { filename: "Inter.ttf", format: "truetype", weight: 400 },
61
+ { filename: "Inter.ttf", format: "truetype", weight: 700 }
62
+ ]
59
63
  },
60
64
  {
61
65
  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.13
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
@@ -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: []