api_chai 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 0b22a32f1fd31e7a3e0248893805a123378e11652932b7e87d2fa429769e7960
4
+ data.tar.gz: 3e5a4563257cebe7731369a3a2e681e897779952f4f492763f5425f457252132
5
+ SHA512:
6
+ metadata.gz: 482eb955264f977b0e0a055a7b76fe9ab044cec9b86e29f8d94eda9aef646ade9af96a6816bc123e14e9c9a2168897729bf1722e79a4c8e678a26cfc3d447d2d
7
+ data.tar.gz: ead8850c36458ccaa41ea5e79981663f8f57550b24a0d09c999eed325460135651008ca5a1888807c62ea6af4d31646cecdefb6a54b9f4eaf52b981fd575ca50
data/.rubocop.yml ADDED
@@ -0,0 +1,13 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.6
3
+
4
+ Style/StringLiterals:
5
+ Enabled: true
6
+ EnforcedStyle: double_quotes
7
+
8
+ Style/StringLiteralsInInterpolation:
9
+ Enabled: true
10
+ EnforcedStyle: double_quotes
11
+
12
+ Layout/LineLength:
13
+ Max: 120
data/Appraisals ADDED
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ appraise "rails-6-0" do
4
+ gem "rails", "6.0.6.1"
5
+ end
6
+
7
+ appraise "rails-6-1" do
8
+ gem "rails", "6.1.7.4"
9
+ end
10
+
11
+ appraise "rails-7-0" do
12
+ gem "rails", "7.0.6"
13
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 Jill Klang
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -0,0 +1,3 @@
1
+ ---
2
+ - - :inherit_from
3
+ - https://raw.githubusercontent.com/powerhome/oss-guide/master/license_rules.yml
data/docs/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.0.1] - 2024-01-03
4
+
5
+ - Initial release
data/docs/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # ApiChai
2
+
3
+ Serve up smooth API integrations with net-http, lightly steeped in graceful errors, Sentry & NewRelic reporting.
4
+
5
+ More information coming soon.
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_RETRY: "1"
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file was generated by Appraisal
4
+
5
+ source "https://rubygems.org"
6
+
7
+ gem "rails", "6.0.6.1"
8
+ gem "rake", "~> 13.0"
9
+ gem "rspec", "~> 3.0"
10
+ gem "rubocop", "~> 1.21"
11
+
12
+ gemspec path: "../"
@@ -0,0 +1,239 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ api_chai (0.0.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ actioncable (6.0.6.1)
10
+ actionpack (= 6.0.6.1)
11
+ nio4r (~> 2.0)
12
+ websocket-driver (>= 0.6.1)
13
+ actionmailbox (6.0.6.1)
14
+ actionpack (= 6.0.6.1)
15
+ activejob (= 6.0.6.1)
16
+ activerecord (= 6.0.6.1)
17
+ activestorage (= 6.0.6.1)
18
+ activesupport (= 6.0.6.1)
19
+ mail (>= 2.7.1)
20
+ actionmailer (6.0.6.1)
21
+ actionpack (= 6.0.6.1)
22
+ actionview (= 6.0.6.1)
23
+ activejob (= 6.0.6.1)
24
+ mail (~> 2.5, >= 2.5.4)
25
+ rails-dom-testing (~> 2.0)
26
+ actionpack (6.0.6.1)
27
+ actionview (= 6.0.6.1)
28
+ activesupport (= 6.0.6.1)
29
+ rack (~> 2.0, >= 2.0.8)
30
+ rack-test (>= 0.6.3)
31
+ rails-dom-testing (~> 2.0)
32
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
33
+ actiontext (6.0.6.1)
34
+ actionpack (= 6.0.6.1)
35
+ activerecord (= 6.0.6.1)
36
+ activestorage (= 6.0.6.1)
37
+ activesupport (= 6.0.6.1)
38
+ nokogiri (>= 1.8.5)
39
+ actionview (6.0.6.1)
40
+ activesupport (= 6.0.6.1)
41
+ builder (~> 3.1)
42
+ erubi (~> 1.4)
43
+ rails-dom-testing (~> 2.0)
44
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
45
+ activejob (6.0.6.1)
46
+ activesupport (= 6.0.6.1)
47
+ globalid (>= 0.3.6)
48
+ activemodel (6.0.6.1)
49
+ activesupport (= 6.0.6.1)
50
+ activerecord (6.0.6.1)
51
+ activemodel (= 6.0.6.1)
52
+ activesupport (= 6.0.6.1)
53
+ activestorage (6.0.6.1)
54
+ actionpack (= 6.0.6.1)
55
+ activejob (= 6.0.6.1)
56
+ activerecord (= 6.0.6.1)
57
+ marcel (~> 1.0)
58
+ activesupport (6.0.6.1)
59
+ concurrent-ruby (~> 1.0, >= 1.0.2)
60
+ i18n (>= 0.7, < 2)
61
+ minitest (~> 5.1)
62
+ tzinfo (~> 1.1)
63
+ zeitwerk (~> 2.2, >= 2.2.2)
64
+ appraisal (2.5.0)
65
+ bundler
66
+ rake
67
+ thor (>= 0.14.0)
68
+ ast (2.4.2)
69
+ builder (3.2.4)
70
+ concurrent-ruby (1.2.2)
71
+ crass (1.0.6)
72
+ date (3.3.3)
73
+ diff-lcs (1.5.0)
74
+ erubi (1.12.0)
75
+ globalid (1.1.0)
76
+ activesupport (>= 5.0)
77
+ i18n (1.14.1)
78
+ concurrent-ruby (~> 1.0)
79
+ json (2.7.1)
80
+ language_server-protocol (3.17.0.3)
81
+ license_finder (7.1.0)
82
+ bundler
83
+ rubyzip (>= 1, < 3)
84
+ thor (~> 1.2)
85
+ tomlrb (>= 1.3, < 2.1)
86
+ with_env (= 1.1.0)
87
+ xml-simple (~> 1.1.9)
88
+ loofah (2.21.3)
89
+ crass (~> 1.0.2)
90
+ nokogiri (>= 1.12.0)
91
+ mail (2.8.1)
92
+ mini_mime (>= 0.1.1)
93
+ net-imap
94
+ net-pop
95
+ net-smtp
96
+ marcel (1.0.2)
97
+ method_source (1.0.0)
98
+ mini_mime (1.1.2)
99
+ minitest (5.20.0)
100
+ net-imap (0.3.6)
101
+ date
102
+ net-protocol
103
+ net-pop (0.1.2)
104
+ net-protocol
105
+ net-protocol (0.2.1)
106
+ timeout
107
+ net-smtp (0.3.3)
108
+ net-protocol
109
+ nio4r (2.5.9)
110
+ nokogiri (1.15.2-arm64-darwin)
111
+ racc (~> 1.4)
112
+ parallel (1.24.0)
113
+ parser (3.2.2.4)
114
+ ast (~> 2.4.1)
115
+ racc
116
+ racc (1.7.3)
117
+ rack (2.2.7)
118
+ rack-test (2.1.0)
119
+ rack (>= 1.3)
120
+ rails (6.0.6.1)
121
+ actioncable (= 6.0.6.1)
122
+ actionmailbox (= 6.0.6.1)
123
+ actionmailer (= 6.0.6.1)
124
+ actionpack (= 6.0.6.1)
125
+ actiontext (= 6.0.6.1)
126
+ actionview (= 6.0.6.1)
127
+ activejob (= 6.0.6.1)
128
+ activemodel (= 6.0.6.1)
129
+ activerecord (= 6.0.6.1)
130
+ activestorage (= 6.0.6.1)
131
+ activesupport (= 6.0.6.1)
132
+ bundler (>= 1.3.0)
133
+ railties (= 6.0.6.1)
134
+ sprockets-rails (>= 2.0.0)
135
+ rails-dom-testing (2.0.3)
136
+ activesupport (>= 4.2.0)
137
+ nokogiri (>= 1.6)
138
+ rails-html-sanitizer (1.6.0)
139
+ loofah (~> 2.21)
140
+ nokogiri (~> 1.14)
141
+ railties (6.0.6.1)
142
+ actionpack (= 6.0.6.1)
143
+ activesupport (= 6.0.6.1)
144
+ method_source
145
+ rake (>= 0.8.7)
146
+ thor (>= 0.20.3, < 2.0)
147
+ rainbow (3.1.1)
148
+ rake (13.1.0)
149
+ regexp_parser (2.8.3)
150
+ rexml (3.2.6)
151
+ rspec (3.12.0)
152
+ rspec-core (~> 3.12.0)
153
+ rspec-expectations (~> 3.12.0)
154
+ rspec-mocks (~> 3.12.0)
155
+ rspec-core (3.12.2)
156
+ rspec-support (~> 3.12.0)
157
+ rspec-expectations (3.12.3)
158
+ diff-lcs (>= 1.2.0, < 2.0)
159
+ rspec-support (~> 3.12.0)
160
+ rspec-mocks (3.12.6)
161
+ diff-lcs (>= 1.2.0, < 2.0)
162
+ rspec-support (~> 3.12.0)
163
+ rspec-support (3.12.1)
164
+ rubocop (1.59.0)
165
+ json (~> 2.3)
166
+ language_server-protocol (>= 3.17.0)
167
+ parallel (~> 1.10)
168
+ parser (>= 3.2.2.4)
169
+ rainbow (>= 2.2.2, < 4.0)
170
+ regexp_parser (>= 1.8, < 3.0)
171
+ rexml (>= 3.2.5, < 4.0)
172
+ rubocop-ast (>= 1.30.0, < 2.0)
173
+ ruby-progressbar (~> 1.7)
174
+ unicode-display_width (>= 2.4.0, < 3.0)
175
+ rubocop-ast (1.30.0)
176
+ parser (>= 3.2.1.0)
177
+ rubocop-capybara (2.20.0)
178
+ rubocop (~> 1.41)
179
+ rubocop-factory_bot (2.24.0)
180
+ rubocop (~> 1.33)
181
+ rubocop-performance (1.20.1)
182
+ rubocop (>= 1.48.1, < 2.0)
183
+ rubocop-ast (>= 1.30.0, < 2.0)
184
+ rubocop-powerhome (0.5.0)
185
+ rubocop
186
+ rubocop-performance
187
+ rubocop-rails
188
+ rubocop-rake
189
+ rubocop-rspec
190
+ rubocop-rails (2.23.1)
191
+ activesupport (>= 4.2.0)
192
+ rack (>= 1.1)
193
+ rubocop (>= 1.33.0, < 2.0)
194
+ rubocop-ast (>= 1.30.0, < 2.0)
195
+ rubocop-rake (0.6.0)
196
+ rubocop (~> 1.0)
197
+ rubocop-rspec (2.25.0)
198
+ rubocop (~> 1.40)
199
+ rubocop-capybara (~> 2.17)
200
+ rubocop-factory_bot (~> 2.22)
201
+ ruby-progressbar (1.13.0)
202
+ rubyzip (2.3.2)
203
+ sprockets (4.2.0)
204
+ concurrent-ruby (~> 1.0)
205
+ rack (>= 2.2.4, < 4)
206
+ sprockets-rails (3.4.2)
207
+ actionpack (>= 5.2)
208
+ activesupport (>= 5.2)
209
+ sprockets (>= 3.0.0)
210
+ thor (1.3.0)
211
+ thread_safe (0.3.6)
212
+ timeout (0.4.0)
213
+ tomlrb (2.0.3)
214
+ tzinfo (1.2.11)
215
+ thread_safe (~> 0.1)
216
+ unicode-display_width (2.5.0)
217
+ websocket-driver (0.7.5)
218
+ websocket-extensions (>= 0.1.0)
219
+ websocket-extensions (0.1.5)
220
+ with_env (1.1.0)
221
+ xml-simple (1.1.9)
222
+ rexml
223
+ zeitwerk (2.6.8)
224
+
225
+ PLATFORMS
226
+ arm64-darwin-22
227
+
228
+ DEPENDENCIES
229
+ api_chai!
230
+ appraisal (~> 2.5.0)
231
+ license_finder (~> 7.0)
232
+ rails (= 6.0.6.1)
233
+ rake (~> 13.0)
234
+ rspec (~> 3.0)
235
+ rubocop (~> 1.21)
236
+ rubocop-powerhome (= 0.5.0)
237
+
238
+ BUNDLED WITH
239
+ 2.4.22
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file was generated by Appraisal
4
+
5
+ source "https://rubygems.org"
6
+
7
+ gem "rails", "6.1.7.4"
8
+ gem "rake", "~> 13.0"
9
+ gem "rspec", "~> 3.0"
10
+ gem "rubocop", "~> 1.21"
11
+
12
+ gemspec path: "../"
@@ -0,0 +1,243 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ api_chai (0.0.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ actioncable (6.1.7.4)
10
+ actionpack (= 6.1.7.4)
11
+ activesupport (= 6.1.7.4)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
14
+ actionmailbox (6.1.7.4)
15
+ actionpack (= 6.1.7.4)
16
+ activejob (= 6.1.7.4)
17
+ activerecord (= 6.1.7.4)
18
+ activestorage (= 6.1.7.4)
19
+ activesupport (= 6.1.7.4)
20
+ mail (>= 2.7.1)
21
+ actionmailer (6.1.7.4)
22
+ actionpack (= 6.1.7.4)
23
+ actionview (= 6.1.7.4)
24
+ activejob (= 6.1.7.4)
25
+ activesupport (= 6.1.7.4)
26
+ mail (~> 2.5, >= 2.5.4)
27
+ rails-dom-testing (~> 2.0)
28
+ actionpack (6.1.7.4)
29
+ actionview (= 6.1.7.4)
30
+ activesupport (= 6.1.7.4)
31
+ rack (~> 2.0, >= 2.0.9)
32
+ rack-test (>= 0.6.3)
33
+ rails-dom-testing (~> 2.0)
34
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
35
+ actiontext (6.1.7.4)
36
+ actionpack (= 6.1.7.4)
37
+ activerecord (= 6.1.7.4)
38
+ activestorage (= 6.1.7.4)
39
+ activesupport (= 6.1.7.4)
40
+ nokogiri (>= 1.8.5)
41
+ actionview (6.1.7.4)
42
+ activesupport (= 6.1.7.4)
43
+ builder (~> 3.1)
44
+ erubi (~> 1.4)
45
+ rails-dom-testing (~> 2.0)
46
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
47
+ activejob (6.1.7.4)
48
+ activesupport (= 6.1.7.4)
49
+ globalid (>= 0.3.6)
50
+ activemodel (6.1.7.4)
51
+ activesupport (= 6.1.7.4)
52
+ activerecord (6.1.7.4)
53
+ activemodel (= 6.1.7.4)
54
+ activesupport (= 6.1.7.4)
55
+ activestorage (6.1.7.4)
56
+ actionpack (= 6.1.7.4)
57
+ activejob (= 6.1.7.4)
58
+ activerecord (= 6.1.7.4)
59
+ activesupport (= 6.1.7.4)
60
+ marcel (~> 1.0)
61
+ mini_mime (>= 1.1.0)
62
+ activesupport (6.1.7.4)
63
+ concurrent-ruby (~> 1.0, >= 1.0.2)
64
+ i18n (>= 1.6, < 2)
65
+ minitest (>= 5.1)
66
+ tzinfo (~> 2.0)
67
+ zeitwerk (~> 2.3)
68
+ appraisal (2.5.0)
69
+ bundler
70
+ rake
71
+ thor (>= 0.14.0)
72
+ ast (2.4.2)
73
+ builder (3.2.4)
74
+ concurrent-ruby (1.2.2)
75
+ crass (1.0.6)
76
+ date (3.3.4)
77
+ diff-lcs (1.5.0)
78
+ erubi (1.12.0)
79
+ globalid (1.2.1)
80
+ activesupport (>= 6.1)
81
+ i18n (1.14.1)
82
+ concurrent-ruby (~> 1.0)
83
+ json (2.7.1)
84
+ language_server-protocol (3.17.0.3)
85
+ license_finder (7.1.0)
86
+ bundler
87
+ rubyzip (>= 1, < 3)
88
+ thor (~> 1.2)
89
+ tomlrb (>= 1.3, < 2.1)
90
+ with_env (= 1.1.0)
91
+ xml-simple (~> 1.1.9)
92
+ loofah (2.22.0)
93
+ crass (~> 1.0.2)
94
+ nokogiri (>= 1.12.0)
95
+ mail (2.8.1)
96
+ mini_mime (>= 0.1.1)
97
+ net-imap
98
+ net-pop
99
+ net-smtp
100
+ marcel (1.0.2)
101
+ method_source (1.0.0)
102
+ mini_mime (1.1.5)
103
+ minitest (5.20.0)
104
+ net-imap (0.4.9)
105
+ date
106
+ net-protocol
107
+ net-pop (0.1.2)
108
+ net-protocol
109
+ net-protocol (0.2.2)
110
+ timeout
111
+ net-smtp (0.4.0)
112
+ net-protocol
113
+ nio4r (2.7.0)
114
+ nokogiri (1.16.0-arm64-darwin)
115
+ racc (~> 1.4)
116
+ parallel (1.24.0)
117
+ parser (3.2.2.4)
118
+ ast (~> 2.4.1)
119
+ racc
120
+ racc (1.7.3)
121
+ rack (2.2.8)
122
+ rack-test (2.1.0)
123
+ rack (>= 1.3)
124
+ rails (6.1.7.4)
125
+ actioncable (= 6.1.7.4)
126
+ actionmailbox (= 6.1.7.4)
127
+ actionmailer (= 6.1.7.4)
128
+ actionpack (= 6.1.7.4)
129
+ actiontext (= 6.1.7.4)
130
+ actionview (= 6.1.7.4)
131
+ activejob (= 6.1.7.4)
132
+ activemodel (= 6.1.7.4)
133
+ activerecord (= 6.1.7.4)
134
+ activestorage (= 6.1.7.4)
135
+ activesupport (= 6.1.7.4)
136
+ bundler (>= 1.15.0)
137
+ railties (= 6.1.7.4)
138
+ sprockets-rails (>= 2.0.0)
139
+ rails-dom-testing (2.2.0)
140
+ activesupport (>= 5.0.0)
141
+ minitest
142
+ nokogiri (>= 1.6)
143
+ rails-html-sanitizer (1.6.0)
144
+ loofah (~> 2.21)
145
+ nokogiri (~> 1.14)
146
+ railties (6.1.7.4)
147
+ actionpack (= 6.1.7.4)
148
+ activesupport (= 6.1.7.4)
149
+ method_source
150
+ rake (>= 12.2)
151
+ thor (~> 1.0)
152
+ rainbow (3.1.1)
153
+ rake (13.1.0)
154
+ regexp_parser (2.8.3)
155
+ rexml (3.2.6)
156
+ rspec (3.12.0)
157
+ rspec-core (~> 3.12.0)
158
+ rspec-expectations (~> 3.12.0)
159
+ rspec-mocks (~> 3.12.0)
160
+ rspec-core (3.12.2)
161
+ rspec-support (~> 3.12.0)
162
+ rspec-expectations (3.12.3)
163
+ diff-lcs (>= 1.2.0, < 2.0)
164
+ rspec-support (~> 3.12.0)
165
+ rspec-mocks (3.12.6)
166
+ diff-lcs (>= 1.2.0, < 2.0)
167
+ rspec-support (~> 3.12.0)
168
+ rspec-support (3.12.1)
169
+ rubocop (1.59.0)
170
+ json (~> 2.3)
171
+ language_server-protocol (>= 3.17.0)
172
+ parallel (~> 1.10)
173
+ parser (>= 3.2.2.4)
174
+ rainbow (>= 2.2.2, < 4.0)
175
+ regexp_parser (>= 1.8, < 3.0)
176
+ rexml (>= 3.2.5, < 4.0)
177
+ rubocop-ast (>= 1.30.0, < 2.0)
178
+ ruby-progressbar (~> 1.7)
179
+ unicode-display_width (>= 2.4.0, < 3.0)
180
+ rubocop-ast (1.30.0)
181
+ parser (>= 3.2.1.0)
182
+ rubocop-capybara (2.20.0)
183
+ rubocop (~> 1.41)
184
+ rubocop-factory_bot (2.24.0)
185
+ rubocop (~> 1.33)
186
+ rubocop-performance (1.20.1)
187
+ rubocop (>= 1.48.1, < 2.0)
188
+ rubocop-ast (>= 1.30.0, < 2.0)
189
+ rubocop-powerhome (0.5.0)
190
+ rubocop
191
+ rubocop-performance
192
+ rubocop-rails
193
+ rubocop-rake
194
+ rubocop-rspec
195
+ rubocop-rails (2.23.1)
196
+ activesupport (>= 4.2.0)
197
+ rack (>= 1.1)
198
+ rubocop (>= 1.33.0, < 2.0)
199
+ rubocop-ast (>= 1.30.0, < 2.0)
200
+ rubocop-rake (0.6.0)
201
+ rubocop (~> 1.0)
202
+ rubocop-rspec (2.25.0)
203
+ rubocop (~> 1.40)
204
+ rubocop-capybara (~> 2.17)
205
+ rubocop-factory_bot (~> 2.22)
206
+ ruby-progressbar (1.13.0)
207
+ rubyzip (2.3.2)
208
+ sprockets (4.2.1)
209
+ concurrent-ruby (~> 1.0)
210
+ rack (>= 2.2.4, < 4)
211
+ sprockets-rails (3.4.2)
212
+ actionpack (>= 5.2)
213
+ activesupport (>= 5.2)
214
+ sprockets (>= 3.0.0)
215
+ thor (1.3.0)
216
+ timeout (0.4.1)
217
+ tomlrb (2.0.3)
218
+ tzinfo (2.0.6)
219
+ concurrent-ruby (~> 1.0)
220
+ unicode-display_width (2.5.0)
221
+ websocket-driver (0.7.6)
222
+ websocket-extensions (>= 0.1.0)
223
+ websocket-extensions (0.1.5)
224
+ with_env (1.1.0)
225
+ xml-simple (1.1.9)
226
+ rexml
227
+ zeitwerk (2.6.12)
228
+
229
+ PLATFORMS
230
+ arm64-darwin-22
231
+
232
+ DEPENDENCIES
233
+ api_chai!
234
+ appraisal (~> 2.5.0)
235
+ license_finder (~> 7.0)
236
+ rails (= 6.1.7.4)
237
+ rake (~> 13.0)
238
+ rspec (~> 3.0)
239
+ rubocop (~> 1.21)
240
+ rubocop-powerhome (= 0.5.0)
241
+
242
+ BUNDLED WITH
243
+ 2.4.22
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file was generated by Appraisal
4
+
5
+ source "https://rubygems.org"
6
+
7
+ gem "rails", "7.0.6"
8
+ gem "rake", "~> 13.0"
9
+ gem "rspec", "~> 3.0"
10
+ gem "rubocop", "~> 1.21"
11
+
12
+ gemspec path: "../"
@@ -0,0 +1,242 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ api_chai (0.0.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ actioncable (7.0.6)
10
+ actionpack (= 7.0.6)
11
+ activesupport (= 7.0.6)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (>= 0.6.1)
14
+ actionmailbox (7.0.6)
15
+ actionpack (= 7.0.6)
16
+ activejob (= 7.0.6)
17
+ activerecord (= 7.0.6)
18
+ activestorage (= 7.0.6)
19
+ activesupport (= 7.0.6)
20
+ mail (>= 2.7.1)
21
+ net-imap
22
+ net-pop
23
+ net-smtp
24
+ actionmailer (7.0.6)
25
+ actionpack (= 7.0.6)
26
+ actionview (= 7.0.6)
27
+ activejob (= 7.0.6)
28
+ activesupport (= 7.0.6)
29
+ mail (~> 2.5, >= 2.5.4)
30
+ net-imap
31
+ net-pop
32
+ net-smtp
33
+ rails-dom-testing (~> 2.0)
34
+ actionpack (7.0.6)
35
+ actionview (= 7.0.6)
36
+ activesupport (= 7.0.6)
37
+ rack (~> 2.0, >= 2.2.4)
38
+ rack-test (>= 0.6.3)
39
+ rails-dom-testing (~> 2.0)
40
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
41
+ actiontext (7.0.6)
42
+ actionpack (= 7.0.6)
43
+ activerecord (= 7.0.6)
44
+ activestorage (= 7.0.6)
45
+ activesupport (= 7.0.6)
46
+ globalid (>= 0.6.0)
47
+ nokogiri (>= 1.8.5)
48
+ actionview (7.0.6)
49
+ activesupport (= 7.0.6)
50
+ builder (~> 3.1)
51
+ erubi (~> 1.4)
52
+ rails-dom-testing (~> 2.0)
53
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
54
+ activejob (7.0.6)
55
+ activesupport (= 7.0.6)
56
+ globalid (>= 0.3.6)
57
+ activemodel (7.0.6)
58
+ activesupport (= 7.0.6)
59
+ activerecord (7.0.6)
60
+ activemodel (= 7.0.6)
61
+ activesupport (= 7.0.6)
62
+ activestorage (7.0.6)
63
+ actionpack (= 7.0.6)
64
+ activejob (= 7.0.6)
65
+ activerecord (= 7.0.6)
66
+ activesupport (= 7.0.6)
67
+ marcel (~> 1.0)
68
+ mini_mime (>= 1.1.0)
69
+ activesupport (7.0.6)
70
+ concurrent-ruby (~> 1.0, >= 1.0.2)
71
+ i18n (>= 1.6, < 2)
72
+ minitest (>= 5.1)
73
+ tzinfo (~> 2.0)
74
+ appraisal (2.5.0)
75
+ bundler
76
+ rake
77
+ thor (>= 0.14.0)
78
+ ast (2.4.2)
79
+ builder (3.2.4)
80
+ concurrent-ruby (1.2.2)
81
+ crass (1.0.6)
82
+ date (3.3.4)
83
+ diff-lcs (1.5.0)
84
+ erubi (1.12.0)
85
+ globalid (1.2.1)
86
+ activesupport (>= 6.1)
87
+ i18n (1.14.1)
88
+ concurrent-ruby (~> 1.0)
89
+ json (2.7.1)
90
+ language_server-protocol (3.17.0.3)
91
+ license_finder (7.1.0)
92
+ bundler
93
+ rubyzip (>= 1, < 3)
94
+ thor (~> 1.2)
95
+ tomlrb (>= 1.3, < 2.1)
96
+ with_env (= 1.1.0)
97
+ xml-simple (~> 1.1.9)
98
+ loofah (2.22.0)
99
+ crass (~> 1.0.2)
100
+ nokogiri (>= 1.12.0)
101
+ mail (2.8.1)
102
+ mini_mime (>= 0.1.1)
103
+ net-imap
104
+ net-pop
105
+ net-smtp
106
+ marcel (1.0.2)
107
+ method_source (1.0.0)
108
+ mini_mime (1.1.5)
109
+ minitest (5.20.0)
110
+ net-imap (0.4.9)
111
+ date
112
+ net-protocol
113
+ net-pop (0.1.2)
114
+ net-protocol
115
+ net-protocol (0.2.2)
116
+ timeout
117
+ net-smtp (0.4.0)
118
+ net-protocol
119
+ nio4r (2.7.0)
120
+ nokogiri (1.16.0-arm64-darwin)
121
+ racc (~> 1.4)
122
+ parallel (1.24.0)
123
+ parser (3.2.2.4)
124
+ ast (~> 2.4.1)
125
+ racc
126
+ racc (1.7.3)
127
+ rack (2.2.8)
128
+ rack-test (2.1.0)
129
+ rack (>= 1.3)
130
+ rails (7.0.6)
131
+ actioncable (= 7.0.6)
132
+ actionmailbox (= 7.0.6)
133
+ actionmailer (= 7.0.6)
134
+ actionpack (= 7.0.6)
135
+ actiontext (= 7.0.6)
136
+ actionview (= 7.0.6)
137
+ activejob (= 7.0.6)
138
+ activemodel (= 7.0.6)
139
+ activerecord (= 7.0.6)
140
+ activestorage (= 7.0.6)
141
+ activesupport (= 7.0.6)
142
+ bundler (>= 1.15.0)
143
+ railties (= 7.0.6)
144
+ rails-dom-testing (2.2.0)
145
+ activesupport (>= 5.0.0)
146
+ minitest
147
+ nokogiri (>= 1.6)
148
+ rails-html-sanitizer (1.6.0)
149
+ loofah (~> 2.21)
150
+ nokogiri (~> 1.14)
151
+ railties (7.0.6)
152
+ actionpack (= 7.0.6)
153
+ activesupport (= 7.0.6)
154
+ method_source
155
+ rake (>= 12.2)
156
+ thor (~> 1.0)
157
+ zeitwerk (~> 2.5)
158
+ rainbow (3.1.1)
159
+ rake (13.1.0)
160
+ regexp_parser (2.8.3)
161
+ rexml (3.2.6)
162
+ rspec (3.12.0)
163
+ rspec-core (~> 3.12.0)
164
+ rspec-expectations (~> 3.12.0)
165
+ rspec-mocks (~> 3.12.0)
166
+ rspec-core (3.12.2)
167
+ rspec-support (~> 3.12.0)
168
+ rspec-expectations (3.12.3)
169
+ diff-lcs (>= 1.2.0, < 2.0)
170
+ rspec-support (~> 3.12.0)
171
+ rspec-mocks (3.12.6)
172
+ diff-lcs (>= 1.2.0, < 2.0)
173
+ rspec-support (~> 3.12.0)
174
+ rspec-support (3.12.1)
175
+ rubocop (1.59.0)
176
+ json (~> 2.3)
177
+ language_server-protocol (>= 3.17.0)
178
+ parallel (~> 1.10)
179
+ parser (>= 3.2.2.4)
180
+ rainbow (>= 2.2.2, < 4.0)
181
+ regexp_parser (>= 1.8, < 3.0)
182
+ rexml (>= 3.2.5, < 4.0)
183
+ rubocop-ast (>= 1.30.0, < 2.0)
184
+ ruby-progressbar (~> 1.7)
185
+ unicode-display_width (>= 2.4.0, < 3.0)
186
+ rubocop-ast (1.30.0)
187
+ parser (>= 3.2.1.0)
188
+ rubocop-capybara (2.20.0)
189
+ rubocop (~> 1.41)
190
+ rubocop-factory_bot (2.24.0)
191
+ rubocop (~> 1.33)
192
+ rubocop-performance (1.20.1)
193
+ rubocop (>= 1.48.1, < 2.0)
194
+ rubocop-ast (>= 1.30.0, < 2.0)
195
+ rubocop-powerhome (0.5.0)
196
+ rubocop
197
+ rubocop-performance
198
+ rubocop-rails
199
+ rubocop-rake
200
+ rubocop-rspec
201
+ rubocop-rails (2.23.1)
202
+ activesupport (>= 4.2.0)
203
+ rack (>= 1.1)
204
+ rubocop (>= 1.33.0, < 2.0)
205
+ rubocop-ast (>= 1.30.0, < 2.0)
206
+ rubocop-rake (0.6.0)
207
+ rubocop (~> 1.0)
208
+ rubocop-rspec (2.25.0)
209
+ rubocop (~> 1.40)
210
+ rubocop-capybara (~> 2.17)
211
+ rubocop-factory_bot (~> 2.22)
212
+ ruby-progressbar (1.13.0)
213
+ rubyzip (2.3.2)
214
+ thor (1.3.0)
215
+ timeout (0.4.1)
216
+ tomlrb (2.0.3)
217
+ tzinfo (2.0.6)
218
+ concurrent-ruby (~> 1.0)
219
+ unicode-display_width (2.5.0)
220
+ websocket-driver (0.7.6)
221
+ websocket-extensions (>= 0.1.0)
222
+ websocket-extensions (0.1.5)
223
+ with_env (1.1.0)
224
+ xml-simple (1.1.9)
225
+ rexml
226
+ zeitwerk (2.6.12)
227
+
228
+ PLATFORMS
229
+ arm64-darwin-22
230
+
231
+ DEPENDENCIES
232
+ api_chai!
233
+ appraisal (~> 2.5.0)
234
+ license_finder (~> 7.0)
235
+ rails (= 7.0.6)
236
+ rake (~> 13.0)
237
+ rspec (~> 3.0)
238
+ rubocop (~> 1.21)
239
+ rubocop-powerhome (= 0.5.0)
240
+
241
+ BUNDLED WITH
242
+ 2.4.22
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ApiChai
4
+ VERSION = "0.0.1"
5
+ end
data/lib/api_chai.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "api_chai/version"
4
+
5
+ module ApiChai
6
+ class Error < StandardError; end
7
+ # Your code goes here...
8
+ end
data/mkdocs.yml ADDED
@@ -0,0 +1,6 @@
1
+ site_name: API Chai
2
+ nav:
3
+ - "Home": "README.md"
4
+ - "Changelog": "CHANGELOG.md"
5
+ plugins:
6
+ - techdocs-core
data/sig/api_chai.rbs ADDED
@@ -0,0 +1,4 @@
1
+ module ApiChai
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,108 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: api_chai
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jill Klang
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-01-03 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: appraisal
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 2.5.0
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 2.5.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: license_finder
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '7.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '7.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop-powerhome
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 0.5.0
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 0.5.0
55
+ description: Serve up smooth API integrations lightly steeped in graceful errors,
56
+ Sentry & NewRelic reporting.
57
+ email:
58
+ - jillian.emilie@gmail.com
59
+ executables: []
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - ".rubocop.yml"
64
+ - Appraisals
65
+ - LICENSE.txt
66
+ - Rakefile
67
+ - doc/dependency_decisions.yml
68
+ - docs/CHANGELOG.md
69
+ - docs/README.md
70
+ - gemfiles/.bundle/config
71
+ - gemfiles/rails_6_0.gemfile
72
+ - gemfiles/rails_6_0.gemfile.lock
73
+ - gemfiles/rails_6_1.gemfile
74
+ - gemfiles/rails_6_1.gemfile.lock
75
+ - gemfiles/rails_7_0.gemfile
76
+ - gemfiles/rails_7_0.gemfile.lock
77
+ - lib/api_chai.rb
78
+ - lib/api_chai/version.rb
79
+ - mkdocs.yml
80
+ - sig/api_chai.rbs
81
+ homepage: https://github.com/powerhome/power-tools
82
+ licenses:
83
+ - MIT
84
+ metadata:
85
+ rubygems_mfa_required: 'true'
86
+ homepage_uri: https://github.com/powerhome/power-tools
87
+ source_code_uri: https://github.com/powerhome/power-tools
88
+ changelog_uri: https://github.com/powerhome/power-tools/blob/main/packages/api_chai/docs/CHANGELOG.md
89
+ post_install_message:
90
+ rdoc_options: []
91
+ require_paths:
92
+ - lib
93
+ required_ruby_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: 2.6.0
98
+ required_rubygems_version: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ requirements: []
104
+ rubygems_version: 3.5.3
105
+ signing_key:
106
+ specification_version: 4
107
+ summary: net-http simplicity infused with error handling and reporting
108
+ test_files: []