lunchmoney 1.2.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/build_and_publish_yard_docs.yml +1 -1
- data/.github/workflows/check_pipeline.yml +2 -2
- data/.github/workflows/ci.yml +1 -1
- data/.github/workflows/{dependabot-rbi-updater.yml → rbi-updater.yml} +2 -3
- data/.simplecov +1 -2
- data/Gemfile +2 -3
- data/Gemfile.lock +70 -75
- data/lib/lunchmoney/objects/transaction.rb +9 -1
- data/lib/lunchmoney/objects/user.rb +4 -1
- data/lib/lunchmoney/version.rb +1 -1
- data/sorbet/rbi/annotations/activesupport.rbi +31 -0
- data/sorbet/rbi/annotations/minitest.rbi +119 -0
- data/sorbet/rbi/dsl/active_support/callbacks.rbi +1 -0
- data/sorbet/rbi/gems/{activesupport@7.1.3.2.rbi → activesupport@7.2.1.rbi} +1345 -1253
- data/sorbet/rbi/gems/{addressable@2.8.6.rbi → addressable@2.8.7.rbi} +2 -1
- data/sorbet/rbi/gems/{bigdecimal@3.1.7.rbi → bigdecimal@3.1.8.rbi} +1 -0
- data/sorbet/rbi/gems/{chef-utils@18.4.2.rbi → chef-utils@18.5.0.rbi} +1 -0
- data/sorbet/rbi/gems/{concurrent-ruby@1.2.3.rbi → concurrent-ruby@1.3.4.rbi} +64 -9
- data/sorbet/rbi/gems/{docile@1.4.0.rbi → docile@1.4.1.rbi} +1 -0
- data/sorbet/rbi/gems/{dotenv@3.1.0.rbi → dotenv@3.1.2.rbi} +20 -17
- data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.0.rbi} +20 -15
- data/sorbet/rbi/gems/{faraday-net_http@3.1.0.rbi → faraday-net_http@3.1.1.rbi} +36 -35
- data/sorbet/rbi/gems/{faraday@2.9.0.rbi → faraday@2.10.1.rbi} +79 -33
- data/sorbet/rbi/gems/{hashdiff@1.1.0.rbi → hashdiff@1.1.1.rbi} +3 -2
- data/sorbet/rbi/gems/{i18n@1.14.4.rbi → i18n@1.14.5.rbi} +43 -14
- data/sorbet/rbi/gems/{json@2.7.1.rbi → json@2.7.2.rbi} +72 -72
- data/sorbet/rbi/gems/logger@1.6.0.rbi +903 -0
- data/sorbet/rbi/gems/{minitest@5.22.3.rbi → minitest@5.25.1.rbi} +245 -235
- data/sorbet/rbi/gems/{mixlib-shellout@3.2.7.rbi → mixlib-shellout@3.2.8.rbi} +1 -0
- data/sorbet/rbi/gems/{mocha@2.1.0.rbi → mocha@2.4.5.rbi} +169 -144
- data/sorbet/rbi/gems/{parallel@1.24.0.rbi → parallel@1.26.3.rbi} +32 -21
- data/sorbet/rbi/gems/{parser@3.3.0.5.rbi → parser@3.3.4.2.rbi} +233 -186
- data/sorbet/rbi/gems/{prism@0.24.0.rbi → prism@0.30.0.rbi} +20933 -12761
- data/sorbet/rbi/gems/{public_suffix@5.0.4.rbi → public_suffix@6.0.1.rbi} +1 -0
- data/sorbet/rbi/gems/{racc@1.7.3.rbi → racc@1.8.1.rbi} +34 -33
- data/sorbet/rbi/gems/{rack@3.0.10.rbi → rack@3.1.7.rbi} +694 -987
- data/sorbet/rbi/gems/{rake@13.1.0.rbi → rake@13.2.1.rbi} +56 -55
- data/sorbet/rbi/gems/{rbi@0.1.9.rbi → rbi@0.1.14.rbi} +904 -622
- data/sorbet/rbi/gems/{regexp_parser@2.9.0.rbi → regexp_parser@2.9.2.rbi} +3 -2
- data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.3.6.rbi} +383 -245
- data/sorbet/rbi/gems/{rubocop-ast@1.31.2.rbi → rubocop-ast@1.32.1.rbi} +393 -349
- data/sorbet/rbi/gems/{rubocop-minitest@0.35.0.rbi → rubocop-minitest@0.35.1.rbi} +11 -8
- data/sorbet/rbi/gems/{rubocop-rails@2.24.1.rbi → rubocop-rails@2.26.0.rbi} +604 -275
- data/sorbet/rbi/gems/{rubocop-sorbet@0.8.0.rbi → rubocop-sorbet@0.8.5.rbi} +253 -127
- data/sorbet/rbi/gems/{rubocop@1.62.1.rbi → rubocop@1.65.1.rbi} +2334 -1779
- data/sorbet/rbi/gems/securerandom@0.3.1.rbi +73 -0
- data/sorbet/rbi/gems/{spoom@1.2.4.rbi → spoom@1.4.2.rbi} +2003 -848
- data/sorbet/rbi/gems/strscan@3.1.0.rbi +9 -0
- data/sorbet/rbi/gems/{tapioca@0.13.1.rbi → tapioca@0.16.1.rbi} +294 -259
- data/sorbet/rbi/gems/{toys-core@0.15.5.rbi → toys-core@0.15.6.rbi} +1 -0
- data/sorbet/rbi/gems/{toys@0.15.5.rbi → toys@0.15.6.rbi} +4 -3
- data/sorbet/rbi/gems/{vcr@6.2.0.rbi → vcr@6.3.1.rbi} +72 -68
- data/sorbet/rbi/gems/{webmock@3.23.0.rbi → webmock@3.23.1.rbi} +1 -0
- data/sorbet/rbi/gems/{yard-sorbet@0.8.1.rbi → yard-sorbet@0.9.0.rbi} +36 -29
- metadata +46 -49
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -3426
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -272
- data/sorbet/rbi/gems/mutex_m@0.2.0.rbi +0 -93
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
- data/sorbet/rbi/gems/pry-sorbet@0.2.1.rbi +0 -966
- data/sorbet/rbi/gems/pry@0.14.2.rbi +0 -10077
- data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +0 -23136
@@ -4,6 +4,7 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `addressable` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem addressable`.
|
6
6
|
|
7
|
+
|
7
8
|
# Addressable is a library for processing links and URIs.
|
8
9
|
#
|
9
10
|
# source://addressable//lib/addressable/version.rb#22
|
@@ -637,7 +638,7 @@ class Addressable::Template::MatchData
|
|
637
638
|
# @param key [String, Symbol, Fixnum] Capture index or name. Note that when accessing by with index
|
638
639
|
# of 0, the full URI will be returned. The intention is to mimic
|
639
640
|
# the ::MatchData#[] behavior.
|
640
|
-
# @param len [#to_int, nil] If provided, an array of values will be
|
641
|
+
# @param len [#to_int, nil] If provided, an array of values will be returned with the given
|
641
642
|
# parameter used as length.
|
642
643
|
# @return [Array, String, nil] The captured value corresponding to the index or name. If the
|
643
644
|
# value was not provided or the key is unknown, nil will be
|
@@ -4,6 +4,7 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `concurrent-ruby` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem concurrent-ruby`.
|
6
6
|
|
7
|
+
|
7
8
|
# {include:file:README.md}
|
8
9
|
#
|
9
10
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/constants.rb#1
|
@@ -147,11 +148,47 @@ module Concurrent
|
|
147
148
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/tvar.rb#82
|
148
149
|
def atomically; end
|
149
150
|
|
151
|
+
# Number of processors cores available for process scheduling.
|
152
|
+
# This method takes in account the CPU quota if the process is inside a cgroup with a
|
153
|
+
# dedicated CPU quota (typically Docker).
|
154
|
+
# Otherwise it returns the same value as #processor_count but as a Float.
|
155
|
+
#
|
156
|
+
# For performance reasons the calculated value will be memoized on the first
|
157
|
+
# call.
|
158
|
+
#
|
159
|
+
# @return [Float] number of available processors
|
160
|
+
#
|
161
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#194
|
162
|
+
def available_processor_count; end
|
163
|
+
|
150
164
|
# @raise [ArgumentError]
|
151
165
|
#
|
152
166
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/dataflow.rb#56
|
153
167
|
def call_dataflow(method, executor, *inputs, &block); end
|
154
168
|
|
169
|
+
# The maximum number of processors cores available for process scheduling.
|
170
|
+
# Returns `nil` if there is no enforced limit, or a `Float` if the
|
171
|
+
# process is inside a cgroup with a dedicated CPU quota (typically Docker).
|
172
|
+
#
|
173
|
+
# Note that nothing prevents setting a CPU quota higher than the actual number of
|
174
|
+
# cores on the system.
|
175
|
+
#
|
176
|
+
# For performance reasons the calculated value will be memoized on the first
|
177
|
+
# call.
|
178
|
+
#
|
179
|
+
# @return [nil, Float] Maximum number of available processors as set by a cgroup CPU quota, or nil if none set
|
180
|
+
#
|
181
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#209
|
182
|
+
def cpu_quota; end
|
183
|
+
|
184
|
+
# The CPU shares requested by the process. For performance reasons the calculated
|
185
|
+
# value will be memoized on the first call.
|
186
|
+
#
|
187
|
+
# @return [Float, nil] CPU shares requested by the process, or nil if not set
|
188
|
+
#
|
189
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#217
|
190
|
+
def cpu_shares; end
|
191
|
+
|
155
192
|
# @return [Logger] Logger with provided level and output.
|
156
193
|
#
|
157
194
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/concern/logging.rb#37
|
@@ -290,7 +327,7 @@ module Concurrent
|
|
290
327
|
# @see http://www.unix.com/man-page/osx/1/HWPREFS/
|
291
328
|
# @see http://linux.die.net/man/8/sysctl
|
292
329
|
#
|
293
|
-
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#
|
330
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#181
|
294
331
|
def physical_processor_count; end
|
295
332
|
|
296
333
|
# Number of processors seen by the OS and used for process scheduling. For
|
@@ -301,18 +338,18 @@ module Concurrent
|
|
301
338
|
# `java.lang.Runtime.getRuntime.availableProcessors` will be used. According
|
302
339
|
# to the Java documentation this "value may change during a particular
|
303
340
|
# invocation of the virtual machine... [applications] should therefore
|
304
|
-
# occasionally poll this property."
|
305
|
-
#
|
341
|
+
# occasionally poll this property." We still memoize this value once under
|
342
|
+
# JRuby.
|
306
343
|
#
|
307
344
|
# Otherwise Ruby's Etc.nprocessors will be used.
|
308
345
|
#
|
309
346
|
# @return [Integer] number of processors seen by the OS or Java runtime
|
310
347
|
# @see http://docs.oracle.com/javase/6/docs/api/java/lang/Runtime.html#availableProcessors()
|
311
348
|
#
|
312
|
-
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#
|
349
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#160
|
313
350
|
def processor_count; end
|
314
351
|
|
315
|
-
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#
|
352
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#142
|
316
353
|
def processor_counter; end
|
317
354
|
|
318
355
|
# Use logger created by #create_simple_logger to log concurrent-ruby messages.
|
@@ -11571,19 +11608,37 @@ class Concurrent::Utility::ProcessorCounter
|
|
11571
11608
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#11
|
11572
11609
|
def initialize; end
|
11573
11610
|
|
11574
|
-
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#
|
11611
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#26
|
11612
|
+
def available_processor_count; end
|
11613
|
+
|
11614
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#41
|
11615
|
+
def cpu_quota; end
|
11616
|
+
|
11617
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#45
|
11618
|
+
def cpu_shares; end
|
11619
|
+
|
11620
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#22
|
11575
11621
|
def physical_processor_count; end
|
11576
11622
|
|
11577
|
-
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#
|
11623
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#18
|
11578
11624
|
def processor_count; end
|
11579
11625
|
|
11580
11626
|
private
|
11581
11627
|
|
11582
|
-
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#
|
11628
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#104
|
11629
|
+
def compute_cpu_quota; end
|
11630
|
+
|
11631
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#124
|
11632
|
+
def compute_cpu_shares; end
|
11633
|
+
|
11634
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#59
|
11583
11635
|
def compute_physical_processor_count; end
|
11584
11636
|
|
11585
|
-
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#
|
11637
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#51
|
11586
11638
|
def compute_processor_count; end
|
11639
|
+
|
11640
|
+
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/utility/processor_counter.rb#99
|
11641
|
+
def run(command); end
|
11587
11642
|
end
|
11588
11643
|
|
11589
11644
|
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/version.rb#2
|
@@ -6,30 +6,30 @@
|
|
6
6
|
|
7
7
|
# Shim to load environment variables from `.env files into `ENV`.
|
8
8
|
#
|
9
|
-
# source://dotenv//lib/dotenv/
|
9
|
+
# source://dotenv//lib/dotenv/version.rb#1
|
10
10
|
module Dotenv
|
11
11
|
extend ::Dotenv
|
12
12
|
|
13
13
|
# Returns the value of attribute instrumenter.
|
14
14
|
#
|
15
|
-
# source://dotenv//lib/dotenv.rb#
|
15
|
+
# source://dotenv//lib/dotenv.rb#15
|
16
16
|
def instrumenter; end
|
17
17
|
|
18
18
|
# Sets the attribute instrumenter
|
19
19
|
#
|
20
20
|
# @param value the value to set the attribute instrumenter to.
|
21
21
|
#
|
22
|
-
# source://dotenv//lib/dotenv.rb#
|
22
|
+
# source://dotenv//lib/dotenv.rb#15
|
23
23
|
def instrumenter=(_arg0); end
|
24
24
|
|
25
25
|
# Loads environment variables from one or more `.env` files. See `#parse` for more details.
|
26
26
|
#
|
27
|
-
# source://dotenv//lib/dotenv.rb#
|
27
|
+
# source://dotenv//lib/dotenv.rb#18
|
28
28
|
def load(*filenames, overwrite: T.unsafe(nil), ignore: T.unsafe(nil)); end
|
29
29
|
|
30
30
|
# Same as `#load`, but raises Errno::ENOENT if any files don't exist
|
31
31
|
#
|
32
|
-
# source://dotenv//lib/dotenv.rb#
|
32
|
+
# source://dotenv//lib/dotenv.rb#27
|
33
33
|
def load!(*filenames); end
|
34
34
|
|
35
35
|
# Modify `ENV` for the block and restore it to its previous state afterwards.
|
@@ -39,27 +39,27 @@ module Dotenv
|
|
39
39
|
#
|
40
40
|
# @param env [Hash] Hash of keys and values to set in `ENV`
|
41
41
|
#
|
42
|
-
# source://dotenv//lib/dotenv.rb#
|
42
|
+
# source://dotenv//lib/dotenv.rb#116
|
43
43
|
def modify(env = T.unsafe(nil), &block); end
|
44
44
|
|
45
45
|
# same as `#load`, but will overwrite existing values in `ENV`
|
46
46
|
#
|
47
|
-
# source://dotenv//lib/dotenv.rb#
|
47
|
+
# source://dotenv//lib/dotenv.rb#32
|
48
48
|
def overload(*filenames); end
|
49
49
|
|
50
50
|
# same as `#overwrite`, but raises Errno::ENOENT if any files don't exist
|
51
51
|
#
|
52
|
-
# source://dotenv//lib/dotenv.rb#
|
52
|
+
# source://dotenv//lib/dotenv.rb#38
|
53
53
|
def overload!(*filenames); end
|
54
54
|
|
55
55
|
# same as `#load`, but will overwrite existing values in `ENV`
|
56
56
|
#
|
57
|
-
# source://dotenv//lib/dotenv.rb#
|
57
|
+
# source://dotenv//lib/dotenv.rb#32
|
58
58
|
def overwrite(*filenames); end
|
59
59
|
|
60
60
|
# same as `#overwrite`, but raises Errno::ENOENT if any files don't exist
|
61
61
|
#
|
62
|
-
# source://dotenv//lib/dotenv.rb#
|
62
|
+
# source://dotenv//lib/dotenv.rb#38
|
63
63
|
def overwrite!(*filenames); end
|
64
64
|
|
65
65
|
# Parses the given files, yielding for each file if a block is given.
|
@@ -70,12 +70,12 @@ module Dotenv
|
|
70
70
|
# @param block [Proc] Block to yield for each parsed `Dotenv::Environment`
|
71
71
|
# @return [Hash] parsed key/value pairs
|
72
72
|
#
|
73
|
-
# source://dotenv//lib/dotenv.rb#
|
73
|
+
# source://dotenv//lib/dotenv.rb#50
|
74
74
|
def parse(*filenames, overwrite: T.unsafe(nil), ignore: T.unsafe(nil), &block); end
|
75
75
|
|
76
76
|
# @raise [MissingKeys]
|
77
77
|
#
|
78
|
-
# source://dotenv//lib/dotenv.rb#
|
78
|
+
# source://dotenv//lib/dotenv.rb#126
|
79
79
|
def require_keys(*keys); end
|
80
80
|
|
81
81
|
# Restore `ENV` to a given state
|
@@ -83,12 +83,12 @@ module Dotenv
|
|
83
83
|
# @param env [Hash] Hash of keys and values to restore, defaults to the last saved state
|
84
84
|
# @param safe [Boolean] Is it safe to modify `ENV`? Defaults to `true` in the main thread, otherwise raises an error.
|
85
85
|
#
|
86
|
-
# source://dotenv//lib/dotenv.rb#
|
86
|
+
# source://dotenv//lib/dotenv.rb#77
|
87
87
|
def restore(env = T.unsafe(nil), safe: T.unsafe(nil)); end
|
88
88
|
|
89
89
|
# Save the current `ENV` to be restored later
|
90
90
|
#
|
91
|
-
# source://dotenv//lib/dotenv.rb#
|
91
|
+
# source://dotenv//lib/dotenv.rb#67
|
92
92
|
def save; end
|
93
93
|
|
94
94
|
# Update `ENV` with the given hash of keys and values
|
@@ -96,12 +96,12 @@ module Dotenv
|
|
96
96
|
# @param env [Hash] Hash of keys and values to set in `ENV`
|
97
97
|
# @param overwrite [Boolean] Overwrite existing `ENV` values
|
98
98
|
#
|
99
|
-
# source://dotenv//lib/dotenv.rb#
|
99
|
+
# source://dotenv//lib/dotenv.rb#98
|
100
100
|
def update(env = T.unsafe(nil), overwrite: T.unsafe(nil)); end
|
101
101
|
|
102
102
|
private
|
103
103
|
|
104
|
-
# source://dotenv//lib/dotenv.rb#
|
104
|
+
# source://dotenv//lib/dotenv.rb#134
|
105
105
|
def instrument(name, payload = T.unsafe(nil), &block); end
|
106
106
|
end
|
107
107
|
|
@@ -263,7 +263,7 @@ Dotenv::Parser::LINE = T.let(T.unsafe(nil), Regexp)
|
|
263
263
|
|
264
264
|
# An internal monitor to synchronize access to ENV in multi-threaded environments.
|
265
265
|
#
|
266
|
-
# source://dotenv//lib/dotenv.rb#
|
266
|
+
# source://dotenv//lib/dotenv.rb#12
|
267
267
|
Dotenv::SEMAPHORE = T.let(T.unsafe(nil), Monitor)
|
268
268
|
|
269
269
|
# source://dotenv//lib/dotenv/substitutions/variable.rb#4
|
@@ -298,3 +298,6 @@ module Dotenv::Substitutions::Variable
|
|
298
298
|
def substitute(match, variable, env); end
|
299
299
|
end
|
300
300
|
end
|
301
|
+
|
302
|
+
# source://dotenv//lib/dotenv/version.rb#2
|
303
|
+
Dotenv::VERSION = T.let(T.unsafe(nil), String)
|
@@ -4,14 +4,19 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `erubi` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem erubi`.
|
6
6
|
|
7
|
+
|
7
8
|
# source://erubi//lib/erubi.rb#3
|
8
9
|
module Erubi
|
10
|
+
private
|
11
|
+
|
12
|
+
def h(_arg0); end
|
13
|
+
|
9
14
|
class << self
|
10
15
|
def h(_arg0); end
|
11
16
|
end
|
12
17
|
end
|
13
18
|
|
14
|
-
# source://erubi//lib/erubi.rb#
|
19
|
+
# source://erubi//lib/erubi.rb#51
|
15
20
|
class Erubi::Engine
|
16
21
|
# Initialize a new Erubi::Engine. Options:
|
17
22
|
# +:bufval+ :: The value to use for the buffer variable, as a string (default <tt>'::String.new'</tt>).
|
@@ -42,64 +47,64 @@ class Erubi::Engine
|
|
42
47
|
#
|
43
48
|
# @return [Engine] a new instance of Engine
|
44
49
|
#
|
45
|
-
# source://erubi//lib/erubi.rb#
|
50
|
+
# source://erubi//lib/erubi.rb#91
|
46
51
|
def initialize(input, properties = T.unsafe(nil)); end
|
47
52
|
|
48
53
|
# The variable name used for the buffer variable.
|
49
54
|
#
|
50
|
-
# source://erubi//lib/erubi.rb#
|
55
|
+
# source://erubi//lib/erubi.rb#62
|
51
56
|
def bufvar; end
|
52
57
|
|
53
58
|
# The filename of the template, if one was given.
|
54
59
|
#
|
55
|
-
# source://erubi//lib/erubi.rb#
|
60
|
+
# source://erubi//lib/erubi.rb#59
|
56
61
|
def filename; end
|
57
62
|
|
58
63
|
# The frozen ruby source code generated from the template, which can be evaled.
|
59
64
|
#
|
60
|
-
# source://erubi//lib/erubi.rb#
|
65
|
+
# source://erubi//lib/erubi.rb#56
|
61
66
|
def src; end
|
62
67
|
|
63
68
|
private
|
64
69
|
|
65
70
|
# Add ruby code to the template
|
66
71
|
#
|
67
|
-
# source://erubi//lib/erubi.rb#
|
72
|
+
# source://erubi//lib/erubi.rb#223
|
68
73
|
def add_code(code); end
|
69
74
|
|
70
75
|
# Add the given ruby expression result to the template,
|
71
76
|
# escaping it based on the indicator given and escape flag.
|
72
77
|
#
|
73
|
-
# source://erubi//lib/erubi.rb#
|
78
|
+
# source://erubi//lib/erubi.rb#232
|
74
79
|
def add_expression(indicator, code); end
|
75
80
|
|
76
81
|
# Add the result of Ruby expression to the template
|
77
82
|
#
|
78
|
-
# source://erubi//lib/erubi.rb#
|
83
|
+
# source://erubi//lib/erubi.rb#241
|
79
84
|
def add_expression_result(code); end
|
80
85
|
|
81
86
|
# Add the escaped result of Ruby expression to the template
|
82
87
|
#
|
83
|
-
# source://erubi//lib/erubi.rb#
|
88
|
+
# source://erubi//lib/erubi.rb#246
|
84
89
|
def add_expression_result_escaped(code); end
|
85
90
|
|
86
91
|
# Add the given postamble to the src. Can be overridden in subclasses
|
87
92
|
# to make additional changes to src that depend on the current state.
|
88
93
|
#
|
89
|
-
# source://erubi//lib/erubi.rb#
|
94
|
+
# source://erubi//lib/erubi.rb#252
|
90
95
|
def add_postamble(postamble); end
|
91
96
|
|
92
97
|
# Add raw text to the template. Modifies argument if argument is mutable as a memory optimization.
|
93
98
|
# Must be called with a string, cannot be called with nil (Rails's subclass depends on it).
|
94
99
|
#
|
95
|
-
# source://erubi//lib/erubi.rb#
|
100
|
+
# source://erubi//lib/erubi.rb#210
|
96
101
|
def add_text(text); end
|
97
102
|
|
98
103
|
# Raise an exception, as the base engine class does not support handling other indicators.
|
99
104
|
#
|
100
105
|
# @raise [ArgumentError]
|
101
106
|
#
|
102
|
-
# source://erubi//lib/erubi.rb#
|
107
|
+
# source://erubi//lib/erubi.rb#258
|
103
108
|
def handle(indicator, code, tailch, rspace, lspace); end
|
104
109
|
|
105
110
|
# Make sure that any current expression has been terminated.
|
@@ -107,7 +112,7 @@ class Erubi::Engine
|
|
107
112
|
# the chain_appends option is used, expressions may not be
|
108
113
|
# terminated.
|
109
114
|
#
|
110
|
-
# source://erubi//lib/erubi.rb#
|
115
|
+
# source://erubi//lib/erubi.rb#286
|
111
116
|
def terminate_expression; end
|
112
117
|
|
113
118
|
# Make sure the buffer variable is the target of the next append
|
@@ -117,13 +122,13 @@ class Erubi::Engine
|
|
117
122
|
# This method should only be called if the block will result in
|
118
123
|
# code where << will append to the bufvar.
|
119
124
|
#
|
120
|
-
# source://erubi//lib/erubi.rb#
|
125
|
+
# source://erubi//lib/erubi.rb#268
|
121
126
|
def with_buffer; end
|
122
127
|
end
|
123
128
|
|
124
129
|
# The default regular expression used for scanning.
|
125
130
|
#
|
126
|
-
# source://erubi//lib/erubi.rb#
|
131
|
+
# source://erubi//lib/erubi.rb#53
|
127
132
|
Erubi::Engine::DEFAULT_REGEXP = T.let(T.unsafe(nil), Regexp)
|
128
133
|
|
129
134
|
# source://erubi//lib/erubi.rb#17
|
@@ -4,84 +4,85 @@
|
|
4
4
|
# This is an autogenerated file for types exported from the `faraday-net_http` gem.
|
5
5
|
# Please instead update this file by running `bin/tapioca gem faraday-net_http`.
|
6
6
|
|
7
|
+
|
7
8
|
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#12
|
8
9
|
module Faraday
|
9
10
|
class << self
|
10
|
-
# source://faraday/2.
|
11
|
+
# source://faraday/2.10.1/lib/faraday.rb#55
|
11
12
|
def default_adapter; end
|
12
13
|
|
13
|
-
# source://faraday/2.
|
14
|
+
# source://faraday/2.10.1/lib/faraday.rb#102
|
14
15
|
def default_adapter=(adapter); end
|
15
16
|
|
16
|
-
# source://faraday/2.
|
17
|
+
# source://faraday/2.10.1/lib/faraday.rb#59
|
17
18
|
def default_adapter_options; end
|
18
19
|
|
19
|
-
# source://faraday/2.
|
20
|
+
# source://faraday/2.10.1/lib/faraday.rb#59
|
20
21
|
def default_adapter_options=(_arg0); end
|
21
22
|
|
22
|
-
# source://faraday/2.
|
23
|
+
# source://faraday/2.10.1/lib/faraday.rb#120
|
23
24
|
def default_connection; end
|
24
25
|
|
25
|
-
# source://faraday/2.
|
26
|
+
# source://faraday/2.10.1/lib/faraday.rb#62
|
26
27
|
def default_connection=(_arg0); end
|
27
28
|
|
28
|
-
# source://faraday/2.
|
29
|
+
# source://faraday/2.10.1/lib/faraday.rb#127
|
29
30
|
def default_connection_options; end
|
30
31
|
|
31
|
-
# source://faraday/2.
|
32
|
+
# source://faraday/2.10.1/lib/faraday.rb#134
|
32
33
|
def default_connection_options=(options); end
|
33
34
|
|
34
|
-
# source://faraday/2.
|
35
|
+
# source://faraday/2.10.1/lib/faraday.rb#67
|
35
36
|
def ignore_env_proxy; end
|
36
37
|
|
37
|
-
# source://faraday/2.
|
38
|
+
# source://faraday/2.10.1/lib/faraday.rb#67
|
38
39
|
def ignore_env_proxy=(_arg0); end
|
39
40
|
|
40
|
-
# source://faraday/2.
|
41
|
+
# source://faraday/2.10.1/lib/faraday.rb#46
|
41
42
|
def lib_path; end
|
42
43
|
|
43
|
-
# source://faraday/2.
|
44
|
+
# source://faraday/2.10.1/lib/faraday.rb#46
|
44
45
|
def lib_path=(_arg0); end
|
45
46
|
|
46
|
-
# source://faraday/2.
|
47
|
+
# source://faraday/2.10.1/lib/faraday.rb#96
|
47
48
|
def new(url = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
48
49
|
|
49
|
-
# source://faraday/2.
|
50
|
+
# source://faraday/2.10.1/lib/faraday.rb#107
|
50
51
|
def respond_to_missing?(symbol, include_private = T.unsafe(nil)); end
|
51
52
|
|
52
|
-
# source://faraday/2.
|
53
|
+
# source://faraday/2.10.1/lib/faraday.rb#42
|
53
54
|
def root_path; end
|
54
55
|
|
55
|
-
# source://faraday/2.
|
56
|
+
# source://faraday/2.10.1/lib/faraday.rb#42
|
56
57
|
def root_path=(_arg0); end
|
57
58
|
|
58
59
|
private
|
59
60
|
|
60
|
-
# source://faraday/2.
|
61
|
+
# source://faraday/2.10.1/lib/faraday.rb#143
|
61
62
|
def method_missing(name, *args, &block); end
|
62
63
|
end
|
63
64
|
end
|
64
65
|
|
65
66
|
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#13
|
66
67
|
class Faraday::Adapter
|
67
|
-
# source://faraday/2.
|
68
|
+
# source://faraday/2.10.1/lib/faraday/adapter.rb#28
|
68
69
|
def initialize(_app = T.unsafe(nil), opts = T.unsafe(nil), &block); end
|
69
70
|
|
70
|
-
# source://faraday/2.
|
71
|
+
# source://faraday/2.10.1/lib/faraday/adapter.rb#55
|
71
72
|
def call(env); end
|
72
73
|
|
73
|
-
# source://faraday/2.
|
74
|
+
# source://faraday/2.10.1/lib/faraday/adapter.rb#50
|
74
75
|
def close; end
|
75
76
|
|
76
|
-
# source://faraday/2.
|
77
|
+
# source://faraday/2.10.1/lib/faraday/adapter.rb#41
|
77
78
|
def connection(env); end
|
78
79
|
|
79
80
|
private
|
80
81
|
|
81
|
-
# source://faraday/2.
|
82
|
+
# source://faraday/2.10.1/lib/faraday/adapter.rb#85
|
82
83
|
def request_timeout(type, options); end
|
83
84
|
|
84
|
-
# source://faraday/2.
|
85
|
+
# source://faraday/2.10.1/lib/faraday/adapter.rb#62
|
85
86
|
def save_response(env, status, body, headers = T.unsafe(nil), reason_phrase = T.unsafe(nil), finished: T.unsafe(nil)); end
|
86
87
|
end
|
87
88
|
|
@@ -95,44 +96,44 @@ class Faraday::Adapter::NetHttp < ::Faraday::Adapter
|
|
95
96
|
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#43
|
96
97
|
def build_connection(env); end
|
97
98
|
|
98
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
99
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#62
|
99
100
|
def call(env); end
|
100
101
|
|
101
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
102
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#50
|
102
103
|
def net_http_connection(env); end
|
103
104
|
|
104
105
|
private
|
105
106
|
|
106
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
107
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#147
|
107
108
|
def configure_request(http, req); end
|
108
109
|
|
109
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
110
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#130
|
110
111
|
def configure_ssl(http, ssl); end
|
111
112
|
|
112
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
113
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#78
|
113
114
|
def create_request(env); end
|
114
115
|
|
115
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
116
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#184
|
116
117
|
def encoded_body(http_response); end
|
117
118
|
|
118
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
119
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#94
|
119
120
|
def perform_request(http, env); end
|
120
121
|
|
121
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
122
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#108
|
122
123
|
def request_with_wrapped_block(http, env, &block); end
|
123
124
|
|
124
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
125
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#120
|
125
126
|
def save_http_response(env, http_response); end
|
126
127
|
|
127
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
128
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#167
|
128
129
|
def ssl_cert_store(ssl); end
|
129
130
|
|
130
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
131
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#174
|
131
132
|
def ssl_verify_mode(ssl); end
|
132
133
|
|
133
134
|
# @return [Boolean]
|
134
135
|
#
|
135
|
-
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#
|
136
|
+
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#196
|
136
137
|
def verify_hostname_enabled?(http, ssl); end
|
137
138
|
end
|
138
139
|
|