cheesy-gallery 0.8.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/publish.yaml +20 -0
- data/.github/workflows/tests.yaml +39 -0
- data/CHANGELOG.md +16 -0
- data/README.md +40 -18
- data/cheesy-gallery.gemspec +0 -2
- data/lib/cheesy-gallery/base_image_file.rb +21 -7
- data/lib/cheesy-gallery/gallery_index.rb +2 -5
- data/lib/cheesy-gallery/generator.rb +2 -6
- data/lib/cheesy-gallery/image_file.rb +9 -7
- data/lib/cheesy-gallery/image_thumb.rb +3 -7
- data/lib/cheesy-gallery/version.rb +1 -2
- data/lib/cheesy-gallery.rb +0 -2
- metadata +6 -79
- data/.travis.yml +0 -33
- data/sorbet/config +0 -2
- data/sorbet/rbi/gems/addressable.rbi +0 -147
- data/sorbet/rbi/gems/ast.rbi +0 -49
- data/sorbet/rbi/gems/codecov.rbi +0 -49
- data/sorbet/rbi/gems/coderay.rbi +0 -285
- data/sorbet/rbi/gems/colorator.rbi +0 -60
- data/sorbet/rbi/gems/concurrent-ruby.rbi +0 -225
- data/sorbet/rbi/gems/docile.rbi +0 -36
- data/sorbet/rbi/gems/ffi.rbi +0 -560
- data/sorbet/rbi/gems/forwardable-extended.rbi +0 -24
- data/sorbet/rbi/gems/i18n.rbi +0 -108
- data/sorbet/rbi/gems/jekyll-sass-converter.rbi +0 -61
- data/sorbet/rbi/gems/jekyll.rbi +0 -726
- data/sorbet/rbi/gems/kramdown.rbi +0 -250
- data/sorbet/rbi/gems/liquid.rbi +0 -649
- data/sorbet/rbi/gems/method_source.rbi +0 -64
- data/sorbet/rbi/gems/parallel.rbi +0 -83
- data/sorbet/rbi/gems/parser.rbi +0 -1429
- data/sorbet/rbi/gems/pathutil.rbi +0 -188
- data/sorbet/rbi/gems/pry.rbi +0 -1898
- data/sorbet/rbi/gems/public_suffix.rbi +0 -104
- data/sorbet/rbi/gems/rainbow.rbi +0 -118
- data/sorbet/rbi/gems/rake.rbi +0 -647
- data/sorbet/rbi/gems/regexp_parser.rbi +0 -926
- data/sorbet/rbi/gems/rexml.rbi +0 -599
- data/sorbet/rbi/gems/rmagick.rbi +0 -1249
- data/sorbet/rbi/gems/rspec-core.rbi +0 -1894
- data/sorbet/rbi/gems/rspec-expectations.rbi +0 -1148
- data/sorbet/rbi/gems/rspec-mocks.rbi +0 -1091
- data/sorbet/rbi/gems/rspec-support.rbi +0 -280
- data/sorbet/rbi/gems/rspec.rbi +0 -15
- data/sorbet/rbi/gems/rubocop-ast.rbi +0 -1357
- data/sorbet/rbi/gems/rubocop.rbi +0 -8027
- data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -304
- data/sorbet/rbi/gems/safe_yaml.rbi +0 -124
- data/sorbet/rbi/gems/sassc.rbi +0 -532
- data/sorbet/rbi/gems/simplecov-html.rbi +0 -35
- data/sorbet/rbi/gems/simplecov.rbi +0 -419
- data/sorbet/rbi/gems/unicode-display_width.rbi +0 -22
- data/sorbet/rbi/hidden-definitions/errors.txt +0 -6233
- data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -13059
- data/sorbet/rbi/rmagick.rbi +0 -18
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +0 -276
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +0 -645
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +0 -1891
- data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +0 -7799
- data/sorbet/rbi/todo.rbi +0 -6
data/sorbet/rbi/rmagick.rbi
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
# typed: strong
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
# manual RBI definitions used by this project
|
5
|
-
class Magick::ImageList
|
6
|
-
sig { params(string: String, block: T.nilable(T.proc.params(arg0: Integer, arg1: Integer, arg2: Magick::Image).void)).void }
|
7
|
-
def change_geometry!(string, &block); end
|
8
|
-
|
9
|
-
sig { returns(NilClass) }
|
10
|
-
def destroy!; end
|
11
|
-
|
12
|
-
sig { params(width: Integer, height: Integer, gravity: Magick::GravityType).returns(Magick::Image)}
|
13
|
-
def resize_to_fill!(width, height, gravity=Magick::CenterGravity); end
|
14
|
-
|
15
|
-
# the `info` block should be `T.nilable`, but https://github.com/sorbet/sorbet/issues/498 says "No!"
|
16
|
-
sig { params(filename: String, info: T.proc.bind(Magick::Image::Info).void).void }
|
17
|
-
def write(filename, &info); end
|
18
|
-
end
|
@@ -1,276 +0,0 @@
|
|
1
|
-
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
-
# srb rbi sorbet-typed
|
3
|
-
#
|
4
|
-
# If you would like to make changes to this file, great! Please upstream any changes you make here:
|
5
|
-
#
|
6
|
-
# https://github.com/sorbet/sorbet-typed/edit/master/lib/rainbow/all/rainbow.rbi
|
7
|
-
#
|
8
|
-
# typed: strong
|
9
|
-
|
10
|
-
module Rainbow
|
11
|
-
sig { returns(T::Boolean) }
|
12
|
-
attr_accessor :enabled
|
13
|
-
|
14
|
-
class Color
|
15
|
-
sig { returns(Symbol) }
|
16
|
-
attr_reader :ground
|
17
|
-
|
18
|
-
sig do
|
19
|
-
params(
|
20
|
-
ground: Symbol,
|
21
|
-
values: T.any([Integer], [Integer, Integer, Integer])
|
22
|
-
).returns(Color)
|
23
|
-
end
|
24
|
-
def self.build(ground, values); end
|
25
|
-
|
26
|
-
sig { params(hex: String).returns([Integer, Integer, Integer]) }
|
27
|
-
def self.parse_hex_color(hex); end
|
28
|
-
|
29
|
-
class Indexed < Color
|
30
|
-
sig { returns(Integer) }
|
31
|
-
attr_reader :num
|
32
|
-
|
33
|
-
sig { params(ground: Symbol, num: Integer).returns(Indexed) }
|
34
|
-
def initialize(ground, num); end
|
35
|
-
|
36
|
-
sig { returns(T::Array[Integer]) }
|
37
|
-
def codes; end
|
38
|
-
end
|
39
|
-
|
40
|
-
class Named < Indexed
|
41
|
-
NAMES = T.let(nil, T::Hash[Symbol, Integer])
|
42
|
-
|
43
|
-
sig { returns(T::Array[Symbol]) }
|
44
|
-
def self.color_names; end
|
45
|
-
|
46
|
-
sig { returns(String) }
|
47
|
-
def self.valid_names; end
|
48
|
-
|
49
|
-
sig { params(ground: Symbol, name: Symbol).returns(Named) }
|
50
|
-
def initialize(ground, name); end
|
51
|
-
end
|
52
|
-
|
53
|
-
class RGB < Indexed
|
54
|
-
sig { returns(Integer) }
|
55
|
-
attr_accessor :r, :g, :b
|
56
|
-
|
57
|
-
sig { params(value: Numeric).returns(Integer) }
|
58
|
-
def to_ansi_domain(value); end
|
59
|
-
|
60
|
-
sig { params(ground: Symbol, values: Integer).returns(RGB) }
|
61
|
-
def initialize(ground, *values); end
|
62
|
-
|
63
|
-
sig { returns(T::Array[Integer]) }
|
64
|
-
def codes; end
|
65
|
-
end
|
66
|
-
|
67
|
-
class X11Named < RGB
|
68
|
-
include X11ColorNames
|
69
|
-
|
70
|
-
sig { returns(T::Array[Symbol]) }
|
71
|
-
def self.color_names; end
|
72
|
-
|
73
|
-
sig { returns(String) }
|
74
|
-
def self.valid_names; end
|
75
|
-
|
76
|
-
sig { params(ground: Symbol, name: Symbol).returns(X11Named) }
|
77
|
-
def initialize(ground, name); end
|
78
|
-
end
|
79
|
-
end
|
80
|
-
|
81
|
-
sig { returns(Wrapper) }
|
82
|
-
def self.global; end
|
83
|
-
|
84
|
-
sig { returns(T::Boolean) }
|
85
|
-
def self.enabled; end
|
86
|
-
|
87
|
-
sig { params(value: T::Boolean).returns(T::Boolean) }
|
88
|
-
def self.enabled=(value); end
|
89
|
-
|
90
|
-
sig { params(string: String).returns(String) }
|
91
|
-
def self.uncolor(string); end
|
92
|
-
|
93
|
-
class NullPresenter < String
|
94
|
-
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(NullPresenter) }
|
95
|
-
def color(*values); end
|
96
|
-
|
97
|
-
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(NullPresenter) }
|
98
|
-
def foreground(*values); end
|
99
|
-
|
100
|
-
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(NullPresenter) }
|
101
|
-
def fg(*values); end
|
102
|
-
|
103
|
-
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(NullPresenter) }
|
104
|
-
def background(*values); end
|
105
|
-
|
106
|
-
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(NullPresenter) }
|
107
|
-
def bg(*values); end
|
108
|
-
|
109
|
-
sig { returns(NullPresenter) }
|
110
|
-
def reset; end
|
111
|
-
|
112
|
-
sig { returns(NullPresenter) }
|
113
|
-
def bright; end
|
114
|
-
|
115
|
-
sig { returns(NullPresenter) }
|
116
|
-
def faint; end
|
117
|
-
|
118
|
-
sig { returns(NullPresenter) }
|
119
|
-
def italic; end
|
120
|
-
|
121
|
-
sig { returns(NullPresenter) }
|
122
|
-
def underline; end
|
123
|
-
|
124
|
-
sig { returns(NullPresenter) }
|
125
|
-
def blink; end
|
126
|
-
|
127
|
-
sig { returns(NullPresenter) }
|
128
|
-
def inverse; end
|
129
|
-
|
130
|
-
sig { returns(NullPresenter) }
|
131
|
-
def hide; end
|
132
|
-
|
133
|
-
sig { returns(NullPresenter) }
|
134
|
-
def cross_out; end
|
135
|
-
|
136
|
-
sig { returns(NullPresenter) }
|
137
|
-
def black; end
|
138
|
-
|
139
|
-
sig { returns(NullPresenter) }
|
140
|
-
def red; end
|
141
|
-
|
142
|
-
sig { returns(NullPresenter) }
|
143
|
-
def green; end
|
144
|
-
|
145
|
-
sig { returns(NullPresenter) }
|
146
|
-
def yellow; end
|
147
|
-
|
148
|
-
sig { returns(NullPresenter) }
|
149
|
-
def blue; end
|
150
|
-
|
151
|
-
sig { returns(NullPresenter) }
|
152
|
-
def magenta; end
|
153
|
-
|
154
|
-
sig { returns(NullPresenter) }
|
155
|
-
def cyan; end
|
156
|
-
|
157
|
-
sig { returns(NullPresenter) }
|
158
|
-
def white; end
|
159
|
-
|
160
|
-
sig { returns(NullPresenter) }
|
161
|
-
def bold; end
|
162
|
-
|
163
|
-
sig { returns(NullPresenter) }
|
164
|
-
def dark; end
|
165
|
-
|
166
|
-
sig { returns(NullPresenter) }
|
167
|
-
def strike; end
|
168
|
-
end
|
169
|
-
|
170
|
-
class Presenter < String
|
171
|
-
TERM_EFFECTS = T.let(nil, T::Hash[Symbol, Integer])
|
172
|
-
|
173
|
-
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(Presenter) }
|
174
|
-
def color(*values); end
|
175
|
-
|
176
|
-
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(Presenter) }
|
177
|
-
def foreground(*values); end
|
178
|
-
|
179
|
-
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(Presenter) }
|
180
|
-
def fg(*values); end
|
181
|
-
|
182
|
-
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(Presenter) }
|
183
|
-
def background(*values); end
|
184
|
-
|
185
|
-
sig { params(values: T.any([Integer], [Integer, Integer, Integer])).returns(Presenter) }
|
186
|
-
def bg(*values); end
|
187
|
-
|
188
|
-
sig { returns(Presenter) }
|
189
|
-
def reset; end
|
190
|
-
|
191
|
-
sig { returns(Presenter) }
|
192
|
-
def bright; end
|
193
|
-
|
194
|
-
sig { returns(Presenter) }
|
195
|
-
def faint; end
|
196
|
-
|
197
|
-
sig { returns(Presenter) }
|
198
|
-
def italic; end
|
199
|
-
|
200
|
-
sig { returns(Presenter) }
|
201
|
-
def underline; end
|
202
|
-
|
203
|
-
sig { returns(Presenter) }
|
204
|
-
def blink; end
|
205
|
-
|
206
|
-
sig { returns(Presenter) }
|
207
|
-
def inverse; end
|
208
|
-
|
209
|
-
sig { returns(Presenter) }
|
210
|
-
def hide; end
|
211
|
-
|
212
|
-
sig { returns(Presenter) }
|
213
|
-
def cross_out; end
|
214
|
-
|
215
|
-
sig { returns(Presenter) }
|
216
|
-
def black; end
|
217
|
-
|
218
|
-
sig { returns(Presenter) }
|
219
|
-
def red; end
|
220
|
-
|
221
|
-
sig { returns(Presenter) }
|
222
|
-
def green; end
|
223
|
-
|
224
|
-
sig { returns(Presenter) }
|
225
|
-
def yellow; end
|
226
|
-
|
227
|
-
sig { returns(Presenter) }
|
228
|
-
def blue; end
|
229
|
-
|
230
|
-
sig { returns(Presenter) }
|
231
|
-
def magenta; end
|
232
|
-
|
233
|
-
sig { returns(Presenter) }
|
234
|
-
def cyan; end
|
235
|
-
|
236
|
-
sig { returns(Presenter) }
|
237
|
-
def white; end
|
238
|
-
|
239
|
-
sig { returns(Presenter) }
|
240
|
-
def bold; end
|
241
|
-
|
242
|
-
sig { returns(Presenter) }
|
243
|
-
def dark; end
|
244
|
-
|
245
|
-
sig { returns(Presenter) }
|
246
|
-
def strike; end
|
247
|
-
end
|
248
|
-
|
249
|
-
class StringUtils
|
250
|
-
sig { params(string: String, codes: T::Array[Integer]).returns(String) }
|
251
|
-
def self.wrap_with_sgr(string, codes); end
|
252
|
-
|
253
|
-
sig { params(string: String).returns(String) }
|
254
|
-
def uncolor(string); end
|
255
|
-
end
|
256
|
-
|
257
|
-
VERSION = T.let(nil, String)
|
258
|
-
|
259
|
-
class Wrapper
|
260
|
-
sig { returns(T::Boolean) }
|
261
|
-
attr_accessor :enabled
|
262
|
-
|
263
|
-
sig { params(enabled: T::Boolean).returns(Wrapper) }
|
264
|
-
def initialize(enabled = true); end
|
265
|
-
|
266
|
-
sig { params(string: String).returns(T.any(Rainbow::Presenter, Rainbow::NullPresenter)) }
|
267
|
-
def wrap(string); end
|
268
|
-
end
|
269
|
-
|
270
|
-
module X11ColorNames
|
271
|
-
NAMES = T.let(nil, T::Hash[Symbol, [Integer, Integer, Integer]])
|
272
|
-
end
|
273
|
-
end
|
274
|
-
|
275
|
-
sig { params(string: String).returns(Rainbow::Presenter) }
|
276
|
-
def Rainbow(string); end
|