mojo_magick 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -8
- data/lib/image_magick/fonts.rb +1 -1
- data/lib/mojo_magick/version.rb +1 -1
- data/mojo_magick.gemspec +0 -1
- data/test/test_helper.rb +0 -1
- metadata +2 -17
- data/.rubocop-rspec.yml +0 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5025141b52e80347c3b807c7afca3e1282842903423ca47f635a32a09c1a8cad
|
4
|
+
data.tar.gz: d9d10064df6a22210782fb0320b1151053eeb58fc7f3092a4d08b14b64b8e032
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 786f4d9acc00dff0577cad9c0c0f647cb53febc3d02526d9581fe2864bf1cbec727ce41b65cef814c6bde79f602242c078d039d397d0a701075a39fef1ee59b2
|
7
|
+
data.tar.gz: 700adfed1fcad75866b26ad724fc2b7ffdf7413d1568f5ef026110e7938ade12d22d4aadc70d55cf47771cf4f31760a4244f41678f39503e03343f6dc624bf3f
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mojo_magick (0.6.
|
4
|
+
mojo_magick (0.6.4)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
@@ -12,7 +12,6 @@ GEM
|
|
12
12
|
bundler-audit (0.7.0.1)
|
13
13
|
bundler (>= 1.2.0, < 3)
|
14
14
|
thor (>= 0.18, < 2)
|
15
|
-
diff-lcs (1.4.4)
|
16
15
|
docile (1.3.5)
|
17
16
|
io-console (0.5.7)
|
18
17
|
irb (1.3.2)
|
@@ -22,15 +21,11 @@ GEM
|
|
22
21
|
parser (2.7.2.0)
|
23
22
|
ast (~> 2.4.1)
|
24
23
|
rainbow (3.0.0)
|
25
|
-
rake (13.0.
|
24
|
+
rake (13.0.3)
|
26
25
|
regexp_parser (1.8.2)
|
27
26
|
reline (0.2.2)
|
28
27
|
io-console (~> 0.5)
|
29
28
|
rexml (3.2.4)
|
30
|
-
rspec-expectations (3.10.0)
|
31
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
32
|
-
rspec-support (~> 3.10.0)
|
33
|
-
rspec-support (3.10.0)
|
34
29
|
rubocop (1.1.0)
|
35
30
|
parallel (~> 1.10)
|
36
31
|
parser (>= 2.7.1.5)
|
@@ -65,7 +60,6 @@ DEPENDENCIES
|
|
65
60
|
minitest
|
66
61
|
mojo_magick!
|
67
62
|
rake
|
68
|
-
rspec-expectations
|
69
63
|
rubocop
|
70
64
|
rubocop-performance
|
71
65
|
simplecov
|
data/lib/image_magick/fonts.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module ImageMagick
|
2
2
|
class Fonts
|
3
3
|
def self.all
|
4
|
-
raw_fonts = MojoMagick::Commands.
|
4
|
+
raw_fonts = MojoMagick::Commands.send(:execute, "identify", "-list", "font").return_value
|
5
5
|
MojoMagick::Util::FontParser.new(raw_fonts).parse
|
6
6
|
end
|
7
7
|
end
|
data/lib/mojo_magick/version.rb
CHANGED
data/mojo_magick.gemspec
CHANGED
@@ -34,7 +34,6 @@ Gem::Specification.new do |s|
|
|
34
34
|
s.add_development_dependency("bundler")
|
35
35
|
s.add_development_dependency("minitest")
|
36
36
|
s.add_development_dependency("rake")
|
37
|
-
s.add_development_dependency("rspec-expectations")
|
38
37
|
s.add_development_dependency("rubocop")
|
39
38
|
s.add_development_dependency("rubocop-performance")
|
40
39
|
|
data/test/test_helper.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.6.
|
4
|
+
version: 0.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Midgley
|
@@ -68,20 +68,6 @@ dependencies:
|
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: rspec-expectations
|
73
|
-
requirement: !ruby/object:Gem::Requirement
|
74
|
-
requirements:
|
75
|
-
- - ">="
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0'
|
78
|
-
type: :development
|
79
|
-
prerelease: false
|
80
|
-
version_requirements: !ruby/object:Gem::Requirement
|
81
|
-
requirements:
|
82
|
-
- - ">="
|
83
|
-
- !ruby/object:Gem::Version
|
84
|
-
version: '0'
|
85
71
|
- !ruby/object:Gem::Dependency
|
86
72
|
name: rubocop
|
87
73
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,7 +109,6 @@ files:
|
|
123
109
|
- ".gitignore"
|
124
110
|
- ".rubocop-common.yml"
|
125
111
|
- ".rubocop-performance.yml"
|
126
|
-
- ".rubocop-rspec.yml"
|
127
112
|
- ".rubocop.yml"
|
128
113
|
- ".ruby-version"
|
129
114
|
- Gemfile
|
@@ -184,7 +169,7 @@ requirements: []
|
|
184
169
|
rubygems_version: 3.0.3
|
185
170
|
signing_key:
|
186
171
|
specification_version: 4
|
187
|
-
summary: mojo_magick-0.6.
|
172
|
+
summary: mojo_magick-0.6.4
|
188
173
|
test_files:
|
189
174
|
- test/fixtures/5742.jpg
|
190
175
|
- test/fixtures/not_an_image.jpg
|
data/.rubocop-rspec.yml
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
# Request and system specs by definition do not test specific classes/modules,
|
2
|
-
# so they are excluded from following the `describe ClassOrModule` rule.
|
3
|
-
RSpec/DescribeClass:
|
4
|
-
Exclude:
|
5
|
-
- "spec/features/**/*"
|
6
|
-
- "spec/requests/**/*"
|
7
|
-
- "spec/system/**/*"
|
8
|
-
|
9
|
-
# Prefer short examples but allow some flexibility (up to 12 lines). System
|
10
|
-
# specs are excluded from this cop because they often involve many sequential
|
11
|
-
# steps, and forcing these to be shorter can make them harder to follow.
|
12
|
-
RSpec/ExampleLength:
|
13
|
-
Max: 12 # Default is 5
|
14
|
-
Exclude:
|
15
|
-
- "spec/features/**/*"
|
16
|
-
- "spec/system/**/*"
|
17
|
-
|
18
|
-
# If an `it` block does not have a description (i.e. the example relies on
|
19
|
-
# RSpec magic to infer the description), then prefer it use the `is_expected`
|
20
|
-
# syntax instead of `expect(subject)`, like this:
|
21
|
-
# it { is_expected.to be_truthy }
|
22
|
-
RSpec/ImplicitSubject:
|
23
|
-
EnforcedStyle: single_statement_only
|
24
|
-
|
25
|
-
# Ideal BDD is to have one `expect` per example (so that each specification can
|
26
|
-
# have corresponding documentation in the form of an `it` block), but we allow
|
27
|
-
# some flexibility (up to 3). System specs are often long capybara flows with
|
28
|
-
# many expectations, so we exclude them from this cop.
|
29
|
-
RSpec/MultipleExpectations:
|
30
|
-
Max: 3 # Default is 1
|
31
|
-
Exclude:
|
32
|
-
- "spec/features/**/*"
|
33
|
-
- "spec/system/**/*"
|