mojo_magick 0.6.4 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +1 -1
- data/Gemfile.lock +29 -29
- data/README.md +19 -1
- data/lib/mojo_magick/errors.rb +2 -0
- data/lib/mojo_magick/opt_builder.rb +2 -2
- data/lib/mojo_magick/util/font_parser.rb +2 -2
- data/lib/mojo_magick/version.rb +1 -1
- data/mojo_magick.gemspec +1 -0
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9192cc8d7fec595d7ddeb40fae1a6d4ec3bade112516cdb2fba844a11ec047db
|
4
|
+
data.tar.gz: 5302355fba0c3ae98e72881b2783016b07dacd8a238f4d15ec567cdb4ef6f989
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4d74b3bb2e68070fd39c10a96b314a5d22bff1f7448acdd07fc1022f0ee4a00110e0cbed974c700e1a81c645ec47932f2692e86cd9bc3f16445910acd4081be
|
7
|
+
data.tar.gz: 94fb6387f676b5e8b530abe262d0b563753ec14539ef8866252da6f4e0d013bd31408bd69df93387990edde2465739843ec36a9f3940fedcee60e2633fbc8d1b
|
data/.circleci/config.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,54 +1,54 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mojo_magick (0.6.
|
4
|
+
mojo_magick (0.6.7)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
ast (2.4.
|
9
|
+
ast (2.4.2)
|
10
10
|
bundle-audit (0.1.0)
|
11
11
|
bundler-audit
|
12
|
-
bundler-audit (0.
|
12
|
+
bundler-audit (0.9.0.1)
|
13
13
|
bundler (>= 1.2.0, < 3)
|
14
|
-
thor (
|
15
|
-
docile (1.
|
16
|
-
io-console (0.5.
|
17
|
-
irb (1.
|
18
|
-
reline (>= 0.
|
19
|
-
minitest (5.
|
20
|
-
parallel (1.
|
21
|
-
parser (
|
14
|
+
thor (~> 1.0)
|
15
|
+
docile (1.4.0)
|
16
|
+
io-console (0.5.11)
|
17
|
+
irb (1.4.1)
|
18
|
+
reline (>= 0.3.0)
|
19
|
+
minitest (5.15.0)
|
20
|
+
parallel (1.22.1)
|
21
|
+
parser (3.1.1.0)
|
22
22
|
ast (~> 2.4.1)
|
23
|
-
rainbow (3.
|
24
|
-
rake (13.0.
|
25
|
-
regexp_parser (
|
26
|
-
reline (0.
|
23
|
+
rainbow (3.1.1)
|
24
|
+
rake (13.0.6)
|
25
|
+
regexp_parser (2.2.1)
|
26
|
+
reline (0.3.1)
|
27
27
|
io-console (~> 0.5)
|
28
|
-
rexml (3.2.
|
29
|
-
rubocop (1.1
|
28
|
+
rexml (3.2.5)
|
29
|
+
rubocop (1.26.1)
|
30
30
|
parallel (~> 1.10)
|
31
|
-
parser (>=
|
31
|
+
parser (>= 3.1.0.0)
|
32
32
|
rainbow (>= 2.2.2, < 4.0)
|
33
|
-
regexp_parser (>= 1.8)
|
33
|
+
regexp_parser (>= 1.8, < 3.0)
|
34
34
|
rexml
|
35
|
-
rubocop-ast (>= 1.0.
|
35
|
+
rubocop-ast (>= 1.16.0, < 2.0)
|
36
36
|
ruby-progressbar (~> 1.7)
|
37
|
-
unicode-display_width (>= 1.4.0, <
|
38
|
-
rubocop-ast (1.
|
39
|
-
parser (>=
|
40
|
-
rubocop-performance (1.
|
41
|
-
rubocop (>=
|
37
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
38
|
+
rubocop-ast (1.16.0)
|
39
|
+
parser (>= 3.1.1.0)
|
40
|
+
rubocop-performance (1.13.3)
|
41
|
+
rubocop (>= 1.7.0, < 2.0)
|
42
42
|
rubocop-ast (>= 0.4.0)
|
43
|
-
ruby-progressbar (1.
|
43
|
+
ruby-progressbar (1.11.0)
|
44
44
|
simplecov (0.21.2)
|
45
45
|
docile (~> 1.1)
|
46
46
|
simplecov-html (~> 0.11)
|
47
47
|
simplecov_json_formatter (~> 0.1)
|
48
48
|
simplecov-html (0.12.3)
|
49
|
-
simplecov_json_formatter (0.1.
|
50
|
-
thor (1.
|
51
|
-
unicode-display_width (1.
|
49
|
+
simplecov_json_formatter (0.1.4)
|
50
|
+
thor (1.2.1)
|
51
|
+
unicode-display_width (2.1.0)
|
52
52
|
|
53
53
|
PLATFORMS
|
54
54
|
ruby
|
data/README.md
CHANGED
@@ -211,12 +211,30 @@ in the new code
|
|
211
211
|
|
212
212
|
Recent Changes
|
213
213
|
==============
|
214
|
+
|
215
|
+
#### Version 0.6.7
|
216
|
+
|
217
|
+
* Bundle update
|
218
|
+
|
219
|
+
#### Version 0.6.6
|
220
|
+
|
221
|
+
* Bundle update
|
222
|
+
|
223
|
+
#### Version 0.6.5
|
224
|
+
|
225
|
+
* Bundle update
|
226
|
+
|
227
|
+
#### Version 0.6.4
|
228
|
+
|
229
|
+
* Fix issue with `identity -list font` returning exit code 1 on some systems (Ubuntu) with PR #https://github.com/rcode5/mojo_magick/pull/35
|
230
|
+
35
|
231
|
+
|
214
232
|
#### Version 0.6.3
|
215
233
|
|
216
234
|
* Major cleanup and refactor (https://github.com/rcode5/mojo_magick/pull/33)
|
217
235
|
* Deprecated `MojoMagick.get_fonts` in favor of `MojoMagick.available_fonts`
|
218
236
|
* Moved `raw_command` and `execute` and `execute!` methods into their own module (and added deprecation warnings)
|
219
|
-
* Renamed `Util::Parser` to `Util::FontParser` because that's what it does
|
237
|
+
* Renamed `Util::Parser` to `Util::FontParser` because that's what it does
|
220
238
|
* Overall rubocop and ruby clean up
|
221
239
|
|
222
240
|
#### Version 0.6.2
|
data/lib/mojo_magick/errors.rb
CHANGED
@@ -58,7 +58,7 @@ module MojoMagick
|
|
58
58
|
end
|
59
59
|
|
60
60
|
# Generic commands. Arguments will be formatted if necessary
|
61
|
-
# rubocop:disable
|
61
|
+
# rubocop:disable Style/MissingRespondToMissing
|
62
62
|
def method_missing(command, *args)
|
63
63
|
@opts << if command.to_s[-1, 1] == "!"
|
64
64
|
"+#{command.to_s.chop}"
|
@@ -69,7 +69,7 @@ module MojoMagick
|
|
69
69
|
self
|
70
70
|
end
|
71
71
|
|
72
|
-
# rubocop:enable
|
72
|
+
# rubocop:enable Style/MissingRespondToMissing
|
73
73
|
def to_a
|
74
74
|
@opts.flatten
|
75
75
|
end
|
@@ -10,7 +10,7 @@ module MojoMagick
|
|
10
10
|
|
11
11
|
def parse
|
12
12
|
fonts = {}
|
13
|
-
enumerator = raw_fonts.split(
|
13
|
+
enumerator = raw_fonts.split("\n").each
|
14
14
|
name = nil
|
15
15
|
while begin; line = enumerator.next; rescue StopIteration; line = nil; end
|
16
16
|
line.chomp!
|
@@ -30,7 +30,7 @@ module MojoMagick
|
|
30
30
|
private
|
31
31
|
|
32
32
|
def extract_key_value(line)
|
33
|
-
key_val = line.split(
|
33
|
+
key_val = line.split(":").map(&:strip)
|
34
34
|
[key_val[0].downcase.to_sym, key_val[1]]
|
35
35
|
end
|
36
36
|
|
data/lib/mojo_magick/version.rb
CHANGED
data/mojo_magick.gemspec
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mojo_magick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Midgley
|
8
8
|
- Elliot Nelson
|
9
9
|
- Jon Rogers
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2022-04-01 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundle-audit
|
@@ -142,7 +142,8 @@ files:
|
|
142
142
|
homepage: http://github.com/rcode5/mojo_magick
|
143
143
|
licenses:
|
144
144
|
- MIT
|
145
|
-
metadata:
|
145
|
+
metadata:
|
146
|
+
rubygems_mfa_required: 'true'
|
146
147
|
post_install_message: |2+
|
147
148
|
|
148
149
|
Thanks for installing MojoMagick - keepin it simple!
|
@@ -167,9 +168,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
168
|
version: '0'
|
168
169
|
requirements: []
|
169
170
|
rubygems_version: 3.0.3
|
170
|
-
signing_key:
|
171
|
+
signing_key:
|
171
172
|
specification_version: 4
|
172
|
-
summary: mojo_magick-0.6.
|
173
|
+
summary: mojo_magick-0.6.7
|
173
174
|
test_files:
|
174
175
|
- test/fixtures/5742.jpg
|
175
176
|
- test/fixtures/not_an_image.jpg
|
@@ -180,4 +181,3 @@ test_files:
|
|
180
181
|
- test/mojo_magick_test.rb
|
181
182
|
- test/opt_builder_test.rb
|
182
183
|
- test/test_helper.rb
|
183
|
-
...
|