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
@@ -1,147 +0,0 @@
|
|
1
|
-
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
-
# srb rbi gems
|
3
|
-
|
4
|
-
# typed: strict
|
5
|
-
#
|
6
|
-
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
-
#
|
8
|
-
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/addressable/all/addressable.rbi
|
9
|
-
#
|
10
|
-
# addressable-2.7.0
|
11
|
-
|
12
|
-
module Addressable
|
13
|
-
end
|
14
|
-
module Addressable::VERSION
|
15
|
-
end
|
16
|
-
module Addressable::IDNA
|
17
|
-
def self.lookup_unicode_combining_class(codepoint); end
|
18
|
-
def self.lookup_unicode_compatibility(codepoint); end
|
19
|
-
def self.lookup_unicode_composition(unpacked); end
|
20
|
-
def self.lookup_unicode_lowercase(codepoint); end
|
21
|
-
def self.punycode_adapt(delta, numpoints, firsttime); end
|
22
|
-
def self.punycode_basic?(codepoint); end
|
23
|
-
def self.punycode_decode(punycode); end
|
24
|
-
def self.punycode_decode_digit(codepoint); end
|
25
|
-
def self.punycode_delimiter?(codepoint); end
|
26
|
-
def self.punycode_encode(unicode); end
|
27
|
-
def self.punycode_encode_digit(d); end
|
28
|
-
def self.to_ascii(input); end
|
29
|
-
def self.to_unicode(input); end
|
30
|
-
def self.unicode_compose(unpacked); end
|
31
|
-
def self.unicode_compose_pair(ch_one, ch_two); end
|
32
|
-
def self.unicode_decompose(unpacked); end
|
33
|
-
def self.unicode_decompose_hangul(codepoint); end
|
34
|
-
def self.unicode_downcase(input); end
|
35
|
-
def self.unicode_normalize_kc(input); end
|
36
|
-
def self.unicode_sort_canonical(unpacked); end
|
37
|
-
end
|
38
|
-
class Addressable::IDNA::PunycodeBadInput < StandardError
|
39
|
-
end
|
40
|
-
class Addressable::IDNA::PunycodeBigOutput < StandardError
|
41
|
-
end
|
42
|
-
class Addressable::IDNA::PunycodeOverflow < StandardError
|
43
|
-
end
|
44
|
-
class Addressable::URI
|
45
|
-
def +(uri); end
|
46
|
-
def ==(uri); end
|
47
|
-
def ===(uri); end
|
48
|
-
def absolute?; end
|
49
|
-
def authority; end
|
50
|
-
def authority=(new_authority); end
|
51
|
-
def basename; end
|
52
|
-
def default_port; end
|
53
|
-
def defer_validation; end
|
54
|
-
def display_uri; end
|
55
|
-
def domain; end
|
56
|
-
def dup; end
|
57
|
-
def empty?; end
|
58
|
-
def eql?(uri); end
|
59
|
-
def extname; end
|
60
|
-
def fragment; end
|
61
|
-
def fragment=(new_fragment); end
|
62
|
-
def freeze; end
|
63
|
-
def hash; end
|
64
|
-
def host; end
|
65
|
-
def host=(new_host); end
|
66
|
-
def hostname; end
|
67
|
-
def hostname=(new_hostname); end
|
68
|
-
def inferred_port; end
|
69
|
-
def initialize(options = nil); end
|
70
|
-
def inspect; end
|
71
|
-
def ip_based?; end
|
72
|
-
def join!(uri); end
|
73
|
-
def join(uri); end
|
74
|
-
def merge!(uri); end
|
75
|
-
def merge(hash); end
|
76
|
-
def normalize!; end
|
77
|
-
def normalize; end
|
78
|
-
def normalized_authority; end
|
79
|
-
def normalized_fragment; end
|
80
|
-
def normalized_host; end
|
81
|
-
def normalized_password; end
|
82
|
-
def normalized_path; end
|
83
|
-
def normalized_port; end
|
84
|
-
def normalized_query(*flags); end
|
85
|
-
def normalized_scheme; end
|
86
|
-
def normalized_site; end
|
87
|
-
def normalized_user; end
|
88
|
-
def normalized_userinfo; end
|
89
|
-
def omit!(*components); end
|
90
|
-
def omit(*components); end
|
91
|
-
def origin; end
|
92
|
-
def origin=(new_origin); end
|
93
|
-
def password; end
|
94
|
-
def password=(new_password); end
|
95
|
-
def path; end
|
96
|
-
def path=(new_path); end
|
97
|
-
def port; end
|
98
|
-
def port=(new_port); end
|
99
|
-
def query; end
|
100
|
-
def query=(new_query); end
|
101
|
-
def query_values(return_type = nil); end
|
102
|
-
def query_values=(new_query_values); end
|
103
|
-
def relative?; end
|
104
|
-
def remove_composite_values; end
|
105
|
-
def replace_self(uri); end
|
106
|
-
def request_uri; end
|
107
|
-
def request_uri=(new_request_uri); end
|
108
|
-
def route_from(uri); end
|
109
|
-
def route_to(uri); end
|
110
|
-
def scheme; end
|
111
|
-
def scheme=(new_scheme); end
|
112
|
-
def self.convert_path(path); end
|
113
|
-
def self.encode(uri, return_type = nil); end
|
114
|
-
def self.encode_component(component, character_class = nil, upcase_encoded = nil); end
|
115
|
-
def self.escape(uri, return_type = nil); end
|
116
|
-
def self.form_encode(form_values, sort = nil); end
|
117
|
-
def self.form_unencode(encoded_value); end
|
118
|
-
def self.heuristic_parse(uri, hints = nil); end
|
119
|
-
def self.ip_based_schemes; end
|
120
|
-
def self.join(*uris); end
|
121
|
-
def self.normalize_component(component, character_class = nil, leave_encoded = nil); end
|
122
|
-
def self.normalize_path(path); end
|
123
|
-
def self.normalized_encode(uri, return_type = nil); end
|
124
|
-
def self.parse(uri); end
|
125
|
-
def self.port_mapping; end
|
126
|
-
def self.unencode(uri, return_type = nil, leave_encoded = nil); end
|
127
|
-
def self.unencode_component(uri, return_type = nil, leave_encoded = nil); end
|
128
|
-
def self.unescape(uri, return_type = nil, leave_encoded = nil); end
|
129
|
-
def self.unescape_component(uri, return_type = nil, leave_encoded = nil); end
|
130
|
-
def site; end
|
131
|
-
def site=(new_site); end
|
132
|
-
def split_path(path); end
|
133
|
-
def tld; end
|
134
|
-
def tld=(new_tld); end
|
135
|
-
def to_hash; end
|
136
|
-
def to_s; end
|
137
|
-
def to_str; end
|
138
|
-
def user; end
|
139
|
-
def user=(new_user); end
|
140
|
-
def userinfo; end
|
141
|
-
def userinfo=(new_userinfo); end
|
142
|
-
def validate; end
|
143
|
-
end
|
144
|
-
class Addressable::URI::InvalidURIError < StandardError
|
145
|
-
end
|
146
|
-
module Addressable::URI::CharacterClasses
|
147
|
-
end
|
data/sorbet/rbi/gems/ast.rbi
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
-
# srb rbi gems
|
3
|
-
|
4
|
-
# typed: strict
|
5
|
-
#
|
6
|
-
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
-
#
|
8
|
-
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/ast/all/ast.rbi
|
9
|
-
#
|
10
|
-
# ast-2.4.2
|
11
|
-
|
12
|
-
module AST
|
13
|
-
end
|
14
|
-
class AST::Node
|
15
|
-
def +(array); end
|
16
|
-
def <<(element); end
|
17
|
-
def ==(other); end
|
18
|
-
def append(element); end
|
19
|
-
def assign_properties(properties); end
|
20
|
-
def children; end
|
21
|
-
def clone; end
|
22
|
-
def concat(array); end
|
23
|
-
def deconstruct; end
|
24
|
-
def dup; end
|
25
|
-
def eql?(other); end
|
26
|
-
def fancy_type; end
|
27
|
-
def hash; end
|
28
|
-
def initialize(type, children = nil, properties = nil); end
|
29
|
-
def inspect(indent = nil); end
|
30
|
-
def original_dup; end
|
31
|
-
def to_a; end
|
32
|
-
def to_ast; end
|
33
|
-
def to_s(indent = nil); end
|
34
|
-
def to_sexp(indent = nil); end
|
35
|
-
def to_sexp_array; end
|
36
|
-
def type; end
|
37
|
-
def updated(type = nil, children = nil, properties = nil); end
|
38
|
-
end
|
39
|
-
class AST::Processor
|
40
|
-
include AST::Processor::Mixin
|
41
|
-
end
|
42
|
-
module AST::Processor::Mixin
|
43
|
-
def handler_missing(node); end
|
44
|
-
def process(node); end
|
45
|
-
def process_all(nodes); end
|
46
|
-
end
|
47
|
-
module AST::Sexp
|
48
|
-
def s(type, *children); end
|
49
|
-
end
|
data/sorbet/rbi/gems/codecov.rbi
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
-
# srb rbi gems
|
3
|
-
|
4
|
-
# typed: strict
|
5
|
-
#
|
6
|
-
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
-
#
|
8
|
-
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/codecov/all/codecov.rbi
|
9
|
-
#
|
10
|
-
# codecov-0.5.2
|
11
|
-
|
12
|
-
module Codecov
|
13
|
-
extend Codecov::Configuration
|
14
|
-
end
|
15
|
-
module Codecov::SimpleCov
|
16
|
-
end
|
17
|
-
class Codecov::SimpleCov::Formatter
|
18
|
-
def file_network; end
|
19
|
-
def file_to_codecov(file); end
|
20
|
-
def format(report); end
|
21
|
-
def result_to_codecov(result); end
|
22
|
-
def result_to_codecov_coverage(result); end
|
23
|
-
def result_to_codecov_messages(result); end
|
24
|
-
def result_to_codecov_report(result); end
|
25
|
-
def shortened_filename(file); end
|
26
|
-
end
|
27
|
-
module Codecov::Configuration
|
28
|
-
def pass_ci_if_error; end
|
29
|
-
def pass_ci_if_error=(arg0); end
|
30
|
-
end
|
31
|
-
class Codecov::Uploader
|
32
|
-
def self.black(str); end
|
33
|
-
def self.build_params(ci); end
|
34
|
-
def self.detect_ci; end
|
35
|
-
def self.display_header; end
|
36
|
-
def self.green(str); end
|
37
|
-
def self.gzip_report(report); end
|
38
|
-
def self.handle_report_response(report); end
|
39
|
-
def self.net_blockers(switch); end
|
40
|
-
def self.red(str); end
|
41
|
-
def self.retry_request(req, https); end
|
42
|
-
def self.upload(report, disable_net_blockers = nil); end
|
43
|
-
def self.upload_to_codecov(ci, report); end
|
44
|
-
def self.upload_to_v2(url, report, query, query_without_token); end
|
45
|
-
def self.upload_to_v4(url, report, query, query_without_token); end
|
46
|
-
end
|
47
|
-
class SimpleCov::Formatter::Codecov
|
48
|
-
def format(result, disable_net_blockers = nil); end
|
49
|
-
end
|
data/sorbet/rbi/gems/coderay.rbi
DELETED
@@ -1,285 +0,0 @@
|
|
1
|
-
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
-
# srb rbi gems
|
3
|
-
|
4
|
-
# typed: true
|
5
|
-
#
|
6
|
-
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
-
#
|
8
|
-
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/coderay/all/coderay.rbi
|
9
|
-
#
|
10
|
-
# coderay-1.1.3
|
11
|
-
|
12
|
-
module CodeRay
|
13
|
-
def self.coderay_path(*path); end
|
14
|
-
def self.encode(code, lang, format, options = nil); end
|
15
|
-
def self.encode_file(filename, format, options = nil); end
|
16
|
-
def self.encode_tokens(tokens, format, options = nil); end
|
17
|
-
def self.encoder(format, options = nil); end
|
18
|
-
def self.get_scanner_options(options); end
|
19
|
-
def self.highlight(code, lang, options = nil, format = nil); end
|
20
|
-
def self.highlight_file(filename, options = nil, format = nil); end
|
21
|
-
def self.scan(code, lang, options = nil, &block); end
|
22
|
-
def self.scan_file(filename, lang = nil, options = nil, &block); end
|
23
|
-
def self.scanner(lang, options = nil, &block); end
|
24
|
-
end
|
25
|
-
module CodeRay::FileType
|
26
|
-
def self.[](filename, read_shebang = nil); end
|
27
|
-
def self.fetch(filename, default = nil, read_shebang = nil); end
|
28
|
-
def self.type_from_shebang(filename); end
|
29
|
-
end
|
30
|
-
class CodeRay::FileType::UnknownFileType < Exception
|
31
|
-
end
|
32
|
-
class CodeRay::Tokens < Array
|
33
|
-
def begin_group(kind); end
|
34
|
-
def begin_line(kind); end
|
35
|
-
def count; end
|
36
|
-
def encode(encoder, options = nil); end
|
37
|
-
def end_group(kind); end
|
38
|
-
def end_line(kind); end
|
39
|
-
def method_missing(meth, options = nil); end
|
40
|
-
def scanner; end
|
41
|
-
def scanner=(arg0); end
|
42
|
-
def split_into_parts(*sizes); end
|
43
|
-
def text_token(*arg0); end
|
44
|
-
def to_s; end
|
45
|
-
def tokens(*arg0); end
|
46
|
-
end
|
47
|
-
class CodeRay::TokensProxy
|
48
|
-
def block; end
|
49
|
-
def block=(arg0); end
|
50
|
-
def each(*args, &blk); end
|
51
|
-
def encode(encoder, options = nil); end
|
52
|
-
def initialize(input, lang, options = nil, block = nil); end
|
53
|
-
def input; end
|
54
|
-
def input=(arg0); end
|
55
|
-
def lang; end
|
56
|
-
def lang=(arg0); end
|
57
|
-
def method_missing(method, *args, &blk); end
|
58
|
-
def options; end
|
59
|
-
def options=(arg0); end
|
60
|
-
def scanner; end
|
61
|
-
def tokens; end
|
62
|
-
end
|
63
|
-
module CodeRay::PluginHost
|
64
|
-
def [](id, *args, &blk); end
|
65
|
-
def all_plugins; end
|
66
|
-
def const_missing(const); end
|
67
|
-
def default(id = nil); end
|
68
|
-
def list; end
|
69
|
-
def load(id, *args, &blk); end
|
70
|
-
def load_all; end
|
71
|
-
def load_plugin_map; end
|
72
|
-
def make_plugin_hash; end
|
73
|
-
def map(hash); end
|
74
|
-
def path_to(plugin_id); end
|
75
|
-
def plugin_hash; end
|
76
|
-
def plugin_path(*args); end
|
77
|
-
def register(plugin, id); end
|
78
|
-
def self.extended(mod); end
|
79
|
-
def validate_id(id); end
|
80
|
-
end
|
81
|
-
class CodeRay::PluginHost::PluginNotFound < LoadError
|
82
|
-
end
|
83
|
-
class CodeRay::PluginHost::HostNotFound < LoadError
|
84
|
-
end
|
85
|
-
module CodeRay::Plugin
|
86
|
-
def aliases; end
|
87
|
-
def plugin_host(host = nil); end
|
88
|
-
def plugin_id; end
|
89
|
-
def register_for(id); end
|
90
|
-
def title(title = nil); end
|
91
|
-
end
|
92
|
-
module CodeRay::Scanners
|
93
|
-
extend CodeRay::PluginHost
|
94
|
-
end
|
95
|
-
class CodeRay::Scanners::Scanner < StringScanner
|
96
|
-
def binary_string; end
|
97
|
-
def column(pos = nil); end
|
98
|
-
def each(&block); end
|
99
|
-
def file_extension; end
|
100
|
-
def initialize(code = nil, options = nil); end
|
101
|
-
def lang; end
|
102
|
-
def line(pos = nil); end
|
103
|
-
def raise_inspect(message, tokens, state = nil, ambit = nil, backtrace = nil); end
|
104
|
-
def raise_inspect_arguments(message, tokens, state, ambit); end
|
105
|
-
def reset; end
|
106
|
-
def reset_instance; end
|
107
|
-
def scan_rest; end
|
108
|
-
def scan_tokens(tokens, options); end
|
109
|
-
def scanner_state_info(state); end
|
110
|
-
def self.encode_with_encoding(code, target_encoding); end
|
111
|
-
def self.encoding(name = nil); end
|
112
|
-
def self.file_extension(extension = nil); end
|
113
|
-
def self.guess_encoding(s); end
|
114
|
-
def self.lang; end
|
115
|
-
def self.normalize(code); end
|
116
|
-
def self.to_unix(code); end
|
117
|
-
def set_string_from_source(source); end
|
118
|
-
def set_tokens_from_options(options); end
|
119
|
-
def setup; end
|
120
|
-
def state; end
|
121
|
-
def state=(arg0); end
|
122
|
-
def string=(code); end
|
123
|
-
def tokenize(source = nil, options = nil); end
|
124
|
-
def tokens; end
|
125
|
-
def tokens_last(tokens, n); end
|
126
|
-
def tokens_size(tokens); end
|
127
|
-
extend CodeRay::Plugin
|
128
|
-
include Enumerable
|
129
|
-
end
|
130
|
-
class CodeRay::Scanners::Scanner::ScanError < StandardError
|
131
|
-
end
|
132
|
-
class CodeRay::WordList < Hash
|
133
|
-
def add(words, value = nil); end
|
134
|
-
def initialize(default = nil); end
|
135
|
-
end
|
136
|
-
class CodeRay::WordList::CaseIgnoring < CodeRay::WordList
|
137
|
-
def [](key); end
|
138
|
-
def []=(key, value); end
|
139
|
-
end
|
140
|
-
module CodeRay::Scanners::Java::BuiltinTypes
|
141
|
-
end
|
142
|
-
class CodeRay::Scanners::Java < CodeRay::Scanners::Scanner
|
143
|
-
def scan_tokens(encoder, options); end
|
144
|
-
end
|
145
|
-
class CodeRay::Scanners::Ruby < CodeRay::Scanners::Scanner
|
146
|
-
def interpreted_string_state; end
|
147
|
-
def scan_tokens(encoder, options); end
|
148
|
-
def setup; end
|
149
|
-
end
|
150
|
-
module CodeRay::Scanners::Ruby::Patterns
|
151
|
-
end
|
152
|
-
class Anonymous_Struct_1 < Struct
|
153
|
-
def delim; end
|
154
|
-
def delim=(_); end
|
155
|
-
def heredoc; end
|
156
|
-
def heredoc=(_); end
|
157
|
-
def interpreted; end
|
158
|
-
def interpreted=(_); end
|
159
|
-
def next_state; end
|
160
|
-
def next_state=(_); end
|
161
|
-
def opening_paren; end
|
162
|
-
def opening_paren=(_); end
|
163
|
-
def paren_depth; end
|
164
|
-
def paren_depth=(_); end
|
165
|
-
def pattern; end
|
166
|
-
def pattern=(_); end
|
167
|
-
def self.[](*arg0); end
|
168
|
-
def self.inspect; end
|
169
|
-
def self.members; end
|
170
|
-
def self.new(*arg0); end
|
171
|
-
def type; end
|
172
|
-
def type=(_); end
|
173
|
-
end
|
174
|
-
class CodeRay::Scanners::Ruby::StringState < Anonymous_Struct_1
|
175
|
-
def heredoc_pattern(delim, interpreted, indented); end
|
176
|
-
def initialize(kind, interpreted, delim, heredoc = nil); end
|
177
|
-
def self.simple_key_pattern(delim); end
|
178
|
-
end
|
179
|
-
module CodeRay::Encoders
|
180
|
-
extend CodeRay::PluginHost
|
181
|
-
end
|
182
|
-
class CodeRay::Encoders::Encoder
|
183
|
-
def <<(token); end
|
184
|
-
def begin_group(kind); end
|
185
|
-
def begin_line(kind); end
|
186
|
-
def compile(tokens, options = nil); end
|
187
|
-
def encode(code, lang, options = nil); end
|
188
|
-
def encode_tokens(tokens, options = nil); end
|
189
|
-
def end_group(kind); end
|
190
|
-
def end_line(kind); end
|
191
|
-
def file_extension; end
|
192
|
-
def finish(options); end
|
193
|
-
def get_output(options); end
|
194
|
-
def highlight(code, lang, options = nil); end
|
195
|
-
def initialize(options = nil); end
|
196
|
-
def options; end
|
197
|
-
def options=(arg0); end
|
198
|
-
def output(data); end
|
199
|
-
def scanner; end
|
200
|
-
def scanner=(arg0); end
|
201
|
-
def self.const_missing(sym); end
|
202
|
-
def self.file_extension; end
|
203
|
-
def setup(options); end
|
204
|
-
def text_token(text, kind); end
|
205
|
-
def token(content, kind); end
|
206
|
-
def tokens(tokens, options = nil); end
|
207
|
-
extend CodeRay::Plugin
|
208
|
-
end
|
209
|
-
class CodeRay::Encoders::HTML < CodeRay::Encoders::Encoder
|
210
|
-
def begin_group(kind); end
|
211
|
-
def begin_line(kind); end
|
212
|
-
def break_lines(text, style); end
|
213
|
-
def check_group_nesting(name, kind); end
|
214
|
-
def check_options!(options); end
|
215
|
-
def close_span; end
|
216
|
-
def css; end
|
217
|
-
def css_class_for_kinds(kinds); end
|
218
|
-
def end_group(kind); end
|
219
|
-
def end_line(kind); end
|
220
|
-
def finish(options); end
|
221
|
-
def make_span_for_kinds(method, hint); end
|
222
|
-
def self.make_html_escape_hash; end
|
223
|
-
def self.token_path_to_hint(hint, kinds); end
|
224
|
-
def setup(options); end
|
225
|
-
def style_for_kinds(kinds); end
|
226
|
-
def text_token(text, kind); end
|
227
|
-
end
|
228
|
-
module CodeRay::Encoders::HTML::Output
|
229
|
-
def apply_title!(title); end
|
230
|
-
def css; end
|
231
|
-
def css=(arg0); end
|
232
|
-
def self.extended(o); end
|
233
|
-
def self.make_stylesheet(css, in_tag = nil); end
|
234
|
-
def self.page_template_for_css(css); end
|
235
|
-
def stylesheet(in_tag = nil); end
|
236
|
-
def wrap!(element, *args); end
|
237
|
-
def wrap_in!(template); end
|
238
|
-
def wrapped_in; end
|
239
|
-
def wrapped_in=(arg0); end
|
240
|
-
def wrapped_in?(element); end
|
241
|
-
end
|
242
|
-
class CodeRay::Encoders::HTML::Output::Template < String
|
243
|
-
def apply(target, replacement); end
|
244
|
-
def self.wrap!(str, template, target); end
|
245
|
-
end
|
246
|
-
class CodeRay::Encoders::HTML::CSS
|
247
|
-
def get_style_for_css_classes(css_classes); end
|
248
|
-
def initialize(style = nil); end
|
249
|
-
def parse(stylesheet); end
|
250
|
-
def self.load_stylesheet(style = nil); end
|
251
|
-
def stylesheet; end
|
252
|
-
end
|
253
|
-
module CodeRay::Encoders::HTML::Numbering
|
254
|
-
def self.number!(output, mode = nil, options = nil); end
|
255
|
-
end
|
256
|
-
module CodeRay::Styles
|
257
|
-
extend CodeRay::PluginHost
|
258
|
-
end
|
259
|
-
class CodeRay::Styles::Style
|
260
|
-
extend CodeRay::Plugin
|
261
|
-
end
|
262
|
-
class CodeRay::Duo
|
263
|
-
def call(code, options = nil); end
|
264
|
-
def encode(code, options = nil); end
|
265
|
-
def encoder; end
|
266
|
-
def format; end
|
267
|
-
def format=(arg0); end
|
268
|
-
def highlight(code, options = nil); end
|
269
|
-
def initialize(lang = nil, format = nil, options = nil); end
|
270
|
-
def lang; end
|
271
|
-
def lang=(arg0); end
|
272
|
-
def options; end
|
273
|
-
def options=(arg0); end
|
274
|
-
def scanner; end
|
275
|
-
def self.[](*arg0); end
|
276
|
-
end
|
277
|
-
class CodeRay::Encoders::Terminal < CodeRay::Encoders::Encoder
|
278
|
-
def begin_group(kind); end
|
279
|
-
def begin_line(kind); end
|
280
|
-
def end_group(kind); end
|
281
|
-
def end_line(kind); end
|
282
|
-
def open_token(kind); end
|
283
|
-
def setup(options); end
|
284
|
-
def text_token(text, kind); end
|
285
|
-
end
|
@@ -1,60 +0,0 @@
|
|
1
|
-
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
-
# srb rbi gems
|
3
|
-
|
4
|
-
# typed: strict
|
5
|
-
#
|
6
|
-
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
-
#
|
8
|
-
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/colorator/all/colorator.rbi
|
9
|
-
#
|
10
|
-
# colorator-1.1.0
|
11
|
-
|
12
|
-
class String
|
13
|
-
def ansi_jump(*args); end
|
14
|
-
def black(*args); end
|
15
|
-
def blue(*args); end
|
16
|
-
def bold(*args); end
|
17
|
-
def clear_line(*args); end
|
18
|
-
def clear_screen(*args); end
|
19
|
-
def colorize(*args); end
|
20
|
-
def cyan(*args); end
|
21
|
-
def green(*args); end
|
22
|
-
def has_ansi?(*args); end
|
23
|
-
def has_color?(*args); end
|
24
|
-
def magenta(*args); end
|
25
|
-
def red(*args); end
|
26
|
-
def reset_ansi(*args); end
|
27
|
-
def reset_color(*args); end
|
28
|
-
def strip_ansi(*args); end
|
29
|
-
def strip_color(*args); end
|
30
|
-
def white(*args); end
|
31
|
-
def yellow(*args); end
|
32
|
-
end
|
33
|
-
module Colorator
|
34
|
-
def ansi_jump(str, num); end
|
35
|
-
def clear_line(str = nil); end
|
36
|
-
def clear_screen(str = nil); end
|
37
|
-
def colorize(str = nil, color); end
|
38
|
-
def has_ansi?(str); end
|
39
|
-
def reset_ansi(str = nil); end
|
40
|
-
def self.ansi_jump(str, num); end
|
41
|
-
def self.black(str); end
|
42
|
-
def self.blue(str); end
|
43
|
-
def self.bold(str); end
|
44
|
-
def self.clear_line(str = nil); end
|
45
|
-
def self.clear_screen(str = nil); end
|
46
|
-
def self.colorize(str = nil, color); end
|
47
|
-
def self.cyan(str); end
|
48
|
-
def self.green(str); end
|
49
|
-
def self.has_ansi?(str); end
|
50
|
-
def self.has_color?(str); end
|
51
|
-
def self.magenta(str); end
|
52
|
-
def self.red(str); end
|
53
|
-
def self.reset_ansi(str = nil); end
|
54
|
-
def self.reset_color(str = nil); end
|
55
|
-
def self.strip_ansi(str); end
|
56
|
-
def self.strip_color(str); end
|
57
|
-
def self.white(str); end
|
58
|
-
def self.yellow(str); end
|
59
|
-
def strip_ansi(str); end
|
60
|
-
end
|