shotgrid_api_ruby 0.2.0.5 → 0.2.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (187) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test_and_publish.yml +3 -3
  3. data/.github/workflows/test_only.yml +7 -5
  4. data/.ruby-version +1 -1
  5. data/CHANGELOG.md +6 -0
  6. data/Gemfile +12 -0
  7. data/Gemfile.lock +101 -85
  8. data/bin/prettirun +1 -1
  9. data/docs/ShotgridApiRuby/Auth/Validator.html +4 -4
  10. data/docs/ShotgridApiRuby/Auth.html +4 -4
  11. data/docs/ShotgridApiRuby/Client.html +4 -4
  12. data/docs/ShotgridApiRuby/Entities/Params/TooComplexFiltersError.html +4 -4
  13. data/docs/ShotgridApiRuby/Entities/Params.html +4 -4
  14. data/docs/ShotgridApiRuby/Entities/Schema.html +4 -4
  15. data/docs/ShotgridApiRuby/Entities/Summarize/Summary.html +8 -8
  16. data/docs/ShotgridApiRuby/Entities/Summarize.html +4 -4
  17. data/docs/ShotgridApiRuby/Entities.html +4 -4
  18. data/docs/ShotgridApiRuby/Entity.html +12 -12
  19. data/docs/ShotgridApiRuby/Preferences.html +4 -4
  20. data/docs/ShotgridApiRuby/ServerInfo.html +4 -4
  21. data/docs/ShotgridApiRuby/ShotgridCallError.html +4 -4
  22. data/docs/ShotgridApiRuby/Types.html +4 -4
  23. data/docs/ShotgridApiRuby.html +5 -5
  24. data/docs/_index.html +5 -5
  25. data/docs/file.README.html +4 -4
  26. data/docs/frames.html +1 -1
  27. data/docs/index.html +4 -4
  28. data/docs/top-level-namespace.html +4 -4
  29. data/lib/shotgrid_api_ruby/version.rb +1 -1
  30. data/shotgrid_api_ruby.gemspec +0 -9
  31. data/sorbet/rbi/gems/activesupport@7.0.4.2.rbi +18676 -0
  32. data/sorbet/rbi/gems/ast@2.4.2.rbi +533 -3
  33. data/sorbet/rbi/gems/backport@1.2.0.rbi +518 -4
  34. data/sorbet/rbi/gems/benchmark@0.2.1.rbi +588 -0
  35. data/sorbet/rbi/gems/bundler-audit@0.9.1.rbi +308 -0
  36. data/sorbet/rbi/gems/byebug@11.1.3.rbi +2065 -28
  37. data/sorbet/rbi/gems/childprocess@4.1.0.rbi +397 -4
  38. data/sorbet/rbi/gems/coderay@1.1.3.rbi +2425 -4
  39. data/sorbet/rbi/gems/concurrent-ruby@1.2.0.rbi +11570 -0
  40. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1083 -0
  41. data/sorbet/rbi/gems/docile@1.4.0.rbi +335 -13
  42. data/sorbet/rbi/gems/dotenv@2.8.1.rbi +234 -0
  43. data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +4 -4
  44. data/sorbet/rbi/gems/faker@3.1.0.rbi +13380 -0
  45. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +167 -11
  46. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +94 -11
  47. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +105 -11
  48. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +118 -11
  49. data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +273 -0
  50. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +106 -11
  51. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +92 -11
  52. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +97 -11
  53. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +106 -11
  54. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +227 -0
  55. data/sorbet/rbi/gems/faraday@1.10.3.rbi +2743 -0
  56. data/sorbet/rbi/gems/ffi@1.15.5.rbi +8 -0
  57. data/sorbet/rbi/gems/formatador@1.1.0.rbi +8 -0
  58. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +62 -4
  59. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +558 -4
  60. data/sorbet/rbi/gems/guard@2.18.0.rbi +4 -4
  61. data/sorbet/rbi/gems/haml@6.1.1.rbi +1588 -0
  62. data/sorbet/rbi/gems/i18n@1.12.0.rbi +2296 -0
  63. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +893 -4
  64. data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +15 -4
  65. data/sorbet/rbi/gems/json@2.6.3.rbi +1533 -0
  66. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +129 -4
  67. data/sorbet/rbi/gems/kramdown@2.4.0.rbi +3271 -0
  68. data/sorbet/rbi/gems/listen@3.8.0.rbi +1181 -0
  69. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +4 -4
  70. data/sorbet/rbi/gems/method_source@1.0.0.rbi +202 -2
  71. data/sorbet/rbi/gems/minitest@5.17.0.rbi +1457 -0
  72. data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +233 -0
  73. data/sorbet/rbi/gems/nenv@0.3.0.rbi +4 -4
  74. data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
  75. data/sorbet/rbi/gems/nokogiri@1.14.0.rbi +7250 -0
  76. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +4 -4
  77. data/sorbet/rbi/gems/overcommit@0.60.0.rbi +2399 -0
  78. data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
  79. data/sorbet/rbi/gems/parser@3.2.0.0.rbi +6964 -0
  80. data/sorbet/rbi/gems/prettier@3.2.2.rbi +22 -0
  81. data/sorbet/rbi/gems/prettier_print@1.2.0.rbi +8 -0
  82. data/sorbet/rbi/gems/pry-byebug@3.10.1.rbi +1171 -0
  83. data/sorbet/rbi/gems/pry@0.14.2.rbi +10081 -0
  84. data/sorbet/rbi/gems/racc@1.6.2.rbi +154 -0
  85. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +408 -0
  86. data/sorbet/rbi/gems/rake@13.0.6.rbi +2248 -13
  87. data/sorbet/rbi/gems/rb-fsevent@0.11.2.rbi +8 -0
  88. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +4 -4
  89. data/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
  90. data/sorbet/rbi/gems/rbs@2.8.4.rbi +8 -0
  91. data/sorbet/rbi/gems/regexp_parser@2.6.2.rbi +3481 -0
  92. data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +389 -0
  93. data/sorbet/rbi/gems/rexml@3.2.5.rbi +4048 -3
  94. data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +10809 -0
  95. data/sorbet/rbi/gems/rspec-expectations@3.12.2.rbi +8109 -0
  96. data/sorbet/rbi/gems/rspec-mocks@3.12.3.rbi +5308 -0
  97. data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +1620 -0
  98. data/sorbet/rbi/gems/rspec@3.12.0.rbi +91 -0
  99. data/sorbet/rbi/gems/rspec_in_context@1.1.0.3.rbi +387 -15
  100. data/sorbet/rbi/gems/rubocop-ast@1.24.1.rbi +7019 -0
  101. data/sorbet/rbi/gems/rubocop-faker@1.1.0.rbi +102 -4
  102. data/sorbet/rbi/gems/rubocop-performance@1.15.2.rbi +3021 -0
  103. data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +990 -0
  104. data/sorbet/rbi/gems/rubocop@1.44.1.rbi +54394 -0
  105. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1235 -4
  106. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +4 -4
  107. data/sorbet/rbi/gems/shellany@0.0.1.rbi +4 -4
  108. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +135 -5
  109. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2148 -0
  110. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
  111. data/sorbet/rbi/gems/solargraph@0.48.0.rbi +9146 -0
  112. data/sorbet/rbi/gems/spoom@1.1.15.rbi +2383 -0
  113. data/sorbet/rbi/gems/syntax_tree-haml@3.0.0.rbi +8 -0
  114. data/sorbet/rbi/gems/syntax_tree-rbs@0.5.1.rbi +8 -0
  115. data/sorbet/rbi/gems/syntax_tree@5.2.0.rbi +8 -0
  116. data/sorbet/rbi/gems/tapioca@0.10.5.rbi +3226 -0
  117. data/sorbet/rbi/gems/temple@0.10.0.rbi +1722 -0
  118. data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
  119. data/sorbet/rbi/gems/tilt@2.0.11.rbi +745 -0
  120. data/sorbet/rbi/gems/timecop@0.9.6.rbi +368 -0
  121. data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +5914 -0
  122. data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +65 -0
  123. data/sorbet/rbi/gems/unparser@0.6.7.rbi +4524 -0
  124. data/sorbet/rbi/gems/vcr@6.1.0.rbi +3020 -0
  125. data/sorbet/rbi/gems/webrick@1.7.0.rbi +2555 -0
  126. data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +441 -0
  127. data/sorbet/rbi/gems/yard@0.9.28.rbi +17863 -0
  128. data/sorbet/rbi/gems/zeitwerk@2.6.6.rbi +950 -0
  129. data/yarn.lock +3 -3
  130. metadata +67 -186
  131. data/sorbet/rbi/gems/activesupport@6.1.4.1.rbi +0 -3770
  132. data/sorbet/rbi/gems/benchmark@0.1.1.rbi +0 -65
  133. data/sorbet/rbi/gems/bundler-audit@0.8.0.rbi +0 -8
  134. data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
  135. data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
  136. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
  137. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -8
  138. data/sorbet/rbi/gems/dotenv@2.7.6.rbi +0 -88
  139. data/sorbet/rbi/gems/faker@2.19.0.rbi +0 -2513
  140. data/sorbet/rbi/gems/faraday@1.7.0.rbi +0 -783
  141. data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
  142. data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
  143. data/sorbet/rbi/gems/haml@5.2.2.rbi +0 -8
  144. data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
  145. data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -584
  146. data/sorbet/rbi/gems/kramdown@2.3.1.rbi +0 -8
  147. data/sorbet/rbi/gems/listen@3.7.0.rbi +0 -476
  148. data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
  149. data/sorbet/rbi/gems/multipart-post@2.1.1.rbi +0 -69
  150. data/sorbet/rbi/gems/nokogiri@1.12.3.rbi +0 -8
  151. data/sorbet/rbi/gems/overcommit@0.58.0.rbi +0 -8
  152. data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -8
  153. data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1610
  154. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1731
  155. data/sorbet/rbi/gems/prettier@1.6.1.rbi +0 -8
  156. data/sorbet/rbi/gems/pry-byebug@3.9.0.rbi +0 -461
  157. data/sorbet/rbi/gems/pry@0.13.1.rbi +0 -2553
  158. data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
  159. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
  160. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
  161. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -8
  162. data/sorbet/rbi/gems/reverse_markdown@2.0.0.rbi +0 -8
  163. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2500
  164. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
  165. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
  166. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -510
  167. data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -39
  168. data/sorbet/rbi/gems/rubocop-ast@1.11.0.rbi +0 -8
  169. data/sorbet/rbi/gems/rubocop-performance@1.11.5.rbi +0 -8
  170. data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -8
  171. data/sorbet/rbi/gems/rubocop@1.20.0.rbi +0 -8
  172. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
  173. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
  174. data/sorbet/rbi/gems/solargraph@0.43.0.rbi +0 -8
  175. data/sorbet/rbi/gems/spoom@1.1.2.rbi +0 -1204
  176. data/sorbet/rbi/gems/tapioca@0.4.25.rbi +0 -1239
  177. data/sorbet/rbi/gems/temple@0.8.2.rbi +0 -8
  178. data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
  179. data/sorbet/rbi/gems/tilt@2.0.10.rbi +0 -8
  180. data/sorbet/rbi/gems/timecop@0.9.4.rbi +0 -82
  181. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -857
  182. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -8
  183. data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -8
  184. data/sorbet/rbi/gems/vcr@6.0.0.rbi +0 -782
  185. data/sorbet/rbi/gems/yard-sorbet@0.5.3.rbi +0 -8
  186. data/sorbet/rbi/gems/yard@0.9.26.rbi +0 -8
  187. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
@@ -0,0 +1,233 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `multipart-post` gem.
5
+ # Please instead update this file by running `bin/tapioca gem multipart-post`.
6
+
7
+ # source://multipart-post//lib/multipart/post/composite_read_io.rb#72
8
+ CompositeIO = Multipart::Post::CompositeReadIO
9
+
10
+ # source://multipart-post//lib/multipart/post/version.rb#7
11
+ module Multipart; end
12
+
13
+ # source://multipart-post//lib/multipart/post/version.rb#8
14
+ module Multipart::Post; end
15
+
16
+ # Concatenate together multiple IO objects into a single, composite IO object
17
+ # for purposes of reading as a single stream.
18
+ #
19
+ # @example
20
+ # crio = CompositeReadIO.new(StringIO.new('one'),
21
+ # StringIO.new('two'),
22
+ # StringIO.new('three'))
23
+ # puts crio.read # => "onetwothree"
24
+ #
25
+ # source://multipart-post//lib/multipart/post/composite_read_io.rb#28
26
+ class Multipart::Post::CompositeReadIO
27
+ # Create a new composite-read IO from the arguments, all of which should
28
+ # respond to #read in a manner consistent with IO.
29
+ #
30
+ # @return [CompositeReadIO] a new instance of CompositeReadIO
31
+ #
32
+ # source://multipart-post//lib/multipart/post/composite_read_io.rb#31
33
+ def initialize(*ios); end
34
+
35
+ # Read from IOs in order until `length` bytes have been received.
36
+ #
37
+ # source://multipart-post//lib/multipart/post/composite_read_io.rb#37
38
+ def read(length = T.unsafe(nil), outbuf = T.unsafe(nil)); end
39
+
40
+ # source://multipart-post//lib/multipart/post/composite_read_io.rb#54
41
+ def rewind; end
42
+
43
+ private
44
+
45
+ # source://multipart-post//lib/multipart/post/composite_read_io.rb#65
46
+ def advance_io; end
47
+
48
+ # source://multipart-post//lib/multipart/post/composite_read_io.rb#61
49
+ def current_io; end
50
+ end
51
+
52
+ # source://multipart-post//lib/multipart/post/multipartable.rb#23
53
+ module Multipart::Post::Multipartable
54
+ # source://multipart-post//lib/multipart/post/multipartable.rb#38
55
+ def initialize(path, params, headers = T.unsafe(nil), boundary = T.unsafe(nil)); end
56
+
57
+ # Returns the value of attribute boundary.
58
+ #
59
+ # source://multipart-post//lib/multipart/post/multipartable.rb#61
60
+ def boundary; end
61
+
62
+ private
63
+
64
+ # source://multipart-post//lib/multipart/post/multipartable.rb#66
65
+ def symbolize_keys(hash); end
66
+
67
+ class << self
68
+ # source://multipart-post//lib/multipart/post/multipartable.rb#24
69
+ def secure_boundary; end
70
+ end
71
+ end
72
+
73
+ # source://multipart-post//lib/multipart/post/parts.rb#26
74
+ module Multipart::Post::Parts; end
75
+
76
+ # Represents the epilogue or closing boundary.
77
+ #
78
+ # source://multipart-post//lib/multipart/post/parts.rb#138
79
+ class Multipart::Post::Parts::EpiloguePart
80
+ include ::Multipart::Post::Parts::Part
81
+
82
+ # @return [EpiloguePart] a new instance of EpiloguePart
83
+ #
84
+ # source://multipart-post//lib/multipart/post/parts.rb#141
85
+ def initialize(boundary); end
86
+ end
87
+
88
+ # Represents a part to be filled from file IO.
89
+ #
90
+ # source://multipart-post//lib/multipart/post/parts.rb#83
91
+ class Multipart::Post::Parts::FilePart
92
+ include ::Multipart::Post::Parts::Part
93
+
94
+ # @param boundary [String]
95
+ # @param name [#to_s]
96
+ # @param io [IO]
97
+ # @param headers [Hash]
98
+ # @return [FilePart] a new instance of FilePart
99
+ #
100
+ # source://multipart-post//lib/multipart/post/parts.rb#92
101
+ def initialize(boundary, name, io, headers = T.unsafe(nil)); end
102
+
103
+ # @param boundary [String]
104
+ # @param name [#to_s]
105
+ # @param filename [String]
106
+ # @param type [String]
107
+ # @param content_len [Integer]
108
+ # @param opts [Hash]
109
+ #
110
+ # source://multipart-post//lib/multipart/post/parts.rb#107
111
+ def build_head(boundary, name, filename, type, content_len, opts = T.unsafe(nil)); end
112
+
113
+ # Returns the value of attribute length.
114
+ #
115
+ # source://multipart-post//lib/multipart/post/parts.rb#86
116
+ def length; end
117
+ end
118
+
119
+ # Represents a parametric part to be filled with given value.
120
+ #
121
+ # source://multipart-post//lib/multipart/post/parts.rb#51
122
+ class Multipart::Post::Parts::ParamPart
123
+ include ::Multipart::Post::Parts::Part
124
+
125
+ # @param boundary [String]
126
+ # @param name [#to_s]
127
+ # @param value [String]
128
+ # @param headers [Hash] Content-Type and Content-ID are used, if present.
129
+ # @return [ParamPart] a new instance of ParamPart
130
+ #
131
+ # source://multipart-post//lib/multipart/post/parts.rb#58
132
+ def initialize(boundary, name, value, headers = T.unsafe(nil)); end
133
+
134
+ # @param boundary [String]
135
+ # @param name [#to_s]
136
+ # @param value [String]
137
+ # @param headers [Hash] Content-Type is used, if present.
138
+ #
139
+ # source://multipart-post//lib/multipart/post/parts.rb#71
140
+ def build_part(boundary, name, value, headers = T.unsafe(nil)); end
141
+
142
+ # source://multipart-post//lib/multipart/post/parts.rb#63
143
+ def length; end
144
+ end
145
+
146
+ # source://multipart-post//lib/multipart/post/parts.rb#27
147
+ module Multipart::Post::Parts::Part
148
+ # source://multipart-post//lib/multipart/post/parts.rb#41
149
+ def length; end
150
+
151
+ # source://multipart-post//lib/multipart/post/parts.rb#45
152
+ def to_io; end
153
+
154
+ class << self
155
+ # @return [Boolean]
156
+ #
157
+ # source://multipart-post//lib/multipart/post/parts.rb#37
158
+ def file?(value); end
159
+
160
+ # source://multipart-post//lib/multipart/post/parts.rb#28
161
+ def new(boundary, name, value, headers = T.unsafe(nil)); end
162
+ end
163
+ end
164
+
165
+ # Convenience methods for dealing with files and IO that are to be uploaded.
166
+ #
167
+ # source://multipart-post//lib/multipart/post/upload_io.rb#9
168
+ class Multipart::Post::UploadIO
169
+ # Create an upload IO suitable for including in the params hash of a
170
+ # Net::HTTP::Post::Multipart.
171
+ #
172
+ # Can take two forms. The first accepts a filename and content type, and
173
+ # opens the file for reading (to be closed by finalizer).
174
+ #
175
+ # The second accepts an already-open IO, but also requires a third argument,
176
+ # the filename from which it was opened (particularly useful/recommended if
177
+ # uploading directly from a form in a framework, which often save the file to
178
+ # an arbitrarily named RackMultipart file in /tmp).
179
+ #
180
+ # @example
181
+ # UploadIO.new("file.txt", "text/plain")
182
+ # UploadIO.new(file_io, "text/plain", "file.txt")
183
+ # @return [UploadIO] a new instance of UploadIO
184
+ #
185
+ # source://multipart-post//lib/multipart/post/upload_io.rb#26
186
+ def initialize(filename_or_io, content_type, filename = T.unsafe(nil), opts = T.unsafe(nil)); end
187
+
188
+ # Returns the value of attribute content_type.
189
+ #
190
+ # source://multipart-post//lib/multipart/post/upload_io.rb#10
191
+ def content_type; end
192
+
193
+ # Returns the value of attribute io.
194
+ #
195
+ # source://multipart-post//lib/multipart/post/upload_io.rb#10
196
+ def io; end
197
+
198
+ # Returns the value of attribute local_path.
199
+ #
200
+ # source://multipart-post//lib/multipart/post/upload_io.rb#10
201
+ def local_path; end
202
+
203
+ # source://multipart-post//lib/multipart/post/upload_io.rb#52
204
+ def method_missing(*args); end
205
+
206
+ # Returns the value of attribute opts.
207
+ #
208
+ # source://multipart-post//lib/multipart/post/upload_io.rb#10
209
+ def opts; end
210
+
211
+ # Returns the value of attribute original_filename.
212
+ #
213
+ # source://multipart-post//lib/multipart/post/upload_io.rb#10
214
+ def original_filename; end
215
+
216
+ # @return [Boolean]
217
+ #
218
+ # source://multipart-post//lib/multipart/post/upload_io.rb#56
219
+ def respond_to?(meth, include_all = T.unsafe(nil)); end
220
+
221
+ class << self
222
+ # @raise [ArgumentError]
223
+ #
224
+ # source://multipart-post//lib/multipart/post/upload_io.rb#46
225
+ def convert!(io, content_type, original_filename, local_path); end
226
+ end
227
+ end
228
+
229
+ # source://multipart-post//lib/multipart/post/version.rb#9
230
+ Multipart::Post::VERSION = T.let(T.unsafe(nil), String)
231
+
232
+ # source://multipart-post//lib/multipart/post/upload_io.rb#63
233
+ UploadIO = Multipart::Post::UploadIO
@@ -1,8 +1,8 @@
1
+ # typed: true
2
+
1
3
  # DO NOT EDIT MANUALLY
2
4
  # This is an autogenerated file for types exported from the `nenv` gem.
3
- # Please instead update this file by running `bin/tapioca sync`.
4
-
5
- # typed: true
5
+ # Please instead update this file by running `bin/tapioca gem nenv`.
6
6
 
7
7
  # THIS IS AN EMPTY RBI FILE.
8
- # see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
8
+ # see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
@@ -0,0 +1,158 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `netrc` gem.
5
+ # Please instead update this file by running `bin/tapioca gem netrc`.
6
+
7
+ # source://netrc//lib/netrc.rb#3
8
+ class Netrc
9
+ # @return [Netrc] a new instance of Netrc
10
+ #
11
+ # source://netrc//lib/netrc.rb#166
12
+ def initialize(path, data); end
13
+
14
+ # source://netrc//lib/netrc.rb#180
15
+ def [](k); end
16
+
17
+ # source://netrc//lib/netrc.rb#188
18
+ def []=(k, info); end
19
+
20
+ # source://netrc//lib/netrc.rb#200
21
+ def delete(key); end
22
+
23
+ # source://netrc//lib/netrc.rb#211
24
+ def each(&block); end
25
+
26
+ # source://netrc//lib/netrc.rb#196
27
+ def length; end
28
+
29
+ # source://netrc//lib/netrc.rb#215
30
+ def new_item(m, l, p); end
31
+
32
+ # Returns the value of attribute new_item_prefix.
33
+ #
34
+ # source://netrc//lib/netrc.rb#178
35
+ def new_item_prefix; end
36
+
37
+ # Sets the attribute new_item_prefix
38
+ #
39
+ # @param value the value to set the attribute new_item_prefix to.
40
+ #
41
+ # source://netrc//lib/netrc.rb#178
42
+ def new_item_prefix=(_arg0); end
43
+
44
+ # source://netrc//lib/netrc.rb#219
45
+ def save; end
46
+
47
+ # source://netrc//lib/netrc.rb#233
48
+ def unparse; end
49
+
50
+ class << self
51
+ # source://netrc//lib/netrc.rb#42
52
+ def check_permissions(path); end
53
+
54
+ # source://netrc//lib/netrc.rb#33
55
+ def config; end
56
+
57
+ # @yield [self.config]
58
+ #
59
+ # source://netrc//lib/netrc.rb#37
60
+ def configure; end
61
+
62
+ # source://netrc//lib/netrc.rb#10
63
+ def default_path; end
64
+
65
+ # source://netrc//lib/netrc.rb#14
66
+ def home_path; end
67
+
68
+ # source://netrc//lib/netrc.rb#85
69
+ def lex(lines); end
70
+
71
+ # source://netrc//lib/netrc.rb#29
72
+ def netrc_filename; end
73
+
74
+ # Returns two values, a header and a list of items.
75
+ # Each item is a tuple, containing some or all of:
76
+ # - machine keyword (including trailing whitespace+comments)
77
+ # - machine name
78
+ # - login keyword (including surrounding whitespace+comments)
79
+ # - login
80
+ # - password keyword (including surrounding whitespace+comments)
81
+ # - password
82
+ # - trailing chars
83
+ # This lets us change individual fields, then write out the file
84
+ # with all its original formatting.
85
+ #
86
+ # source://netrc//lib/netrc.rb#129
87
+ def parse(ts); end
88
+
89
+ # Reads path and parses it as a .netrc file. If path doesn't
90
+ # exist, returns an empty object. Decrypt paths ending in .gpg.
91
+ #
92
+ # source://netrc//lib/netrc.rb#51
93
+ def read(path = T.unsafe(nil)); end
94
+
95
+ # @return [Boolean]
96
+ #
97
+ # source://netrc//lib/netrc.rb#112
98
+ def skip?(s); end
99
+ end
100
+ end
101
+
102
+ # source://netrc//lib/netrc.rb#8
103
+ Netrc::CYGWIN = T.let(T.unsafe(nil), T.untyped)
104
+
105
+ # source://netrc//lib/netrc.rb#244
106
+ class Netrc::Entry < ::Struct
107
+ # Returns the value of attribute login
108
+ #
109
+ # @return [Object] the current value of login
110
+ def login; end
111
+
112
+ # Sets the attribute login
113
+ #
114
+ # @param value [Object] the value to set the attribute login to.
115
+ # @return [Object] the newly set value
116
+ def login=(_); end
117
+
118
+ # Returns the value of attribute password
119
+ #
120
+ # @return [Object] the current value of password
121
+ def password; end
122
+
123
+ # Sets the attribute password
124
+ #
125
+ # @param value [Object] the value to set the attribute password to.
126
+ # @return [Object] the newly set value
127
+ def password=(_); end
128
+
129
+ def to_ary; end
130
+
131
+ class << self
132
+ def [](*_arg0); end
133
+ def inspect; end
134
+ def keyword_init?; end
135
+ def members; end
136
+ def new(*_arg0); end
137
+ end
138
+ end
139
+
140
+ # source://netrc//lib/netrc.rb#250
141
+ class Netrc::Error < ::StandardError; end
142
+
143
+ # source://netrc//lib/netrc.rb#68
144
+ class Netrc::TokenArray < ::Array
145
+ # source://netrc//lib/netrc.rb#76
146
+ def readto; end
147
+
148
+ # source://netrc//lib/netrc.rb#69
149
+ def take; end
150
+ end
151
+
152
+ # source://netrc//lib/netrc.rb#4
153
+ Netrc::VERSION = T.let(T.unsafe(nil), String)
154
+
155
+ # see http://stackoverflow.com/questions/4871309/what-is-the-correct-way-to-detect-if-ruby-is-running-on-windows
156
+ #
157
+ # source://netrc//lib/netrc.rb#7
158
+ Netrc::WINDOWS = T.let(T.unsafe(nil), T.untyped)