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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0cbc5f7e905a8bebd095f21a82f35e689139726e
4
- data.tar.gz: 299c155a1930b3fe85fded5371cf8020c9220d31
3
+ metadata.gz: cc5d72213c4009e1a29cf5ba211c7dc7305ce79b
4
+ data.tar.gz: b48f0a4059160eba7b9531c2edd9b6116102c923
5
5
  SHA512:
6
- metadata.gz: f882f66230b6266875239d5907a9ce1baa3ba3c7700bbcc92683b152d01bdd1e71667c3d6878fd773667cd8fa827160426c5a657c4a836b9d61578888fbaf1d4
7
- data.tar.gz: 49df40b4ef661d3f21750dd76c8f1e21147c3b10699b7ff8ada38d94b5a7f1069cd972e18b63d25d390c49e40a3ed1c60b683c2e9a7170c38fbc1fd435b20d5f
6
+ metadata.gz: dfa77ebcac53e54351e845f484d0423e7c4f4bed138bebecef1ef574d5dbb7276b0c5ac3a5064fe7c6bf4b49e6b34df647e919459f394c6445323d40fa848d3e
7
+ data.tar.gz: e1e81363d32918df3f5ea60dfa70c354355e9f8eae82703ef39a595d26080374b577545a5ccc54b143f5e3d9d79e04444e849629757eb5e811e459f07310e070
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mojo_magick (0.4.5)
4
+ mojo_magick (0.4.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -2,8 +2,14 @@ module ImageMagick
2
2
  module Fonts
3
3
  def get_fonts
4
4
  @parser ||= MojoMagick::Util::Parser.new
5
- fonts = self.raw_command('identify', '-list font')
6
- @parser.parse_fonts(fonts)
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
@@ -1,3 +1,3 @@
1
1
  module MojoMagick
2
- VERSION = '0.4.5'
2
+ VERSION = '0.4.6'
3
3
  end
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.5
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.5
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