shotgrid_api_ruby 0.1.3 → 0.2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/.github/ISSUE_TEMPLATE/bug_report.md +38 -0
  3. data/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  4. data/.github/workflows/test_and_publish.yml +2 -0
  5. data/.github/workflows/test_only.yml +2 -0
  6. data/.gitignore +3 -0
  7. data/.overcommit.yml +9 -0
  8. data/.rubocop.yml +2 -0
  9. data/CHANGELOG.md +27 -1
  10. data/CODE_OF_CONDUCT.md +128 -0
  11. data/Gemfile +18 -0
  12. data/Guardfile +2 -2
  13. data/bin/generate_and_add_documentation +1 -0
  14. data/bin/generate_sorbet_coverage +3 -0
  15. data/bin/prettirun +1 -1
  16. data/bin/sorbet_check +1 -0
  17. data/bin/tapioca +29 -0
  18. data/docs/ShotgridApiRuby/Auth/Validator.html +319 -0
  19. data/docs/ShotgridApiRuby/Auth.html +1079 -0
  20. data/docs/ShotgridApiRuby/Client.html +933 -0
  21. data/docs/ShotgridApiRuby/Entities/Params/TooComplexFiltersError.html +124 -0
  22. data/docs/ShotgridApiRuby/Entities/Params.html +1377 -0
  23. data/docs/ShotgridApiRuby/Entities/Schema.html +646 -0
  24. data/docs/ShotgridApiRuby/Entities/Summarize/Summary.html +401 -0
  25. data/docs/ShotgridApiRuby/Entities/Summarize.html +775 -0
  26. data/docs/ShotgridApiRuby/Entities.html +2461 -0
  27. data/docs/ShotgridApiRuby/Entity.html +935 -0
  28. data/docs/ShotgridApiRuby/Preferences.html +417 -0
  29. data/docs/ShotgridApiRuby/ServerInfo.html +415 -0
  30. data/docs/ShotgridApiRuby/ShotgridCallError.html +328 -0
  31. data/docs/ShotgridApiRuby/Types.html +136 -0
  32. data/docs/ShotgridApiRuby.html +307 -0
  33. data/docs/_index.html +253 -0
  34. data/docs/class_list.html +51 -0
  35. data/docs/css/common.css +1 -0
  36. data/docs/css/full_list.css +58 -0
  37. data/docs/css/style.css +497 -0
  38. data/docs/file.README.html +578 -0
  39. data/docs/file_list.html +56 -0
  40. data/docs/frames.html +17 -0
  41. data/docs/index.html +578 -0
  42. data/docs/js/app.js +314 -0
  43. data/docs/js/full_list.js +216 -0
  44. data/docs/js/jquery.js +4 -0
  45. data/docs/method_list.html +643 -0
  46. data/docs/top-level-namespace.html +110 -0
  47. data/lib/shotgrid_api_ruby/auth.rb +89 -33
  48. data/lib/shotgrid_api_ruby/client.rb +50 -7
  49. data/lib/shotgrid_api_ruby/entities/params.rb +304 -65
  50. data/lib/shotgrid_api_ruby/entities/schema.rb +18 -3
  51. data/lib/shotgrid_api_ruby/entities/summarize.rb +39 -7
  52. data/lib/shotgrid_api_ruby/entities.rb +118 -29
  53. data/lib/shotgrid_api_ruby/entity.rb +29 -12
  54. data/lib/shotgrid_api_ruby/preferences.rb +7 -1
  55. data/lib/shotgrid_api_ruby/server_info.rb +7 -1
  56. data/lib/shotgrid_api_ruby/shotgrid_call_error.rb +5 -1
  57. data/lib/shotgrid_api_ruby/types/auth_type.rb +23 -0
  58. data/lib/shotgrid_api_ruby/version.rb +2 -1
  59. data/lib/shotgrid_api_ruby.rb +20 -2
  60. data/shotgrid_api_ruby.gemspec +3 -11
  61. data/sorbet/config +6 -0
  62. data/sorbet/rbi/faraday.rbi +20 -0
  63. data/sorbet/rbi/gems/activesupport@6.1.4.1.rbi +3770 -0
  64. data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
  65. data/sorbet/rbi/gems/backport@1.2.0.rbi +8 -0
  66. data/sorbet/rbi/gems/benchmark@0.1.1.rbi +65 -0
  67. data/sorbet/rbi/gems/bundler-audit@0.8.0.rbi +8 -0
  68. data/sorbet/rbi/gems/byebug@11.1.3.rbi +1569 -0
  69. data/sorbet/rbi/gems/childprocess@4.1.0.rbi +8 -0
  70. data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
  71. data/sorbet/rbi/gems/colorize@0.8.1.rbi +39 -0
  72. data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
  73. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +2403 -0
  74. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
  75. data/sorbet/rbi/gems/docile@1.4.0.rbi +54 -0
  76. data/sorbet/rbi/gems/dotenv@2.7.6.rbi +88 -0
  77. data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +8 -0
  78. data/sorbet/rbi/gems/faker@2.19.0.rbi +2513 -0
  79. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +101 -0
  80. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +78 -0
  81. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +77 -0
  82. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +73 -0
  83. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +82 -0
  84. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +72 -0
  85. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +74 -0
  86. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +73 -0
  87. data/sorbet/rbi/gems/faraday@1.7.0.rbi +783 -0
  88. data/sorbet/rbi/gems/ffi@1.15.3.rbi +8 -0
  89. data/sorbet/rbi/gems/formatador@0.3.0.rbi +8 -0
  90. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +8 -0
  91. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +8 -0
  92. data/sorbet/rbi/gems/guard@2.18.0.rbi +8 -0
  93. data/sorbet/rbi/gems/haml@5.2.2.rbi +8 -0
  94. data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
  95. data/sorbet/rbi/gems/i18n@1.8.10.rbi +584 -0
  96. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +8 -0
  97. data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +8 -0
  98. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +8 -0
  99. data/sorbet/rbi/gems/kramdown@2.3.1.rbi +8 -0
  100. data/sorbet/rbi/gems/listen@3.7.0.rbi +476 -0
  101. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +8 -0
  102. data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
  103. data/sorbet/rbi/gems/minitest@5.14.4.rbi +344 -0
  104. data/sorbet/rbi/gems/multipart-post@2.1.1.rbi +69 -0
  105. data/sorbet/rbi/gems/nenv@0.3.0.rbi +8 -0
  106. data/sorbet/rbi/gems/nokogiri@1.12.3.rbi +8 -0
  107. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +8 -0
  108. data/sorbet/rbi/gems/overcommit@0.58.0.rbi +8 -0
  109. data/sorbet/rbi/gems/parallel@1.20.1.rbi +8 -0
  110. data/sorbet/rbi/gems/parlour@6.0.1.rbi +1610 -0
  111. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +1731 -0
  112. data/sorbet/rbi/gems/prettier@1.6.1.rbi +8 -0
  113. data/sorbet/rbi/gems/pry-byebug@3.9.0.rbi +461 -0
  114. data/sorbet/rbi/gems/pry@0.13.1.rbi +2553 -0
  115. data/sorbet/rbi/gems/racc@1.5.2.rbi +47 -0
  116. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
  117. data/sorbet/rbi/gems/rake@13.0.6.rbi +807 -0
  118. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
  119. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
  120. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +8 -0
  121. data/sorbet/rbi/gems/reverse_markdown@2.0.0.rbi +8 -0
  122. data/sorbet/rbi/gems/rexml@3.2.5.rbi +672 -0
  123. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +2500 -0
  124. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1574 -0
  125. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
  126. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +510 -0
  127. data/sorbet/rbi/gems/rspec@3.10.0.rbi +39 -0
  128. data/sorbet/rbi/gems/rspec_in_context@1.1.0.3.rbi +196 -0
  129. data/sorbet/rbi/gems/rubocop-ast@1.11.0.rbi +8 -0
  130. data/sorbet/rbi/gems/rubocop-faker@1.1.0.rbi +8 -0
  131. data/sorbet/rbi/gems/rubocop-performance@1.11.5.rbi +8 -0
  132. data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +8 -0
  133. data/sorbet/rbi/gems/rubocop@1.20.0.rbi +8 -0
  134. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +8 -0
  135. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
  136. data/sorbet/rbi/gems/shellany@0.0.1.rbi +8 -0
  137. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
  138. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
  139. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +8 -0
  140. data/sorbet/rbi/gems/solargraph@0.43.0.rbi +8 -0
  141. data/sorbet/rbi/gems/spoom@1.1.2.rbi +1204 -0
  142. data/sorbet/rbi/gems/tapioca@0.4.25.rbi +1239 -0
  143. data/sorbet/rbi/gems/temple@0.8.2.rbi +8 -0
  144. data/sorbet/rbi/gems/thor@1.1.0.rbi +838 -0
  145. data/sorbet/rbi/gems/tilt@2.0.10.rbi +8 -0
  146. data/sorbet/rbi/gems/timecop@0.9.4.rbi +82 -0
  147. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +857 -0
  148. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +8 -0
  149. data/sorbet/rbi/gems/unparser@0.6.0.rbi +8 -0
  150. data/sorbet/rbi/gems/vcr@6.0.0.rbi +782 -0
  151. data/sorbet/rbi/gems/yard-sorbet@0.5.3.rbi +8 -0
  152. data/sorbet/rbi/gems/yard@0.9.26.rbi +8 -0
  153. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +173 -0
  154. data/sorbet/tapioca/config +0 -0
  155. data/sorbet/tapioca/require.rb +5 -0
  156. metadata +148 -128
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `ffi` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `formatador` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `guard-compat` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `guard-rspec` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `guard` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `haml` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `highline` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
@@ -0,0 +1,584 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `i18n` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ module I18n
8
+ extend ::I18n::Base
9
+
10
+ class << self
11
+ def interpolate(string, values); end
12
+ def interpolate_hash(string, values); end
13
+ def new_double_nested_cache; end
14
+ end
15
+ end
16
+
17
+ class I18n::ArgumentError < ::ArgumentError; end
18
+ module I18n::Backend; end
19
+
20
+ module I18n::Backend::Base
21
+ include ::I18n::Backend::Transliterator
22
+
23
+ def available_locales; end
24
+ def eager_load!; end
25
+ def exists?(locale, key, options = T.unsafe(nil)); end
26
+ def load_translations(*filenames); end
27
+ def localize(locale, object, format = T.unsafe(nil), options = T.unsafe(nil)); end
28
+ def reload!; end
29
+ def store_translations(locale, data, options = T.unsafe(nil)); end
30
+ def translate(locale, key, options = T.unsafe(nil)); end
31
+
32
+ protected
33
+
34
+ def deep_interpolate(locale, data, values = T.unsafe(nil)); end
35
+ def default(locale, object, subject, options = T.unsafe(nil)); end
36
+ def eager_loaded?; end
37
+ def interpolate(locale, subject, values = T.unsafe(nil)); end
38
+ def load_file(filename); end
39
+ def load_json(filename); end
40
+ def load_rb(filename); end
41
+ def load_yaml(filename); end
42
+ def load_yml(filename); end
43
+ def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end
44
+ def pluralization_key(entry, count); end
45
+ def pluralize(locale, entry, count); end
46
+ def resolve(locale, object, subject, options = T.unsafe(nil)); end
47
+ def subtrees?; end
48
+ def translate_localization_format(locale, object, format, options); end
49
+ end
50
+
51
+ module I18n::Backend::Cache
52
+ def translate(locale, key, options = T.unsafe(nil)); end
53
+
54
+ protected
55
+
56
+ def _fetch(cache_key, &block); end
57
+ def cache_key(locale, key, options); end
58
+ def fetch(cache_key, &block); end
59
+
60
+ private
61
+
62
+ def digest_item(key); end
63
+ end
64
+
65
+ module I18n::Backend::CacheFile
66
+ def path_roots; end
67
+ def path_roots=(_arg0); end
68
+
69
+ protected
70
+
71
+ def load_file(filename); end
72
+ def normalized_path(file); end
73
+ end
74
+
75
+ module I18n::Backend::Cascade
76
+ def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end
77
+ end
78
+
79
+ class I18n::Backend::Chain
80
+ include ::I18n::Backend::Transliterator
81
+ include ::I18n::Backend::Base
82
+ include ::I18n::Backend::Chain::Implementation
83
+ end
84
+
85
+ module I18n::Backend::Chain::Implementation
86
+ include ::I18n::Backend::Transliterator
87
+ include ::I18n::Backend::Base
88
+
89
+ def initialize(*backends); end
90
+
91
+ def available_locales; end
92
+ def backends; end
93
+ def backends=(_arg0); end
94
+ def eager_load!; end
95
+ def exists?(locale, key, options = T.unsafe(nil)); end
96
+ def initialized?; end
97
+ def localize(locale, object, format = T.unsafe(nil), options = T.unsafe(nil)); end
98
+ def reload!; end
99
+ def store_translations(locale, data, options = T.unsafe(nil)); end
100
+ def translate(locale, key, default_options = T.unsafe(nil)); end
101
+
102
+ protected
103
+
104
+ def init_translations; end
105
+ def namespace_lookup?(result, options); end
106
+ def translations; end
107
+
108
+ private
109
+
110
+ def _deep_merge(hash, other_hash); end
111
+ end
112
+
113
+ module I18n::Backend::Fallbacks
114
+ def exists?(locale, key, options = T.unsafe(nil)); end
115
+ def extract_non_symbol_default!(options); end
116
+ def translate(locale, key, options = T.unsafe(nil)); end
117
+
118
+ private
119
+
120
+ def on_fallback(_original_locale, _fallback_locale, _key, _optoins); end
121
+ end
122
+
123
+ module I18n::Backend::Flatten
124
+ def flatten_keys(hash, escape, prev_key = T.unsafe(nil), &block); end
125
+ def flatten_translations(locale, data, escape, subtree); end
126
+ def links; end
127
+ def normalize_flat_keys(locale, key, scope, separator); end
128
+
129
+ protected
130
+
131
+ def escape_default_separator(key); end
132
+ def find_link(locale, key); end
133
+ def resolve_link(locale, key); end
134
+ def store_link(locale, key, link); end
135
+
136
+ class << self
137
+ def escape_default_separator(key); end
138
+ def normalize_flat_keys(locale, key, scope, separator); end
139
+ end
140
+ end
141
+
142
+ I18n::Backend::Flatten::FLATTEN_SEPARATOR = T.let(T.unsafe(nil), String)
143
+ I18n::Backend::Flatten::SEPARATOR_ESCAPE_CHAR = T.let(T.unsafe(nil), String)
144
+
145
+ module I18n::Backend::Gettext
146
+ protected
147
+
148
+ def load_po(filename); end
149
+ def normalize(locale, data); end
150
+ def normalize_pluralization(locale, key, value); end
151
+ def parse(filename); end
152
+ end
153
+
154
+ class I18n::Backend::Gettext::PoData < ::Hash
155
+ def set_comment(msgid_or_sym, comment); end
156
+ end
157
+
158
+ module I18n::Backend::InterpolationCompiler
159
+ def interpolate(locale, string, values); end
160
+ def store_translations(locale, data, options = T.unsafe(nil)); end
161
+
162
+ protected
163
+
164
+ def compile_all_strings_in(data); end
165
+ end
166
+
167
+ module I18n::Backend::InterpolationCompiler::Compiler
168
+ extend ::I18n::Backend::InterpolationCompiler::Compiler
169
+
170
+ def compile_if_an_interpolation(string); end
171
+ def interpolated_str?(str); end
172
+
173
+ protected
174
+
175
+ def compile_interpolation_token(key); end
176
+ def compiled_interpolation_body(str); end
177
+ def direct_key(key); end
178
+ def escape_key_sym(key); end
179
+ def escape_plain_str(str); end
180
+ def handle_interpolation_token(interpolation, matchdata); end
181
+ def interpolate_key(key); end
182
+ def interpolate_or_raise_missing(key); end
183
+ def missing_key(key); end
184
+ def nil_key(key); end
185
+ def reserved_key(key); end
186
+ def tokenize(str); end
187
+ end
188
+
189
+ I18n::Backend::InterpolationCompiler::Compiler::INTERPOLATION_SYNTAX_PATTERN = T.let(T.unsafe(nil), Regexp)
190
+ I18n::Backend::InterpolationCompiler::Compiler::TOKENIZER = T.let(T.unsafe(nil), Regexp)
191
+
192
+ class I18n::Backend::KeyValue
193
+ include ::I18n::Backend::Flatten
194
+ include ::I18n::Backend::Transliterator
195
+ include ::I18n::Backend::Base
196
+ include ::I18n::Backend::KeyValue::Implementation
197
+ end
198
+
199
+ module I18n::Backend::KeyValue::Implementation
200
+ include ::I18n::Backend::Flatten
201
+ include ::I18n::Backend::Transliterator
202
+ include ::I18n::Backend::Base
203
+
204
+ def initialize(store, subtrees = T.unsafe(nil)); end
205
+
206
+ def available_locales; end
207
+ def initialized?; end
208
+ def store; end
209
+ def store=(_arg0); end
210
+ def store_translations(locale, data, options = T.unsafe(nil)); end
211
+
212
+ protected
213
+
214
+ def init_translations; end
215
+ def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end
216
+ def pluralize(locale, entry, count); end
217
+ def subtrees?; end
218
+ def translations; end
219
+ end
220
+
221
+ class I18n::Backend::KeyValue::SubtreeProxy
222
+ def initialize(master_key, store); end
223
+
224
+ def [](key); end
225
+ def has_key?(key); end
226
+ def inspect; end
227
+ def instance_of?(klass); end
228
+ def is_a?(klass); end
229
+ def kind_of?(klass); end
230
+ def nil?; end
231
+ end
232
+
233
+ module I18n::Backend::Memoize
234
+ def available_locales; end
235
+ def eager_load!; end
236
+ def reload!; end
237
+ def store_translations(locale, data, options = T.unsafe(nil)); end
238
+
239
+ protected
240
+
241
+ def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end
242
+ def memoized_lookup; end
243
+ def reset_memoizations!(locale = T.unsafe(nil)); end
244
+ end
245
+
246
+ module I18n::Backend::Metadata
247
+ def interpolate(locale, entry, values = T.unsafe(nil)); end
248
+ def pluralize(locale, entry, count); end
249
+ def translate(locale, key, options = T.unsafe(nil)); end
250
+
251
+ protected
252
+
253
+ def with_metadata(metadata, &block); end
254
+
255
+ class << self
256
+ def included(base); end
257
+ end
258
+ end
259
+
260
+ module I18n::Backend::Pluralization
261
+ def pluralize(locale, entry, count); end
262
+
263
+ protected
264
+
265
+ def pluralizer(locale); end
266
+ def pluralizers; end
267
+ end
268
+
269
+ class I18n::Backend::Simple
270
+ include ::I18n::Backend::Transliterator
271
+ include ::I18n::Backend::Base
272
+ include ::I18n::Backend::Simple::Implementation
273
+ end
274
+
275
+ module I18n::Backend::Simple::Implementation
276
+ include ::I18n::Backend::Transliterator
277
+ include ::I18n::Backend::Base
278
+
279
+ def available_locales; end
280
+ def eager_load!; end
281
+ def initialized?; end
282
+ def reload!; end
283
+ def store_translations(locale, data, options = T.unsafe(nil)); end
284
+ def translations(do_init: T.unsafe(nil)); end
285
+
286
+ protected
287
+
288
+ def init_translations; end
289
+ def lookup(locale, key, scope = T.unsafe(nil), options = T.unsafe(nil)); end
290
+ end
291
+
292
+ module I18n::Backend::Transliterator
293
+ def transliterate(locale, string, replacement = T.unsafe(nil)); end
294
+
295
+ class << self
296
+ def get(rule = T.unsafe(nil)); end
297
+ end
298
+ end
299
+
300
+ I18n::Backend::Transliterator::DEFAULT_REPLACEMENT_CHAR = T.let(T.unsafe(nil), String)
301
+
302
+ class I18n::Backend::Transliterator::HashTransliterator
303
+ def initialize(rule = T.unsafe(nil)); end
304
+
305
+ def transliterate(string, replacement = T.unsafe(nil)); end
306
+
307
+ private
308
+
309
+ def add(hash); end
310
+ def add_default_approximations; end
311
+ def approximations; end
312
+ end
313
+
314
+ I18n::Backend::Transliterator::HashTransliterator::DEFAULT_APPROXIMATIONS = T.let(T.unsafe(nil), Hash)
315
+
316
+ class I18n::Backend::Transliterator::ProcTransliterator
317
+ def initialize(rule); end
318
+
319
+ def transliterate(string, replacement = T.unsafe(nil)); end
320
+ end
321
+
322
+ module I18n::Base
323
+ def available_locales; end
324
+ def available_locales=(value); end
325
+ def available_locales_initialized?; end
326
+ def backend; end
327
+ def backend=(value); end
328
+ def config; end
329
+ def config=(value); end
330
+ def default_locale; end
331
+ def default_locale=(value); end
332
+ def default_separator; end
333
+ def default_separator=(value); end
334
+ def eager_load!; end
335
+ def enforce_available_locales; end
336
+ def enforce_available_locales!(locale); end
337
+ def enforce_available_locales=(value); end
338
+ def exception_handler; end
339
+ def exception_handler=(value); end
340
+ def exists?(key, _locale = T.unsafe(nil), locale: T.unsafe(nil), **options); end
341
+ def l(object, locale: T.unsafe(nil), format: T.unsafe(nil), **options); end
342
+ def load_path; end
343
+ def load_path=(value); end
344
+ def locale; end
345
+ def locale=(value); end
346
+ def locale_available?(locale); end
347
+ def localize(object, locale: T.unsafe(nil), format: T.unsafe(nil), **options); end
348
+ def normalize_keys(locale, key, scope, separator = T.unsafe(nil)); end
349
+ def reload!; end
350
+ def t(key = T.unsafe(nil), throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), **options); end
351
+ def t!(key, **options); end
352
+ def translate(key = T.unsafe(nil), throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), **options); end
353
+ def translate!(key, **options); end
354
+ def transliterate(key, throw: T.unsafe(nil), raise: T.unsafe(nil), locale: T.unsafe(nil), replacement: T.unsafe(nil), **options); end
355
+ def with_locale(tmp_locale = T.unsafe(nil)); end
356
+
357
+ private
358
+
359
+ def handle_exception(handling, exception, locale, key, options); end
360
+ def normalize_key(key, separator); end
361
+ end
362
+
363
+ class I18n::Config
364
+ def available_locales; end
365
+ def available_locales=(locales); end
366
+ def available_locales_initialized?; end
367
+ def available_locales_set; end
368
+ def backend; end
369
+ def backend=(backend); end
370
+ def clear_available_locales_set; end
371
+ def default_locale; end
372
+ def default_locale=(locale); end
373
+ def default_separator; end
374
+ def default_separator=(separator); end
375
+ def enforce_available_locales; end
376
+ def enforce_available_locales=(enforce_available_locales); end
377
+ def exception_handler; end
378
+ def exception_handler=(exception_handler); end
379
+ def interpolation_patterns; end
380
+ def interpolation_patterns=(interpolation_patterns); end
381
+ def load_path; end
382
+ def load_path=(load_path); end
383
+ def locale; end
384
+ def locale=(locale); end
385
+ def missing_interpolation_argument_handler; end
386
+ def missing_interpolation_argument_handler=(exception_handler); end
387
+ end
388
+
389
+ I18n::DEFAULT_INTERPOLATION_PATTERNS = T.let(T.unsafe(nil), Array)
390
+
391
+ class I18n::Disabled < ::I18n::ArgumentError
392
+ def initialize(method); end
393
+ end
394
+
395
+ I18n::EMPTY_HASH = T.let(T.unsafe(nil), Hash)
396
+
397
+ class I18n::ExceptionHandler
398
+ def call(exception, _locale, _key, _options); end
399
+ end
400
+
401
+ module I18n::Gettext
402
+ class << self
403
+ def extract_scope(msgid, separator); end
404
+ def plural_keys(*args); end
405
+ end
406
+ end
407
+
408
+ I18n::Gettext::CONTEXT_SEPARATOR = T.let(T.unsafe(nil), String)
409
+
410
+ module I18n::Gettext::Helpers
411
+ def N_(msgsid); end
412
+ def _(msgid, options = T.unsafe(nil)); end
413
+ def gettext(msgid, options = T.unsafe(nil)); end
414
+ def n_(msgid, msgid_plural, n = T.unsafe(nil)); end
415
+ def ngettext(msgid, msgid_plural, n = T.unsafe(nil)); end
416
+ def np_(msgctxt, msgid, msgid_plural, n = T.unsafe(nil)); end
417
+ def npgettext(msgctxt, msgid, msgid_plural, n = T.unsafe(nil)); end
418
+ def ns_(msgid, msgid_plural, n = T.unsafe(nil), separator = T.unsafe(nil)); end
419
+ def nsgettext(msgid, msgid_plural, n = T.unsafe(nil), separator = T.unsafe(nil)); end
420
+ def p_(msgctxt, msgid); end
421
+ def pgettext(msgctxt, msgid); end
422
+ def s_(msgid, separator = T.unsafe(nil)); end
423
+ def sgettext(msgid, separator = T.unsafe(nil)); end
424
+ end
425
+
426
+ I18n::Gettext::PLURAL_SEPARATOR = T.let(T.unsafe(nil), String)
427
+ module I18n::HashRefinements; end
428
+ I18n::INTERPOLATION_PATTERN = T.let(T.unsafe(nil), Regexp)
429
+
430
+ class I18n::InvalidLocale < ::I18n::ArgumentError
431
+ def initialize(locale); end
432
+
433
+ def locale; end
434
+ end
435
+
436
+ class I18n::InvalidLocaleData < ::I18n::ArgumentError
437
+ def initialize(filename, exception_message); end
438
+
439
+ def filename; end
440
+ end
441
+
442
+ class I18n::InvalidPluralizationData < ::I18n::ArgumentError
443
+ def initialize(entry, count, key); end
444
+
445
+ def count; end
446
+ def entry; end
447
+ def key; end
448
+ end
449
+
450
+ I18n::JSON = ActiveSupport::JSON
451
+ module I18n::Locale; end
452
+
453
+ class I18n::Locale::Fallbacks < ::Hash
454
+ def initialize(*mappings); end
455
+
456
+ def [](locale); end
457
+ def defaults; end
458
+ def defaults=(defaults); end
459
+ def map(mappings); end
460
+
461
+ protected
462
+
463
+ def compute(tags, include_defaults = T.unsafe(nil), exclude = T.unsafe(nil)); end
464
+ end
465
+
466
+ module I18n::Locale::Tag
467
+ class << self
468
+ def implementation; end
469
+ def implementation=(implementation); end
470
+ def tag(tag); end
471
+ end
472
+ end
473
+
474
+ module I18n::Locale::Tag::Parents
475
+ def parent; end
476
+ def parents; end
477
+ def self_and_parents; end
478
+ end
479
+
480
+ I18n::Locale::Tag::RFC4646_FORMATS = T.let(T.unsafe(nil), Hash)
481
+ I18n::Locale::Tag::RFC4646_SUBTAGS = T.let(T.unsafe(nil), Array)
482
+
483
+ class I18n::Locale::Tag::Rfc4646 < ::Struct
484
+ include ::I18n::Locale::Tag::Parents
485
+
486
+ def language; end
487
+ def region; end
488
+ def script; end
489
+ def to_a; end
490
+ def to_s; end
491
+ def to_sym; end
492
+ def variant; end
493
+
494
+ class << self
495
+ def parser; end
496
+ def parser=(parser); end
497
+ def tag(tag); end
498
+ end
499
+ end
500
+
501
+ module I18n::Locale::Tag::Rfc4646::Parser
502
+ class << self
503
+ def match(tag); end
504
+ end
505
+ end
506
+
507
+ I18n::Locale::Tag::Rfc4646::Parser::PATTERN = T.let(T.unsafe(nil), Regexp)
508
+
509
+ class I18n::Locale::Tag::Simple
510
+ include ::I18n::Locale::Tag::Parents
511
+
512
+ def initialize(*tag); end
513
+
514
+ def subtags; end
515
+ def tag; end
516
+ def to_a; end
517
+ def to_s; end
518
+ def to_sym; end
519
+
520
+ class << self
521
+ def tag(tag); end
522
+ end
523
+ end
524
+
525
+ class I18n::Middleware
526
+ def initialize(app); end
527
+
528
+ def call(env); end
529
+ end
530
+
531
+ class I18n::MissingInterpolationArgument < ::I18n::ArgumentError
532
+ def initialize(key, values, string); end
533
+
534
+ def key; end
535
+ def string; end
536
+ def values; end
537
+ end
538
+
539
+ class I18n::MissingTranslation < ::I18n::ArgumentError
540
+ include ::I18n::MissingTranslation::Base
541
+ end
542
+
543
+ module I18n::MissingTranslation::Base
544
+ def initialize(locale, key, options = T.unsafe(nil)); end
545
+
546
+ def key; end
547
+ def keys; end
548
+ def locale; end
549
+ def message; end
550
+ def options; end
551
+ def to_exception; end
552
+ def to_s; end
553
+ end
554
+
555
+ class I18n::MissingTranslationData < ::I18n::ArgumentError
556
+ include ::I18n::MissingTranslation::Base
557
+ end
558
+
559
+ I18n::RESERVED_KEYS = T.let(T.unsafe(nil), Array)
560
+ I18n::RESERVED_KEYS_PATTERN = T.let(T.unsafe(nil), Regexp)
561
+
562
+ class I18n::ReservedInterpolationKey < ::I18n::ArgumentError
563
+ def initialize(key, string); end
564
+
565
+ def key; end
566
+ def string; end
567
+ end
568
+
569
+ module I18n::Tests; end
570
+
571
+ module I18n::Tests::Localization
572
+ class << self
573
+ def included(base); end
574
+ end
575
+ end
576
+
577
+ class I18n::UnknownFileType < ::I18n::ArgumentError
578
+ def initialize(type, filename); end
579
+
580
+ def filename; end
581
+ def type; end
582
+ end
583
+
584
+ I18n::VERSION = T.let(T.unsafe(nil), String)
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `iniparse` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `jaro_winkler` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `kramdown-parser-gfm` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
@@ -0,0 +1,8 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for types exported from the `kramdown` gem.
3
+ # Please instead update this file by running `bin/tapioca sync`.
4
+
5
+ # typed: true
6
+
7
+ # THIS IS AN EMPTY RBI FILE.
8
+ # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires