my_api_client 1.3.1 → 2.1.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.
Files changed (248) hide show
  1. checksums.yaml +4 -4
  2. data/.dockerignore +8 -0
  3. data/.envrc.skeleton +0 -1
  4. data/.github/dependabot.yml +130 -7
  5. data/.github/workflows/ci.yml +348 -0
  6. data/.github/workflows/dependabot-auto-merge.yml +148 -0
  7. data/.github/workflows/release.yml +35 -0
  8. data/.github/workflows/rubocop_challenge.yml +35 -0
  9. data/.gitignore +1 -0
  10. data/.rubocop.yml +1 -1
  11. data/.ruby-version +1 -1
  12. data/AGENTS.md +149 -0
  13. data/CHANGELOG.md +81 -2
  14. data/CLAUDE.md +6 -0
  15. data/Dockerfile +22 -0
  16. data/Gemfile +4 -2
  17. data/Gemfile.lock +68 -66
  18. data/README.md +398 -62
  19. data/docker-compose.yml +29 -0
  20. data/docs/runbooks/dependabot_pr_auto_merge.md +122 -0
  21. data/gemfiles/rails_7.2.gemfile +1 -1
  22. data/gemfiles/{rails_7.1.gemfile → rails_8.0.gemfile} +2 -2
  23. data/gemfiles/{rails_6.1.gemfile → rails_8.1.gemfile} +2 -2
  24. data/lib/my_api_client/default_error_handlers.rb +1 -1
  25. data/lib/my_api_client/errors/client_error.rb +5 -1
  26. data/lib/my_api_client/integrations/bugsnag.rb +1 -1
  27. data/lib/my_api_client/version.rb +1 -1
  28. data/lib/my_api_client.rb +1 -1
  29. data/my_api/.ruby-version +1 -1
  30. data/my_api/AGENTS.md +35 -0
  31. data/my_api/Dockerfile +25 -0
  32. data/my_api/Gemfile +5 -16
  33. data/my_api/Gemfile.lock +257 -229
  34. data/my_api/README.md +36 -25
  35. data/my_api/Rakefile +3 -2
  36. data/my_api/app/controllers/application_controller.rb +1 -2
  37. data/my_api/app/controllers/error_controller.rb +2 -2
  38. data/my_api/app/controllers/header_controller.rb +6 -3
  39. data/my_api/app/controllers/pagination_controller.rb +5 -15
  40. data/my_api/app/controllers/rest_controller.rb +12 -16
  41. data/my_api/app/controllers/status_controller.rb +3 -4
  42. data/my_api/config/application.rb +12 -67
  43. data/{rails_app/rails_6.1 → my_api}/config/boot.rb +1 -1
  44. data/{rails_app/rails_7.1 → my_api}/config/environment.rb +0 -2
  45. data/my_api/config/environments/development.rb +6 -6
  46. data/my_api/config/environments/production.rb +5 -8
  47. data/my_api/config/environments/test.rb +5 -6
  48. data/my_api/config/routes.rb +2 -10
  49. data/my_api/config.ru +2 -4
  50. data/my_api/public/index.html +10 -90
  51. data/{rails_app/rails_7.0 → my_api}/spec/rails_helper.rb +3 -4
  52. data/my_api/spec/requests/error_controller_spec.rb +18 -0
  53. data/my_api/spec/requests/pagination_controller_spec.rb +22 -0
  54. data/my_api/spec/requests/rest_controller_spec.rb +22 -0
  55. data/my_api/spec/requests/status_controller_spec.rb +20 -0
  56. data/my_api/spec/spec_helper.rb +15 -23
  57. data/my_api_client.gemspec +3 -3
  58. data/rails_app/AGENTS.md +13 -0
  59. data/rails_app/rails_7.2/Dockerfile +1 -1
  60. data/rails_app/rails_7.2/Gemfile +3 -1
  61. data/rails_app/rails_7.2/Gemfile.lock +155 -131
  62. data/rails_app/{rails_7.1 → rails_8.0}/.dockerignore +16 -2
  63. data/rails_app/{rails_6.1 → rails_8.0}/.gitattributes +2 -1
  64. data/rails_app/rails_8.0/.github/workflows/ci.yml +39 -0
  65. data/rails_app/{rails_6.1 → rails_8.0}/.gitignore +11 -7
  66. data/rails_app/rails_8.0/.rubocop.yml +8 -0
  67. data/rails_app/rails_8.0/.ruby-version +1 -0
  68. data/rails_app/{rails_7.1 → rails_8.0}/Dockerfile +28 -18
  69. data/rails_app/rails_8.0/Gemfile +15 -0
  70. data/rails_app/rails_8.0/Gemfile.lock +287 -0
  71. data/rails_app/{rails_6.1 → rails_8.0}/Rakefile +1 -3
  72. data/rails_app/{rails_7.1 → rails_8.0}/app/controllers/application_controller.rb +0 -2
  73. data/rails_app/rails_8.0/app/jobs/application_job.rb +7 -0
  74. data/rails_app/rails_8.0/app/mailers/application_mailer.rb +4 -0
  75. data/rails_app/{rails_7.0 → rails_8.0}/app/models/application_record.rb +0 -2
  76. data/rails_app/rails_8.0/app/views/layouts/mailer.html.erb +13 -0
  77. data/rails_app/rails_8.0/app/views/layouts/mailer.text.erb +1 -0
  78. data/rails_app/rails_8.0/bin/brakeman +7 -0
  79. data/rails_app/rails_8.0/bin/dev +2 -0
  80. data/rails_app/rails_8.0/bin/docker-entrypoint +14 -0
  81. data/rails_app/rails_8.0/bin/rails +4 -0
  82. data/rails_app/rails_8.0/bin/rake +4 -0
  83. data/rails_app/rails_8.0/bin/rubocop +8 -0
  84. data/rails_app/{rails_7.1 → rails_8.0}/bin/setup +11 -12
  85. data/rails_app/rails_8.0/bin/thrust +5 -0
  86. data/rails_app/{rails_7.1 → rails_8.0}/config/application.rb +14 -16
  87. data/rails_app/rails_8.0/config/boot.rb +3 -0
  88. data/rails_app/rails_8.0/config/cable.yml +10 -0
  89. data/rails_app/rails_8.0/config/credentials.yml.enc +1 -0
  90. data/rails_app/{rails_7.1 → rails_8.0}/config/database.yml +18 -2
  91. data/rails_app/{rails_6.1 → rails_8.0}/config/environment.rb +1 -3
  92. data/rails_app/rails_8.0/config/environments/development.rb +70 -0
  93. data/rails_app/rails_8.0/config/environments/production.rb +86 -0
  94. data/rails_app/{rails_7.1 → rails_8.0}/config/environments/test.rb +16 -19
  95. data/rails_app/{rails_7.1 → rails_8.0}/config/initializers/cors.rb +0 -1
  96. data/rails_app/{rails_7.1 → rails_8.0}/config/initializers/filter_parameter_logging.rb +2 -4
  97. data/rails_app/{rails_7.0 → rails_8.0}/config/initializers/inflections.rb +0 -1
  98. data/rails_app/rails_8.0/config/puma.rb +41 -0
  99. data/rails_app/{rails_7.1 → rails_8.0}/config/routes.rb +1 -3
  100. data/rails_app/rails_8.0/config/storage.yml +34 -0
  101. data/rails_app/{rails_7.1 → rails_8.0}/config.ru +1 -3
  102. data/rails_app/{rails_7.1 → rails_8.0}/db/seeds.rb +0 -1
  103. data/rails_app/{rails_7.1 → rails_8.0}/spec/rails_helper.rb +1 -1
  104. data/rails_app/rails_8.1/.dockerignore +45 -0
  105. data/rails_app/rails_8.1/.gitattributes +9 -0
  106. data/rails_app/rails_8.1/.github/workflows/ci.yml +52 -0
  107. data/rails_app/rails_8.1/.gitignore +33 -0
  108. data/rails_app/rails_8.1/.rspec +1 -0
  109. data/rails_app/rails_8.1/.rubocop.yml +8 -0
  110. data/rails_app/rails_8.1/.ruby-version +1 -0
  111. data/rails_app/rails_8.1/Dockerfile +68 -0
  112. data/rails_app/rails_8.1/Gemfile +15 -0
  113. data/rails_app/rails_8.1/Gemfile.lock +290 -0
  114. data/rails_app/{rails_7.0 → rails_8.1}/Rakefile +1 -3
  115. data/rails_app/{rails_6.1 → rails_8.1}/app/controllers/application_controller.rb +0 -2
  116. data/rails_app/rails_8.1/app/jobs/application_job.rb +7 -0
  117. data/rails_app/rails_8.1/app/mailers/application_mailer.rb +4 -0
  118. data/rails_app/{rails_7.1 → rails_8.1}/app/models/application_record.rb +0 -2
  119. data/rails_app/rails_8.1/app/views/layouts/mailer.html.erb +13 -0
  120. data/rails_app/rails_8.1/app/views/layouts/mailer.text.erb +1 -0
  121. data/rails_app/rails_8.1/bin/brakeman +7 -0
  122. data/rails_app/rails_8.1/bin/bundler-audit +6 -0
  123. data/rails_app/rails_8.1/bin/ci +6 -0
  124. data/rails_app/rails_8.1/bin/dev +2 -0
  125. data/rails_app/{rails_7.1 → rails_8.1}/bin/docker-entrypoint +1 -1
  126. data/rails_app/rails_8.1/bin/rails +4 -0
  127. data/rails_app/rails_8.1/bin/rake +4 -0
  128. data/rails_app/rails_8.1/bin/rubocop +8 -0
  129. data/rails_app/{rails_7.0 → rails_8.1}/bin/setup +13 -13
  130. data/rails_app/rails_8.1/bin/thrust +5 -0
  131. data/rails_app/{rails_6.1 → rails_8.1}/config/application.rb +19 -17
  132. data/rails_app/rails_8.1/config/boot.rb +3 -0
  133. data/rails_app/rails_8.1/config/bundler-audit.yml +5 -0
  134. data/rails_app/rails_8.1/config/cable.yml +10 -0
  135. data/rails_app/rails_8.1/config/ci.rb +19 -0
  136. data/rails_app/rails_8.1/config/credentials.yml.enc +1 -0
  137. data/rails_app/rails_8.1/config/database.yml +40 -0
  138. data/rails_app/{rails_7.0 → rails_8.1}/config/environment.rb +1 -3
  139. data/rails_app/rails_8.1/config/environments/development.rb +73 -0
  140. data/rails_app/rails_8.1/config/environments/production.rb +86 -0
  141. data/rails_app/rails_8.1/config/environments/test.rb +53 -0
  142. data/rails_app/{rails_7.0 → rails_8.1}/config/initializers/cors.rb +1 -2
  143. data/rails_app/rails_8.1/config/initializers/filter_parameter_logging.rb +8 -0
  144. data/rails_app/{rails_7.1 → rails_8.1}/config/initializers/inflections.rb +0 -1
  145. data/rails_app/rails_8.1/config/locales/en.yml +31 -0
  146. data/rails_app/rails_8.1/config/puma.rb +42 -0
  147. data/rails_app/rails_8.1/config/routes.rb +10 -0
  148. data/rails_app/rails_8.1/config/storage.yml +27 -0
  149. data/rails_app/{rails_7.0 → rails_8.1}/config.ru +1 -3
  150. data/rails_app/rails_8.1/db/seeds.rb +9 -0
  151. data/rails_app/{rails_6.1 → rails_8.1}/spec/rails_helper.rb +1 -2
  152. metadata +141 -138
  153. data/.circleci/config.yml +0 -344
  154. data/README.jp.md +0 -785
  155. data/gemfiles/rails_7.0.gemfile +0 -15
  156. data/my_api/.envrc.skeleton +0 -3
  157. data/my_api/.jetskeep +0 -1
  158. data/my_api/Procfile +0 -7
  159. data/my_api/app/helpers/application_helper.rb +0 -5
  160. data/my_api/app/jobs/application_job.rb +0 -7
  161. data/my_api/app/models/application_item.rb +0 -5
  162. data/my_api/config/dynamodb.yml +0 -22
  163. data/my_api/spec/controllers/error_controller_spec.rb +0 -43
  164. data/my_api/spec/controllers/header_controller_spec.rb +0 -33
  165. data/my_api/spec/controllers/pagination_controller_spec.rb +0 -73
  166. data/my_api/spec/controllers/rest_controller_spec.rb +0 -99
  167. data/my_api/spec/controllers/status_controller_spec.rb +0 -47
  168. data/my_api/spec/fixtures/payloads/posts-index.json +0 -51
  169. data/my_api/spec/fixtures/payloads/posts-show.json +0 -53
  170. data/rails_app/rails_6.1/.rspec +0 -3
  171. data/rails_app/rails_6.1/Gemfile +0 -17
  172. data/rails_app/rails_6.1/Gemfile.lock +0 -195
  173. data/rails_app/rails_6.1/app/models/application_record.rb +0 -5
  174. data/rails_app/rails_6.1/bin/bundle +0 -122
  175. data/rails_app/rails_6.1/bin/rails +0 -6
  176. data/rails_app/rails_6.1/bin/rake +0 -6
  177. data/rails_app/rails_6.1/bin/setup +0 -35
  178. data/rails_app/rails_6.1/config/credentials.yml.enc +0 -1
  179. data/rails_app/rails_6.1/config/database.yml +0 -25
  180. data/rails_app/rails_6.1/config/environments/development.rb +0 -59
  181. data/rails_app/rails_6.1/config/environments/production.rb +0 -97
  182. data/rails_app/rails_6.1/config/environments/test.rb +0 -51
  183. data/rails_app/rails_6.1/config/initializers/application_controller_renderer.rb +0 -9
  184. data/rails_app/rails_6.1/config/initializers/backtrace_silencers.rb +0 -10
  185. data/rails_app/rails_6.1/config/initializers/cors.rb +0 -17
  186. data/rails_app/rails_6.1/config/initializers/filter_parameter_logging.rb +0 -8
  187. data/rails_app/rails_6.1/config/initializers/inflections.rb +0 -17
  188. data/rails_app/rails_6.1/config/initializers/mime_types.rb +0 -5
  189. data/rails_app/rails_6.1/config/initializers/wrap_parameters.rb +0 -16
  190. data/rails_app/rails_6.1/config/locales/en.yml +0 -33
  191. data/rails_app/rails_6.1/config/routes.rb +0 -5
  192. data/rails_app/rails_6.1/config.ru +0 -8
  193. data/rails_app/rails_6.1/db/seeds.rb +0 -8
  194. data/rails_app/rails_7.0/Gemfile +0 -13
  195. data/rails_app/rails_7.0/Gemfile.lock +0 -212
  196. data/rails_app/rails_7.0/app/controllers/application_controller.rb +0 -4
  197. data/rails_app/rails_7.0/bin/bundle +0 -122
  198. data/rails_app/rails_7.0/bin/rails +0 -6
  199. data/rails_app/rails_7.0/bin/rake +0 -6
  200. data/rails_app/rails_7.0/config/application.rb +0 -41
  201. data/rails_app/rails_7.0/config/boot.rb +0 -5
  202. data/rails_app/rails_7.0/config/credentials.yml.enc +0 -1
  203. data/rails_app/rails_7.0/config/database.yml +0 -25
  204. data/rails_app/rails_7.0/config/environments/development.rb +0 -58
  205. data/rails_app/rails_7.0/config/environments/production.rb +0 -70
  206. data/rails_app/rails_7.0/config/environments/test.rb +0 -52
  207. data/rails_app/rails_7.0/config/initializers/filter_parameter_logging.rb +0 -8
  208. data/rails_app/rails_7.0/config/locales/en.yml +0 -33
  209. data/rails_app/rails_7.0/config/routes.rb +0 -8
  210. data/rails_app/rails_7.0/db/seeds.rb +0 -8
  211. data/rails_app/rails_7.1/Gemfile +0 -16
  212. data/rails_app/rails_7.1/Gemfile.lock +0 -241
  213. data/rails_app/rails_7.1/README.md +0 -24
  214. data/rails_app/rails_7.1/Rakefile +0 -8
  215. data/rails_app/rails_7.1/bin/bundle +0 -122
  216. data/rails_app/rails_7.1/bin/rails +0 -6
  217. data/rails_app/rails_7.1/bin/rake +0 -6
  218. data/rails_app/rails_7.1/config/boot.rb +0 -5
  219. data/rails_app/rails_7.1/config/credentials.yml.enc +0 -1
  220. data/rails_app/rails_7.1/config/environments/development.rb +0 -58
  221. data/rails_app/rails_7.1/config/environments/production.rb +0 -74
  222. data/rails_app/rails_7.1/config/puma.rb +0 -46
  223. data/rails_app/rails_7.1/public/robots.txt +0 -2
  224. data/rails_app/rails_7.1/spec/spec_helper.rb +0 -13
  225. data/rails_app/rails_7.1/vendor/.keep +0 -0
  226. data/rails_app/rails_7.2/.github/dependabot.yml +0 -12
  227. /data/rails_app/{rails_7.1 → rails_8.0}/.rspec +0 -0
  228. /data/rails_app/{rails_6.1 → rails_8.0}/README.md +0 -0
  229. /data/rails_app/{rails_6.1 → rails_8.0}/app/controllers/concerns/.keep +0 -0
  230. /data/rails_app/{rails_6.1/app/javascript → rails_8.0/app/models/concerns}/.keep +0 -0
  231. /data/rails_app/{rails_7.1 → rails_8.0}/config/locales/en.yml +0 -0
  232. /data/rails_app/{rails_6.1/app/models/concerns → rails_8.0/lib/tasks}/.keep +0 -0
  233. /data/rails_app/{rails_6.1/lib/tasks → rails_8.0/log}/.keep +0 -0
  234. /data/rails_app/{rails_6.1 → rails_8.0}/public/robots.txt +0 -0
  235. /data/rails_app/{rails_6.1/tmp → rails_8.0/script}/.keep +0 -0
  236. /data/rails_app/{rails_6.1 → rails_8.0}/spec/spec_helper.rb +0 -0
  237. /data/rails_app/{rails_6.1/tmp/pids → rails_8.0/storage}/.keep +0 -0
  238. /data/rails_app/{rails_6.1 → rails_8.0}/vendor/.keep +0 -0
  239. /data/rails_app/{rails_7.0 → rails_8.1}/README.md +0 -0
  240. /data/rails_app/{rails_7.1 → rails_8.1}/app/controllers/concerns/.keep +0 -0
  241. /data/rails_app/{rails_7.1 → rails_8.1}/app/models/concerns/.keep +0 -0
  242. /data/rails_app/{rails_7.1 → rails_8.1}/lib/tasks/.keep +0 -0
  243. /data/rails_app/{rails_7.1/storage → rails_8.1/log}/.keep +0 -0
  244. /data/rails_app/{rails_7.0 → rails_8.1}/public/robots.txt +0 -0
  245. /data/rails_app/{rails_7.1/tmp → rails_8.1/script}/.keep +0 -0
  246. /data/rails_app/{rails_7.0 → rails_8.1}/spec/spec_helper.rb +0 -0
  247. /data/rails_app/{rails_7.1/tmp/pids → rails_8.1/storage}/.keep +0 -0
  248. /data/rails_app/{rails_7.1/tmp/storage → rails_8.1/vendor}/.keep +0 -0
data/my_api/Gemfile.lock CHANGED
@@ -1,280 +1,308 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- actionmailer (6.1.7.9)
5
- actionpack (= 6.1.7.9)
6
- actionview (= 6.1.7.9)
7
- activejob (= 6.1.7.9)
8
- activesupport (= 6.1.7.9)
9
- mail (~> 2.5, >= 2.5.4)
10
- rails-dom-testing (~> 2.0)
11
- actionpack (6.1.7.9)
12
- actionview (= 6.1.7.9)
13
- activesupport (= 6.1.7.9)
14
- rack (~> 2.0, >= 2.0.9)
4
+ action_text-trix (2.1.18)
5
+ railties
6
+ actioncable (8.1.3.1)
7
+ actionpack (= 8.1.3.1)
8
+ activesupport (= 8.1.3.1)
9
+ nio4r (~> 2.0)
10
+ websocket-driver (>= 0.6.1)
11
+ zeitwerk (~> 2.6)
12
+ actionmailbox (8.1.3.1)
13
+ actionpack (= 8.1.3.1)
14
+ activejob (= 8.1.3.1)
15
+ activerecord (= 8.1.3.1)
16
+ activestorage (= 8.1.3.1)
17
+ activesupport (= 8.1.3.1)
18
+ mail (>= 2.8.0)
19
+ actionmailer (8.1.3.1)
20
+ actionpack (= 8.1.3.1)
21
+ actionview (= 8.1.3.1)
22
+ activejob (= 8.1.3.1)
23
+ activesupport (= 8.1.3.1)
24
+ mail (>= 2.8.0)
25
+ rails-dom-testing (~> 2.2)
26
+ actionpack (8.1.3.1)
27
+ actionview (= 8.1.3.1)
28
+ activesupport (= 8.1.3.1)
29
+ nokogiri (>= 1.8.5)
30
+ rack (>= 2.2.4)
31
+ rack-session (>= 1.0.1)
15
32
  rack-test (>= 0.6.3)
16
- rails-dom-testing (~> 2.0)
17
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
- actionview (6.1.7.9)
19
- activesupport (= 6.1.7.9)
33
+ rails-dom-testing (~> 2.2)
34
+ rails-html-sanitizer (~> 1.6)
35
+ useragent (~> 0.16)
36
+ actiontext (8.1.3.1)
37
+ action_text-trix (~> 2.1.15)
38
+ actionpack (= 8.1.3.1)
39
+ activerecord (= 8.1.3.1)
40
+ activestorage (= 8.1.3.1)
41
+ activesupport (= 8.1.3.1)
42
+ globalid (>= 0.6.0)
43
+ nokogiri (>= 1.8.5)
44
+ actionview (8.1.3.1)
45
+ activesupport (= 8.1.3.1)
20
46
  builder (~> 3.1)
21
- erubi (~> 1.4)
22
- rails-dom-testing (~> 2.0)
23
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
- activejob (6.1.7.9)
25
- activesupport (= 6.1.7.9)
47
+ erubi (~> 1.11)
48
+ rails-dom-testing (~> 2.2)
49
+ rails-html-sanitizer (~> 1.6)
50
+ activejob (8.1.3.1)
51
+ activesupport (= 8.1.3.1)
26
52
  globalid (>= 0.3.6)
27
- activemodel (6.1.7.9)
28
- activesupport (= 6.1.7.9)
29
- activerecord (6.1.7.9)
30
- activemodel (= 6.1.7.9)
31
- activesupport (= 6.1.7.9)
32
- activesupport (6.1.7.9)
33
- concurrent-ruby (~> 1.0, >= 1.0.2)
53
+ activemodel (8.1.3.1)
54
+ activesupport (= 8.1.3.1)
55
+ activerecord (8.1.3.1)
56
+ activemodel (= 8.1.3.1)
57
+ activesupport (= 8.1.3.1)
58
+ timeout (>= 0.4.0)
59
+ activestorage (8.1.3.1)
60
+ actionpack (= 8.1.3.1)
61
+ activejob (= 8.1.3.1)
62
+ activerecord (= 8.1.3.1)
63
+ activesupport (= 8.1.3.1)
64
+ marcel (~> 1.0)
65
+ activesupport (8.1.3.1)
66
+ base64
67
+ bigdecimal
68
+ concurrent-ruby (~> 1.0, >= 1.3.1)
69
+ connection_pool (>= 2.2.5)
70
+ drb
34
71
  i18n (>= 1.6, < 2)
72
+ json
73
+ logger (>= 1.4.2)
35
74
  minitest (>= 5.1)
36
- tzinfo (~> 2.0)
37
- zeitwerk (~> 2.3)
38
- addressable (2.8.7)
39
- public_suffix (>= 2.0.2, < 7.0)
40
- aws-eventstream (1.4.0)
41
- aws-mfa-secure (0.4.4)
42
- activesupport
43
- aws-sdk-core
44
- aws_config
45
- memoist
46
- rainbow
47
- thor
48
- zeitwerk
49
- aws-partitions (1.1113.0)
50
- aws-sdk-apigateway (1.90.0)
51
- aws-sdk-core (~> 3, >= 3.188.0)
52
- aws-sigv4 (~> 1.1)
53
- aws-sdk-cloudformation (1.96.0)
54
- aws-sdk-core (~> 3, >= 3.188.0)
55
- aws-sigv4 (~> 1.1)
56
- aws-sdk-cloudwatchlogs (1.75.0)
57
- aws-sdk-core (~> 3, >= 3.188.0)
58
- aws-sigv4 (~> 1.1)
59
- aws-sdk-core (3.225.1)
60
- aws-eventstream (~> 1, >= 1.3.0)
61
- aws-partitions (~> 1, >= 1.992.0)
62
- aws-sigv4 (~> 1.9)
63
- base64
64
- jmespath (~> 1, >= 1.6.1)
65
- logger
66
- aws-sdk-dynamodb (1.145.0)
67
- aws-sdk-core (~> 3, >= 3.225.0)
68
- aws-sigv4 (~> 1.5)
69
- aws-sdk-kinesis (1.54.0)
70
- aws-sdk-core (~> 3, >= 3.188.0)
71
- aws-sigv4 (~> 1.1)
72
- aws-sdk-kms (1.74.0)
73
- aws-sdk-core (~> 3, >= 3.188.0)
74
- aws-sigv4 (~> 1.1)
75
- aws-sdk-lambda (1.113.0)
76
- aws-sdk-core (~> 3, >= 3.188.0)
77
- aws-sigv4 (~> 1.1)
78
- aws-sdk-s3 (1.141.0)
79
- aws-sdk-core (~> 3, >= 3.189.0)
80
- aws-sdk-kms (~> 1)
81
- aws-sigv4 (~> 1.8)
82
- aws-sdk-sns (1.70.0)
83
- aws-sdk-core (~> 3, >= 3.188.0)
84
- aws-sigv4 (~> 1.1)
85
- aws-sdk-sqs (1.69.0)
86
- aws-sdk-core (~> 3, >= 3.188.0)
87
- aws-sigv4 (~> 1.1)
88
- aws-sdk-ssm (1.162.0)
89
- aws-sdk-core (~> 3, >= 3.188.0)
90
- aws-sigv4 (~> 1.1)
91
- aws-sigv4 (1.12.0)
92
- aws-eventstream (~> 1, >= 1.0.2)
93
- aws_config (0.1.1)
75
+ securerandom (>= 0.3)
76
+ tzinfo (~> 2.0, >= 2.0.5)
77
+ uri (>= 0.13.1)
94
78
  base64 (0.3.0)
79
+ bigdecimal (4.1.2)
95
80
  builder (3.3.0)
96
- byebug (11.1.3)
97
- capybara (3.40.0)
98
- addressable
99
- matrix
100
- mini_mime (>= 0.1.3)
101
- nokogiri (~> 1.11)
102
- rack (>= 1.6.0)
103
- rack-test (>= 0.6.3)
104
- regexp_parser (>= 1.5, < 3.0)
105
- xpath (~> 3.2)
106
- cfn-status (0.4.6)
107
- aws-sdk-cloudformation
108
- cfn_camelizer (0.4.9)
109
- activesupport
110
- memoist
111
- rainbow
112
- cfn_response (0.2.0)
113
- childprocess (5.1.0)
114
- logger (~> 1.5)
115
- concurrent-ruby (1.3.5)
116
- crass (1.0.6)
117
- date (3.4.1)
81
+ concurrent-ruby (1.3.8)
82
+ connection_pool (3.0.2)
83
+ crass (1.0.7)
84
+ date (3.5.1)
118
85
  diff-lcs (1.6.2)
119
- dotenv (2.8.1)
120
- dynomite (2.0.3)
121
- activemodel
122
- activesupport
123
- aws-sdk-dynamodb
124
- memoist
125
- rainbow
126
- thor
127
- zeitwerk
128
- erubi (1.13.0)
129
- gems (1.2.0)
130
- globalid (1.2.1)
86
+ drb (2.2.3)
87
+ erb (6.0.6)
88
+ erubi (1.13.1)
89
+ globalid (1.4.0)
131
90
  activesupport (>= 6.1)
132
- hashie (5.0.0)
133
- i18n (1.14.7)
91
+ i18n (1.15.2)
134
92
  concurrent-ruby (~> 1.0)
135
- jets (4.0.10)
136
- actionmailer (~> 6.1.0)
137
- actionpack (~> 6.1.0)
138
- actionview (~> 6.1.0)
139
- activerecord (~> 6.1.0)
140
- activesupport (~> 6.1.0)
141
- aws-mfa-secure (~> 0.4.0)
142
- aws-sdk-apigateway
143
- aws-sdk-cloudformation
144
- aws-sdk-cloudwatchlogs
145
- aws-sdk-dynamodb
146
- aws-sdk-kinesis
147
- aws-sdk-lambda
148
- aws-sdk-s3
149
- aws-sdk-sns
150
- aws-sdk-sqs
151
- aws-sdk-ssm
152
- cfn-status
153
- cfn_camelizer (>= 0.4.9)
154
- cfn_response
155
- dotenv
156
- gems
157
- hashie
158
- jets-html-sanitizer
159
- kramdown
160
- memoist
161
- mini_mime
162
- rack
163
- railties (~> 6.1.0)
164
- rainbow
165
- recursive-open-struct
166
- serverlessgems (>= 0.2.0)
167
- shotgun
168
- text-table
169
- thor
170
- zeitwerk (>= 2.6.0)
171
- jets-html-sanitizer (1.0.4)
172
- loofah (~> 2.2, >= 2.2.2)
173
- jmespath (1.6.2)
174
- kramdown (2.4.0)
175
- rexml
176
- launchy (3.1.1)
177
- addressable (~> 2.8)
178
- childprocess (~> 5.0)
179
- logger (~> 1.6)
93
+ io-console (0.8.2)
94
+ irb (1.18.0)
95
+ pp (>= 0.6.0)
96
+ prism (>= 1.3.0)
97
+ rdoc (>= 4.0.0)
98
+ reline (>= 0.4.2)
99
+ json (2.21.2)
180
100
  logger (1.7.0)
181
- loofah (2.24.1)
101
+ loofah (2.25.2)
182
102
  crass (~> 1.0.2)
183
103
  nokogiri (>= 1.12.0)
184
- mail (2.8.1)
104
+ mail (2.9.0)
105
+ logger
185
106
  mini_mime (>= 0.1.1)
186
107
  net-imap
187
108
  net-pop
188
109
  net-smtp
189
- matrix (0.4.2)
190
- memoist (0.16.2)
191
- method_source (1.0.0)
110
+ marcel (1.2.1)
192
111
  mini_mime (1.1.5)
193
- mini_portile2 (2.8.9)
194
- minitest (5.25.5)
195
- net-imap (0.4.20)
112
+ minitest (6.0.6)
113
+ drb (~> 2.0)
114
+ prism (~> 1.5)
115
+ net-imap (0.6.4.1)
196
116
  date
197
117
  net-protocol
198
118
  net-pop (0.1.2)
199
119
  net-protocol
200
120
  net-protocol (0.2.2)
201
121
  timeout
202
- net-smtp (0.5.0)
122
+ net-smtp (0.5.1)
203
123
  net-protocol
204
- nio4r (2.7.4)
205
- nokogiri (1.17.2)
206
- mini_portile2 (~> 2.8.2)
124
+ nio4r (2.7.5)
125
+ nokogiri (1.19.4-aarch64-linux-gnu)
126
+ racc (~> 1.4)
127
+ nokogiri (1.19.4-x86_64-linux-gnu)
207
128
  racc (~> 1.4)
208
- public_suffix (6.0.2)
209
- puma (6.6.0)
129
+ pp (0.6.4)
130
+ prettyprint
131
+ prettyprint (0.2.0)
132
+ prism (1.9.0)
133
+ puma (8.0.2)
210
134
  nio4r (~> 2.0)
211
135
  racc (1.8.1)
212
- rack (2.2.17)
213
- rack-test (2.1.0)
136
+ rack (3.2.6)
137
+ rack-session (2.1.2)
138
+ base64 (>= 0.1.0)
139
+ rack (>= 3.0.0)
140
+ rack-test (2.2.0)
214
141
  rack (>= 1.3)
215
- rails-dom-testing (2.2.0)
142
+ rackup (2.3.1)
143
+ rack (>= 3)
144
+ rails (8.1.3.1)
145
+ actioncable (= 8.1.3.1)
146
+ actionmailbox (= 8.1.3.1)
147
+ actionmailer (= 8.1.3.1)
148
+ actionpack (= 8.1.3.1)
149
+ actiontext (= 8.1.3.1)
150
+ actionview (= 8.1.3.1)
151
+ activejob (= 8.1.3.1)
152
+ activemodel (= 8.1.3.1)
153
+ activerecord (= 8.1.3.1)
154
+ activestorage (= 8.1.3.1)
155
+ activesupport (= 8.1.3.1)
156
+ bundler (>= 1.15.0)
157
+ railties (= 8.1.3.1)
158
+ rails-dom-testing (2.3.0)
216
159
  activesupport (>= 5.0.0)
217
160
  minitest
218
161
  nokogiri (>= 1.6)
219
- rails-html-sanitizer (1.6.1)
220
- loofah (~> 2.21)
162
+ rails-html-sanitizer (1.7.1)
163
+ loofah (~> 2.25, >= 2.25.2)
221
164
  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)
222
- railties (6.1.7.9)
223
- actionpack (= 6.1.7.9)
224
- activesupport (= 6.1.7.9)
225
- method_source
165
+ railties (8.1.3.1)
166
+ actionpack (= 8.1.3.1)
167
+ activesupport (= 8.1.3.1)
168
+ irb (~> 1.13)
169
+ rackup (>= 1.0.0)
226
170
  rake (>= 12.2)
227
- thor (~> 1.0)
228
- rainbow (3.1.1)
229
- rake (13.1.0)
230
- recursive-open-struct (1.1.3)
231
- regexp_parser (2.9.0)
232
- rexml (3.3.9)
233
- rspec (3.13.1)
234
- rspec-core (~> 3.13.0)
235
- rspec-expectations (~> 3.13.0)
236
- rspec-mocks (~> 3.13.0)
237
- rspec-core (3.13.4)
171
+ thor (~> 1.0, >= 1.2.2)
172
+ tsort (>= 0.2)
173
+ zeitwerk (~> 2.6)
174
+ rake (13.4.2)
175
+ rbs (4.1.1)
176
+ logger
177
+ prism (>= 1.6.0)
178
+ tsort
179
+ rdoc (8.0.0)
180
+ erb
181
+ prism (>= 1.6.0)
182
+ rbs (>= 4.0.0)
183
+ tsort
184
+ reline (0.6.3)
185
+ io-console (~> 0.5)
186
+ rspec-core (3.13.6)
238
187
  rspec-support (~> 3.13.0)
239
188
  rspec-expectations (3.13.5)
240
189
  diff-lcs (>= 1.2.0, < 2.0)
241
190
  rspec-support (~> 3.13.0)
242
- rspec-mocks (3.13.5)
191
+ rspec-mocks (3.13.8)
243
192
  diff-lcs (>= 1.2.0, < 2.0)
244
193
  rspec-support (~> 3.13.0)
245
- rspec-support (3.13.4)
246
- rspec_junit_formatter (0.6.0)
247
- rspec-core (>= 2, < 4, != 2.12.0)
248
- serverlessgems (0.4.0)
249
- gems
250
- memoist
251
- zeitwerk
252
- shotgun (0.9.2)
253
- rack (>= 1.0)
254
- text-table (1.2.4)
255
- thor (1.3.0)
256
- timeout (0.4.3)
194
+ rspec-rails (8.0.4)
195
+ actionpack (>= 7.2)
196
+ activesupport (>= 7.2)
197
+ railties (>= 7.2)
198
+ rspec-core (>= 3.13.0, < 5.0.0)
199
+ rspec-expectations (>= 3.13.0, < 5.0.0)
200
+ rspec-mocks (>= 3.13.0, < 5.0.0)
201
+ rspec-support (>= 3.13.0, < 5.0.0)
202
+ rspec-support (3.13.7)
203
+ securerandom (0.4.1)
204
+ simplecov (1.0.3)
205
+ simplecov_json_formatter (0.1.4)
206
+ thor (1.5.0)
207
+ timeout (0.6.1)
208
+ tsort (0.2.0)
257
209
  tzinfo (2.0.6)
258
210
  concurrent-ruby (~> 1.0)
259
- xpath (3.2.0)
260
- nokogiri (~> 1.8)
261
- zeitwerk (2.6.18)
211
+ uri (1.1.1)
212
+ useragent (0.16.11)
213
+ websocket-driver (0.8.2)
214
+ base64
215
+ websocket-extensions (>= 0.1.0)
216
+ websocket-extensions (0.1.5)
217
+ zeitwerk (2.8.3)
262
218
 
263
219
  PLATFORMS
264
- ruby
220
+ aarch64-linux-gnu
221
+ x86_64-linux
265
222
 
266
223
  DEPENDENCIES
267
- byebug
268
- capybara
269
- dynomite
270
- jets (~> 4.0.10)
271
- launchy
272
- nokogiri (~> 1.17.2)
273
- puma
274
- rack
275
- rspec
276
- rspec_junit_formatter
277
- shotgun
224
+ puma (>= 6.0)
225
+ rails (~> 8.1.3)
226
+ rspec-rails
227
+ simplecov
228
+ simplecov_json_formatter
229
+
230
+ CHECKSUMS
231
+ action_text-trix (2.1.18) sha256=3fdb83f8bff4145d098be283cdd47ac41caf5110bfa6df4695ed7127d7fb3642
232
+ actioncable (8.1.3.1) sha256=e318528295c878a3efdfe25f0f2267c80cb7a76eba41bb5f64d44aa380a3d91b
233
+ actionmailbox (8.1.3.1) sha256=5f704972097d843ade8e435e93694a1dac732b926df1717aceba1f3840082b1c
234
+ actionmailer (8.1.3.1) sha256=88ea441b28ff02a0c6c006468892642a3d9942affce9d294e81a74504aa5c43c
235
+ actionpack (8.1.3.1) sha256=974cb7154548e81f470b1b0f247b99cb38e87825899dca58610596e2817723d0
236
+ actiontext (8.1.3.1) sha256=5da729d833d1a29cddb1eee938878e55e503d2613e00e735f5daf58c2ba98af2
237
+ actionview (8.1.3.1) sha256=2da68b8414c47b43bfbed1ce69c5afe1c04f78c267aacb5660a4cab5ca12cfb6
238
+ activejob (8.1.3.1) sha256=1c8dd275df930df40deecffec63d913a550a33fd94bd298f69721dd96939954a
239
+ activemodel (8.1.3.1) sha256=99cc02ce2faec371d14440949d85787ebd23a907c9baef0a9d4bcd4d21888f88
240
+ activerecord (8.1.3.1) sha256=0a2fb6c28f4938f6b013a3a549bec0a7e37d535f3dc8990e804bcc3258c0403b
241
+ activestorage (8.1.3.1) sha256=f555254f387b1cffa499d2fd3115d12635eadc5b15206a8534316a67036163ef
242
+ activesupport (8.1.3.1) sha256=85458765f25ea48b9019c46b6bb3fa5683197bf4280d9f06710a6e8d7a831376
243
+ base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
244
+ bigdecimal (4.1.2) sha256=53d217666027eab4280346fba98e7d5b66baaae1b9c3c1c0ffe89d48188a3fbd
245
+ builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f
246
+ concurrent-ruby (1.3.8) sha256=b2f1be836e968ccc78ccfce277ea79c72a88633f22306782c16ff23fb415d1e1
247
+ connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a
248
+ crass (1.0.7) sha256=94868719948664c89ddcaf0a37c65048413dfcb1c869470a5f7a7ceb5390b295
249
+ date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0
250
+ diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
251
+ drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
252
+ erb (6.0.6) sha256=a9b24986700f5bf127c4f297c5403c3ca41b83b0a316c0cd09a096b56e644ae5
253
+ erubi (1.13.1) sha256=a082103b0885dbc5ecf1172fede897f9ebdb745a4b97a5e8dc63953db1ee4ad9
254
+ globalid (1.4.0) sha256=037f12fbf1d9d7a014d501c2d5c77356fd4ddd96d7a7991d6700bba96706f427
255
+ i18n (1.15.2) sha256=00f9eb62412fe593b2a65a97daa75300d37abb8f7202ec748e94b6d46a9dd1b5
256
+ io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc
257
+ irb (1.18.0) sha256=de9454a0703a54704b9811a5ef31a60c86949fbf4013fcf244fabc7c775248e3
258
+ json (2.21.2) sha256=1f1d3b7cf2b3ba1a69beca0bb6db13d5438b80bff3cd54cdaaa620b9b07c1c6a
259
+ logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
260
+ loofah (2.25.2) sha256=2007f746959ac65552456e04b433e83deb22759ab38c838b4445c70e43425918
261
+ mail (2.9.0) sha256=6fa6673ecd71c60c2d996260f9ee3dd387d4673b8169b502134659ece6d34941
262
+ marcel (1.2.1) sha256=1678e9360e32f9eafa917c80029e2f6d10b2715c66a4b87b6d0da9b9cd1f859f
263
+ mini_mime (1.1.5) sha256=8681b7e2e4215f2a159f9400b5816d85e9d8c6c6b491e96a12797e798f8bccef
264
+ minitest (6.0.6) sha256=153ea36d1d987a62942382b61075745042a2b3123b1cd48f4c3675af9cc7d6f1
265
+ net-imap (0.6.4.1) sha256=29f0360d75a7efd3539f16ac1957dea5c0a51ddeceb348db4553c3120914ea0d
266
+ net-pop (0.1.2) sha256=848b4e982013c15b2f0382792268763b748cce91c9e91e36b0f27ed26420dff3
267
+ net-protocol (0.2.2) sha256=aa73e0cba6a125369de9837b8d8ef82a61849360eba0521900e2c3713aa162a8
268
+ net-smtp (0.5.1) sha256=ed96a0af63c524fceb4b29b0d352195c30d82dd916a42f03c62a3a70e5b70736
269
+ nio4r (2.7.5) sha256=6c90168e48fb5f8e768419c93abb94ba2b892a1d0602cb06eef16d8b7df1dca1
270
+ nokogiri (1.19.4-aarch64-linux-gnu) sha256=1269fb644a6de405057a53dd5c762b1209b43ca7424f839454d3dbc677c31a8f
271
+ nokogiri (1.19.4-x86_64-linux-gnu) sha256=379fae440b28915e3f19d752ce2dcf8465ed2b2fbefd2a7ca0dd497bc981a06a
272
+ pp (0.6.4) sha256=dfcb0fce700c41456265922884f9fe195d7fbb0674a3578e6c0f69588e82b570
273
+ prettyprint (0.2.0) sha256=2bc9e15581a94742064a3cc8b0fb9d45aae3d03a1baa6ef80922627a0766f193
274
+ prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
275
+ puma (8.0.2) sha256=c8ed871dfbbe66448ea9ffd46692342d9804d4071522b52b5331b7b6e7b686fb
276
+ racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
277
+ rack (3.2.6) sha256=5ed78e1f73b2e25679bec7d45ee2d4483cc4146eb1be0264fc4d94cb5ef212c2
278
+ rack-session (2.1.2) sha256=595434f8c0c3473ae7d7ac56ecda6cc6dfd9d37c0b2b5255330aa1576967ffe8
279
+ rack-test (2.2.0) sha256=005a36692c306ac0b4a9350355ee080fd09ddef1148a5f8b2ac636c720f5c463
280
+ rackup (2.3.1) sha256=6c79c26753778e90983761d677a48937ee3192b3ffef6bc963c0950f94688868
281
+ rails (8.1.3.1) sha256=ccd11a36bfc171bf9c66d585d14c0ece91c0c9dde840aae60c0118d6f5c9c52a
282
+ rails-dom-testing (2.3.0) sha256=8acc7953a7b911ca44588bf08737bc16719f431a1cc3091a292bca7317925c1d
283
+ rails-html-sanitizer (1.7.1) sha256=e797a7c9b01e567307e317c576b49ab4168017e63eea4dba9ce3cb587e2f22c2
284
+ railties (8.1.3.1) sha256=2388a232579a00cefea4487de66c8553c3408c1300abdc6cf1799d86ffb04487
285
+ rake (13.4.2) sha256=cb825b2bd5f1f8e91ca37bddb4b9aaf345551b4731da62949be002fa89283701
286
+ rbs (4.1.1) sha256=1bf118f2f95d1cd3956357645d495152b661e0257e57781d18ceecd461622b9e
287
+ rdoc (8.0.0) sha256=03bf8c08a9639658855a0cfd77c0abca8325c227693f7f33f82957811348c469
288
+ reline (0.6.3) sha256=1198b04973565b36ec0f11542ab3f5cfeeec34823f4e54cebde90968092b1835
289
+ rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
290
+ rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
291
+ rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47
292
+ rspec-rails (8.0.4) sha256=06235692fc0892683d3d34977e081db867434b3a24ae0dd0c6f3516bad4e22df
293
+ rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
294
+ securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
295
+ simplecov (1.0.3) sha256=38ef0514f16ae7562f0d0f4df02610071115103d301b6de7dacbcc000082e39b
296
+ simplecov_json_formatter (0.1.4) sha256=529418fbe8de1713ac2b2d612aa3daa56d316975d307244399fa4838c601b428
297
+ thor (1.5.0) sha256=e3a9e55fe857e44859ce104a84675ab6e8cd59c650a49106a05f55f136425e73
298
+ timeout (0.6.1) sha256=78f57368a7e7bbadec56971f78a3f5ecbcfb59b7fcbb0a3ed6ddc08a5094accb
299
+ tsort (0.2.0) sha256=9650a793f6859a43b6641671278f79cfead60ac714148aabe4e3f0060480089f
300
+ tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
301
+ uri (1.1.1) sha256=379fa58d27ffb1387eaada68c749d1426738bd0f654d812fcc07e7568f5c57c6
302
+ useragent (0.16.11) sha256=700e6413ad4bb954bb63547fa098dddf7b0ebe75b40cc6f93b8d54255b173844
303
+ websocket-driver (0.8.2) sha256=97c556b019bf3410b4961002ac501621e9322d3f8a7bc02161a09301cc4c4146
304
+ websocket-extensions (0.1.5) sha256=1c6ba63092cda343eb53fc657110c71c754c56484aad42578495227d717a8241
305
+ zeitwerk (2.8.3) sha256=2c85125a8467ce069e20123d1e709a08955c9d29c118c25b46b7b7fafdbb92e5
278
306
 
279
307
  BUNDLED WITH
280
- 2.1.4
308
+ 4.0.3
data/my_api/README.md CHANGED
@@ -1,54 +1,65 @@
1
1
  # My API
2
2
 
3
- This is the real API for integration testing with `my_api_client`.
4
-
5
- It's built by [Ruby on Jets](https://rubyonjets.com/).
3
+ This is the API server for integration testing with `my_api_client`.
6
4
 
7
5
  ## APIs
8
6
 
9
7
  ### My Rest API
10
8
 
11
- This is a simple REST API that returns a specified response.
9
+ Simple REST endpoints that return fixed payloads used by integration tests.
12
10
 
13
- * `GET rest`
14
- * `GET rest/:id`
15
- * `POST rest`
16
- * `POST/PUT/PATCH rest/:id`
17
- * `DELETE rest/:id`
11
+ - `GET /rest`
12
+ - `GET /rest/:id`
13
+ - `POST /rest`
14
+ - `PUT/PATCH /rest/:id`
15
+ - `DELETE /rest/:id`
18
16
 
19
17
  ### My Status API
20
18
 
21
- This API returns arbitrary status code.
19
+ Returns the requested status code and message.
20
+
21
+ - `GET /status/:status`
22
+
23
+ ### My Header API
22
24
 
23
- * `GET status/:status`
25
+ Echoes request headers in the response headers.
26
+
27
+ - `GET /header`
24
28
 
25
29
  ### My Error API
26
30
 
27
- This API returns arbitrary error code as JSON.
31
+ Returns fixed JSON error payloads for error handling tests.
28
32
 
29
- * `GET error/:code`
33
+ - `GET /error/:code`
30
34
 
31
35
  ### My Pagination API
32
36
 
33
- This API returns a response including pagination links.
34
-
35
- * `GET pagination?page=1`
37
+ Returns paginated responses with `links.next` and `links.previous`.
36
38
 
37
- ## Deployment
39
+ - `GET /pagination?page=1`
38
40
 
39
- You need to prepare following environment variables:
41
+ ## Local Development
40
42
 
41
- * `AWS_REGION`
42
- * `AWS_ACCESS_KEY_ID`
43
- * `AWS_SECRET_ACCESS_KEY`
43
+ ```sh
44
+ bundle install
45
+ bundle exec rackup -o 0.0.0.0 -p 3000
46
+ ```
44
47
 
45
- For information on how to create an AWS access key and secret, see the following site:
48
+ ## Run With Docker Compose
46
49
 
47
- :link: [Minimal Deploy IAM Policy \- Jets Ruby Serverless Framework](https://rubyonjets.com/docs/extras/minimal-deploy-iam/)
50
+ From repository root:
48
51
 
52
+ ```sh
53
+ docker compose up -d --build my_api
54
+ docker compose run --rm my_api bundle exec rspec spec/requests
55
+ docker compose run --rm test bundle exec rspec
56
+ docker compose down --volumes --remove-orphans
57
+ ```
49
58
 
50
- And execute following command:
59
+ Run only integration specs:
51
60
 
52
61
  ```sh
53
- $ bundle exec jets deploy
62
+ docker compose up -d --build my_api
63
+ docker compose run --rm test bundle exec rspec spec/integrations/api_clients
64
+ docker compose down --volumes --remove-orphans
54
65
  ```
data/my_api/Rakefile CHANGED
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'jets'
4
- Jets.load_tasks
3
+ require_relative 'config/application'
4
+
5
+ Rails.application.load_tasks
@@ -1,5 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # The root of the controller
4
- class ApplicationController < Jets::Controller::Base
3
+ class ApplicationController < ActionController::API
5
4
  end
@@ -1,8 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # THe error code API
3
+ # Error endpoint that returns deterministic JSON error payloads.
4
4
  class ErrorController < ApplicationController
5
- # GET error/:code
5
+ # GET /error/:code
6
6
  def show
7
7
  render status: :bad_request, json: error_response
8
8
  end
@@ -1,12 +1,15 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # The header API
3
+ # Header endpoint used to test response header-based error handling.
4
4
  class HeaderController < ApplicationController
5
- # GET header
5
+ # GET /header
6
6
  def index
7
- params.each do |header_name, header_value|
7
+ params.to_unsafe_h.each do |header_name, header_value|
8
+ next unless header_name.start_with?('X-')
9
+
8
10
  response.set_header(header_name, header_value)
9
11
  end
12
+
10
13
  render status: :ok, json: {}
11
14
  end
12
15
  end