alchemrest 3.2.1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 205d92cdf1b1d856cf2314bfc08f1b3f13f557e5d313ec2d5abf8557c42e8f8e
4
- data.tar.gz: ec488390d43c63e9d97fa914536e5a6696c7462d73824c32bb49b43cc5c559d4
3
+ metadata.gz: 717cfa79beac7a5568a25e0c78014169594d2555f4c1d4aff94b6a12a03aea1b
4
+ data.tar.gz: 70880db2e4b25d1e6598a7ae8315e0126851d2bf8606b5ea2e7d918514adc633
5
5
  SHA512:
6
- metadata.gz: c9c3d218f8f2ca9bf55354ed4e639752763c202d2d48f4640edc6364c2c45fbd46a37e4eb66881518ef3481a88d5f0e61fee88e95ef58f8bfe8a002e452d0bc2
7
- data.tar.gz: 4c0772bd4c3b87fefae3cd9cbe3c1de729bf9a1cc08a8c6ff0fa14bca2f6a067069f005d5d5e66607a3eddea46b984d2c50c235cb20bfdd827d56a1b97686a45
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.2.1)
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.8.7)
61
- public_suffix (>= 2.0.2, < 7.0)
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 (3.3.1)
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.5)
92
- connection_pool (2.5.4)
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.7)
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.26.0)
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 (6.0.1)
208
+ public_suffix (7.0.5)
209
209
  racc (1.8.1)
210
- rack (3.1.14)
211
- rack-session (2.1.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)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- alchemrest (3.2.1)
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)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- alchemrest (3.2.1)
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)
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- alchemrest (3.2.1)
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alchemrest
4
- VERSION = "3.2.1"
4
+ VERSION = "3.2.2"
5
5
  end
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