dragonfly_harfbuzz 1.1.1 → 1.1.2

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: 1980ad4ccc7ad9114e7c1bf7dcedac662c745ca8e6c2b572f224accbd34f26e2
4
- data.tar.gz: ce232fa77f208f0a94caed4e019aa5a3d1f5dadc0801b2d26c8d07b38140f447
3
+ metadata.gz: 8780a3c9bff0ca80af60c9b793ab7fb0e04db07c600ee5010332b3a03c5d27d1
4
+ data.tar.gz: e19f34bce31c5b347fbb607d15e1944b771f96a76ae10f2d5c059d25fb8a3f76
5
5
  SHA512:
6
- metadata.gz: f7a80f5f1fed5e05abdeb0902ec1e922cf31981ef3b440b68c53e8e46c3d7a7d5ba506d378ae79eb59d26bfbb1d327a4585eebf90b1ae02fbf351f89dd1b68a7
7
- data.tar.gz: 3e57c32feba7772d6478e9ea2f6a3e8036f04cc8fb51822169b7762080779f7658e297c7c391c9a942d825fade17b2bad8ac3cd1443d8241b9fe6561aa9eecb3
6
+ metadata.gz: eb95dad4fb98e7a90a168261d7c483b3fc4602331968ccaa0499e431b5008c2d2b34aa9a6f68eb0178a1d883b0fbaa14ac67f2f5f6a484f5d881c455362e09dc
7
+ data.tar.gz: 2a6d9c7fe23ab4f8290f505363bcc51e9beb1b579f835b606dde94647616832d65ec73f8ace5bdd32869ba4e1fbb60c3fe7c041ec1bdeeb8fdfee8978f22749a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.1.2
4
+
5
+ * improved `SUPPORTED_FORMATS` matching that ignores case
6
+
3
7
  ## 1.1.1
4
8
 
5
9
  * minor fixes
@@ -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 SUPPORTED_FORMATS.include?(content.ext)
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)
@@ -1,3 +1,3 @@
1
1
  module DragonflyHarfbuzz
2
- VERSION = '1.1.1'.freeze
2
+ VERSION = '1.1.2'.freeze
3
3
  end
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.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-08-04 00:00:00.000000000 Z
11
+ date: 2018-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport