img_to_script-mk90_client_api 0.1.0 → 0.1.1

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: 36909558e771569b7ebb2a476d10cc5a4eddf1fa0d0fdfe00050931e8d9d5349
4
- data.tar.gz: 9d15c37ba3b5983ec1fa2ad85dc3fbde3ae3241c7c7303ca197aa65fbfafc973
3
+ metadata.gz: e600fb68cb31b4a1768b8cd8d1813b4eed1879e2fde2b46f7afeeabe494c2a43
4
+ data.tar.gz: d2e7da8698d20f12d5a64138baa6ed624d8d0d4a74f687b67e0a982cdf421ce4
5
5
  SHA512:
6
- metadata.gz: 0db48159c36dff75a1885ce2df3d17f71b81d480a7eedd56874665cf14848145027378cfd02c59c85e58ff5494847e62fd08399eb816d12769722bfc538e2ef9
7
- data.tar.gz: 4c7ec132a7d13f0ab7cb5a83957fb7e35c1cb99596eaece9c3e15c3f66cb9be8dd630b8a9b2b1ef1347051003761668dcbf7a5e18fbb45a403547ef1f1b175d5
6
+ metadata.gz: 885069614a937efd8272590da914c317782b0ae57beb3bcbb8d5ef18c254b9dbdfc556812a19cd49f071fcc0b37e9314faa15b5c20e671b52ac7b632bfeeae86
7
+ data.tar.gz: e8cabbab3f0dfc16df6eeeace5aea3f0b32ced766add85998843bb278d49f643953bbe810a082fd7528098a5f45cb3f8fdba34fd39e840a78463704082338dcd
data/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
- ## [Unreleased]
1
+ ## [0.1.1] - 2023-12-27
2
+
3
+ - Bug fix.
2
4
 
3
5
  ## [0.1.0] - 2023-12-26
4
6
 
5
- - Initial release
7
+ - Initial release.
data/README.md CHANGED
@@ -71,10 +71,10 @@ Generated BASIC program.
71
71
 
72
72
  ```ruby
73
73
  require "img_to_script/mk90_client_api"
74
- require "rmagick/bin_magick"
74
+ require "rmagick"
75
75
 
76
76
  def self.read_image(filename)
77
- img = Magick::BinMagick::Image.from_file(filename)
77
+ img = Magick::Image.read(filename).first
78
78
  img.colorspace = Magick::GRAYColorspace
79
79
  Base64.strict_encode64(
80
80
  img.to_blob
@@ -34,6 +34,7 @@ Gem::Specification.new do |spec|
34
34
  spec.add_dependency "dry-schema", "~> 1.13", ">= 1.13.3"
35
35
  spec.add_dependency "dry-validation", "~> 1.10", ">= 1.10.0"
36
36
  spec.add_dependency "img_to_script", "~> 1.0", ">= 1.0.0"
37
+ spec.add_dependency "rmagick", "~> 5.2", ">= 5.2.0"
37
38
  spec.add_dependency "rmagick-bin_magick", "~> 0.2", ">= 0.2.0"
38
39
  spec.add_dependency "zeitwerk", "~> 2.6", ">= 2.6.12"
39
40
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ImgToScript
4
4
  module MK90ClientAPI
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
@@ -3,6 +3,7 @@
3
3
  require "base64"
4
4
  require "dry/validation"
5
5
  require "img_to_script"
6
+ require "rmagick"
6
7
  require "rmagick/bin_magick"
7
8
  require "zeitwerk"
8
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: img_to_script-mk90_client_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - 8bit-m8
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-26 00:00:00.000000000 Z
11
+ date: 2023-12-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-schema
@@ -70,6 +70,26 @@ dependencies:
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
72
  version: 1.0.0
73
+ - !ruby/object:Gem::Dependency
74
+ name: rmagick
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - "~>"
78
+ - !ruby/object:Gem::Version
79
+ version: '5.2'
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 5.2.0
83
+ type: :runtime
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '5.2'
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 5.2.0
73
93
  - !ruby/object:Gem::Dependency
74
94
  name: rmagick-bin_magick
75
95
  requirement: !ruby/object:Gem::Requirement