image_quality_check 0.2.1 → 0.2.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: 8d4f9f0332c1c09f5b62d229a2a90871b15d896751385566432830698772870f
4
- data.tar.gz: 82b4b92c09cc73d37d5efe5a5ae7b9af1df7e20262a4f0ecc69ef20224f6304a
3
+ metadata.gz: 072a442643498f99201a80d2a59a89e9ead7463be6eda2155b2aa6f75ae58ba1
4
+ data.tar.gz: abc1a41f55e99a72ce454b7208b03260910491acb65dcc79fb2710c086549622
5
5
  SHA512:
6
- metadata.gz: 17c8b5948eaf628723579775438d74c32010661766069dbed275f2372d2b9fc9d8362587590c9450558df44eb87b41a8865c7f2ab3f655cb98a30d63155df294
7
- data.tar.gz: 63b1da460f2e6074262b5746431722c0e3a13e50669ac413cb5635d2ed41bab154a6e262f602207dfb61c43450f79636a0f63c98e093a9fe2128b0fdd2bf8058
6
+ metadata.gz: c59a8d561a40a222c141e8c81f2f0d92d801656116b458d58724c2066a45cbe11721503b038a23ae1cacb32898df9349d1b28da6c4ee0731d9611f1a210171f1
7
+ data.tar.gz: afb99bb8b3231c245ef11c3efa8c6e421020033b6df32c5ed0c9acc0a9201659a5c7e4ed57eefc89a78c558d089df32da71d442df9f8b0ef3d8ab8d01cb32db9
@@ -26,8 +26,8 @@ module ImageQualityCheck
26
26
  format: json['format'].downcase,
27
27
  mime_type: json['mimeType'],
28
28
  background_is_transparent: background_is_transparent,
29
- width: json.dig('geometry', 'width'),
30
- height: json.dig('geometry', 'height'),
29
+ width: json.dig('geometry', 'width').to_i,
30
+ height: json.dig('geometry', 'height').to_i,
31
31
  quality: json['quality'],
32
32
  blur: blur_detect(path_to_image).map { |k, v| [ k.to_sym, v ] }.to_h
33
33
  }
@@ -1,3 +1,3 @@
1
1
  module ImageQualityCheck
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: image_quality_check
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Wienert
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-30 00:00:00.000000000 Z
11
+ date: 2021-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -73,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubyforge_project:
77
- rubygems_version: 2.7.6
76
+ rubygems_version: 3.2.0.rc.1
78
77
  signing_key:
79
78
  specification_version: 4
80
79
  summary: Thin gem wrapper that uses imagemagick and python-opencv to help determine