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 +4 -4
- data/CHANGELOG.md +8 -2
- data/README.md +2 -2
- data/img_to_script-mk90_client_api.gemspec +2 -1
- data/lib/img_to_script/mk90_client_api/version.rb +1 -1
- data/lib/img_to_script/mk90_client_api.rb +1 -0
- metadata +24 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fab9433f63b389ac75d2364d017dc601a60701ab8a483e0499d886c10edace2
|
4
|
+
data.tar.gz: fc2db03d181ede787ab1b756246eef454e96a02c82c6fb92b576dbd5bb60150d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 971f6a21c86cb8de2229d1f634917681a3db41ef0d80519c1bd9b3c339a6b4ac5f55113f1a390b12b31c86f2bebc47995b300f8a14d467d9e1a81d613beaac6d
|
7
|
+
data.tar.gz: 80c24a9615e3e744c66a82aa4e337501bbe586bde1809c3a4956e817b72dd90ace2acf6c373117a0b082d62811c582352ba13fe1a084de0a0aa9a63408a0d435
|
data/CHANGELOG.md
CHANGED
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
|
74
|
+
require "rmagick"
|
75
75
|
|
76
76
|
def self.read_image(filename)
|
77
|
-
img = Magick::
|
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.
|
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
|
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.
|
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-
|
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.
|
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.
|
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
|