zelkova 0.1.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 +7 -0
- data/.gitignore +11 -0
- data/.rubocop.yml +57 -0
- data/.travis.yml +6 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +19 -0
- data/Gemfile.lock +173 -0
- data/LICENSE.txt +21 -0
- data/README.md +53 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/bin/tapioca +27 -0
- data/lib/zelkova/edge.rb +26 -0
- data/lib/zelkova/graph.rb +104 -0
- data/lib/zelkova/node.rb +32 -0
- data/lib/zelkova/version.rb +4 -0
- data/lib/zelkova.rb +10 -0
- data/sorbet/config +3 -0
- data/sorbet/rbi/gems/byebug.rbi +1041 -0
- data/sorbet/rbi/gems/climate_control.rbi +46 -0
- data/sorbet/rbi/gems/coderay.rbi +92 -0
- data/sorbet/rbi/gems/eikon.rbi +48 -0
- data/sorbet/rbi/gems/ffi.rbi +560 -0
- data/sorbet/rbi/gems/method_source.rbi +64 -0
- data/sorbet/rbi/gems/minitest.rbi +422 -0
- data/sorbet/rbi/gems/pry.rbi +1949 -0
- data/sorbet/rbi/gems/rake.rbi +645 -0
- data/sorbet/rbi/gems/ruby-vips.rbi +656 -0
- data/sorbet/rbi/gems/ruby_jard.rbi +681 -0
- data/sorbet/rbi/gems/terrapin.rbi +116 -0
- data/sorbet/rbi/gems/tty-screen.rbi +66 -0
- data/sorbet/rbi/gems/zelkova.rbi +15 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +34600 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +17564 -0
- data/sorbet/rbi/sorbet-typed/lib/actionpack/all/actionpack.rbi +1138 -0
- data/sorbet/rbi/sorbet-typed/lib/actionview/all/actionview.rbi +408 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6/activesupport.rbi +37 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1850 -0
- data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
- data/sorbet/rbi/sorbet-typed/lib/railties/>=6.1/railties.rbi +15 -0
- data/sorbet/rbi/sorbet-typed/lib/railties/all/railties.rbi +110 -0
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
- data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +12 -0
- data/sorbet/rbi/sorbet-typed/lib/rubocop-performance/~>1.6/rubocop-performance.rbi +149 -0
- data/sorbet/rbi/sorbet-typed/lib/rubocop-rails/~>2.5/rubocop-rails.rbi +328 -0
- data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
- data/sorbet/rbi/sorbet-typed/lib/yard/all/yard.rbi +32 -0
- data/sorbet/rbi/todo.rbi +15 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- data/zelkova.gemspec +31 -0
- metadata +110 -0
@@ -0,0 +1,46 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: ignore
|
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/climate_control/all/climate_control.rbi
|
9
|
+
#
|
10
|
+
# climate_control-0.2.0
|
11
|
+
|
12
|
+
module ClimateControl
|
13
|
+
def self.env; end
|
14
|
+
def self.modify(environment_overrides, &block); end
|
15
|
+
end
|
16
|
+
class ClimateControl::Environment
|
17
|
+
def [](*args, ****, &block); end
|
18
|
+
def []=(*args, ****, &block); end
|
19
|
+
def delete(*args, ****, &block); end
|
20
|
+
def env; end
|
21
|
+
def initialize; end
|
22
|
+
def synchronize; end
|
23
|
+
def to_hash(*args, ****, &block); end
|
24
|
+
extend Forwardable
|
25
|
+
end
|
26
|
+
class ClimateControl::UnassignableValueError < ArgumentError
|
27
|
+
end
|
28
|
+
class ClimateControl::Modifier
|
29
|
+
def cache_environment_after_block; end
|
30
|
+
def clone_environment; end
|
31
|
+
def copy_overrides_to_environment; end
|
32
|
+
def delete_keys_that_do_not_belong; end
|
33
|
+
def initialize(env, environment_overrides = nil, &block); end
|
34
|
+
def keys_changed_by_block; end
|
35
|
+
def keys_to_remove; end
|
36
|
+
def prepare_environment_for_block; end
|
37
|
+
def process; end
|
38
|
+
def revert_changed_keys; end
|
39
|
+
def run_block; end
|
40
|
+
def stringify_keys(env); end
|
41
|
+
end
|
42
|
+
class ClimateControl::Modifier::OverlappingKeysWithChangedValues
|
43
|
+
def initialize(hash_1, hash_2); end
|
44
|
+
def keys; end
|
45
|
+
def overlapping_keys; end
|
46
|
+
end
|
@@ -0,0 +1,92 @@
|
|
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/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::PluginHost
|
26
|
+
def [](id, *args, &blk); end
|
27
|
+
def all_plugins; end
|
28
|
+
def const_missing(const); end
|
29
|
+
def default(id = nil); end
|
30
|
+
def list; end
|
31
|
+
def load(id, *args, &blk); end
|
32
|
+
def load_all; end
|
33
|
+
def load_plugin_map; end
|
34
|
+
def make_plugin_hash; end
|
35
|
+
def map(hash); end
|
36
|
+
def path_to(plugin_id); end
|
37
|
+
def plugin_hash; end
|
38
|
+
def plugin_path(*args); end
|
39
|
+
def register(plugin, id); end
|
40
|
+
def self.extended(mod); end
|
41
|
+
def validate_id(id); end
|
42
|
+
end
|
43
|
+
class CodeRay::PluginHost::PluginNotFound < LoadError
|
44
|
+
end
|
45
|
+
class CodeRay::PluginHost::HostNotFound < LoadError
|
46
|
+
end
|
47
|
+
module CodeRay::Encoders
|
48
|
+
extend CodeRay::PluginHost
|
49
|
+
end
|
50
|
+
module CodeRay::Plugin
|
51
|
+
def aliases; end
|
52
|
+
def plugin_host(host = nil); end
|
53
|
+
def plugin_id; end
|
54
|
+
def register_for(id); end
|
55
|
+
def title(title = nil); end
|
56
|
+
end
|
57
|
+
class CodeRay::Encoders::Encoder
|
58
|
+
def <<(token); end
|
59
|
+
def begin_group(kind); end
|
60
|
+
def begin_line(kind); end
|
61
|
+
def compile(tokens, options = nil); end
|
62
|
+
def encode(code, lang, options = nil); end
|
63
|
+
def encode_tokens(tokens, options = nil); end
|
64
|
+
def end_group(kind); end
|
65
|
+
def end_line(kind); end
|
66
|
+
def file_extension; end
|
67
|
+
def finish(options); end
|
68
|
+
def get_output(options); end
|
69
|
+
def highlight(code, lang, options = nil); end
|
70
|
+
def initialize(options = nil); end
|
71
|
+
def options; end
|
72
|
+
def options=(arg0); end
|
73
|
+
def output(data); end
|
74
|
+
def scanner; end
|
75
|
+
def scanner=(arg0); end
|
76
|
+
def self.const_missing(sym); end
|
77
|
+
def self.file_extension; end
|
78
|
+
def setup(options); end
|
79
|
+
def text_token(text, kind); end
|
80
|
+
def token(content, kind); end
|
81
|
+
def tokens(tokens, options = nil); end
|
82
|
+
extend CodeRay::Plugin
|
83
|
+
end
|
84
|
+
class CodeRay::Encoders::Terminal < CodeRay::Encoders::Encoder
|
85
|
+
def begin_group(kind); end
|
86
|
+
def begin_line(kind); end
|
87
|
+
def end_group(kind); end
|
88
|
+
def end_line(kind); end
|
89
|
+
def open_token(kind); end
|
90
|
+
def setup(options); end
|
91
|
+
def text_token(text, kind); end
|
92
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: ignore
|
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/eikon/all/eikon.rbi
|
9
|
+
#
|
10
|
+
# eikon-b84194a7cee7
|
11
|
+
|
12
|
+
module Eikon
|
13
|
+
def self.dhash_for_image(*args, ****, &blk); end
|
14
|
+
def self.dhash_for_video(*args, ****, &blk); end
|
15
|
+
def self.distance_between_files(*args, ****, &blk); end
|
16
|
+
extend T::Private::Methods::MethodHooks
|
17
|
+
extend T::Private::Methods::SingletonMethodHooks
|
18
|
+
extend T::Sig
|
19
|
+
end
|
20
|
+
class Eikon::Comparator
|
21
|
+
def self.compare(*args, ****, &blk); end
|
22
|
+
extend T::Private::Methods::MethodHooks
|
23
|
+
extend T::Private::Methods::SingletonMethodHooks
|
24
|
+
extend T::Sig
|
25
|
+
end
|
26
|
+
class Eikon::VideoProcessor
|
27
|
+
def file_name(*args, ****, &blk); end
|
28
|
+
def get_file_name(*args, ****, &blk); end
|
29
|
+
def get_frames_dhash(*args, ****, &blk); end
|
30
|
+
def initialize(*args, ****, &blk); end
|
31
|
+
def setup_tmp_folder(*args, ****, &blk); end
|
32
|
+
def split_video_into_images(*args, ****, &blk); end
|
33
|
+
extend T::Private::Methods::MethodHooks
|
34
|
+
extend T::Private::Methods::SingletonMethodHooks
|
35
|
+
extend T::Sig
|
36
|
+
end
|
37
|
+
class Eikon::ImageProcessor
|
38
|
+
def byte_array(*args, ****, &blk); end
|
39
|
+
def filename(*args, ****, &blk); end
|
40
|
+
def generate_byte_array(*args, ****, &blk); end
|
41
|
+
def initialize(*args, ****, &blk); end
|
42
|
+
def preprocess_image(*args, ****, &blk); end
|
43
|
+
extend T::Private::Methods::MethodHooks
|
44
|
+
extend T::Private::Methods::SingletonMethodHooks
|
45
|
+
extend T::Sig
|
46
|
+
end
|
47
|
+
class Eikon::Error < StandardError
|
48
|
+
end
|