checkoff 0.223.0 → 0.225.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/checkoff.gemspec +10 -5
- data/lib/checkoff/cli.rb +1 -1
- data/lib/checkoff/clients.rb +1 -1
- data/lib/checkoff/custom_fields.rb +1 -1
- data/lib/checkoff/events.rb +1 -1
- data/lib/checkoff/internal/config_loader.rb +2 -3
- data/lib/checkoff/internal/selector_classes/section/function_evaluator.rb +3 -2
- data/lib/checkoff/my_tasks.rb +1 -1
- data/lib/checkoff/portfolios.rb +11 -9
- data/lib/checkoff/projects.rb +1 -1
- data/lib/checkoff/sections.rb +3 -4
- data/lib/checkoff/tags.rb +66 -17
- data/lib/checkoff/tasks.rb +1 -1
- data/lib/checkoff/version.rb +1 -1
- data/lib/checkoff/workspaces.rb +1 -1
- data/rbi/checkoff.rbi +4529 -0
- data/sig/checkoff.rbs +3749 -0
- metadata +4 -210
- data/.circleci/config.yml +0 -291
- data/.envrc +0 -9
- data/.git-hooks/pre_commit/circle_ci.rb +0 -26
- data/.git-hooks/pre_commit/punchlist.rb +0 -52
- data/.git-hooks/pre_commit/solargraph_typecheck.rb +0 -77
- data/.gitattributes +0 -6
- data/.gitignore +0 -65
- data/.markdownlint_style.rb +0 -4
- data/.mdlrc +0 -1
- data/.overcommit.yml +0 -115
- data/.rubocop.yml +0 -143
- data/.rubocop_todo.yml +0 -90
- data/.solargraph.yml +0 -35
- data/.yamllint.yml +0 -8
- data/.yardopts +0 -2
- data/CODE_OF_CONDUCT.md +0 -133
- data/CONTRIBUTING.rst +0 -75
- data/DEVELOPMENT.md +0 -69
- data/GLOSSARY.md +0 -16
- data/Gemfile +0 -67
- data/Gemfile.lock +0 -351
- data/LICENSE +0 -21
- data/Makefile +0 -139
- data/bin/brakeman +0 -27
- data/bin/bump +0 -29
- data/bin/checkoff +0 -29
- data/bin/console +0 -15
- data/bin/overcommit +0 -29
- data/bin/overcommit_branch +0 -114
- data/bin/rake +0 -29
- data/bin/rubocop +0 -27
- data/bin/setup +0 -8
- data/bin/solargraph +0 -27
- data/bin/sord +0 -27
- data/bin/spoom +0 -27
- data/bin/srb +0 -27
- data/bin/srb-rbi +0 -27
- data/bin/tapioca +0 -27
- data/bin/yard +0 -27
- data/config/annotations_asana.rb +0 -253
- data/config/annotations_misc.rb +0 -68
- data/config/env.1p +0 -2
- data/docs/.gitignore +0 -3
- data/docs/cookiecutter_input.json +0 -17
- data/docs/example_project.png +0 -0
- data/fix.sh +0 -534
- data/metrics/bigfiles_high_water_mark +0 -1
- data/metrics/brakeman_high_water_mark +0 -1
- data/metrics/bundle-audit_high_water_mark +0 -1
- data/metrics/cane_high_water_mark +0 -1
- data/metrics/eslint_high_water_mark +0 -1
- data/metrics/flake8_high_water_mark +0 -1
- data/metrics/flay_high_water_mark +0 -1
- data/metrics/flog_high_water_mark +0 -1
- data/metrics/jscs_high_water_mark +0 -1
- data/metrics/mdl_high_water_mark +0 -1
- data/metrics/pep8_high_water_mark +0 -1
- data/metrics/punchlist_high_water_mark +0 -1
- data/metrics/pycodestyle_high_water_mark +0 -1
- data/metrics/rails_best_practices_high_water_mark +0 -1
- data/metrics/rubocop_high_water_mark +0 -1
- data/metrics/scalastyle_high_water_mark +0 -1
- data/metrics/shellcheck_high_water_mark +0 -1
- data/package.json +0 -9
- data/rakelib/citest.rake +0 -4
- data/rakelib/clear_metrics.rake +0 -9
- data/rakelib/console.rake +0 -15
- data/rakelib/default.rake +0 -4
- data/rakelib/doc.rake +0 -6
- data/rakelib/gem_tasks.rake +0 -3
- data/rakelib/localtest.rake +0 -4
- data/rakelib/overcommit.rake +0 -6
- data/rakelib/quality.rake +0 -4
- data/rakelib/repl.rake +0 -4
- data/rakelib/test.rake +0 -10
- data/rakelib/trigger_next_builds.rake +0 -7
- data/rakelib/undercover.rake +0 -8
- data/requirements_dev.txt +0 -2
- data/sorbet/config +0 -4
- data/sorbet/rbi/annotations/.gitattributes +0 -1
- data/sorbet/rbi/annotations/activesupport.rbi +0 -453
- data/sorbet/rbi/annotations/faraday.rbi +0 -17
- data/sorbet/rbi/annotations/minitest.rbi +0 -119
- data/sorbet/rbi/annotations/mocha.rbi +0 -34
- data/sorbet/rbi/annotations/rainbow.rbi +0 -269
- data/sorbet/rbi/annotations/webmock.rbi +0 -9
- data/sorbet/rbi/dsl/.gitattributes +0 -1
- data/sorbet/rbi/dsl/active_support/callbacks.rbi +0 -23
- data/sorbet/rbi/gems/.gitattributes +0 -1
- data/sorbet/rbi/gems/activesupport@7.1.5.rbi +0 -18746
- data/sorbet/rbi/gems/addressable@2.8.6.rbi +0 -1994
- data/sorbet/rbi/gems/ansi@1.5.0.rbi +0 -688
- data/sorbet/rbi/gems/asana@0.10.6-ab9393136d9ca59b75e42a661fdddc1c65c8f7c3.rbi +0 -6142
- data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -585
- data/sorbet/rbi/gems/backport@1.2.0.rbi +0 -523
- data/sorbet/rbi/gems/base64@0.2.0.rbi +0 -509
- data/sorbet/rbi/gems/benchmark@0.4.0.rbi +0 -618
- data/sorbet/rbi/gems/bigdecimal@3.1.5.rbi +0 -78
- data/sorbet/rbi/gems/brakeman@6.2.2.rbi +0 -222
- data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -505
- data/sorbet/rbi/gems/bump@0.10.0.rbi +0 -169
- data/sorbet/rbi/gems/cache@0.4.1.rbi +0 -211
- data/sorbet/rbi/gems/cache_method@0.2.7.rbi +0 -293
- data/sorbet/rbi/gems/chef-utils@18.3.0.rbi +0 -9
- data/sorbet/rbi/gems/childprocess@5.1.0.rbi +0 -383
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -3427
- data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -9
- data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +0 -11591
- data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +0 -9
- data/sorbet/rbi/gems/crack@0.4.5.rbi +0 -145
- data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +0 -969
- data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -377
- data/sorbet/rbi/gems/drb@2.2.1.rbi +0 -1347
- data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +0 -9
- data/sorbet/rbi/gems/erubi@1.13.0.rbi +0 -152
- data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +0 -222
- data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +0 -126
- data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +0 -136
- data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +0 -145
- data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +0 -259
- data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +0 -142
- data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +0 -118
- data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +0 -125
- data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +0 -133
- data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +0 -198
- data/sorbet/rbi/gems/faraday@1.10.3.rbi +0 -2729
- data/sorbet/rbi/gems/faraday_middleware-multi_json@0.0.6.rbi +0 -29
- data/sorbet/rbi/gems/faraday_middleware@1.2.0.rbi +0 -1004
- data/sorbet/rbi/gems/gli@2.22.0.rbi +0 -9
- data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +0 -351
- data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -9
- data/sorbet/rbi/gems/i18n@1.14.6.rbi +0 -2359
- data/sorbet/rbi/gems/imagen@0.1.8.rbi +0 -340
- data/sorbet/rbi/gems/iniparse@1.5.0.rbi +0 -899
- data/sorbet/rbi/gems/jaro_winkler@1.6.0.rbi +0 -22
- data/sorbet/rbi/gems/json@2.7.1.rbi +0 -1562
- data/sorbet/rbi/gems/jwt@2.7.1.rbi +0 -1405
- data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +0 -128
- data/sorbet/rbi/gems/kramdown@2.4.0.rbi +0 -3272
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14238
- data/sorbet/rbi/gems/logger@1.6.2.rbi +0 -923
- data/sorbet/rbi/gems/mdl@0.13.0.rbi +0 -445
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -273
- data/sorbet/rbi/gems/mime-types-data@3.2023.1205.rbi +0 -127
- data/sorbet/rbi/gems/mime-types@3.5.1.rbi +0 -1252
- data/sorbet/rbi/gems/minitest-profile@0.0.2.rbi +0 -136
- data/sorbet/rbi/gems/minitest-reporters@1.6.1.rbi +0 -1014
- data/sorbet/rbi/gems/minitest@5.21.1.rbi +0 -1539
- data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +0 -314
- data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +0 -581
- data/sorbet/rbi/gems/mixlib-shellout@3.2.7.rbi +0 -629
- data/sorbet/rbi/gems/mocha@2.1.0.rbi +0 -12
- data/sorbet/rbi/gems/multi_json@1.15.0.rbi +0 -268
- data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +0 -102
- data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +0 -234
- data/sorbet/rbi/gems/mutex_m@0.3.0.rbi +0 -97
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -159
- data/sorbet/rbi/gems/nokogiri@1.17.0.rbi +0 -8201
- data/sorbet/rbi/gems/oauth2@1.4.11.rbi +0 -833
- data/sorbet/rbi/gems/overcommit@0.64.1.rbi +0 -2400
- data/sorbet/rbi/gems/parallel@1.23.0.rbi +0 -274
- data/sorbet/rbi/gems/parlour@5.0.0.rbi +0 -3007
- data/sorbet/rbi/gems/parser@3.2.2.4.rbi +0 -7253
- data/sorbet/rbi/gems/prism@1.2.0.rbi +0 -39085
- data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -10070
- data/sorbet/rbi/gems/public_suffix@5.0.4.rbi +0 -936
- data/sorbet/rbi/gems/punchlist@1.3.2.rbi +0 -173
- data/sorbet/rbi/gems/racc@1.8.1.rbi +0 -162
- data/sorbet/rbi/gems/rack@3.1.8.rbi +0 -4896
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -403
- data/sorbet/rbi/gems/rake@13.1.0.rbi +0 -3022
- data/sorbet/rbi/gems/rbi@0.2.1.rbi +0 -4535
- data/sorbet/rbi/gems/rbs@2.8.4.rbi +0 -5613
- data/sorbet/rbi/gems/regexp_parser@2.8.3.rbi +0 -3750
- data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +0 -390
- data/sorbet/rbi/gems/rexml@3.3.9.rbi +0 -4964
- data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +0 -7127
- data/sorbet/rbi/gems/rubocop-minitest@0.34.5.rbi +0 -2577
- data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +0 -3262
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -329
- data/sorbet/rbi/gems/rubocop-rspec@3.0.0.rbi +0 -7546
- data/sorbet/rbi/gems/rubocop@1.59.0.rbi +0 -57238
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +0 -1318
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +0 -9
- data/sorbet/rbi/gems/rugged@1.6.3.rbi +0 -1577
- data/sorbet/rbi/gems/securerandom@0.4.0.rbi +0 -75
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -217
- data/sorbet/rbi/gems/simplecov-lcov@0.8.0.rbi +0 -256
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +0 -2149
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +0 -9
- data/sorbet/rbi/gems/solargraph-rails@1.1.0-9dc37915bd4f3b169046e34db6fb32193ab347d8.rbi +0 -320
- data/sorbet/rbi/gems/solargraph@0.50.1-904b9304770a59fac393c5cc3cad481e5bdf0fd8.rbi +0 -9396
- data/sorbet/rbi/gems/sord@5.1.0.rbi +0 -820
- data/sorbet/rbi/gems/source_finder@3.2.1.rbi +0 -317
- data/sorbet/rbi/gems/spoom@1.5.0.rbi +0 -4932
- data/sorbet/rbi/gems/tapioca@0.16.5.rbi +0 -3617
- data/sorbet/rbi/gems/thor@1.3.2.rbi +0 -4378
- data/sorbet/rbi/gems/tilt@2.4.0.rbi +0 -933
- data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +0 -9
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +0 -5918
- data/sorbet/rbi/gems/undercover@0.5.0.rbi +0 -433
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -66
- data/sorbet/rbi/gems/webmock@3.19.1.rbi +0 -1769
- data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +0 -435
- data/sorbet/rbi/gems/yard@0.9.37.rbi +0 -18406
- data/sorbet/rbi/todo.rbi +0 -11
- data/sorbet/tapioca/config.yml +0 -13
- data/sorbet/tapioca/require.rb +0 -4
@@ -1,340 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
|
3
|
-
# DO NOT EDIT MANUALLY
|
4
|
-
# This is an autogenerated file for types exported from the `imagen` gem.
|
5
|
-
# Please instead update this file by running `bin/tapioca gem imagen`.
|
6
|
-
|
7
|
-
|
8
|
-
# Base module
|
9
|
-
#
|
10
|
-
# source://imagen//lib/imagen/ast/parser.rb#3
|
11
|
-
module Imagen
|
12
|
-
class << self
|
13
|
-
# source://imagen//lib/imagen.rb#14
|
14
|
-
def from_local(dir); end
|
15
|
-
|
16
|
-
# source://imagen//lib/imagen.rb#18
|
17
|
-
def from_remote(repo_url); end
|
18
|
-
|
19
|
-
# Returns the value of attribute parser_version.
|
20
|
-
#
|
21
|
-
# source://imagen//lib/imagen/ast/parser.rb#7
|
22
|
-
def parser_version; end
|
23
|
-
|
24
|
-
# Sets the attribute parser_version
|
25
|
-
#
|
26
|
-
# @param value the value to set the attribute parser_version to.
|
27
|
-
#
|
28
|
-
# source://imagen//lib/imagen/ast/parser.rb#7
|
29
|
-
def parser_version=(_arg0); end
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
|
-
# source://imagen//lib/imagen/ast/parser.rb#23
|
34
|
-
module Imagen::AST; end
|
35
|
-
|
36
|
-
# An AST Builder for ruby parser.
|
37
|
-
#
|
38
|
-
# source://imagen//lib/imagen/ast/builder.rb#11
|
39
|
-
class Imagen::AST::Builder < ::Parser::Builders::Default
|
40
|
-
# This is a work around for parsing ruby code that with invlalid UTF-8
|
41
|
-
# https://github.com/whitequark/parser/issues/283
|
42
|
-
#
|
43
|
-
# source://imagen//lib/imagen/ast/builder.rb#12
|
44
|
-
def string_value(token); end
|
45
|
-
end
|
46
|
-
|
47
|
-
# source://imagen//lib/imagen/ast/parser.rb#24
|
48
|
-
class Imagen::AST::Parser
|
49
|
-
# @param parser_version [String] ruby syntax version
|
50
|
-
# @return [Parser] a new instance of Parser
|
51
|
-
#
|
52
|
-
# source://imagen//lib/imagen/ast/parser.rb#34
|
53
|
-
def initialize(parser_version = T.unsafe(nil)); end
|
54
|
-
|
55
|
-
# source://imagen//lib/imagen/ast/parser.rb#51
|
56
|
-
def parse(input, file = T.unsafe(nil)); end
|
57
|
-
|
58
|
-
# source://imagen//lib/imagen/ast/parser.rb#47
|
59
|
-
def parse_file(filename); end
|
60
|
-
|
61
|
-
# source://imagen//lib/imagen/ast/parser.rb#57
|
62
|
-
def parser; end
|
63
|
-
|
64
|
-
private
|
65
|
-
|
66
|
-
# @raise [ArgumentError]
|
67
|
-
#
|
68
|
-
# source://imagen//lib/imagen/ast/parser.rb#67
|
69
|
-
def validate_version(parser_version); end
|
70
|
-
|
71
|
-
class << self
|
72
|
-
# source://imagen//lib/imagen/ast/parser.rb#29
|
73
|
-
def parse(input, file = T.unsafe(nil)); end
|
74
|
-
|
75
|
-
# source://imagen//lib/imagen/ast/parser.rb#25
|
76
|
-
def parse_file(filename); end
|
77
|
-
end
|
78
|
-
end
|
79
|
-
|
80
|
-
# source://imagen//lib/imagen/ast/parser.rb#10
|
81
|
-
Imagen::AVAILABLE_RUBY_VERSIONS = T.let(T.unsafe(nil), Array)
|
82
|
-
|
83
|
-
# Responsible for cloning a Git repository into a given tempdir
|
84
|
-
#
|
85
|
-
# source://imagen//lib/imagen/clone.rb#10
|
86
|
-
class Imagen::Clone
|
87
|
-
# @return [Clone] a new instance of Clone
|
88
|
-
#
|
89
|
-
# source://imagen//lib/imagen/clone.rb#17
|
90
|
-
def initialize(repo_url, dirname); end
|
91
|
-
|
92
|
-
# Returns the value of attribute dir.
|
93
|
-
#
|
94
|
-
# source://imagen//lib/imagen/clone.rb#15
|
95
|
-
def dir; end
|
96
|
-
|
97
|
-
# source://imagen//lib/imagen/clone.rb#26
|
98
|
-
def perform; end
|
99
|
-
|
100
|
-
# Returns the value of attribute repo_url.
|
101
|
-
#
|
102
|
-
# source://imagen//lib/imagen/clone.rb#15
|
103
|
-
def repo_url; end
|
104
|
-
|
105
|
-
class << self
|
106
|
-
# source://imagen//lib/imagen/clone.rb#11
|
107
|
-
def perform(repo_url, dir); end
|
108
|
-
end
|
109
|
-
end
|
110
|
-
|
111
|
-
# source://imagen//lib/imagen.rb#12
|
112
|
-
Imagen::EXCLUDE_RE = T.let(T.unsafe(nil), Regexp)
|
113
|
-
|
114
|
-
# Generic clone error
|
115
|
-
#
|
116
|
-
# source://imagen//lib/imagen/clone.rb#7
|
117
|
-
class Imagen::GitError < ::StandardError; end
|
118
|
-
|
119
|
-
# source://imagen//lib/imagen/node.rb#7
|
120
|
-
module Imagen::Node; end
|
121
|
-
|
122
|
-
# Abstract base class
|
123
|
-
#
|
124
|
-
# source://imagen//lib/imagen/node.rb#9
|
125
|
-
class Imagen::Node::Base
|
126
|
-
# @return [Base] a new instance of Base
|
127
|
-
#
|
128
|
-
# source://imagen//lib/imagen/node.rb#14
|
129
|
-
def initialize; end
|
130
|
-
|
131
|
-
# Returns the value of attribute ast_node.
|
132
|
-
#
|
133
|
-
# source://imagen//lib/imagen/node.rb#10
|
134
|
-
def ast_node; end
|
135
|
-
|
136
|
-
# source://imagen//lib/imagen/node.rb#22
|
137
|
-
def build_from_ast(ast_node); end
|
138
|
-
|
139
|
-
# Returns the value of attribute children.
|
140
|
-
#
|
141
|
-
# source://imagen//lib/imagen/node.rb#10
|
142
|
-
def children; end
|
143
|
-
|
144
|
-
# source://imagen//lib/imagen/node.rb#26
|
145
|
-
def file_path; end
|
146
|
-
|
147
|
-
# source://imagen//lib/imagen/node.rb#57
|
148
|
-
def find_all(matcher, ret = T.unsafe(nil)); end
|
149
|
-
|
150
|
-
# source://imagen//lib/imagen/node.rb#30
|
151
|
-
def first_line; end
|
152
|
-
|
153
|
-
# @raise [NotImplementedError]
|
154
|
-
#
|
155
|
-
# source://imagen//lib/imagen/node.rb#18
|
156
|
-
def human_name; end
|
157
|
-
|
158
|
-
# source://imagen//lib/imagen/node.rb#38
|
159
|
-
def last_line; end
|
160
|
-
|
161
|
-
# source://imagen//lib/imagen/node.rb#34
|
162
|
-
def line_numbers; end
|
163
|
-
|
164
|
-
# Returns the value of attribute name.
|
165
|
-
#
|
166
|
-
# source://imagen//lib/imagen/node.rb#10
|
167
|
-
def name; end
|
168
|
-
|
169
|
-
# source://imagen//lib/imagen/node.rb#42
|
170
|
-
def source; end
|
171
|
-
|
172
|
-
# source://imagen//lib/imagen/node.rb#50
|
173
|
-
def source_lines; end
|
174
|
-
|
175
|
-
# source://imagen//lib/imagen/node.rb#46
|
176
|
-
def source_lines_with_numbers; end
|
177
|
-
end
|
178
|
-
|
179
|
-
# Represents a Ruby block
|
180
|
-
#
|
181
|
-
# source://imagen//lib/imagen/node.rb#167
|
182
|
-
class Imagen::Node::Block < ::Imagen::Node::Base
|
183
|
-
# source://imagen//lib/imagen/node.rb#168
|
184
|
-
def build_from_ast(_ast_node); end
|
185
|
-
|
186
|
-
# source://imagen//lib/imagen/node.rb#173
|
187
|
-
def human_name; end
|
188
|
-
|
189
|
-
private
|
190
|
-
|
191
|
-
# source://imagen//lib/imagen/node.rb#179
|
192
|
-
def args_list; end
|
193
|
-
end
|
194
|
-
|
195
|
-
# Represents a Ruby class method
|
196
|
-
#
|
197
|
-
# source://imagen//lib/imagen/node.rb#143
|
198
|
-
class Imagen::Node::CMethod < ::Imagen::Node::Base
|
199
|
-
# source://imagen//lib/imagen/node.rb#144
|
200
|
-
def build_from_ast(ast_node); end
|
201
|
-
|
202
|
-
# source://imagen//lib/imagen/node.rb#149
|
203
|
-
def human_name; end
|
204
|
-
end
|
205
|
-
|
206
|
-
# Represents a Ruby class
|
207
|
-
#
|
208
|
-
# source://imagen//lib/imagen/node.rb#131
|
209
|
-
class Imagen::Node::Class < ::Imagen::Node::Base
|
210
|
-
# source://imagen//lib/imagen/node.rb#132
|
211
|
-
def build_from_ast(ast_node); end
|
212
|
-
|
213
|
-
# source://imagen//lib/imagen/node.rb#137
|
214
|
-
def human_name; end
|
215
|
-
end
|
216
|
-
|
217
|
-
# Represents a Ruby instance method
|
218
|
-
#
|
219
|
-
# source://imagen//lib/imagen/node.rb#155
|
220
|
-
class Imagen::Node::IMethod < ::Imagen::Node::Base
|
221
|
-
# source://imagen//lib/imagen/node.rb#156
|
222
|
-
def build_from_ast(ast_node); end
|
223
|
-
|
224
|
-
# source://imagen//lib/imagen/node.rb#161
|
225
|
-
def human_name; end
|
226
|
-
end
|
227
|
-
|
228
|
-
# Represents a Ruby module
|
229
|
-
#
|
230
|
-
# source://imagen//lib/imagen/node.rb#119
|
231
|
-
class Imagen::Node::Module < ::Imagen::Node::Base
|
232
|
-
# source://imagen//lib/imagen/node.rb#120
|
233
|
-
def build_from_ast(ast_node); end
|
234
|
-
|
235
|
-
# source://imagen//lib/imagen/node.rb#125
|
236
|
-
def human_name; end
|
237
|
-
end
|
238
|
-
|
239
|
-
# Root node for a given directory
|
240
|
-
#
|
241
|
-
# source://imagen//lib/imagen/node.rb#66
|
242
|
-
class Imagen::Node::Root < ::Imagen::Node::Base
|
243
|
-
# source://imagen//lib/imagen/node.rb#76
|
244
|
-
def build_from_dir(dir); end
|
245
|
-
|
246
|
-
# source://imagen//lib/imagen/node.rb#69
|
247
|
-
def build_from_file(path); end
|
248
|
-
|
249
|
-
# Returns the value of attribute dir.
|
250
|
-
#
|
251
|
-
# source://imagen//lib/imagen/node.rb#67
|
252
|
-
def dir; end
|
253
|
-
|
254
|
-
# TODO: fix wrong inheritance
|
255
|
-
#
|
256
|
-
# source://imagen//lib/imagen/node.rb#93
|
257
|
-
def file_path; end
|
258
|
-
|
259
|
-
# source://imagen//lib/imagen/node.rb#97
|
260
|
-
def first_line; end
|
261
|
-
|
262
|
-
# source://imagen//lib/imagen/node.rb#88
|
263
|
-
def human_name; end
|
264
|
-
|
265
|
-
# source://imagen//lib/imagen/node.rb#101
|
266
|
-
def last_line; end
|
267
|
-
|
268
|
-
# source://imagen//lib/imagen/node.rb#105
|
269
|
-
def source; end
|
270
|
-
|
271
|
-
private
|
272
|
-
|
273
|
-
# source://imagen//lib/imagen/node.rb#111
|
274
|
-
def list_files; end
|
275
|
-
end
|
276
|
-
|
277
|
-
# RemoteBuilder is responsible for wrapping all operations to create code
|
278
|
-
# structure for a remote git repository.
|
279
|
-
#
|
280
|
-
# source://imagen//lib/imagen/remote_builder.rb#9
|
281
|
-
class Imagen::RemoteBuilder
|
282
|
-
# @return [RemoteBuilder] a new instance of RemoteBuilder
|
283
|
-
#
|
284
|
-
# source://imagen//lib/imagen/remote_builder.rb#12
|
285
|
-
def initialize(repo_url); end
|
286
|
-
|
287
|
-
# source://imagen//lib/imagen/remote_builder.rb#17
|
288
|
-
def build; end
|
289
|
-
|
290
|
-
# Returns the value of attribute dir.
|
291
|
-
#
|
292
|
-
# source://imagen//lib/imagen/remote_builder.rb#10
|
293
|
-
def dir; end
|
294
|
-
|
295
|
-
# Returns the value of attribute repo_url.
|
296
|
-
#
|
297
|
-
# source://imagen//lib/imagen/remote_builder.rb#10
|
298
|
-
def repo_url; end
|
299
|
-
|
300
|
-
private
|
301
|
-
|
302
|
-
# source://imagen//lib/imagen/remote_builder.rb#24
|
303
|
-
def teardown; end
|
304
|
-
end
|
305
|
-
|
306
|
-
# AST Traversal that calls respective builder methods from Imagen::Node
|
307
|
-
#
|
308
|
-
# source://imagen//lib/imagen/visitor.rb#5
|
309
|
-
class Imagen::Visitor
|
310
|
-
# Returns the value of attribute current_root.
|
311
|
-
#
|
312
|
-
# source://imagen//lib/imagen/visitor.rb#14
|
313
|
-
def current_root; end
|
314
|
-
|
315
|
-
# Returns the value of attribute file_path.
|
316
|
-
#
|
317
|
-
# source://imagen//lib/imagen/visitor.rb#14
|
318
|
-
def file_path; end
|
319
|
-
|
320
|
-
# Returns the value of attribute root.
|
321
|
-
#
|
322
|
-
# source://imagen//lib/imagen/visitor.rb#14
|
323
|
-
def root; end
|
324
|
-
|
325
|
-
# source://imagen//lib/imagen/visitor.rb#21
|
326
|
-
def traverse(ast_node, parent); end
|
327
|
-
|
328
|
-
# This method reeks of :reek:UtilityFunction
|
329
|
-
#
|
330
|
-
# source://imagen//lib/imagen/visitor.rb#29
|
331
|
-
def visit(ast_node, parent); end
|
332
|
-
|
333
|
-
class << self
|
334
|
-
# source://imagen//lib/imagen/visitor.rb#16
|
335
|
-
def traverse(ast, root); end
|
336
|
-
end
|
337
|
-
end
|
338
|
-
|
339
|
-
# source://imagen//lib/imagen/visitor.rb#6
|
340
|
-
Imagen::Visitor::TYPES = T.let(T.unsafe(nil), Hash)
|