checkoff 0.223.0 → 0.225.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (227) hide show
  1. checksums.yaml +4 -4
  2. data/checkoff.gemspec +10 -5
  3. data/lib/checkoff/cli.rb +1 -1
  4. data/lib/checkoff/clients.rb +1 -1
  5. data/lib/checkoff/custom_fields.rb +1 -1
  6. data/lib/checkoff/events.rb +1 -1
  7. data/lib/checkoff/internal/config_loader.rb +2 -3
  8. data/lib/checkoff/internal/selector_classes/section/function_evaluator.rb +3 -2
  9. data/lib/checkoff/my_tasks.rb +1 -1
  10. data/lib/checkoff/portfolios.rb +11 -9
  11. data/lib/checkoff/projects.rb +1 -1
  12. data/lib/checkoff/sections.rb +3 -4
  13. data/lib/checkoff/tags.rb +66 -17
  14. data/lib/checkoff/tasks.rb +1 -1
  15. data/lib/checkoff/version.rb +1 -1
  16. data/lib/checkoff/workspaces.rb +1 -1
  17. data/rbi/checkoff.rbi +4529 -0
  18. data/sig/checkoff.rbs +3749 -0
  19. metadata +4 -210
  20. data/.circleci/config.yml +0 -291
  21. data/.envrc +0 -9
  22. data/.git-hooks/pre_commit/circle_ci.rb +0 -26
  23. data/.git-hooks/pre_commit/punchlist.rb +0 -52
  24. data/.git-hooks/pre_commit/solargraph_typecheck.rb +0 -77
  25. data/.gitattributes +0 -6
  26. data/.gitignore +0 -65
  27. data/.markdownlint_style.rb +0 -4
  28. data/.mdlrc +0 -1
  29. data/.overcommit.yml +0 -115
  30. data/.rubocop.yml +0 -143
  31. data/.rubocop_todo.yml +0 -90
  32. data/.solargraph.yml +0 -35
  33. data/.yamllint.yml +0 -8
  34. data/.yardopts +0 -2
  35. data/CODE_OF_CONDUCT.md +0 -133
  36. data/CONTRIBUTING.rst +0 -75
  37. data/DEVELOPMENT.md +0 -69
  38. data/GLOSSARY.md +0 -16
  39. data/Gemfile +0 -67
  40. data/Gemfile.lock +0 -351
  41. data/LICENSE +0 -21
  42. data/Makefile +0 -139
  43. data/bin/brakeman +0 -27
  44. data/bin/bump +0 -29
  45. data/bin/checkoff +0 -29
  46. data/bin/console +0 -15
  47. data/bin/overcommit +0 -29
  48. data/bin/overcommit_branch +0 -114
  49. data/bin/rake +0 -29
  50. data/bin/rubocop +0 -27
  51. data/bin/setup +0 -8
  52. data/bin/solargraph +0 -27
  53. data/bin/sord +0 -27
  54. data/bin/spoom +0 -27
  55. data/bin/srb +0 -27
  56. data/bin/srb-rbi +0 -27
  57. data/bin/tapioca +0 -27
  58. data/bin/yard +0 -27
  59. data/config/annotations_asana.rb +0 -253
  60. data/config/annotations_misc.rb +0 -68
  61. data/config/env.1p +0 -2
  62. data/docs/.gitignore +0 -3
  63. data/docs/cookiecutter_input.json +0 -17
  64. data/docs/example_project.png +0 -0
  65. data/fix.sh +0 -534
  66. data/metrics/bigfiles_high_water_mark +0 -1
  67. data/metrics/brakeman_high_water_mark +0 -1
  68. data/metrics/bundle-audit_high_water_mark +0 -1
  69. data/metrics/cane_high_water_mark +0 -1
  70. data/metrics/eslint_high_water_mark +0 -1
  71. data/metrics/flake8_high_water_mark +0 -1
  72. data/metrics/flay_high_water_mark +0 -1
  73. data/metrics/flog_high_water_mark +0 -1
  74. data/metrics/jscs_high_water_mark +0 -1
  75. data/metrics/mdl_high_water_mark +0 -1
  76. data/metrics/pep8_high_water_mark +0 -1
  77. data/metrics/punchlist_high_water_mark +0 -1
  78. data/metrics/pycodestyle_high_water_mark +0 -1
  79. data/metrics/rails_best_practices_high_water_mark +0 -1
  80. data/metrics/rubocop_high_water_mark +0 -1
  81. data/metrics/scalastyle_high_water_mark +0 -1
  82. data/metrics/shellcheck_high_water_mark +0 -1
  83. data/package.json +0 -9
  84. data/rakelib/citest.rake +0 -4
  85. data/rakelib/clear_metrics.rake +0 -9
  86. data/rakelib/console.rake +0 -15
  87. data/rakelib/default.rake +0 -4
  88. data/rakelib/doc.rake +0 -6
  89. data/rakelib/gem_tasks.rake +0 -3
  90. data/rakelib/localtest.rake +0 -4
  91. data/rakelib/overcommit.rake +0 -6
  92. data/rakelib/quality.rake +0 -4
  93. data/rakelib/repl.rake +0 -4
  94. data/rakelib/test.rake +0 -10
  95. data/rakelib/trigger_next_builds.rake +0 -7
  96. data/rakelib/undercover.rake +0 -8
  97. data/requirements_dev.txt +0 -2
  98. data/sorbet/config +0 -4
  99. data/sorbet/rbi/annotations/.gitattributes +0 -1
  100. data/sorbet/rbi/annotations/activesupport.rbi +0 -453
  101. data/sorbet/rbi/annotations/faraday.rbi +0 -17
  102. data/sorbet/rbi/annotations/minitest.rbi +0 -119
  103. data/sorbet/rbi/annotations/mocha.rbi +0 -34
  104. data/sorbet/rbi/annotations/rainbow.rbi +0 -269
  105. data/sorbet/rbi/annotations/webmock.rbi +0 -9
  106. data/sorbet/rbi/dsl/.gitattributes +0 -1
  107. data/sorbet/rbi/dsl/active_support/callbacks.rbi +0 -23
  108. data/sorbet/rbi/gems/.gitattributes +0 -1
  109. data/sorbet/rbi/gems/activesupport@7.1.5.rbi +0 -18746
  110. data/sorbet/rbi/gems/addressable@2.8.6.rbi +0 -1994
  111. data/sorbet/rbi/gems/ansi@1.5.0.rbi +0 -688
  112. data/sorbet/rbi/gems/asana@0.10.6-ab9393136d9ca59b75e42a661fdddc1c65c8f7c3.rbi +0 -6142
  113. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -585
  114. data/sorbet/rbi/gems/backport@1.2.0.rbi +0 -523
  115. data/sorbet/rbi/gems/base64@0.2.0.rbi +0 -509
  116. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +0 -618
  117. data/sorbet/rbi/gems/bigdecimal@3.1.5.rbi +0 -78
  118. data/sorbet/rbi/gems/brakeman@6.2.2.rbi +0 -222
  119. data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -505
  120. data/sorbet/rbi/gems/bump@0.10.0.rbi +0 -169
  121. data/sorbet/rbi/gems/cache@0.4.1.rbi +0 -211
  122. data/sorbet/rbi/gems/cache_method@0.2.7.rbi +0 -293
  123. data/sorbet/rbi/gems/chef-utils@18.3.0.rbi +0 -9
  124. data/sorbet/rbi/gems/childprocess@5.1.0.rbi +0 -383
  125. data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -3427
  126. data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -9
  127. data/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi +0 -11591
  128. data/sorbet/rbi/gems/connection_pool@2.4.1.rbi +0 -9
  129. data/sorbet/rbi/gems/crack@0.4.5.rbi +0 -145
  130. data/sorbet/rbi/gems/diff-lcs@1.5.1.rbi +0 -969
  131. data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -377
  132. data/sorbet/rbi/gems/drb@2.2.1.rbi +0 -1347
  133. data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +0 -9
  134. data/sorbet/rbi/gems/erubi@1.13.0.rbi +0 -152
  135. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +0 -222
  136. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +0 -126
  137. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +0 -136
  138. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +0 -145
  139. data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +0 -259
  140. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +0 -142
  141. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +0 -118
  142. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +0 -125
  143. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +0 -133
  144. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +0 -198
  145. data/sorbet/rbi/gems/faraday@1.10.3.rbi +0 -2729
  146. data/sorbet/rbi/gems/faraday_middleware-multi_json@0.0.6.rbi +0 -29
  147. data/sorbet/rbi/gems/faraday_middleware@1.2.0.rbi +0 -1004
  148. data/sorbet/rbi/gems/gli@2.22.0.rbi +0 -9
  149. data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +0 -351
  150. data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -9
  151. data/sorbet/rbi/gems/i18n@1.14.6.rbi +0 -2359
  152. data/sorbet/rbi/gems/imagen@0.1.8.rbi +0 -340
  153. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +0 -899
  154. data/sorbet/rbi/gems/jaro_winkler@1.6.0.rbi +0 -22
  155. data/sorbet/rbi/gems/json@2.7.1.rbi +0 -1562
  156. data/sorbet/rbi/gems/jwt@2.7.1.rbi +0 -1405
  157. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +0 -128
  158. data/sorbet/rbi/gems/kramdown@2.4.0.rbi +0 -3272
  159. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14238
  160. data/sorbet/rbi/gems/logger@1.6.2.rbi +0 -923
  161. data/sorbet/rbi/gems/mdl@0.13.0.rbi +0 -445
  162. data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -273
  163. data/sorbet/rbi/gems/mime-types-data@3.2023.1205.rbi +0 -127
  164. data/sorbet/rbi/gems/mime-types@3.5.1.rbi +0 -1252
  165. data/sorbet/rbi/gems/minitest-profile@0.0.2.rbi +0 -136
  166. data/sorbet/rbi/gems/minitest-reporters@1.6.1.rbi +0 -1014
  167. data/sorbet/rbi/gems/minitest@5.21.1.rbi +0 -1539
  168. data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +0 -314
  169. data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +0 -581
  170. data/sorbet/rbi/gems/mixlib-shellout@3.2.7.rbi +0 -629
  171. data/sorbet/rbi/gems/mocha@2.1.0.rbi +0 -12
  172. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +0 -268
  173. data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +0 -102
  174. data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +0 -234
  175. data/sorbet/rbi/gems/mutex_m@0.3.0.rbi +0 -97
  176. data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -159
  177. data/sorbet/rbi/gems/nokogiri@1.17.0.rbi +0 -8201
  178. data/sorbet/rbi/gems/oauth2@1.4.11.rbi +0 -833
  179. data/sorbet/rbi/gems/overcommit@0.64.1.rbi +0 -2400
  180. data/sorbet/rbi/gems/parallel@1.23.0.rbi +0 -274
  181. data/sorbet/rbi/gems/parlour@5.0.0.rbi +0 -3007
  182. data/sorbet/rbi/gems/parser@3.2.2.4.rbi +0 -7253
  183. data/sorbet/rbi/gems/prism@1.2.0.rbi +0 -39085
  184. data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -10070
  185. data/sorbet/rbi/gems/public_suffix@5.0.4.rbi +0 -936
  186. data/sorbet/rbi/gems/punchlist@1.3.2.rbi +0 -173
  187. data/sorbet/rbi/gems/racc@1.8.1.rbi +0 -162
  188. data/sorbet/rbi/gems/rack@3.1.8.rbi +0 -4896
  189. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -403
  190. data/sorbet/rbi/gems/rake@13.1.0.rbi +0 -3022
  191. data/sorbet/rbi/gems/rbi@0.2.1.rbi +0 -4535
  192. data/sorbet/rbi/gems/rbs@2.8.4.rbi +0 -5613
  193. data/sorbet/rbi/gems/regexp_parser@2.8.3.rbi +0 -3750
  194. data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +0 -390
  195. data/sorbet/rbi/gems/rexml@3.3.9.rbi +0 -4964
  196. data/sorbet/rbi/gems/rubocop-ast@1.30.0.rbi +0 -7127
  197. data/sorbet/rbi/gems/rubocop-minitest@0.34.5.rbi +0 -2577
  198. data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +0 -3262
  199. data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -329
  200. data/sorbet/rbi/gems/rubocop-rspec@3.0.0.rbi +0 -7546
  201. data/sorbet/rbi/gems/rubocop@1.59.0.rbi +0 -57238
  202. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +0 -1318
  203. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +0 -9
  204. data/sorbet/rbi/gems/rugged@1.6.3.rbi +0 -1577
  205. data/sorbet/rbi/gems/securerandom@0.4.0.rbi +0 -75
  206. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -217
  207. data/sorbet/rbi/gems/simplecov-lcov@0.8.0.rbi +0 -256
  208. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +0 -2149
  209. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +0 -9
  210. data/sorbet/rbi/gems/solargraph-rails@1.1.0-9dc37915bd4f3b169046e34db6fb32193ab347d8.rbi +0 -320
  211. data/sorbet/rbi/gems/solargraph@0.50.1-904b9304770a59fac393c5cc3cad481e5bdf0fd8.rbi +0 -9396
  212. data/sorbet/rbi/gems/sord@5.1.0.rbi +0 -820
  213. data/sorbet/rbi/gems/source_finder@3.2.1.rbi +0 -317
  214. data/sorbet/rbi/gems/spoom@1.5.0.rbi +0 -4932
  215. data/sorbet/rbi/gems/tapioca@0.16.5.rbi +0 -3617
  216. data/sorbet/rbi/gems/thor@1.3.2.rbi +0 -4378
  217. data/sorbet/rbi/gems/tilt@2.4.0.rbi +0 -933
  218. data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +0 -9
  219. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +0 -5918
  220. data/sorbet/rbi/gems/undercover@0.5.0.rbi +0 -433
  221. data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -66
  222. data/sorbet/rbi/gems/webmock@3.19.1.rbi +0 -1769
  223. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +0 -435
  224. data/sorbet/rbi/gems/yard@0.9.37.rbi +0 -18406
  225. data/sorbet/rbi/todo.rbi +0 -11
  226. data/sorbet/tapioca/config.yml +0 -13
  227. data/sorbet/tapioca/require.rb +0 -4
@@ -1,1577 +0,0 @@
1
- # typed: true
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `rugged` gem.
5
- # Please instead update this file by running `bin/tapioca gem rugged`.
6
-
7
-
8
- # source://rugged//lib/rugged/index.rb#6
9
- module Rugged
10
- private
11
-
12
- def __cache_usage__; end
13
- def dotgit_attributes?(_arg0); end
14
- def dotgit_ignore?(_arg0); end
15
- def dotgit_modules?(_arg0); end
16
- def features; end
17
- def hex_to_raw(_arg0); end
18
- def libgit2_prerelease; end
19
- def libgit2_version; end
20
- def minimize_oid(*_arg0); end
21
- def prettify_message(*_arg0); end
22
- def raw_to_hex(_arg0); end
23
- def signature_from_buffer(*_arg0); end
24
- def valid_full_oid?(_arg0); end
25
-
26
- class << self
27
- def __cache_usage__; end
28
- def dotgit_attributes?(_arg0); end
29
- def dotgit_ignore?(_arg0); end
30
- def dotgit_modules?(_arg0); end
31
- def features; end
32
- def hex_to_raw(_arg0); end
33
- def libgit2_prerelease; end
34
- def libgit2_version; end
35
- def minimize_oid(*_arg0); end
36
- def prettify_message(*_arg0); end
37
- def raw_to_hex(_arg0); end
38
- def signature_from_buffer(*_arg0); end
39
- def valid_full_oid?(_arg0); end
40
- end
41
- end
42
-
43
- class Rugged::Backend; end
44
-
45
- class Rugged::Blame
46
- include ::Enumerable
47
-
48
- def [](_arg0); end
49
- def count; end
50
- def each; end
51
- def for_line(_arg0); end
52
- def size; end
53
-
54
- class << self
55
- def new(*_arg0); end
56
- end
57
- end
58
-
59
- # source://rugged//lib/rugged/blob.rb#7
60
- class Rugged::Blob < ::Rugged::Object
61
- def binary?; end
62
- def content(*_arg0); end
63
- def diff(*_arg0); end
64
-
65
- # source://rugged//lib/rugged/blob.rb#14
66
- def hashsig(options = T.unsafe(nil)); end
67
-
68
- def loc; end
69
-
70
- # source://rugged//lib/rugged/blob.rb#18
71
- def similarity(other); end
72
-
73
- def size; end
74
- def sloc; end
75
- def text(*_arg0); end
76
-
77
- class << self
78
- def from_buffer(_arg0, _arg1); end
79
- def from_disk(_arg0, _arg1); end
80
- def from_io(*_arg0); end
81
- def from_workdir(_arg0, _arg1); end
82
- def merge_files(*_arg0); end
83
- def to_buffer(*_arg0); end
84
- end
85
- end
86
-
87
- # source://rugged//lib/rugged/blob.rb#8
88
- class Rugged::Blob::HashSignature
89
- class << self
90
- def compare(_arg0, _arg1); end
91
- def new(*_arg0); end
92
- end
93
- end
94
-
95
- # source://rugged//lib/rugged/blob.rb#9
96
- Rugged::Blob::HashSignature::WHITESPACE_DEFAULT = T.let(T.unsafe(nil), Integer)
97
-
98
- # source://rugged//lib/rugged/blob.rb#10
99
- Rugged::Blob::HashSignature::WHITESPACE_IGNORE = T.let(T.unsafe(nil), Integer)
100
-
101
- # source://rugged//lib/rugged/blob.rb#11
102
- Rugged::Blob::HashSignature::WHITESPACE_SMART = T.let(T.unsafe(nil), Integer)
103
-
104
- # source://rugged//lib/rugged/branch.rb#7
105
- class Rugged::Branch < ::Rugged::Reference
106
- # source://rugged//lib/rugged/branch.rb#8
107
- def ==(other); end
108
-
109
- def head?; end
110
- def name; end
111
-
112
- # Get the remote the branch belongs to.
113
- #
114
- # If the branch is remote returns the remote it belongs to.
115
- # In case of local branch, it returns the remote of the branch
116
- # it tracks or nil if there is no tracking branch.
117
- #
118
- # source://rugged//lib/rugged/branch.rb#19
119
- def remote; end
120
-
121
- def remote_name; end
122
- def upstream; end
123
- def upstream=(_arg0); end
124
- end
125
-
126
- class Rugged::BranchCollection
127
- include ::Enumerable
128
-
129
- def initialize(_arg0); end
130
-
131
- def [](_arg0); end
132
- def create(*_arg0); end
133
- def delete(_arg0); end
134
- def each(*_arg0); end
135
- def each_name(*_arg0); end
136
- def exist?(_arg0); end
137
- def exists?(_arg0); end
138
- def move(*_arg0); end
139
- def rename(*_arg0); end
140
- end
141
-
142
- class Rugged::CallbackError < ::Rugged::Error; end
143
- class Rugged::CheckoutError < ::Rugged::Error; end
144
- class Rugged::CherrypickError < ::Rugged::Error; end
145
-
146
- # source://rugged//lib/rugged/commit.rb#7
147
- class Rugged::Commit < ::Rugged::Object
148
- def amend(_arg0); end
149
- def author; end
150
- def committer; end
151
-
152
- # Return a diff between this commit and its first parent or another commit or tree.
153
- #
154
- # The commit is treated as the new side of the diff by default
155
- #
156
- # See Rugged::Tree#diff for more details.
157
- #
158
- # source://rugged//lib/rugged/commit.rb#25
159
- def diff(*args); end
160
-
161
- # Return a diff between this commit and the workdir.
162
- #
163
- # See Rugged::Tree#diff_workdir for more details.
164
- #
165
- # source://rugged//lib/rugged/commit.rb#45
166
- def diff_workdir(options = T.unsafe(nil)); end
167
-
168
- def epoch_time; end
169
- def header; end
170
- def header_field(_arg0); end
171
-
172
- # @return [Boolean]
173
- #
174
- # source://rugged//lib/rugged/commit.rb#16
175
- def header_field?(field); end
176
-
177
- # source://rugged//lib/rugged/commit.rb#12
178
- def inspect; end
179
-
180
- def message; end
181
-
182
- # source://rugged//lib/rugged/commit.rb#67
183
- def modify(new_args, update_ref = T.unsafe(nil)); end
184
-
185
- def parent_ids; end
186
- def parent_oids; end
187
- def parents; end
188
- def summary; end
189
-
190
- # The time when this commit was made effective. This is the same value
191
- # as the +:time+ attribute for +commit.committer+.
192
- #
193
- # Returns a Time object
194
- #
195
- # source://rugged//lib/rugged/commit.rb#53
196
- def time; end
197
-
198
- # source://rugged//lib/rugged/commit.rb#57
199
- def to_hash; end
200
-
201
- def to_mbox(*_arg0); end
202
- def trailers; end
203
- def tree; end
204
- def tree_id; end
205
- def tree_oid; end
206
-
207
- class << self
208
- def create(_arg0, _arg1); end
209
- def create_to_s(_arg0, _arg1); end
210
- def create_with_signature(*_arg0); end
211
- def extract_signature(*_arg0); end
212
-
213
- # source://rugged//lib/rugged/commit.rb#8
214
- def prettify_message(msg, strip_comments = T.unsafe(nil)); end
215
- end
216
- end
217
-
218
- class Rugged::Config
219
- def [](_arg0); end
220
- def []=(_arg0, _arg1); end
221
- def delete(_arg0); end
222
- def each; end
223
- def each_key; end
224
- def each_pair; end
225
- def get(_arg0); end
226
- def get_all(_arg0); end
227
- def snapshot; end
228
- def store(_arg0, _arg1); end
229
- def to_hash; end
230
- def transaction; end
231
-
232
- class << self
233
- def global; end
234
- def new(_arg0); end
235
- def open_global; end
236
- end
237
- end
238
-
239
- class Rugged::ConfigError < ::Rugged::Error; end
240
-
241
- # source://rugged//lib/rugged/credentials.rb#7
242
- module Rugged::Credentials; end
243
-
244
- # A "default" credential usable for Negotiate mechanisms like NTLM or
245
- # Kerberos authentication
246
- #
247
- # source://rugged//lib/rugged/credentials.rb#42
248
- class Rugged::Credentials::Default
249
- # source://rugged//lib/rugged/credentials.rb#43
250
- def call(url, username_from_url, allowed_types); end
251
- end
252
-
253
- # A ssh key credential object that can optionally be passphrase-protected
254
- #
255
- # source://rugged//lib/rugged/credentials.rb#20
256
- class Rugged::Credentials::SshKey
257
- # @return [SshKey] a new instance of SshKey
258
- #
259
- # source://rugged//lib/rugged/credentials.rb#21
260
- def initialize(options); end
261
-
262
- # source://rugged//lib/rugged/credentials.rb#25
263
- def call(url, username_from_url, allowed_types); end
264
- end
265
-
266
- # source://rugged//lib/rugged/credentials.rb#30
267
- class Rugged::Credentials::SshKeyFromAgent
268
- # @return [SshKeyFromAgent] a new instance of SshKeyFromAgent
269
- #
270
- # source://rugged//lib/rugged/credentials.rb#31
271
- def initialize(options); end
272
-
273
- # source://rugged//lib/rugged/credentials.rb#35
274
- def call(url, username_from_url, allowed_types); end
275
- end
276
-
277
- # A plain-text username and password credential object.
278
- #
279
- # source://rugged//lib/rugged/credentials.rb#9
280
- class Rugged::Credentials::UserPassword
281
- # @return [UserPassword] a new instance of UserPassword
282
- #
283
- # source://rugged//lib/rugged/credentials.rb#10
284
- def initialize(options); end
285
-
286
- # source://rugged//lib/rugged/credentials.rb#14
287
- def call(url, username_from_url, allowed_types); end
288
- end
289
-
290
- class Rugged::DescribeError < ::Rugged::Error; end
291
-
292
- # source://rugged//lib/rugged/diff/hunk.rb#7
293
- class Rugged::Diff
294
- include ::Enumerable
295
-
296
- # source://rugged//lib/rugged/diff.rb#21
297
- def deltas; end
298
-
299
- def each; end
300
- def each_delta; end
301
- def each_line(*_arg0); end
302
- def each_patch; end
303
- def find_similar!(*_arg0); end
304
- def merge!(_arg0); end
305
-
306
- # Returns the value of attribute owner.
307
- #
308
- # source://rugged//lib/rugged/diff.rb#15
309
- def owner; end
310
-
311
- def patch(*_arg0); end
312
-
313
- # source://rugged//lib/rugged/diff.rb#17
314
- def patches; end
315
-
316
- def size; end
317
- def sorted_icase?; end
318
- def stat; end
319
- def write_patch(*_arg0); end
320
- end
321
-
322
- # source://rugged//lib/rugged/diff/delta.rb#8
323
- class Rugged::Diff::Delta
324
- # @return [Boolean]
325
- #
326
- # source://rugged//lib/rugged/diff/delta.rb#21
327
- def added?; end
328
-
329
- # Returns the value of attribute binary.
330
- #
331
- # source://rugged//lib/rugged/diff/delta.rb#17
332
- def binary; end
333
-
334
- # Returns the value of attribute binary.
335
- #
336
- # source://rugged//lib/rugged/diff/delta.rb#17
337
- def binary?; end
338
-
339
- # @return [Boolean]
340
- #
341
- # source://rugged//lib/rugged/diff/delta.rb#37
342
- def copied?; end
343
-
344
- # @return [Boolean]
345
- #
346
- # source://rugged//lib/rugged/diff/delta.rb#25
347
- def deleted?; end
348
-
349
- # Returns the value of attribute owner.
350
- #
351
- # source://rugged//lib/rugged/diff/delta.rb#9
352
- def diff; end
353
-
354
- # @return [Boolean]
355
- #
356
- # source://rugged//lib/rugged/diff/delta.rb#41
357
- def ignored?; end
358
-
359
- # source://rugged//lib/rugged/diff/delta.rb#53
360
- def inspect; end
361
-
362
- # @return [Boolean]
363
- #
364
- # source://rugged//lib/rugged/diff/delta.rb#29
365
- def modified?; end
366
-
367
- # Returns the value of attribute new_file.
368
- #
369
- # source://rugged//lib/rugged/diff/delta.rb#13
370
- def new_file; end
371
-
372
- # Returns the value of attribute old_file.
373
- #
374
- # source://rugged//lib/rugged/diff/delta.rb#12
375
- def old_file; end
376
-
377
- # Returns the value of attribute owner.
378
- #
379
- # source://rugged//lib/rugged/diff/delta.rb#9
380
- def owner; end
381
-
382
- # @return [Boolean]
383
- #
384
- # source://rugged//lib/rugged/diff/delta.rb#33
385
- def renamed?; end
386
-
387
- # Returns the value of attribute similarity.
388
- #
389
- # source://rugged//lib/rugged/diff/delta.rb#14
390
- def similarity; end
391
-
392
- # Returns the value of attribute status.
393
- #
394
- # source://rugged//lib/rugged/diff/delta.rb#15
395
- def status; end
396
-
397
- # Returns the value of attribute status_char.
398
- #
399
- # source://rugged//lib/rugged/diff/delta.rb#16
400
- def status_char; end
401
-
402
- # @return [Boolean]
403
- #
404
- # source://rugged//lib/rugged/diff/delta.rb#49
405
- def typechange?; end
406
-
407
- # @return [Boolean]
408
- #
409
- # source://rugged//lib/rugged/diff/delta.rb#45
410
- def untracked?; end
411
- end
412
-
413
- # source://rugged//lib/rugged/diff/hunk.rb#8
414
- class Rugged::Diff::Hunk
415
- include ::Enumerable
416
-
417
- def count; end
418
-
419
- # source://rugged//lib/rugged/diff/hunk.rb#9
420
- def delta; end
421
-
422
- def each; end
423
- def each_line; end
424
- def header; end
425
- def hunk_index; end
426
-
427
- # source://rugged//lib/rugged/diff/hunk.rb#13
428
- def inspect; end
429
-
430
- def line_count; end
431
-
432
- # Returns an Array containing all lines of the hunk.
433
- #
434
- # source://rugged//lib/rugged/diff/hunk.rb#18
435
- def lines; end
436
-
437
- def new_lines; end
438
- def new_start; end
439
- def old_lines; end
440
- def old_start; end
441
- def size; end
442
- end
443
-
444
- # source://rugged//lib/rugged/diff/line.rb#8
445
- class Rugged::Diff::Line
446
- # @return [Boolean]
447
- #
448
- # source://rugged//lib/rugged/diff/line.rb#15
449
- def addition?; end
450
-
451
- # @return [Boolean]
452
- #
453
- # source://rugged//lib/rugged/diff/line.rb#43
454
- def binary?; end
455
-
456
- # Returns the value of attribute content.
457
- #
458
- # source://rugged//lib/rugged/diff/line.rb#9
459
- def content; end
460
-
461
- # Returns the value of attribute content_offset.
462
- #
463
- # source://rugged//lib/rugged/diff/line.rb#9
464
- def content_offset; end
465
-
466
- # @return [Boolean]
467
- #
468
- # source://rugged//lib/rugged/diff/line.rb#11
469
- def context?; end
470
-
471
- # @return [Boolean]
472
- #
473
- # source://rugged//lib/rugged/diff/line.rb#19
474
- def deletion?; end
475
-
476
- # @return [Boolean]
477
- #
478
- # source://rugged//lib/rugged/diff/line.rb#27
479
- def eof_newline_added?; end
480
-
481
- # @return [Boolean]
482
- #
483
- # source://rugged//lib/rugged/diff/line.rb#31
484
- def eof_newline_removed?; end
485
-
486
- # @return [Boolean]
487
- #
488
- # source://rugged//lib/rugged/diff/line.rb#23
489
- def eof_no_newline?; end
490
-
491
- # @return [Boolean]
492
- #
493
- # source://rugged//lib/rugged/diff/line.rb#35
494
- def file_header?; end
495
-
496
- # @return [Boolean]
497
- #
498
- # source://rugged//lib/rugged/diff/line.rb#39
499
- def hunk_header?; end
500
-
501
- # source://rugged//lib/rugged/diff/line.rb#47
502
- def inspect; end
503
-
504
- # Returns the value of attribute line_origin.
505
- #
506
- # source://rugged//lib/rugged/diff/line.rb#9
507
- def line_origin; end
508
-
509
- # Returns the value of attribute new_lineno.
510
- #
511
- # source://rugged//lib/rugged/diff/line.rb#9
512
- def new_lineno; end
513
-
514
- # Returns the value of attribute old_lineno.
515
- #
516
- # source://rugged//lib/rugged/diff/line.rb#9
517
- def old_lineno; end
518
- end
519
-
520
- class Rugged::Error < ::StandardError; end
521
- class Rugged::FetchheadError < ::Rugged::Error; end
522
- class Rugged::FilesystemError < ::Rugged::Error; end
523
- class Rugged::FilterError < ::Rugged::Error; end
524
- class Rugged::HTTPError < ::Rugged::Error; end
525
-
526
- # source://rugged//lib/rugged/index.rb#7
527
- class Rugged::Index
528
- include ::Enumerable
529
-
530
- def <<(_arg0); end
531
- def [](*_arg0); end
532
- def add(_arg0); end
533
- def add_all(*_arg0); end
534
- def clear; end
535
- def conflict_add(_arg0); end
536
- def conflict_cleanup; end
537
- def conflict_get(_arg0); end
538
- def conflict_remove(_arg0); end
539
- def conflicts; end
540
- def conflicts?; end
541
- def count; end
542
-
543
- # call-seq:
544
- # index.diff([options]) -> diff
545
- # index.diff(diffable[, options]) -> diff
546
- #
547
- # The first form returns a diff between the index and the current working
548
- # directory.
549
- #
550
- # The second form returns a diff between the index and the given diffable object.
551
- # +diffable+ can either be a +Rugged::Commit+ or a +Rugged::Tree+.
552
- #
553
- # The index will be used as the "old file" side of the diff, while the working
554
- # directory or the +diffable+ will be used for the "new file" side.
555
- #
556
- # The following options can be passed in the +options+ Hash:
557
- #
558
- # :paths ::
559
- # An array of paths / fnmatch patterns to constrain the diff to a specific
560
- # set of files. Also see +:disable_pathspec_match+.
561
- #
562
- # :max_size ::
563
- # An integer specifying the maximum byte size of a file before a it will
564
- # be treated as binary. The default value is 512MB.
565
- #
566
- # :context_lines ::
567
- # The number of unchanged lines that define the boundary of a hunk (and
568
- # to display before and after the actual changes). The default is 3.
569
- #
570
- # :interhunk_lines ::
571
- # The maximum number of unchanged lines between hunk boundaries before the hunks
572
- # will be merged into a one. The default is 0.
573
- #
574
- # :reverse ::
575
- # If true, the sides of the diff will be reversed.
576
- #
577
- # :force_text ::
578
- # If true, all files will be treated as text, disabling binary attributes & detection.
579
- #
580
- # :ignore_whitespace ::
581
- # If true, all whitespace will be ignored.
582
- #
583
- # :ignore_whitespace_change ::
584
- # If true, changes in amount of whitespace will be ignored.
585
- #
586
- # :ignore_whitespace_eol ::
587
- # If true, whitespace at end of line will be ignored.
588
- #
589
- # :ignore_submodules ::
590
- # if true, submodules will be excluded from the diff completely.
591
- #
592
- # :patience ::
593
- # If true, the "patience diff" algorithm will be used (currenlty unimplemented).
594
- #
595
- # :include_ignored ::
596
- # If true, ignored files will be included in the diff.
597
- #
598
- # :include_untracked ::
599
- # If true, untracked files will be included in the diff.
600
- #
601
- # :include_unmodified ::
602
- # If true, unmodified files will be included in the diff.
603
- #
604
- # :recurse_untracked_dirs ::
605
- # Even if +:include_untracked+ is true, untracked directories will only be
606
- # marked with a single entry in the diff. If this flag is set to true,
607
- # all files under ignored directories will be included in the diff, too.
608
- #
609
- # :disable_pathspec_match ::
610
- # If true, the given +:paths+ will be applied as exact matches, instead of
611
- # as fnmatch patterns.
612
- #
613
- # :deltas_are_icase ::
614
- # If true, filename comparisons will be made with case-insensitivity.
615
- #
616
- # :show_untracked_content ::
617
- # if true, untracked content will be contained in the the diff patch text.
618
- #
619
- # :skip_binary_check ::
620
- # If true, diff deltas will be generated without spending time on binary
621
- # detection. This is useful to improve performance in cases where the actual
622
- # file content difference is not needed.
623
- #
624
- # :include_typechange ::
625
- # If true, type changes for files will not be interpreted as deletion of
626
- # the "old file" and addition of the "new file", but will generate
627
- # typechange records.
628
- #
629
- # :include_typechange_trees ::
630
- # Even if +:include_typechange+ is true, blob -> tree changes will still
631
- # usually be handled as a deletion of the blob. If this flag is set to true,
632
- # blob -> tree changes will be marked as typechanges.
633
- #
634
- # :ignore_filemode ::
635
- # If true, file mode changes will be ignored.
636
- #
637
- # :recurse_ignored_dirs ::
638
- # Even if +:include_ignored+ is true, ignored directories will only be
639
- # marked with a single entry in the diff. If this flag is set to true,
640
- # all files under ignored directories will be included in the diff, too.
641
- #
642
- # source://rugged//lib/rugged/index.rb#109
643
- def diff(*args); end
644
-
645
- def each; end
646
- def get(*_arg0); end
647
- def merge_file(*_arg0); end
648
- def read_tree(_arg0); end
649
- def reload; end
650
- def remove(*_arg0); end
651
- def remove_all(*_arg0); end
652
- def remove_dir(*_arg0); end
653
-
654
- # source://rugged//lib/rugged/index.rb#125
655
- def to_s; end
656
-
657
- def update(_arg0); end
658
- def update_all(*_arg0); end
659
- def write; end
660
- def write_tree(*_arg0); end
661
-
662
- private
663
-
664
- def diff_index_to_workdir(_arg0); end
665
- def diff_tree_to_index(_arg0, _arg1); end
666
-
667
- class << self
668
- def new(*_arg0); end
669
- end
670
- end
671
-
672
- Rugged::Index::ENTRY_FLAGS_STAGE = T.let(T.unsafe(nil), Integer)
673
- Rugged::Index::ENTRY_FLAGS_STAGE_SHIFT = T.let(T.unsafe(nil), Integer)
674
- Rugged::Index::ENTRY_FLAGS_VALID = T.let(T.unsafe(nil), Integer)
675
- class Rugged::IndexError < ::Rugged::Error; end
676
- class Rugged::IndexerError < ::Rugged::Error; end
677
- class Rugged::InvalidError < ::ArgumentError; end
678
- class Rugged::MergeError < ::Rugged::Error; end
679
- class Rugged::NetworkError < ::Rugged::Error; end
680
- class Rugged::NoMemError < ::NoMemoryError; end
681
- class Rugged::OSError < ::IOError; end
682
-
683
- # source://rugged//lib/rugged/object.rb#7
684
- class Rugged::Object
685
- # source://rugged//lib/rugged/object.rb#8
686
- def <=>(other); end
687
-
688
- def ==(_arg0); end
689
- def create_note(_arg0); end
690
- def notes(*_arg0); end
691
- def oid; end
692
- def read_raw; end
693
- def remove_note(*_arg0); end
694
- def type; end
695
-
696
- class << self
697
- def lookup(_arg0, _arg1); end
698
- def new(_arg0, _arg1); end
699
- def rev_parse(_arg0, _arg1); end
700
- def rev_parse_oid(_arg0, _arg1); end
701
- end
702
- end
703
-
704
- class Rugged::ObjectError < ::Rugged::Error; end
705
- class Rugged::OdbError < ::Rugged::Error; end
706
-
707
- class Rugged::OdbObject
708
- def data; end
709
- def len; end
710
- def oid; end
711
- def type; end
712
- end
713
-
714
- # source://rugged//lib/rugged/patch.rb#7
715
- class Rugged::Patch
716
- include ::Enumerable
717
-
718
- # Returns the number of additions in the patch.
719
- #
720
- # source://rugged//lib/rugged/patch.rb#22
721
- def additions; end
722
-
723
- def bytesize(*_arg0); end
724
-
725
- # Returns the number of total changes in the patch.
726
- #
727
- # source://rugged//lib/rugged/patch.rb#32
728
- def changes; end
729
-
730
- def count; end
731
-
732
- # Returns the number of deletions in the patch.
733
- #
734
- # source://rugged//lib/rugged/patch.rb#27
735
- def deletions; end
736
-
737
- def delta; end
738
-
739
- # Returns the value of attribute owner.
740
- #
741
- # source://rugged//lib/rugged/patch.rb#14
742
- def diff; end
743
-
744
- def each; end
745
- def each_hunk; end
746
- def header; end
747
- def hunk_count; end
748
-
749
- # Returns an Array containing all hunks of the patch.
750
- #
751
- # source://rugged//lib/rugged/patch.rb#37
752
- def hunks; end
753
-
754
- # source://rugged//lib/rugged/patch.rb#17
755
- def inspect; end
756
-
757
- def lines(*_arg0); end
758
-
759
- # Returns the value of attribute owner.
760
- #
761
- # source://rugged//lib/rugged/patch.rb#14
762
- def owner; end
763
-
764
- # Sets the attribute owner
765
- #
766
- # @param value the value to set the attribute owner to.
767
- #
768
- # source://rugged//lib/rugged/patch.rb#14
769
- def owner=(_arg0); end
770
-
771
- def size; end
772
- def stat; end
773
- def to_s; end
774
-
775
- class << self
776
- def from_strings(*_arg0); end
777
- end
778
- end
779
-
780
- class Rugged::PathError < ::Rugged::Error; end
781
-
782
- class Rugged::Rebase
783
- def abort; end
784
- def commit(*_arg0); end
785
- def finish(_arg0); end
786
- def inmemory_index; end
787
- def next; end
788
-
789
- class << self
790
- def new(*_arg0); end
791
- end
792
- end
793
-
794
- class Rugged::RebaseError < ::Rugged::Error; end
795
-
796
- # source://rugged//lib/rugged/reference.rb#7
797
- class Rugged::Reference
798
- def branch?; end
799
- def canonical_name; end
800
-
801
- # source://rugged//lib/rugged/reference.rb#8
802
- def inspect; end
803
-
804
- def log; end
805
- def log?; end
806
- def name; end
807
- def peel; end
808
- def remote?; end
809
- def resolve; end
810
- def tag?; end
811
- def target; end
812
- def target_id; end
813
- def type; end
814
-
815
- class << self
816
- def valid_name?(_arg0); end
817
- end
818
- end
819
-
820
- class Rugged::ReferenceCollection
821
- include ::Enumerable
822
-
823
- def initialize(_arg0); end
824
-
825
- def [](_arg0); end
826
- def create(*_arg0); end
827
- def delete(_arg0); end
828
- def each(*_arg0); end
829
- def each_name(*_arg0); end
830
- def exist?(_arg0); end
831
- def exists?(_arg0); end
832
- def move(*_arg0); end
833
- def rename(*_arg0); end
834
- def update(*_arg0); end
835
- end
836
-
837
- class Rugged::ReferenceError < ::Rugged::Error; end
838
- class Rugged::RegexError < ::Rugged::Error; end
839
-
840
- # source://rugged//lib/rugged/remote.rb#7
841
- class Rugged::Remote
842
- def check_connection(*_arg0); end
843
- def fetch(*_arg0); end
844
- def fetch_refspecs; end
845
- def ls(*_arg0); end
846
- def name; end
847
- def push(*_arg0); end
848
- def push_refspecs; end
849
- def push_url; end
850
- def push_url=(_arg0); end
851
- def url; end
852
- end
853
-
854
- class Rugged::RemoteCollection
855
- include ::Enumerable
856
-
857
- def initialize(_arg0); end
858
-
859
- def [](_arg0); end
860
- def add_fetch_refspec(_arg0, _arg1); end
861
- def add_push_refspec(_arg0, _arg1); end
862
- def create(_arg0, _arg1); end
863
- def create_anonymous(_arg0); end
864
- def delete(_arg0); end
865
- def each; end
866
- def each_name; end
867
- def rename(_arg0, _arg1); end
868
- def set_push_url(_arg0, _arg1); end
869
- def set_url(_arg0, _arg1); end
870
- end
871
-
872
- # Repository is an interface into a Git repository on-disk. It's the primary
873
- # interface between your app and the main Git objects Rugged makes available
874
- # to you.
875
- #
876
- # source://rugged//lib/rugged/repository.rb#10
877
- class Rugged::Repository
878
- def ahead_behind(_arg0, _arg1); end
879
- def apply(*_arg0); end
880
-
881
- # source://rugged//lib/rugged/attributes.rb#8
882
- def attributes(path, options = T.unsafe(nil)); end
883
-
884
- def bare?; end
885
-
886
- # Get the blob at a path for a specific revision.
887
- #
888
- # revision - The String SHA1.
889
- # path - The String file path.
890
- #
891
- # Returns a Rugged::Blob object
892
- #
893
- # source://rugged//lib/rugged/repository.rb#242
894
- def blob_at(revision, path); end
895
-
896
- # All the branches in the repository
897
- #
898
- # Returns a BranchCollection containing Rugged::Branch objects
899
- #
900
- # source://rugged//lib/rugged/repository.rb#207
901
- def branches; end
902
-
903
- # Checkout the specified branch, reference or commit.
904
- #
905
- # target - A revparse spec for the branch, reference or commit to check out.
906
- # options - Options passed to #checkout_tree.
907
- #
908
- # source://rugged//lib/rugged/repository.rb#29
909
- def checkout(target, options = T.unsafe(nil)); end
910
-
911
- def checkout_head(*_arg0); end
912
- def checkout_index(*_arg0); end
913
- def checkout_tree(*_arg0); end
914
- def cherrypick(*_arg0); end
915
- def cherrypick_commit(*_arg0); end
916
- def close; end
917
- def config; end
918
- def config=(_arg0); end
919
-
920
- # Create a new branch in the repository
921
- #
922
- # name - The name of the branch (without a full reference path)
923
- # sha_or_ref - The target of the branch; either a String representing
924
- # an OID or a reference name, or a Rugged::Object instance.
925
- #
926
- # Returns a Rugged::Branch object
927
- #
928
- # source://rugged//lib/rugged/repository.rb#225
929
- def create_branch(name, sha_or_ref = T.unsafe(nil)); end
930
-
931
- def default_notes_ref; end
932
- def default_signature; end
933
- def descendant_of?(_arg0, _arg1); end
934
-
935
- # source://rugged//lib/rugged/repository.rb#99
936
- def diff(left, right, opts = T.unsafe(nil)); end
937
-
938
- def diff_from_buffer(_arg0); end
939
-
940
- # source://rugged//lib/rugged/repository.rb#118
941
- def diff_workdir(left, opts = T.unsafe(nil)); end
942
-
943
- def each_id; end
944
- def each_note(*_arg0); end
945
- def empty?; end
946
- def exists?(_arg0); end
947
- def expand_oids(*_arg0); end
948
-
949
- # source://rugged//lib/rugged/repository.rb#253
950
- def fetch(remote_or_url, *args, **kwargs); end
951
-
952
- def fetch_attributes(*_arg0); end
953
- def head; end
954
- def head=(_arg0); end
955
- def head_detached?; end
956
- def head_unborn?; end
957
- def ident; end
958
- def ident=(_arg0); end
959
- def include?(_arg0); end
960
- def index; end
961
- def index=(_arg0); end
962
-
963
- # Pretty formatting of a Repository.
964
- #
965
- # Returns a very pretty String.
966
- #
967
- # source://rugged//lib/rugged/repository.rb#14
968
- def inspect; end
969
-
970
- # Get the most recent commit from this repo.
971
- #
972
- # Returns a Rugged::Commit object.
973
- #
974
- # source://rugged//lib/rugged/repository.rb#21
975
- def last_commit; end
976
-
977
- # Look up a SHA1.
978
- #
979
- # Returns one of the four classes that inherit from Rugged::Object.
980
- #
981
- # source://rugged//lib/rugged/repository.rb#146
982
- def lookup(oid); end
983
-
984
- def merge_analysis(*_arg0); end
985
- def merge_base(*_arg0); end
986
- def merge_bases(*_arg0); end
987
- def merge_commits(*_arg0); end
988
- def namespace; end
989
- def namespace=(_arg0); end
990
- def path; end
991
- def path_ignored?(_arg0); end
992
-
993
- # Push a list of refspecs to the given remote.
994
- #
995
- # refspecs - A list of refspecs that should be pushed to the remote.
996
- #
997
- # Returns a hash containing the pushed refspecs as keys and
998
- # any error messages or +nil+ as values.
999
- #
1000
- # source://rugged//lib/rugged/repository.rb#266
1001
- def push(remote_or_url, *args, **kwargs); end
1002
-
1003
- def read(_arg0); end
1004
- def read_header(_arg0); end
1005
-
1006
- # Look up a single reference by name.
1007
- #
1008
- # Example:
1009
- #
1010
- # repo.ref 'refs/heads/master'
1011
- # # => #<Rugged::Reference:2199125780 {name: "refs/heads/master",
1012
- # target: "25b5d3b40c4eadda8098172b26c68cf151109799"}>
1013
- #
1014
- # Returns a Rugged::Reference.
1015
- #
1016
- # source://rugged//lib/rugged/repository.rb#173
1017
- def ref(ref_name); end
1018
-
1019
- # source://rugged//lib/rugged/repository.rb#185
1020
- def ref_names(glob = T.unsafe(nil)); end
1021
-
1022
- # source://rugged//lib/rugged/repository.rb#181
1023
- def references; end
1024
-
1025
- # source://rugged//lib/rugged/repository.rb#177
1026
- def refs(glob = T.unsafe(nil)); end
1027
-
1028
- # All the remotes in the repository.
1029
- #
1030
- # Returns a Rugged::RemoteCollection containing all the Rugged::Remote objects
1031
- # in the repository.
1032
- #
1033
- # source://rugged//lib/rugged/repository.rb#200
1034
- def remotes; end
1035
-
1036
- def reset(_arg0, _arg1); end
1037
- def reset_path(*_arg0); end
1038
-
1039
- # Look up an object by a revision string.
1040
- #
1041
- # Returns one of the four classes that inherit from Rugged::Object.
1042
- #
1043
- # source://rugged//lib/rugged/repository.rb#153
1044
- def rev_parse(spec); end
1045
-
1046
- # Look up an object by a revision string.
1047
- #
1048
- # Returns the oid of the matched object as a String
1049
- #
1050
- # source://rugged//lib/rugged/repository.rb#160
1051
- def rev_parse_oid(spec); end
1052
-
1053
- def revert_commit(*_arg0); end
1054
- def shallow?; end
1055
-
1056
- # call-seq:
1057
- # repo.status { |file, status_data| block }
1058
- # repo.status(path) -> status_data
1059
- #
1060
- # Returns the status for one or more files in the working directory
1061
- # of the repository. This is equivalent to the +git status+ command.
1062
- #
1063
- # The returned +status_data+ is always an array containing one or more
1064
- # status flags as Ruby symbols. Possible flags are:
1065
- #
1066
- # - +:index_new+: the file is new in the index
1067
- # - +:index_modified+: the file has been modified in the index
1068
- # - +:index_deleted+: the file has been deleted from the index
1069
- # - +:worktree_new+: the file is new in the working directory
1070
- # - +:worktree_modified+: the file has been modified in the working directory
1071
- # - +:worktree_deleted+: the file has been deleted from the working directory
1072
- #
1073
- # If a +block+ is given, status information will be gathered for every
1074
- # single file on the working dir. The +block+ will be called with the
1075
- # status data for each file.
1076
- #
1077
- # repo.status { |file, status_data| puts "#{file} has status: #{status_data.inspect}" }
1078
- #
1079
- # results in, for example:
1080
- #
1081
- # src/diff.c has status: [:index_new, :worktree_new]
1082
- # README has status: [:worktree_modified]
1083
- #
1084
- # If a +path+ is given instead, the function will return the +status_data+ for
1085
- # the file pointed to by path, or raise an exception if the path doesn't exist.
1086
- #
1087
- # +path+ must be relative to the repository's working directory.
1088
- #
1089
- # repo.status('src/diff.c') #=> [:index_new, :worktree_new]
1090
- #
1091
- # source://rugged//lib/rugged/repository.rb#91
1092
- def status(file = T.unsafe(nil), &block); end
1093
-
1094
- # All the submodules in the repository
1095
- #
1096
- # Returns a SubmoduleCollection containing Rugged::Submodule objects
1097
- #
1098
- # source://rugged//lib/rugged/repository.rb#214
1099
- def submodules; end
1100
-
1101
- # All the tags in the repository.
1102
- #
1103
- # Returns a TagCollection containing all the tags.
1104
- #
1105
- # source://rugged//lib/rugged/repository.rb#192
1106
- def tags; end
1107
-
1108
- # Walks over a set of commits using Rugged::Walker.
1109
- #
1110
- # from - The String SHA1 to push onto Walker to begin our walk.
1111
- # sorting - The sorting order of the commits, as defined in the README.
1112
- # block - A block that we pass into walker#each.
1113
- #
1114
- # Returns nothing if called with a block, otherwise returns an instance of
1115
- # Enumerable::Enumerator containing Rugged::Commit objects.
1116
- #
1117
- # source://rugged//lib/rugged/repository.rb#136
1118
- def walk(from, sorting = T.unsafe(nil), &block); end
1119
-
1120
- def workdir; end
1121
- def workdir=(_arg0); end
1122
- def write(_arg0, _arg1); end
1123
-
1124
- private
1125
-
1126
- def each_status; end
1127
- def file_status(_arg0); end
1128
-
1129
- class << self
1130
- def bare(*_arg0); end
1131
- def clone_at(*_arg0); end
1132
- def discover(*_arg0); end
1133
- def hash_data(_arg0, _arg1); end
1134
- def hash_file(_arg0, _arg1); end
1135
- def init_at(*_arg0); end
1136
- def new(*_arg0); end
1137
- end
1138
- end
1139
-
1140
- # source://rugged//lib/rugged/attributes.rb#12
1141
- class Rugged::Repository::Attributes
1142
- include ::Enumerable
1143
-
1144
- # @return [Attributes] a new instance of Attributes
1145
- #
1146
- # source://rugged//lib/rugged/attributes.rb#27
1147
- def initialize(repository, path, options = T.unsafe(nil)); end
1148
-
1149
- # source://rugged//lib/rugged/attributes.rb#33
1150
- def [](attribute); end
1151
-
1152
- # source://rugged//lib/rugged/attributes.rb#41
1153
- def each(&block); end
1154
-
1155
- # source://rugged//lib/rugged/attributes.rb#37
1156
- def to_h; end
1157
-
1158
- class << self
1159
- # source://rugged//lib/rugged/attributes.rb#21
1160
- def parse_opts(opt); end
1161
- end
1162
- end
1163
-
1164
- # source://rugged//lib/rugged/attributes.rb#15
1165
- Rugged::Repository::Attributes::LOAD_PRIORITIES = T.let(T.unsafe(nil), Hash)
1166
-
1167
- class Rugged::RepositoryError < ::Rugged::Error; end
1168
- class Rugged::RevertError < ::Rugged::Error; end
1169
- class Rugged::SHA1Error < ::Rugged::Error; end
1170
- Rugged::SORT_DATE = T.let(T.unsafe(nil), Integer)
1171
- Rugged::SORT_NONE = T.let(T.unsafe(nil), Integer)
1172
- Rugged::SORT_REVERSE = T.let(T.unsafe(nil), Integer)
1173
- Rugged::SORT_TOPO = T.let(T.unsafe(nil), Integer)
1174
-
1175
- class Rugged::Settings
1176
- private
1177
-
1178
- def [](_arg0); end
1179
- def []=(_arg0, _arg1); end
1180
- def max_cache_size; end
1181
- def used_cache_size; end
1182
-
1183
- class << self
1184
- def [](_arg0); end
1185
- def []=(_arg0, _arg1); end
1186
- def max_cache_size; end
1187
- def used_cache_size; end
1188
- end
1189
- end
1190
-
1191
- class Rugged::SshError < ::Rugged::Error; end
1192
- class Rugged::SslError < ::Rugged::Error; end
1193
- class Rugged::StashError < ::Rugged::Error; end
1194
-
1195
- class Rugged::Submodule
1196
- def add_to_index(*_arg0); end
1197
- def added_to_index?; end
1198
- def added_to_workdir?; end
1199
- def deleted_from_index?; end
1200
- def deleted_from_workdir?; end
1201
- def dirty_workdir?; end
1202
- def dirty_workdir_index?; end
1203
- def fetch_recurse_submodules?; end
1204
- def finalize_add; end
1205
- def head_oid; end
1206
- def ignore_rule; end
1207
- def in_config?; end
1208
- def in_head?; end
1209
- def in_index?; end
1210
- def in_workdir?; end
1211
- def index_oid; end
1212
- def init(*_arg0); end
1213
- def modified_files_in_workdir?; end
1214
- def modified_in_index?; end
1215
- def modified_in_workdir?; end
1216
- def name; end
1217
- def path; end
1218
- def reload; end
1219
- def repository; end
1220
- def status; end
1221
- def sync; end
1222
- def uninitialized?; end
1223
- def unmodified?; end
1224
- def untracked_files_in_workdir?; end
1225
- def update_rule; end
1226
- def url; end
1227
- def workdir_oid; end
1228
- end
1229
-
1230
- # source://rugged//lib/rugged/submodule_collection.rb#7
1231
- class Rugged::SubmoduleCollection
1232
- include ::Enumerable
1233
-
1234
- def initialize(_arg0); end
1235
-
1236
- def [](_arg0); end
1237
-
1238
- # call-seq:
1239
- # submodules.setup_add(url, path[, options]) -> submodule
1240
- #
1241
- # Add a new +submodule+.
1242
- #
1243
- # This does <tt>"git submodule add"</tt> incuding fetch and checkout of the
1244
- # submodule contents.
1245
- #
1246
- # - +url+: URL for the submodule's remote
1247
- # - +path+: path at which the submodule should be created
1248
- #
1249
- # The +options+ hash accepts all options supported by Rugged::Remote#fetch
1250
- # and the following:
1251
- # :gitlink ::
1252
- # (defaults to +true+) should workdir contain a
1253
- # gitlink to the repository in +.git/modules+ vs. repository
1254
- # directly in workdir.
1255
- #
1256
- # Returns the newly created +submodule+
1257
- #
1258
- # source://rugged//lib/rugged/submodule_collection.rb#28
1259
- def add(url, path, options = T.unsafe(nil)); end
1260
-
1261
- def each; end
1262
- def setup_add(*_arg0); end
1263
- def update(_arg0, _arg1); end
1264
-
1265
- private
1266
-
1267
- # currently libgit2's `git_submodule_add_setup` initializes a repo
1268
- # with a workdir for the submodule. libgit2's `git_clone` however
1269
- # requires the target for the clone to be an empty dir.
1270
- #
1271
- # This provides a ghetto clone implementation that:
1272
- # 1. fetches the remote
1273
- # 2. sets up a master branch to be tracking origin/master
1274
- # 3. checkouts the submodule
1275
- #
1276
- # source://rugged//lib/rugged/submodule_collection.rb#43
1277
- def clone_submodule(repo, **fetch_options); end
1278
- end
1279
-
1280
- class Rugged::SubmoduleError < ::Rugged::Error; end
1281
-
1282
- # source://rugged//lib/rugged/tag.rb#7
1283
- class Rugged::Tag < ::Rugged::Reference
1284
- def annotated?; end
1285
- def annotation; end
1286
-
1287
- # source://rugged//lib/rugged/tag.rb#27
1288
- def name; end
1289
-
1290
- def target; end
1291
-
1292
- class << self
1293
- # source://rugged//lib/rugged/tag.rb#10
1294
- def extract_signature(repo, oid, prefix = T.unsafe(nil)); end
1295
- end
1296
- end
1297
-
1298
- # source://rugged//lib/rugged/tag.rb#31
1299
- class Rugged::Tag::Annotation < ::Rugged::Object
1300
- # source://rugged//lib/rugged/tag.rb#36
1301
- def inspect; end
1302
-
1303
- def message; end
1304
-
1305
- # source://rugged//lib/rugged/tag.rb#49
1306
- def modify(new_args, force = T.unsafe(nil)); end
1307
-
1308
- def name; end
1309
- def tagger; end
1310
- def target; end
1311
- def target_id; end
1312
- def target_oid; end
1313
- def target_type; end
1314
-
1315
- # source://rugged//lib/rugged/tag.rb#40
1316
- def to_hash; end
1317
-
1318
- class << self
1319
- # source://rugged//lib/rugged/tag.rb#32
1320
- def prettify_message(msg, strip_comments = T.unsafe(nil)); end
1321
- end
1322
- end
1323
-
1324
- # source://rugged//lib/rugged/tag.rb#8
1325
- Rugged::Tag::GPG_SIGNATURE_PREFIX = T.let(T.unsafe(nil), String)
1326
-
1327
- class Rugged::TagCollection
1328
- include ::Enumerable
1329
-
1330
- def initialize(_arg0); end
1331
-
1332
- def [](_arg0); end
1333
- def create(*_arg0); end
1334
- def create_annotation(_arg0, _arg1, _arg2); end
1335
- def delete(_arg0); end
1336
- def each(*_arg0); end
1337
- def each_name(*_arg0); end
1338
- end
1339
-
1340
- class Rugged::TagError < ::Rugged::Error; end
1341
- class Rugged::ThreadError < ::Rugged::Error; end
1342
-
1343
- # source://rugged//lib/rugged/tree.rb#7
1344
- class Rugged::Tree < ::Rugged::Object
1345
- include ::Enumerable
1346
-
1347
- def [](_arg0); end
1348
- def count; end
1349
- def count_recursive(*_arg0); end
1350
-
1351
- # source://rugged//lib/rugged/tree.rb#163
1352
- def diff(other = T.unsafe(nil), options = T.unsafe(nil)); end
1353
-
1354
- def diff_workdir(*_arg0); end
1355
- def each; end
1356
-
1357
- # Iterate over the blobs in this tree
1358
- #
1359
- # source://rugged//lib/rugged/tree.rb#186
1360
- def each_blob; end
1361
-
1362
- # Iterate over the subtrees in this tree
1363
- #
1364
- # source://rugged//lib/rugged/tree.rb#192
1365
- def each_tree; end
1366
-
1367
- def get_entry(_arg0); end
1368
- def get_entry_by_oid(_arg0); end
1369
-
1370
- # source://rugged//lib/rugged/tree.rb#167
1371
- def inspect; end
1372
-
1373
- def length; end
1374
- def merge(*_arg0); end
1375
-
1376
- # Returns the value of attribute owner.
1377
- #
1378
- # source://rugged//lib/rugged/tree.rb#160
1379
- def owner; end
1380
-
1381
- def path(_arg0); end
1382
-
1383
- # Returns the value of attribute owner.
1384
- #
1385
- # source://rugged//lib/rugged/tree.rb#160
1386
- def repo; end
1387
-
1388
- def update(_arg0); end
1389
- def walk(_arg0); end
1390
-
1391
- # Walks the tree but only yields blobs
1392
- #
1393
- # source://rugged//lib/rugged/tree.rb#174
1394
- def walk_blobs(mode = T.unsafe(nil)); end
1395
-
1396
- # Walks the tree but only yields subtrees
1397
- #
1398
- # source://rugged//lib/rugged/tree.rb#180
1399
- def walk_trees(mode = T.unsafe(nil)); end
1400
-
1401
- class << self
1402
- # call-seq:
1403
- # Tree.diff(repo, tree, diffable[, options]) -> diff
1404
- #
1405
- # Returns a diff between the `tree` and the diffable object that was given.
1406
- # +diffable+ can either be a +Rugged::Commit+, a +Rugged::Tree+, a +Rugged::Index+,
1407
- # or +nil+.
1408
- #
1409
- # The +tree+ object will be used as the "old file" side of the diff, while the
1410
- # parent tree or the +diffable+ object will be used for the "new file" side.
1411
- #
1412
- # If +tree+ or +diffable+ are nil, they will be treated as an empty tree. Passing
1413
- # both as `nil` will raise an exception.
1414
- #
1415
- # The following options can be passed in the +options+ Hash:
1416
- #
1417
- # :paths ::
1418
- # An array of paths / fnmatch patterns to constrain the diff to a specific
1419
- # set of files. Also see +:disable_pathspec_match+.
1420
- #
1421
- # :max_size ::
1422
- # An integer specifying the maximum byte size of a file before a it will
1423
- # be treated as binary. The default value is 512MB.
1424
- #
1425
- # :context_lines ::
1426
- # The number of unchanged lines that define the boundary of a hunk (and
1427
- # to display before and after the actual changes). The default is 3.
1428
- #
1429
- # :interhunk_lines ::
1430
- # The maximum number of unchanged lines between hunk boundaries before the hunks
1431
- # will be merged into a one. The default is 0.
1432
- #
1433
- # :old_prefix ::
1434
- # The virtual "directory" to prefix to old filenames in hunk headers.
1435
- # The default is "a".
1436
- #
1437
- # :new_prefix ::
1438
- # The virtual "directory" to prefix to new filenames in hunk headers.
1439
- # The default is "b".
1440
- #
1441
- # :reverse ::
1442
- # If true, the sides of the diff will be reversed.
1443
- #
1444
- # :force_text ::
1445
- # If true, all files will be treated as text, disabling binary attributes & detection.
1446
- #
1447
- # :ignore_whitespace ::
1448
- # If true, all whitespace will be ignored.
1449
- #
1450
- # :ignore_whitespace_change ::
1451
- # If true, changes in amount of whitespace will be ignored.
1452
- #
1453
- # :ignore_whitespace_eol ::
1454
- # If true, whitespace at end of line will be ignored.
1455
- #
1456
- # :ignore_submodules ::
1457
- # if true, submodules will be excluded from the diff completely.
1458
- #
1459
- # :patience ::
1460
- # If true, the "patience diff" algorithm will be used (currenlty unimplemented).
1461
- #
1462
- # :include_ignored ::
1463
- # If true, ignored files will be included in the diff.
1464
- #
1465
- # :include_untracked ::
1466
- # If true, untracked files will be included in the diff.
1467
- #
1468
- # :include_unmodified ::
1469
- # If true, unmodified files will be included in the diff.
1470
- #
1471
- # :recurse_untracked_dirs ::
1472
- # Even if +:include_untracked+ is true, untracked directories will only be
1473
- # marked with a single entry in the diff. If this flag is set to true,
1474
- # all files under ignored directories will be included in the diff, too.
1475
- #
1476
- # :disable_pathspec_match ::
1477
- # If true, the given +:paths+ will be applied as exact matches, instead of
1478
- # as fnmatch patterns.
1479
- #
1480
- # :deltas_are_icase ::
1481
- # If true, filename comparisons will be made with case-insensitivity.
1482
- #
1483
- # :show_untracked_content ::
1484
- # if true, untracked content will be contained in the the diff patch text.
1485
- #
1486
- # :skip_binary_check ::
1487
- # If true, diff deltas will be generated without spending time on binary
1488
- # detection. This is useful to improve performance in cases where the actual
1489
- # file content difference is not needed.
1490
- #
1491
- # :include_typechange ::
1492
- # If true, type changes for files will not be interpreted as deletion of
1493
- # the "old file" and addition of the "new file", but will generate
1494
- # typechange records.
1495
- #
1496
- # :include_typechange_trees ::
1497
- # Even if +:include_typechange+ is true, blob -> tree changes will still
1498
- # usually be handled as a deletion of the blob. If this flag is set to true,
1499
- # blob -> tree changes will be marked as typechanges.
1500
- #
1501
- # :ignore_filemode ::
1502
- # If true, file mode changes will be ignored.
1503
- #
1504
- # :recurse_ignored_dirs ::
1505
- # Even if +:include_ignored+ is true, ignored directories will only be
1506
- # marked with a single entry in the diff. If this flag is set to true,
1507
- # all files under ignored directories will be included in the diff, too.
1508
- #
1509
- # Examples:
1510
- #
1511
- # # Emulating `git diff <treeish>`
1512
- # tree = Rugged::Tree.lookup(repo, "d70d245ed97ed2aa596dd1af6536e4bfdb047b69")
1513
- # diff = tree.diff(repo.index)
1514
- # diff.merge!(tree.diff)
1515
- #
1516
- # # Tree-to-Tree Diff
1517
- # tree = Rugged::Tree.lookup(repo, "d70d245ed97ed2aa596dd1af6536e4bfdb047b69")
1518
- # other_tree = Rugged::Tree.lookup(repo, "7a9e0b02e63179929fed24f0a3e0f19168114d10")
1519
- # diff = tree.diff(other_tree)
1520
- #
1521
- # source://rugged//lib/rugged/tree.rb#129
1522
- def diff(repo, tree, other_tree = T.unsafe(nil), options = T.unsafe(nil)); end
1523
-
1524
- def empty(_arg0); end
1525
-
1526
- private
1527
-
1528
- def diff_tree_to_index(_arg0, _arg1, _arg2, _arg3); end
1529
- def diff_tree_to_tree(_arg0, _arg1, _arg2, _arg3); end
1530
- end
1531
- end
1532
-
1533
- class Rugged::Tree::Builder
1534
- def <<(_arg0); end
1535
- def [](_arg0); end
1536
- def clear; end
1537
- def insert(_arg0); end
1538
- def reject!; end
1539
- def remove(_arg0); end
1540
- def write; end
1541
-
1542
- class << self
1543
- def new(*_arg0); end
1544
- end
1545
- end
1546
-
1547
- class Rugged::TreeError < ::Rugged::Error; end
1548
-
1549
- # source://rugged//lib/rugged/version.rb#7
1550
- Rugged::VERSION = T.let(T.unsafe(nil), String)
1551
-
1552
- # source://rugged//lib/rugged/version.rb#7
1553
- Rugged::Version = T.let(T.unsafe(nil), String)
1554
-
1555
- # source://rugged//lib/rugged/walker.rb#7
1556
- class Rugged::Walker
1557
- include ::Enumerable
1558
-
1559
- def count(*_arg0); end
1560
- def each(*_arg0); end
1561
- def each_oid(*_arg0); end
1562
- def hide(_arg0); end
1563
- def push(_arg0); end
1564
- def push_range(_arg0); end
1565
- def reset; end
1566
- def simplify_first_parent; end
1567
- def sorting(_arg0); end
1568
- def walk(*_arg0); end
1569
-
1570
- class << self
1571
- def new(_arg0); end
1572
- def walk(*_arg0); end
1573
- end
1574
- end
1575
-
1576
- class Rugged::WorktreeError < ::Rugged::Error; end
1577
- class Rugged::ZlibError < ::Rugged::Error; end