cheesy-gallery 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -0
  3. data/.travis.yml +0 -1
  4. data/lib/cheesy-gallery/generator.rb +5 -3
  5. data/lib/cheesy-gallery/version.rb +1 -1
  6. data/sorbet/rbi/gems/addressable.rbi +147 -0
  7. data/sorbet/rbi/gems/ast.rbi +49 -0
  8. data/sorbet/rbi/gems/codecov.rbi +49 -0
  9. data/sorbet/rbi/gems/coderay.rbi +285 -0
  10. data/sorbet/rbi/gems/colorator.rbi +60 -0
  11. data/sorbet/rbi/gems/concurrent-ruby.rbi +225 -0
  12. data/sorbet/rbi/gems/docile.rbi +36 -0
  13. data/sorbet/rbi/gems/ffi.rbi +560 -0
  14. data/sorbet/rbi/gems/forwardable-extended.rbi +24 -0
  15. data/sorbet/rbi/gems/i18n.rbi +108 -0
  16. data/sorbet/rbi/gems/jekyll-sass-converter.rbi +61 -0
  17. data/sorbet/rbi/gems/jekyll.rbi +726 -0
  18. data/sorbet/rbi/gems/kramdown.rbi +250 -0
  19. data/sorbet/rbi/gems/liquid.rbi +649 -0
  20. data/sorbet/rbi/gems/method_source.rbi +64 -0
  21. data/sorbet/rbi/gems/parallel.rbi +83 -0
  22. data/sorbet/rbi/gems/parser.rbi +1950 -0
  23. data/sorbet/rbi/gems/pathutil.rbi +188 -0
  24. data/sorbet/rbi/gems/pry.rbi +1898 -0
  25. data/sorbet/rbi/gems/public_suffix.rbi +104 -0
  26. data/sorbet/rbi/gems/rainbow.rbi +118 -0
  27. data/sorbet/rbi/gems/rake.rbi +647 -0
  28. data/sorbet/rbi/gems/regexp_parser.rbi +926 -0
  29. data/sorbet/rbi/gems/rexml.rbi +605 -0
  30. data/sorbet/rbi/gems/rmagick.rbi +1249 -0
  31. data/sorbet/rbi/gems/rspec-core.rbi +1894 -0
  32. data/sorbet/rbi/gems/rspec-expectations.rbi +1148 -0
  33. data/sorbet/rbi/gems/rspec-mocks.rbi +1091 -0
  34. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  35. data/sorbet/rbi/gems/rspec.rbi +15 -0
  36. data/sorbet/rbi/gems/rubocop-ast.rbi +1357 -0
  37. data/sorbet/rbi/gems/rubocop.rbi +7923 -0
  38. data/sorbet/rbi/gems/ruby-progressbar.rbi +304 -0
  39. data/sorbet/rbi/gems/safe_yaml.rbi +124 -0
  40. data/sorbet/rbi/gems/sassc.rbi +532 -0
  41. data/sorbet/rbi/gems/simplecov-html.rbi +35 -0
  42. data/sorbet/rbi/gems/simplecov.rbi +419 -0
  43. data/sorbet/rbi/gems/unicode-display_width.rbi +22 -0
  44. data/sorbet/rbi/hidden-definitions/errors.txt +3569 -24800
  45. data/sorbet/rbi/hidden-definitions/hidden.rbi +7254 -39093
  46. data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
  47. data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
  48. data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +7799 -0
  49. data/sorbet/rbi/todo.rbi +6 -0
  50. metadata +44 -4
  51. data/Gemfile.lock +0 -134
  52. data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +0 -2072
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3e6e32ee6fa9990ede5645a8601244e46f7fd8adcbcc883861e71bc68a43489
4
- data.tar.gz: 6fe038ea0cf31ccab0deaf6409095c527efd92fe4a2b8d2f8243d217bbe6dbcb
3
+ metadata.gz: 0a4cad22c256b7cc18db399a4a2b340fb2fb16200c8e9fd294e85c28db30391e
4
+ data.tar.gz: 8a14087bab136642c7e828ad8f1efc62472ae77c34f72095018b78b2577fddf5
5
5
  SHA512:
6
- metadata.gz: 1d3d8d30543f19afa9ec01fe3b82be4520665c2ae40a4b008b9e3148166997b82c049dd5cd28bf321d00d0fda8b342a31960b1a7cc904cb5134067723ba290ec
7
- data.tar.gz: 69535fa1df4de255e0941e573d2f3bc9b1db27074ec6312367759342b208c7f2087bd63c72f6343024f92cfe2ce9fe9ec200f36d11f9ad2f44459e7559d77485
6
+ metadata.gz: b0764ca7ae5c6803b46e98c1bf822e889f2f7160448fb3abc269c8e0ee4cdaa48f716728148da4d7d3def88c1bd870ab6ae63a9c9e17e424d454eecaf4397768
7
+ data.tar.gz: 0d5b5d1d21c78e8b4dbbc1f301ba6b1344ad9f01708fd67a7647a35f54af985cba03108a69f8ffc7e2cdd7aafd358cf78f3979df798c566406a984ef21a20632
data/.gitignore CHANGED
@@ -9,3 +9,5 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+
13
+ Gemfile.lock
data/.travis.yml CHANGED
@@ -8,7 +8,6 @@ rvm:
8
8
 
9
9
  # adopt future bundler 3 config style
10
10
  before_install:
11
- - bundle config set deployment 'true' # expect Gemfile.lock to be up-to-date for testing
12
11
  - bundle config set path ${BUNDLE_PATH:-vendor/bundle}
13
12
  - bundle config set jobs 3
14
13
  - bundle config set retry 3
@@ -66,6 +66,8 @@ class CheesyGallery::Generator < Jekyll::Generator
66
66
 
67
67
  # attach images
68
68
  doc.data['images'] = files_by_dirname[gallery_path]
69
+ doc.data['thumbnail_source'] = doc.data['images']&.select { |i| i.name == 'thumbnail.jpg' }&.first || doc.data['images']&.first
70
+ doc.data['images']&.reject! { |i| i.name == 'thumbnail.jpg' }
69
71
 
70
72
  # attach parent
71
73
  parent = if gallery_path == collection.relative_directory
@@ -77,13 +79,13 @@ class CheesyGallery::Generator < Jekyll::Generator
77
79
  doc.data['parent'] = parent
78
80
  galleries_by_parent[parent] << doc
79
81
 
80
- # add thumbnail when there are images
81
- next if doc.data['images'].nil?
82
+ # only add thumbnail when there is a thumbnail source
83
+ next unless doc.data['thumbnail_source']
82
84
 
83
85
  collection.files << doc.data['thumbnail'] = CheesyGallery::ImageThumb.new(
84
86
  site,
85
87
  collection,
86
- doc.data['images'].first,
88
+ doc.data['thumbnail_source'],
87
89
  '_index.jpg',
88
90
  collection.metadata['gallery_thumbnail_size'] || 72,
89
91
  collection.metadata['gallery_thumbnail_size'] || 72,
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module CheesyGallery
5
- VERSION = '0.6.0'
5
+ VERSION = '0.7.0'
6
6
  end
@@ -0,0 +1,147 @@
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
@@ -0,0 +1,49 @@
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
@@ -0,0 +1,49 @@
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.1
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
@@ -0,0 +1,285 @@
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