mojo_magick 0.4.5 → 0.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/image_magick/fonts.rb +8 -2
- data/lib/mojo_magick/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc5d72213c4009e1a29cf5ba211c7dc7305ce79b
|
4
|
+
data.tar.gz: b48f0a4059160eba7b9531c2edd9b6116102c923
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfa77ebcac53e54351e845f484d0423e7c4f4bed138bebecef1ef574d5dbb7276b0c5ac3a5064fe7c6bf4b49e6b34df647e919459f394c6445323d40fa848d3e
|
7
|
+
data.tar.gz: e1e81363d32918df3f5ea60dfa70c354355e9f8eae82703ef39a595d26080374b577545a5ccc54b143f5e3d9d79e04444e849629757eb5e811e459f07310e070
|
data/Gemfile.lock
CHANGED
data/lib/image_magick/fonts.rb
CHANGED
@@ -2,8 +2,14 @@ module ImageMagick
|
|
2
2
|
module Fonts
|
3
3
|
def get_fonts
|
4
4
|
@parser ||= MojoMagick::Util::Parser.new
|
5
|
-
|
6
|
-
|
5
|
+
raw_fonts = begin
|
6
|
+
self.raw_command('identify', '-list font')
|
7
|
+
rescue Exception => ex
|
8
|
+
puts ex
|
9
|
+
puts "Failed to execute font list with raw_command - trying straight up execute"
|
10
|
+
`convert -list font`
|
11
|
+
end
|
12
|
+
@parser.parse_fonts(raw_fonts)
|
7
13
|
end
|
8
14
|
end
|
9
15
|
end
|
data/lib/mojo_magick/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mojo_magick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Midgley
|
@@ -119,7 +119,7 @@ rubyforge_project: mojo_magick
|
|
119
119
|
rubygems_version: 2.0.3
|
120
120
|
signing_key:
|
121
121
|
specification_version: 4
|
122
|
-
summary: mojo_magick-0.4.
|
122
|
+
summary: mojo_magick-0.4.6
|
123
123
|
test_files:
|
124
124
|
- test/fixtures/5742.jpg
|
125
125
|
- test/fixtures/not_an_image.jpg
|