alchemrest 3.1.0 → 3.2.2
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/Gemfile.lock +27 -27
- data/gemfiles/faraday_2.gemfile.lock +1 -1
- data/gemfiles/rails_7_2.gemfile.lock +1 -1
- data/gemfiles/rails_8_0.gemfile.lock +1 -1
- data/lib/alchemrest/version.rb +1 -1
- data/rbi/alchemrest.rbi +39 -2
- data/sorbet/rbi/gems/{actionpack@8.0.4.rbi → actionpack@8.0.4.1.rbi} +204 -204
- data/sorbet/rbi/gems/{actionview@8.0.4.rbi → actionview@8.0.4.1.rbi} +251 -251
- data/sorbet/rbi/gems/{activemodel@8.0.4.rbi → activemodel@8.0.4.1.rbi} +3 -3
- data/sorbet/rbi/gems/{activesupport@8.0.4.rbi → activesupport@8.0.4.1.rbi} +84 -84
- data/sorbet/rbi/gems/{addressable@2.8.7.rbi → addressable@2.9.0.rbi} +94 -97
- data/sorbet/rbi/gems/{bigdecimal@3.3.1.rbi → bigdecimal@4.0.1.rbi} +16 -5
- data/sorbet/rbi/gems/{concurrent-ruby@1.3.5.rbi → concurrent-ruby@1.3.6.rbi} +95 -81
- data/sorbet/rbi/gems/{i18n@1.14.7.rbi → i18n@1.14.8.rbi} +103 -103
- data/sorbet/rbi/gems/{minitest@5.26.0.rbi → minitest@5.27.0.rbi} +208 -205
- data/sorbet/rbi/gems/{rack-session@2.1.1.rbi → rack-session@2.1.2.rbi} +95 -34
- data/sorbet/rbi/gems/{rack@3.1.14.rbi → rack@3.1.21.rbi} +213 -177
- data/sorbet/rbi/gems/{railties@8.0.4.rbi → railties@8.0.4.1.rbi} +59 -59
- data/sorbet/rbi/gems/{uri@1.1.0.rbi → uri@1.1.1.rbi} +13 -13
- metadata +17 -17
- /data/sorbet/rbi/gems/{connection_pool@2.5.4.rbi → connection_pool@3.0.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{public_suffix@6.0.1.rbi → public_suffix@7.0.5.rbi} +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 717cfa79beac7a5568a25e0c78014169594d2555f4c1d4aff94b6a12a03aea1b
|
|
4
|
+
data.tar.gz: 70880db2e4b25d1e6598a7ae8315e0126851d2bf8606b5ea2e7d918514adc633
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a31e563b3c68a5d8fba496ed2418682f375c84d87f0d623cef590e7769dbcac1b679763e240c08e88f1178b481d7a6a018c4974707f82ff153376a75a1fd259d
|
|
7
|
+
data.tar.gz: a206d986fd797a81799349c84356b324e1c5d13c0e9212a3b593ee5eecf92bec180987eb927587912c8f7c5f3b7b0d46b864242f7920c0ce2d591e11a009ae2d
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
alchemrest (3.
|
|
4
|
+
alchemrest (3.2.2)
|
|
5
5
|
activerecord (>= 7.2, < 8.1)
|
|
6
6
|
activesupport (>= 7.2, < 8.1)
|
|
7
7
|
circuitbox (~> 2.0.0)
|
|
@@ -19,9 +19,9 @@ GEM
|
|
|
19
19
|
remote: https://rubygems.org/
|
|
20
20
|
specs:
|
|
21
21
|
abstract_type (0.0.7)
|
|
22
|
-
actionpack (8.0.4)
|
|
23
|
-
actionview (= 8.0.4)
|
|
24
|
-
activesupport (= 8.0.4)
|
|
22
|
+
actionpack (8.0.4.1)
|
|
23
|
+
actionview (= 8.0.4.1)
|
|
24
|
+
activesupport (= 8.0.4.1)
|
|
25
25
|
nokogiri (>= 1.8.5)
|
|
26
26
|
rack (>= 2.2.4)
|
|
27
27
|
rack-session (>= 1.0.1)
|
|
@@ -29,19 +29,19 @@ GEM
|
|
|
29
29
|
rails-dom-testing (~> 2.2)
|
|
30
30
|
rails-html-sanitizer (~> 1.6)
|
|
31
31
|
useragent (~> 0.16)
|
|
32
|
-
actionview (8.0.4)
|
|
33
|
-
activesupport (= 8.0.4)
|
|
32
|
+
actionview (8.0.4.1)
|
|
33
|
+
activesupport (= 8.0.4.1)
|
|
34
34
|
builder (~> 3.1)
|
|
35
35
|
erubi (~> 1.11)
|
|
36
36
|
rails-dom-testing (~> 2.2)
|
|
37
37
|
rails-html-sanitizer (~> 1.6)
|
|
38
|
-
activemodel (8.0.4)
|
|
39
|
-
activesupport (= 8.0.4)
|
|
40
|
-
activerecord (8.0.4)
|
|
41
|
-
activemodel (= 8.0.4)
|
|
42
|
-
activesupport (= 8.0.4)
|
|
38
|
+
activemodel (8.0.4.1)
|
|
39
|
+
activesupport (= 8.0.4.1)
|
|
40
|
+
activerecord (8.0.4.1)
|
|
41
|
+
activemodel (= 8.0.4.1)
|
|
42
|
+
activesupport (= 8.0.4.1)
|
|
43
43
|
timeout (>= 0.4.0)
|
|
44
|
-
activesupport (8.0.4)
|
|
44
|
+
activesupport (8.0.4.1)
|
|
45
45
|
base64
|
|
46
46
|
benchmark (>= 0.3)
|
|
47
47
|
bigdecimal
|
|
@@ -50,15 +50,15 @@ GEM
|
|
|
50
50
|
drb
|
|
51
51
|
i18n (>= 1.6, < 2)
|
|
52
52
|
logger (>= 1.4.2)
|
|
53
|
-
minitest (>= 5.1)
|
|
53
|
+
minitest (>= 5.1, < 6)
|
|
54
54
|
securerandom (>= 0.3)
|
|
55
55
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
56
56
|
uri (>= 0.13.1)
|
|
57
57
|
adamantium (0.2.0)
|
|
58
58
|
ice_nine (~> 0.11.0)
|
|
59
59
|
memoizable (~> 0.4.0)
|
|
60
|
-
addressable (2.
|
|
61
|
-
public_suffix (>= 2.0.2, <
|
|
60
|
+
addressable (2.9.0)
|
|
61
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
62
62
|
anima (0.3.2)
|
|
63
63
|
abstract_type (~> 0.0.7)
|
|
64
64
|
adamantium (~> 0.2)
|
|
@@ -77,7 +77,7 @@ GEM
|
|
|
77
77
|
rubocop-rails (~> 2.29)
|
|
78
78
|
rubocop-rake (~> 0.6)
|
|
79
79
|
rubocop-rspec (~> 2.29)
|
|
80
|
-
bigdecimal (
|
|
80
|
+
bigdecimal (4.0.1)
|
|
81
81
|
builder (3.3.0)
|
|
82
82
|
circuitbox (2.0.0)
|
|
83
83
|
coderay (1.1.3)
|
|
@@ -88,8 +88,8 @@ GEM
|
|
|
88
88
|
concord (0.1.6)
|
|
89
89
|
adamantium (~> 0.2.0)
|
|
90
90
|
equalizer (~> 0.0.9)
|
|
91
|
-
concurrent-ruby (1.3.
|
|
92
|
-
connection_pool (
|
|
91
|
+
concurrent-ruby (1.3.6)
|
|
92
|
+
connection_pool (3.0.2)
|
|
93
93
|
crack (1.0.0)
|
|
94
94
|
bigdecimal
|
|
95
95
|
rexml
|
|
@@ -126,7 +126,7 @@ GEM
|
|
|
126
126
|
faraday-retry (1.0.3)
|
|
127
127
|
hansi (0.2.1)
|
|
128
128
|
hashdiff (1.1.2)
|
|
129
|
-
i18n (1.14.
|
|
129
|
+
i18n (1.14.8)
|
|
130
130
|
concurrent-ruby (~> 1.0)
|
|
131
131
|
ice_nine (0.11.2)
|
|
132
132
|
io-console (0.8.0)
|
|
@@ -144,7 +144,7 @@ GEM
|
|
|
144
144
|
thread_safe (~> 0.3, >= 0.3.1)
|
|
145
145
|
memosa (0.8.2)
|
|
146
146
|
method_source (1.1.0)
|
|
147
|
-
minitest (5.
|
|
147
|
+
minitest (5.27.0)
|
|
148
148
|
moneta (1.6.0)
|
|
149
149
|
money (6.19.0)
|
|
150
150
|
i18n (>= 0.6.4, <= 2)
|
|
@@ -205,10 +205,10 @@ GEM
|
|
|
205
205
|
psych (5.2.3)
|
|
206
206
|
date
|
|
207
207
|
stringio
|
|
208
|
-
public_suffix (
|
|
208
|
+
public_suffix (7.0.5)
|
|
209
209
|
racc (1.8.1)
|
|
210
|
-
rack (3.1.
|
|
211
|
-
rack-session (2.1.
|
|
210
|
+
rack (3.1.21)
|
|
211
|
+
rack-session (2.1.2)
|
|
212
212
|
base64 (>= 0.1.0)
|
|
213
213
|
rack (>= 3.0.0)
|
|
214
214
|
rack-test (2.2.0)
|
|
@@ -222,9 +222,9 @@ GEM
|
|
|
222
222
|
rails-html-sanitizer (1.6.2)
|
|
223
223
|
loofah (~> 2.21)
|
|
224
224
|
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
|
225
|
-
railties (8.0.4)
|
|
226
|
-
actionpack (= 8.0.4)
|
|
227
|
-
activesupport (= 8.0.4)
|
|
225
|
+
railties (8.0.4.1)
|
|
226
|
+
actionpack (= 8.0.4.1)
|
|
227
|
+
activesupport (= 8.0.4.1)
|
|
228
228
|
irb (~> 1.13)
|
|
229
229
|
rackup (>= 1.0.0)
|
|
230
230
|
rake (>= 12.2)
|
|
@@ -335,7 +335,7 @@ GEM
|
|
|
335
335
|
diff-lcs (~> 1.6)
|
|
336
336
|
parser (>= 3.3.0)
|
|
337
337
|
prism (>= 1.4)
|
|
338
|
-
uri (1.1.
|
|
338
|
+
uri (1.1.1)
|
|
339
339
|
useragent (0.16.11)
|
|
340
340
|
webmock (3.24.0)
|
|
341
341
|
addressable (>= 2.8.0)
|
data/lib/alchemrest/version.rb
CHANGED
data/rbi/alchemrest.rbi
CHANGED
|
@@ -29,8 +29,8 @@ class Alchemrest::Data
|
|
|
29
29
|
sig { params(blk: T.proc.bind(Alchemrest::Data::CaptureConfiguration).void).void }
|
|
30
30
|
def self.configure_response_capture(&blk); end
|
|
31
31
|
|
|
32
|
-
sig { void }
|
|
33
|
-
def self.schema; end
|
|
32
|
+
sig { params(blk: T.proc.params(arg0: T.class_of(Alchemrest::Transforms)).returns(T.untyped)).void }
|
|
33
|
+
def self.schema(&blk); end
|
|
34
34
|
|
|
35
35
|
sig { params(attributes: T.untyped).void }
|
|
36
36
|
def initialize(**attributes); end
|
|
@@ -75,6 +75,43 @@ end
|
|
|
75
75
|
class Alchemrest::EndpointDefinition
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
+
module Alchemrest::Transforms
|
|
79
|
+
class << self
|
|
80
|
+
sig { returns(T.untyped) }
|
|
81
|
+
def integer; end
|
|
82
|
+
|
|
83
|
+
sig { returns(T.untyped) }
|
|
84
|
+
def string; end
|
|
85
|
+
|
|
86
|
+
sig { returns(T.untyped) }
|
|
87
|
+
def float; end
|
|
88
|
+
|
|
89
|
+
sig { returns(T.untyped) }
|
|
90
|
+
def number; end
|
|
91
|
+
|
|
92
|
+
sig { returns(T.untyped) }
|
|
93
|
+
def boolean; end
|
|
94
|
+
|
|
95
|
+
sig { returns(T.untyped) }
|
|
96
|
+
def date; end
|
|
97
|
+
|
|
98
|
+
sig { returns(T.untyped) }
|
|
99
|
+
def from; end
|
|
100
|
+
|
|
101
|
+
sig { params(unit: Symbol).returns(T.untyped) }
|
|
102
|
+
def money(unit); end
|
|
103
|
+
|
|
104
|
+
sig { params(enum: T::Array[T.untyped]).returns(T.untyped) }
|
|
105
|
+
def enum(enum); end
|
|
106
|
+
|
|
107
|
+
sig { params(klass_or_hash: T.untyped).returns(T.untyped) }
|
|
108
|
+
def one_of(klass_or_hash); end
|
|
109
|
+
|
|
110
|
+
sig { params(klass: T.untyped).returns(T.untyped) }
|
|
111
|
+
def many_of(klass); end
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
|
|
78
115
|
class Alchemrest::Transforms::OutputType
|
|
79
116
|
sig { returns(T.nilable(Alchemrest::Data::Graph)) }
|
|
80
117
|
def graph; end
|