discourse-fonts 0.0.11 → 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 +4 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a8b0dda6379e28d3d8578dfcdb9609331197f3a38f9132d4c7099c8a75d67071
4
- data.tar.gz: 17654b7cc1bf00ee5d6b54a47d3ca55763d30d728c5b8aaafe28cb493257c784
3
+ metadata.gz: 9f29b21e78af2c594979a5f6773b42d8c2897c8d048945d5ddc6d934581f6002
4
+ data.tar.gz: 7615152dc296300ae28cb2dcbcc7056d0c8543aa1ae46589fe595ee9ee7e4cf4
5
5
  SHA512:
6
- metadata.gz: 5f7e7beddd10ee1291a385b6ca3951adaac167a249d6d090892d38bae4a3f28b94de517b5e9444b5e2adecfd3d9480934489cbe4e8d883c07f0c21b3473daefd
7
- data.tar.gz: 901073481555ea4cbae9237712883fa6b6ff714dc985dcce914508cbe4148ea2e1d5c605689dce9d591aa62e2436a2ce39af3a7c414ba3066b55b61602777e81
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.11"
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.11
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-18 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
@@ -100,15 +98,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
100
98
  requirements:
101
99
  - - ">="
102
100
  - !ruby/object:Gem::Version
103
- version: 3.3.0
101
+ version: 3.2.0
104
102
  required_rubygems_version: !ruby/object:Gem::Requirement
105
103
  requirements:
106
104
  - - ">="
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: []