img_to_script-mk90_client_api 0.1.0 → 0.1.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: 36909558e771569b7ebb2a476d10cc5a4eddf1fa0d0fdfe00050931e8d9d5349
4
- data.tar.gz: 9d15c37ba3b5983ec1fa2ad85dc3fbde3ae3241c7c7303ca197aa65fbfafc973
3
+ metadata.gz: 7fab9433f63b389ac75d2364d017dc601a60701ab8a483e0499d886c10edace2
4
+ data.tar.gz: fc2db03d181ede787ab1b756246eef454e96a02c82c6fb92b576dbd5bb60150d
5
5
  SHA512:
6
- metadata.gz: 0db48159c36dff75a1885ce2df3d17f71b81d480a7eedd56874665cf14848145027378cfd02c59c85e58ff5494847e62fd08399eb816d12769722bfc538e2ef9
7
- data.tar.gz: 4c7ec132a7d13f0ab7cb5a83957fb7e35c1cb99596eaece9c3e15c3f66cb9be8dd630b8a9b2b1ef1347051003761668dcbf7a5e18fbb45a403547ef1f1b175d5
6
+ metadata.gz: 971f6a21c86cb8de2229d1f634917681a3db41ef0d80519c1bd9b3c339a6b4ac5f55113f1a390b12b31c86f2bebc47995b300f8a14d467d9e1a81d613beaac6d
7
+ data.tar.gz: 80c24a9615e3e744c66a82aa4e337501bbe586bde1809c3a4956e817b72dd90ace2acf6c373117a0b082d62811c582352ba13fe1a084de0a0aa9a63408a0d435
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
- ## [Unreleased]
1
+ ## [0.1.2] - 2023-12-29
2
+
3
+ - Dependency update.
4
+
5
+ ## [0.1.1] - 2023-12-27
6
+
7
+ - Bug fix.
2
8
 
3
9
  ## [0.1.0] - 2023-12-26
4
10
 
5
- - Initial release
11
+ - 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
@@ -33,7 +33,8 @@ Gem::Specification.new do |spec|
33
33
 
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
- spec.add_dependency "img_to_script", "~> 1.0", ">= 1.0.0"
36
+ spec.add_dependency "img_to_script", "~> 1.0", ">= 1.0.1"
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.2"
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.2
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-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-schema
@@ -59,7 +59,7 @@ dependencies:
59
59
  version: '1.0'
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: 1.0.0
62
+ version: 1.0.1
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
@@ -69,7 +69,27 @@ dependencies:
69
69
  version: '1.0'
70
70
  - - ">="
71
71
  - !ruby/object:Gem::Version
72
- version: 1.0.0
72
+ version: 1.0.1
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