dragonfly_harfbuzz 1.1.1 → 1.1.2
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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/dragonfly_harfbuzz/processors/hb_view.rb +3 -2
- data/lib/dragonfly_harfbuzz/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8780a3c9bff0ca80af60c9b793ab7fb0e04db07c600ee5010332b3a03c5d27d1
|
|
4
|
+
data.tar.gz: e19f34bce31c5b347fbb607d15e1944b771f96a76ae10f2d5c059d25fb8a3f76
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: eb95dad4fb98e7a90a168261d7c483b3fc4602331968ccaa0499e431b5008c2d2b34aa9a6f68eb0178a1d883b0fbaa14ac67f2f5f6a484f5d881c455362e09dc
|
|
7
|
+
data.tar.gz: 2a6d9c7fe23ab4f8290f505363bcc51e9beb1b579f835b606dde94647616832d65ec73f8ace5bdd32869ba4e1fbb60c3fe7c041ec1bdeeb8fdfee8978f22749a
|
data/CHANGELOG.md
CHANGED
|
@@ -7,11 +7,12 @@ module DragonflyHarfbuzz
|
|
|
7
7
|
options = options.each_with_object({}) { |(k, v), memo| memo[k.to_s] = v } # stringify keys
|
|
8
8
|
unicodes = options.fetch('unicodes', nil)
|
|
9
9
|
|
|
10
|
-
raise UnsupportedFormat unless
|
|
10
|
+
raise UnsupportedFormat unless content.ext
|
|
11
|
+
raise UnsupportedFormat unless SUPPORTED_FORMATS.include?(content.ext.downcase)
|
|
11
12
|
|
|
12
13
|
format = options.fetch('format', 'svg').to_s
|
|
13
14
|
|
|
14
|
-
raise UnsupportedOutputFormat unless SUPPORTED_OUTPUT_FORMATS.include?(format)
|
|
15
|
+
raise UnsupportedOutputFormat unless SUPPORTED_OUTPUT_FORMATS.include?(format.downcase)
|
|
15
16
|
|
|
16
17
|
flatten_svg = options.fetch('flatten_svg', false)
|
|
17
18
|
markup_svg = options.fetch('markup_svg', flatten_svg)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dragonfly_harfbuzz
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tomas Celizna
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-09-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|