discourse-fonts 0.0.5 → 0.0.9

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: 5109eab2ebdd57d0ed47bad8b0ba518e44498ee3ba93890a7e3ee9ef59623435
4
- data.tar.gz: 93318bd9b0d32f17559b8940e60b40140bfa6322ae2096c4ed9a577ee53968fe
3
+ metadata.gz: 8c90097907b0693fc0571553f8737a68e9065e71bc511f629ebe97b26485bcc8
4
+ data.tar.gz: d36488950ac8556e5753e0ab558da5a7d93637248af654fbb681175c52899782
5
5
  SHA512:
6
- metadata.gz: 50bfe794d9e43d835434d9d97a146604e410521f23a0ae859b646fd598486c6ce23058d69a3a96687dde31fd1e7ad36cbfb5f480187160757925e87023214962
7
- data.tar.gz: cbca9efaeb33060e017300f953621bda64364a871fa4c44eecc8f7985309fd168f0f7bd7244662ba4cf2ddb493cf90d42b3feaa023b651a515bf678ce0cbf3e1
6
+ metadata.gz: 78e658dd53eec79f522a3f62f7802352061c09c81a1e86f3736ecec5dbe4b1d2813b855a6ae1e03871e22dfdd0efea048e7a706af7ea87adb7c334ca591bbbbc
7
+ data.tar.gz: 218588d8c51495008dab7fad8662dfe24e9e831fe44ac66d177d6118f71548db66516fe938d62768db54e9b39da5c1cafa41f40253b8bbbfe605c1af12d30e80
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DiscourseFonts
4
- VERSION = "0.0.5"
4
+ VERSION = "0.0.9"
5
5
 
6
6
  def self.path_for_fonts
7
7
  File.expand_path("../../vendor/assets/fonts", __FILE__)
@@ -10,8 +10,8 @@ module DiscourseFonts
10
10
  def self.fonts
11
11
  @fonts ||= [
12
12
  {
13
- name: "Helvetica",
14
- stack: "Helvetica, Arial, sans-serif",
13
+ name: "Arial",
14
+ stack: "Arial, sans-serif",
15
15
  },
16
16
  {
17
17
  name: "System",
@@ -19,7 +19,7 @@ module DiscourseFonts
19
19
  },
20
20
  {
21
21
  name: "Open Sans",
22
- stack: "Open Sans, Helvetica, Arial, sans-serif",
22
+ stack: "Open Sans, Arial, sans-serif",
23
23
  variants: [
24
24
  { filename: "OpenSans-Regular.ttf", format: "truetype", weight: 400 },
25
25
  { filename: "OpenSans-Bold.ttf", format: "truetype", weight: 700 }
@@ -27,7 +27,7 @@ module DiscourseFonts
27
27
  },
28
28
  {
29
29
  name: "Oxanium",
30
- stack: "Oxanium, Helvetica, Arial, sans-serif",
30
+ stack: "Oxanium, Arial, sans-serif",
31
31
  variants: [
32
32
  { filename: "oxanium-regular.woff2", format: "woff2", weight: 400 },
33
33
  { filename: "oxanium-bold.woff2", format: "woff2", weight: 700 }
@@ -35,7 +35,7 @@ module DiscourseFonts
35
35
  },
36
36
  {
37
37
  name: "Roboto",
38
- stack: "Roboto, Helvetica, Arial, sans-serif",
38
+ stack: "Roboto, Arial, sans-serif",
39
39
  variants: [
40
40
  { filename: "Roboto-Regular.ttf", format: "truetype", weight: 400 },
41
41
  { filename: "Roboto-Bold.ttf", format: "truetype", weight: 700 }
@@ -43,7 +43,7 @@ module DiscourseFonts
43
43
  },
44
44
  {
45
45
  name: "Lato",
46
- stack: "Lato, Helvetica, Arial, sans-serif",
46
+ stack: "Lato, Arial, sans-serif",
47
47
  variants: [
48
48
  { filename: "Lato-Regular.ttf", format: "truetype", weight: 400 },
49
49
  { filename: "Lato-Bold.ttf", format: "truetype", weight: 700 }
@@ -51,7 +51,7 @@ module DiscourseFonts
51
51
  },
52
52
  {
53
53
  name: "NotoSansJP",
54
- stack: "NotoSansJP, Helvetica, Arial, sans-serif",
54
+ stack: "NotoSansJP, Arial, sans-serif",
55
55
  variants: [
56
56
  { filename: "NotoSansJP-Regular.otf", weight: 400 },
57
57
  { filename: "NotoSansJP-Bold.otf", weight: 700 }
@@ -59,7 +59,7 @@ module DiscourseFonts
59
59
  },
60
60
  {
61
61
  name: "Montserrat",
62
- stack: "Montserrat, Helvetica, Arial, sans-serif",
62
+ stack: "Montserrat, Arial, sans-serif",
63
63
  variants: [
64
64
  { filename: "Montserrat-Regular.ttf", format: "truetype", weight: 400 },
65
65
  { filename: "Montserrat-Bold.ttf", format: "truetype", weight: 700 }
@@ -67,7 +67,7 @@ module DiscourseFonts
67
67
  },
68
68
  {
69
69
  name: "RobotoCondensed",
70
- stack: "RobotoCondensed, Helvetica, Arial, sans-serif",
70
+ stack: "RobotoCondensed, Arial, sans-serif",
71
71
  variants: [
72
72
  { filename: "RobotoCondensed-Regular.ttf", format: "truetype", weight: 400 },
73
73
  { filename: "RobotoCondensed-Bold.ttf", format: "truetype", weight: 700 }
@@ -75,7 +75,7 @@ module DiscourseFonts
75
75
  },
76
76
  {
77
77
  name: "SourceSansPro",
78
- stack: "SourceSansPro, Helvetica, Arial, sans-serif",
78
+ stack: "SourceSansPro, Arial, sans-serif",
79
79
  variants: [
80
80
  { filename: "SourceSansPro-Regular.ttf", format: "truetype", weight: 400 },
81
81
  { filename: "SourceSansPro-Bold.ttf", format: "truetype", weight: 700 }
@@ -83,7 +83,7 @@ module DiscourseFonts
83
83
  },
84
84
  {
85
85
  name: "Oswald",
86
- stack: "Oswald, Helvetica, Arial, sans-serif",
86
+ stack: "Oswald, Arial, sans-serif",
87
87
  variants: [
88
88
  { filename: "Oswald-Regular.ttf", format: "truetype", weight: 400 },
89
89
  { filename: "Oswald-Bold.ttf", format: "truetype", weight: 700 }
@@ -91,7 +91,7 @@ module DiscourseFonts
91
91
  },
92
92
  {
93
93
  name: "Raleway",
94
- stack: "Raleway, Helvetica, Arial, sans-serif",
94
+ stack: "Raleway, Arial, sans-serif",
95
95
  variants: [
96
96
  { filename: "Raleway-Regular.ttf", format: "truetype", weight: 400 },
97
97
  { filename: "Raleway-Bold.ttf", format: "truetype", weight: 700 }
@@ -99,7 +99,7 @@ module DiscourseFonts
99
99
  },
100
100
  {
101
101
  name: "RobotoMono",
102
- stack: "RobotoMono, Helvetica, Arial, sans-serif",
102
+ stack: "RobotoMono, Arial, sans-serif",
103
103
  variants: [
104
104
  { filename: "RobotoMono-Regular.ttf", format: "truetype", weight: 400 },
105
105
  { filename: "RobotoMono-Bold.ttf", format: "truetype", weight: 700 }
@@ -107,7 +107,7 @@ module DiscourseFonts
107
107
  },
108
108
  {
109
109
  name: "Poppins",
110
- stack: "Poppins, Helvetica, Arial, sans-serif",
110
+ stack: "Poppins, Arial, sans-serif",
111
111
  variants: [
112
112
  { filename: "Poppins-Regular.ttf", format: "truetype", weight: 400 },
113
113
  { filename: "Poppins-Bold.ttf", format: "truetype", weight: 700 }
@@ -115,7 +115,7 @@ module DiscourseFonts
115
115
  },
116
116
  {
117
117
  name: "NotoSans",
118
- stack: "NotoSans, Helvetica, Arial, sans-serif",
118
+ stack: "NotoSans, Arial, sans-serif",
119
119
  variants: [
120
120
  { filename: "NotoSans-Regular.ttf", format: "truetype", weight: 400 },
121
121
  { filename: "NotoSans-Bold.ttf", format: "truetype", weight: 700 }
@@ -123,7 +123,7 @@ module DiscourseFonts
123
123
  },
124
124
  {
125
125
  name: "RobotoSlab",
126
- stack: "RobotoSlab, Helvetica, Arial, sans-serif",
126
+ stack: "RobotoSlab, Arial, sans-serif",
127
127
  variants: [
128
128
  { filename: "RobotoSlab-Regular.ttf", format: "truetype", weight: 400 },
129
129
  { filename: "RobotoSlab-Bold.ttf", format: "truetype", weight: 700 }
@@ -131,7 +131,7 @@ module DiscourseFonts
131
131
  },
132
132
  {
133
133
  name: "Merriweather",
134
- stack: "Merriweather, Helvetica, Arial, sans-serif",
134
+ stack: "Merriweather, Arial, sans-serif",
135
135
  variants: [
136
136
  { filename: "Merriweather-Regular.ttf", format: "truetype", weight: 400 },
137
137
  { filename: "Merriweather-Bold.ttf", format: "truetype", weight: 700 }
@@ -139,7 +139,7 @@ module DiscourseFonts
139
139
  },
140
140
  {
141
141
  name: "Ubuntu",
142
- stack: "Ubuntu, Helvetica, Arial, sans-serif",
142
+ stack: "Ubuntu, Arial, sans-serif",
143
143
  variants: [
144
144
  { filename: "Ubuntu-Regular.ttf", format: "truetype", weight: 400 },
145
145
  { filename: "Ubuntu-Bold.ttf", format: "truetype", weight: 700 }
@@ -147,7 +147,7 @@ module DiscourseFonts
147
147
  },
148
148
  {
149
149
  name: "PTSans",
150
- stack: "PTSans, Helvetica, Arial, sans-serif",
150
+ stack: "PTSans, Arial, sans-serif",
151
151
  variants: [
152
152
  { filename: "PTSans-Regular.ttf", format: "truetype", weight: 400 },
153
153
  { filename: "PTSans-Bold.ttf", format: "truetype", weight: 700 }
@@ -155,7 +155,7 @@ module DiscourseFonts
155
155
  },
156
156
  {
157
157
  name: "PlayfairDisplay",
158
- stack: "PlayfairDisplay, Helvetica, Arial, sans-serif",
158
+ stack: "PlayfairDisplay, Arial, sans-serif",
159
159
  variants: [
160
160
  { filename: "PlayfairDisplay-Regular.ttf", format: "truetype", weight: 400 },
161
161
  { filename: "PlayfairDisplay-Bold.ttf", format: "truetype", weight: 700 }
@@ -163,7 +163,7 @@ module DiscourseFonts
163
163
  },
164
164
  {
165
165
  name: "Nunito",
166
- stack: "Nunito, Helvetica, Arial, sans-serif",
166
+ stack: "Nunito, Arial, sans-serif",
167
167
  variants: [
168
168
  { filename: "Nunito-Regular.ttf", format: "truetype", weight: 400 },
169
169
  { filename: "Nunito-Bold.ttf", format: "truetype", weight: 700 }
@@ -171,7 +171,7 @@ module DiscourseFonts
171
171
  },
172
172
  {
173
173
  name: "Lora",
174
- stack: "Lora, Helvetica, Arial, sans-serif",
174
+ stack: "Lora, Arial, sans-serif",
175
175
  variants: [
176
176
  { filename: "Lora-Regular.ttf", format: "truetype", weight: 400 },
177
177
  { filename: "Lora-Bold.ttf", format: "truetype", weight: 700 }
@@ -179,15 +179,19 @@ module DiscourseFonts
179
179
  },
180
180
  {
181
181
  name: "Mukta",
182
- stack: "Mukta, Helvetica, Arial, sans-serif",
182
+ stack: "Mukta, Arial, sans-serif",
183
183
  variants: [
184
184
  { filename: "Mukta-Regular.ttf", format: "truetype", weight: 400 },
185
185
  { filename: "Mukta-Bold.ttf", format: "truetype", weight: 700 }
186
186
  ]
187
+ },
188
+ {
189
+ name: "Helvetica",
190
+ stack: "Helvetica, Arial, sans-serif"
187
191
  }
188
192
  ].map do |font|
189
193
  font[:key] = font[:name].underscore.tr(" ", "_")
190
194
  font
191
195
  end
192
196
  end
193
- end
197
+ end
Binary file
metadata CHANGED
@@ -1,15 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: discourse-fonts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bianca Nenciu
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-05 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2021-08-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '13.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '13.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop-discourse
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 2.4.1
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 2.4.1
13
41
  description: Bundle of fonts which can be used to customize the look of Discourse
14
42
  email: bianca.nenciu@discourse.org
15
43
  executables: []
@@ -63,7 +91,7 @@ homepage: https://github.com/discourse/discourse-fonts
63
91
  licenses:
64
92
  - MIT
65
93
  metadata: {}
66
- post_install_message:
94
+ post_install_message:
67
95
  rdoc_options: []
68
96
  require_paths:
69
97
  - lib
@@ -71,15 +99,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
71
99
  requirements:
72
100
  - - ">="
73
101
  - !ruby/object:Gem::Version
74
- version: '0'
102
+ version: 2.5.0
75
103
  required_rubygems_version: !ruby/object:Gem::Requirement
76
104
  requirements:
77
105
  - - ">="
78
106
  - !ruby/object:Gem::Version
79
107
  version: '0'
80
108
  requirements: []
81
- rubygems_version: 3.0.3
82
- signing_key:
109
+ rubygems_version: 3.1.6
110
+ signing_key:
83
111
  specification_version: 4
84
112
  summary: Bundle of customizable Discourse fonts
85
113
  test_files: []