rbs_mini_magick 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/rbs_mini_magick/flows/major5_minor0/image_class.rb +5 -5
- data/lib/rbs_mini_magick/flows/major5_minor0/tool_interface.rb +2 -2
- data/lib/rbs_mini_magick/flows/major5_minor0/tool_singleton.rb +2 -2
- data/lib/rbs_mini_magick/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2839b551fb9154fbf4e9fca0346fb05116978a01c90e67701cab6369fb8e8450
|
|
4
|
+
data.tar.gz: a816068f1225c3765e7dc5e122c6004bf89ff6d5aa6ae3fef38edd69e8a67bff
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 06c1314ff8c3c5d4b15ed36fe33b663460a03bc44e5f0abbc998b6c2de27bbe551f66e5dbae3a0c2b07d212fb167de2dde332739f6395fb2db61c5e1b28707d2
|
|
7
|
+
data.tar.gz: 232be2a1db6382ff1bcc2aa8c8ff8b0b23c07c76122ef9cc2e07666e5d1682b0addc2aa35fb6f3ef2166de789c9a7c5349eeef0508c99c09c7ade55d369f19a7
|
data/CHANGELOG.md
CHANGED
|
@@ -18,19 +18,19 @@ module RbsMiniMagick
|
|
|
18
18
|
rbs = <<~RBS
|
|
19
19
|
module MiniMagick
|
|
20
20
|
class Image
|
|
21
|
-
def initialize: (_ToS input_path, ?Tempfile? tempfile) ?{ (Tool & _Mogrify
|
|
21
|
+
def initialize: (_ToS input_path, ?Tempfile? tempfile) ?{ (Tool & _Mogrify) -> void } -> void
|
|
22
22
|
| ...
|
|
23
23
|
|
|
24
|
-
def combine_options: () { (Tool & _Mogrify
|
|
24
|
+
def combine_options: () { (Tool & _Mogrify) -> void } -> self
|
|
25
25
|
| ...
|
|
26
26
|
|
|
27
|
-
def composite: (instance other_image, ?String output_extension, ?untyped? mask) ?{ (Tool & _Composite
|
|
27
|
+
def composite: (instance other_image, ?String output_extension, ?untyped? mask) ?{ (Tool & _Composite) -> void } -> instance
|
|
28
28
|
| ...
|
|
29
29
|
|
|
30
|
-
def identify: () ?{ (Tool & _Identify
|
|
30
|
+
def identify: () ?{ (Tool & _Identify) -> void } -> String
|
|
31
31
|
| ...
|
|
32
32
|
|
|
33
|
-
def mogrify: (?Integer? page) ?{ (Tool & _Mogrify
|
|
33
|
+
def mogrify: (?Integer? page) ?{ (Tool & _Mogrify) -> void } -> self
|
|
34
34
|
| ...
|
|
35
35
|
|
|
36
36
|
#{mogrify_methods}
|
|
@@ -22,7 +22,7 @@ module RbsMiniMagick
|
|
|
22
22
|
.uniq.join("\n")
|
|
23
23
|
rbs = <<~RBS
|
|
24
24
|
module MiniMagick
|
|
25
|
-
interface #{interface_name}
|
|
25
|
+
interface #{interface_name}
|
|
26
26
|
#{option_methods}
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -42,7 +42,7 @@ module RbsMiniMagick
|
|
|
42
42
|
def option_method(option)
|
|
43
43
|
args = option.args_empty? ? "" : "*_ToS args"
|
|
44
44
|
|
|
45
|
-
"def #{option.normalized_name}: (#{args}) ->
|
|
45
|
+
"def #{option.normalized_name}: (#{args}) -> self"
|
|
46
46
|
end
|
|
47
47
|
end
|
|
48
48
|
end
|
|
@@ -19,8 +19,8 @@ module RbsMiniMagick
|
|
|
19
19
|
args = "?errors: bool, ?warnings: bool, ?stdin: _ToS, ?timeout: Integer?, **untyped options"
|
|
20
20
|
rbs = <<~RBS
|
|
21
21
|
module MiniMagick
|
|
22
|
-
def self.#{name}: (#{args}) -> (Tool & #{interface_name}
|
|
23
|
-
| (#{args}) { (Tool & #{interface_name}
|
|
22
|
+
def self.#{name}: (#{args}) -> (Tool & #{interface_name})
|
|
23
|
+
| (#{args}) { (Tool & #{interface_name}) -> void } -> String
|
|
24
24
|
| ...
|
|
25
25
|
end
|
|
26
26
|
RBS
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rbs_mini_magick
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- aki19035vc
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-07
|
|
11
|
+
date: 2024-08-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mini_magick
|