client-api-builder 0.5.6 → 0.6.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/ci.yml +53 -0
- data/.rubocop.yml +79 -0
- data/ARCHITECTURE.md +161 -86
- data/CLAUDE.md +92 -0
- data/Gemfile +3 -2
- data/Gemfile.lock +46 -39
- data/README.md +427 -92
- data/client-api-builder.gemspec +20 -4
- data/examples/basic_auth_example_client.rb +6 -5
- data/examples/imdb_datasets_client.rb +2 -0
- data/examples/lorem_ipsum_client.rb +3 -1
- data/lib/client-api-builder.rb +1 -0
- data/lib/client_api_builder/active_support_log_subscriber.rb +1 -0
- data/lib/client_api_builder/active_support_notifications.rb +8 -6
- data/lib/client_api_builder/nested_router.rb +3 -3
- data/lib/client_api_builder/net_http_request.rb +37 -5
- data/lib/client_api_builder/query_params.rb +9 -3
- data/lib/client_api_builder/router.rb +210 -125
- data/lib/client_api_builder/section.rb +11 -11
- data/script/console +1 -1
- metadata +20 -10
data/Gemfile.lock
CHANGED
|
@@ -1,66 +1,67 @@
|
|
|
1
1
|
GEM
|
|
2
2
|
remote: http://rubygems.org/
|
|
3
3
|
specs:
|
|
4
|
-
activesupport (
|
|
4
|
+
activesupport (8.1.2)
|
|
5
5
|
base64
|
|
6
|
-
benchmark (>= 0.3)
|
|
7
6
|
bigdecimal
|
|
8
7
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
9
8
|
connection_pool (>= 2.2.5)
|
|
10
9
|
drb
|
|
11
10
|
i18n (>= 1.6, < 2)
|
|
11
|
+
json
|
|
12
12
|
logger (>= 1.4.2)
|
|
13
13
|
minitest (>= 5.1)
|
|
14
14
|
securerandom (>= 0.3)
|
|
15
15
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
uri (>= 0.13.1)
|
|
17
|
+
addressable (2.8.8)
|
|
18
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
18
19
|
ast (2.4.3)
|
|
19
|
-
base64 (0.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
crack (1.0.0)
|
|
20
|
+
base64 (0.3.0)
|
|
21
|
+
bigdecimal (4.0.1)
|
|
22
|
+
concurrent-ruby (1.3.6)
|
|
23
|
+
connection_pool (3.0.2)
|
|
24
|
+
crack (1.0.1)
|
|
25
25
|
bigdecimal
|
|
26
26
|
rexml
|
|
27
|
-
diff-lcs (1.6.
|
|
27
|
+
diff-lcs (1.6.2)
|
|
28
28
|
docile (1.4.1)
|
|
29
|
-
drb (2.2.
|
|
30
|
-
hashdiff (1.1
|
|
31
|
-
i18n (1.14.
|
|
29
|
+
drb (2.2.3)
|
|
30
|
+
hashdiff (1.2.1)
|
|
31
|
+
i18n (1.14.8)
|
|
32
32
|
concurrent-ruby (~> 1.0)
|
|
33
33
|
inheritance-helper (0.2.5)
|
|
34
|
-
json (2.
|
|
35
|
-
language_server-protocol (3.17.0.
|
|
34
|
+
json (2.18.0)
|
|
35
|
+
language_server-protocol (3.17.0.5)
|
|
36
36
|
lint_roller (1.1.0)
|
|
37
37
|
logger (1.7.0)
|
|
38
|
-
minitest (
|
|
38
|
+
minitest (6.0.1)
|
|
39
|
+
prism (~> 1.5)
|
|
39
40
|
parallel (1.27.0)
|
|
40
|
-
parser (3.3.
|
|
41
|
+
parser (3.3.10.1)
|
|
41
42
|
ast (~> 2.4.1)
|
|
42
43
|
racc
|
|
43
|
-
prism (1.
|
|
44
|
-
public_suffix (
|
|
44
|
+
prism (1.9.0)
|
|
45
|
+
public_suffix (7.0.2)
|
|
45
46
|
racc (1.8.1)
|
|
46
47
|
rainbow (3.1.1)
|
|
47
|
-
rake (13.
|
|
48
|
-
regexp_parser (2.
|
|
49
|
-
rexml (3.4.
|
|
50
|
-
rspec (3.13.
|
|
48
|
+
rake (13.3.1)
|
|
49
|
+
regexp_parser (2.11.3)
|
|
50
|
+
rexml (3.4.4)
|
|
51
|
+
rspec (3.13.2)
|
|
51
52
|
rspec-core (~> 3.13.0)
|
|
52
53
|
rspec-expectations (~> 3.13.0)
|
|
53
54
|
rspec-mocks (~> 3.13.0)
|
|
54
|
-
rspec-core (3.13.
|
|
55
|
+
rspec-core (3.13.6)
|
|
55
56
|
rspec-support (~> 3.13.0)
|
|
56
|
-
rspec-expectations (3.13.
|
|
57
|
+
rspec-expectations (3.13.5)
|
|
57
58
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
58
59
|
rspec-support (~> 3.13.0)
|
|
59
|
-
rspec-mocks (3.13.
|
|
60
|
+
rspec-mocks (3.13.7)
|
|
60
61
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
61
62
|
rspec-support (~> 3.13.0)
|
|
62
|
-
rspec-support (3.13.
|
|
63
|
-
rubocop (1.
|
|
63
|
+
rspec-support (3.13.7)
|
|
64
|
+
rubocop (1.84.0)
|
|
64
65
|
json (~> 2.3)
|
|
65
66
|
language_server-protocol (~> 3.17.0.2)
|
|
66
67
|
lint_roller (~> 1.1.0)
|
|
@@ -68,32 +69,37 @@ GEM
|
|
|
68
69
|
parser (>= 3.3.0.2)
|
|
69
70
|
rainbow (>= 2.2.2, < 4.0)
|
|
70
71
|
regexp_parser (>= 2.9.3, < 3.0)
|
|
71
|
-
rubocop-ast (>= 1.
|
|
72
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
72
73
|
ruby-progressbar (~> 1.7)
|
|
73
74
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
74
|
-
rubocop-ast (1.
|
|
75
|
+
rubocop-ast (1.49.0)
|
|
75
76
|
parser (>= 3.3.7.2)
|
|
76
|
-
prism (~> 1.
|
|
77
|
+
prism (~> 1.7)
|
|
77
78
|
ruby-progressbar (1.13.0)
|
|
78
79
|
securerandom (0.4.1)
|
|
79
80
|
simplecov (0.22.0)
|
|
80
81
|
docile (~> 1.1)
|
|
81
82
|
simplecov-html (~> 0.11)
|
|
82
83
|
simplecov_json_formatter (~> 0.1)
|
|
83
|
-
simplecov-
|
|
84
|
+
simplecov-cobertura (3.1.0)
|
|
85
|
+
rexml
|
|
86
|
+
simplecov (~> 0.19)
|
|
87
|
+
simplecov-html (0.13.2)
|
|
84
88
|
simplecov_json_formatter (0.1.4)
|
|
85
89
|
tzinfo (2.0.6)
|
|
86
90
|
concurrent-ruby (~> 1.0)
|
|
87
|
-
unicode-display_width (3.
|
|
88
|
-
unicode-emoji (~> 4.
|
|
89
|
-
unicode-emoji (4.0
|
|
90
|
-
|
|
91
|
+
unicode-display_width (3.2.0)
|
|
92
|
+
unicode-emoji (~> 4.1)
|
|
93
|
+
unicode-emoji (4.2.0)
|
|
94
|
+
uri (1.1.1)
|
|
95
|
+
webmock (3.26.1)
|
|
91
96
|
addressable (>= 2.8.0)
|
|
92
97
|
crack (>= 0.3.2)
|
|
93
98
|
hashdiff (>= 0.4.0, < 2.0.0)
|
|
94
99
|
|
|
95
100
|
PLATFORMS
|
|
96
|
-
|
|
101
|
+
arm64-darwin-24
|
|
102
|
+
ruby
|
|
97
103
|
|
|
98
104
|
DEPENDENCIES
|
|
99
105
|
activesupport
|
|
@@ -102,7 +108,8 @@ DEPENDENCIES
|
|
|
102
108
|
rspec
|
|
103
109
|
rubocop
|
|
104
110
|
simplecov
|
|
111
|
+
simplecov-cobertura
|
|
105
112
|
webmock
|
|
106
113
|
|
|
107
114
|
BUNDLED WITH
|
|
108
|
-
2.
|
|
115
|
+
2.6.2
|