my_api_client 1.3.1 → 2.0.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 +82 -7
  5. data/.github/workflows/ci.yml +334 -0
  6. data/.github/workflows/dependabot-auto-merge.yml +96 -0
  7. data/.github/workflows/release.yml +33 -0
  8. data/.github/workflows/rubocop_challenge.yml +33 -0
  9. data/.gitignore +1 -0
  10. data/.rubocop.yml +1 -1
  11. data/.ruby-version +1 -1
  12. data/AGENTS.md +128 -0
  13. data/CHANGELOG.md +54 -2
  14. data/CLAUDE.md +6 -0
  15. data/Dockerfile +22 -0
  16. data/Gemfile +1 -1
  17. data/Gemfile.lock +67 -59
  18. data/README.md +398 -62
  19. data/docker-compose.yml +29 -0
  20. data/docs/runbooks/dependabot_pr_auto_merge.md +113 -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 +263 -228
  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 +2 -2
  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 +2 -0
  61. data/rails_app/rails_7.2/Gemfile.lock +143 -122
  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 +286 -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 +289 -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 +139 -136
  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,315 @@
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.17)
5
+ railties
6
+ actioncable (8.1.3)
7
+ actionpack (= 8.1.3)
8
+ activesupport (= 8.1.3)
9
+ nio4r (~> 2.0)
10
+ websocket-driver (>= 0.6.1)
11
+ zeitwerk (~> 2.6)
12
+ actionmailbox (8.1.3)
13
+ actionpack (= 8.1.3)
14
+ activejob (= 8.1.3)
15
+ activerecord (= 8.1.3)
16
+ activestorage (= 8.1.3)
17
+ activesupport (= 8.1.3)
18
+ mail (>= 2.8.0)
19
+ actionmailer (8.1.3)
20
+ actionpack (= 8.1.3)
21
+ actionview (= 8.1.3)
22
+ activejob (= 8.1.3)
23
+ activesupport (= 8.1.3)
24
+ mail (>= 2.8.0)
25
+ rails-dom-testing (~> 2.2)
26
+ actionpack (8.1.3)
27
+ actionview (= 8.1.3)
28
+ activesupport (= 8.1.3)
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)
37
+ action_text-trix (~> 2.1.15)
38
+ actionpack (= 8.1.3)
39
+ activerecord (= 8.1.3)
40
+ activestorage (= 8.1.3)
41
+ activesupport (= 8.1.3)
42
+ globalid (>= 0.6.0)
43
+ nokogiri (>= 1.8.5)
44
+ actionview (8.1.3)
45
+ activesupport (= 8.1.3)
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)
51
+ activesupport (= 8.1.3)
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)
54
+ activesupport (= 8.1.3)
55
+ activerecord (8.1.3)
56
+ activemodel (= 8.1.3)
57
+ activesupport (= 8.1.3)
58
+ timeout (>= 0.4.0)
59
+ activestorage (8.1.3)
60
+ actionpack (= 8.1.3)
61
+ activejob (= 8.1.3)
62
+ activerecord (= 8.1.3)
63
+ activesupport (= 8.1.3)
64
+ marcel (~> 1.0)
65
+ activesupport (8.1.3)
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.0.1)
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)
81
+ concurrent-ruby (1.3.6)
82
+ connection_pool (3.0.2)
116
83
  crass (1.0.6)
117
- date (3.4.1)
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
+ docile (1.4.1)
87
+ drb (2.2.3)
88
+ erb (6.0.2)
89
+ erubi (1.13.1)
90
+ globalid (1.3.0)
131
91
  activesupport (>= 6.1)
132
- hashie (5.0.0)
133
- i18n (1.14.7)
92
+ i18n (1.14.8)
134
93
  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)
94
+ io-console (0.8.2)
95
+ irb (1.17.0)
96
+ pp (>= 0.6.0)
97
+ prism (>= 1.3.0)
98
+ rdoc (>= 4.0.0)
99
+ reline (>= 0.4.2)
100
+ json (2.19.3)
180
101
  logger (1.7.0)
181
- loofah (2.24.1)
102
+ loofah (2.25.1)
182
103
  crass (~> 1.0.2)
183
104
  nokogiri (>= 1.12.0)
184
- mail (2.8.1)
105
+ mail (2.9.0)
106
+ logger
185
107
  mini_mime (>= 0.1.1)
186
108
  net-imap
187
109
  net-pop
188
110
  net-smtp
189
- matrix (0.4.2)
190
- memoist (0.16.2)
191
- method_source (1.0.0)
111
+ marcel (1.1.0)
192
112
  mini_mime (1.1.5)
193
- mini_portile2 (2.8.9)
194
- minitest (5.25.5)
195
- net-imap (0.4.20)
113
+ minitest (6.0.2)
114
+ drb (~> 2.0)
115
+ prism (~> 1.5)
116
+ net-imap (0.6.3)
196
117
  date
197
118
  net-protocol
198
119
  net-pop (0.1.2)
199
120
  net-protocol
200
121
  net-protocol (0.2.2)
201
122
  timeout
202
- net-smtp (0.5.0)
123
+ net-smtp (0.5.1)
203
124
  net-protocol
204
- nio4r (2.7.4)
205
- nokogiri (1.17.2)
206
- mini_portile2 (~> 2.8.2)
125
+ nio4r (2.7.5)
126
+ nokogiri (1.19.2-aarch64-linux-gnu)
127
+ racc (~> 1.4)
128
+ nokogiri (1.19.2-x86_64-linux-gnu)
207
129
  racc (~> 1.4)
208
- public_suffix (6.0.2)
209
- puma (6.6.0)
130
+ pp (0.6.3)
131
+ prettyprint
132
+ prettyprint (0.2.0)
133
+ prism (1.9.0)
134
+ psych (5.3.1)
135
+ date
136
+ stringio
137
+ puma (7.2.0)
210
138
  nio4r (~> 2.0)
211
139
  racc (1.8.1)
212
- rack (2.2.17)
213
- rack-test (2.1.0)
140
+ rack (3.2.5)
141
+ rack-session (2.1.1)
142
+ base64 (>= 0.1.0)
143
+ rack (>= 3.0.0)
144
+ rack-test (2.2.0)
214
145
  rack (>= 1.3)
215
- rails-dom-testing (2.2.0)
146
+ rackup (2.3.1)
147
+ rack (>= 3)
148
+ rails (8.1.3)
149
+ actioncable (= 8.1.3)
150
+ actionmailbox (= 8.1.3)
151
+ actionmailer (= 8.1.3)
152
+ actionpack (= 8.1.3)
153
+ actiontext (= 8.1.3)
154
+ actionview (= 8.1.3)
155
+ activejob (= 8.1.3)
156
+ activemodel (= 8.1.3)
157
+ activerecord (= 8.1.3)
158
+ activestorage (= 8.1.3)
159
+ activesupport (= 8.1.3)
160
+ bundler (>= 1.15.0)
161
+ railties (= 8.1.3)
162
+ rails-dom-testing (2.3.0)
216
163
  activesupport (>= 5.0.0)
217
164
  minitest
218
165
  nokogiri (>= 1.6)
219
- rails-html-sanitizer (1.6.1)
220
- loofah (~> 2.21)
166
+ rails-html-sanitizer (1.7.0)
167
+ loofah (~> 2.25)
221
168
  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
169
+ railties (8.1.3)
170
+ actionpack (= 8.1.3)
171
+ activesupport (= 8.1.3)
172
+ irb (~> 1.13)
173
+ rackup (>= 1.0.0)
226
174
  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)
175
+ thor (~> 1.0, >= 1.2.2)
176
+ tsort (>= 0.2)
177
+ zeitwerk (~> 2.6)
178
+ rake (13.3.1)
179
+ rdoc (7.2.0)
180
+ erb
181
+ psych (>= 4.0.0)
182
+ tsort
183
+ reline (0.6.3)
184
+ io-console (~> 0.5)
185
+ rspec-core (3.13.6)
238
186
  rspec-support (~> 3.13.0)
239
187
  rspec-expectations (3.13.5)
240
188
  diff-lcs (>= 1.2.0, < 2.0)
241
189
  rspec-support (~> 3.13.0)
242
- rspec-mocks (3.13.5)
190
+ rspec-mocks (3.13.8)
243
191
  diff-lcs (>= 1.2.0, < 2.0)
244
192
  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)
193
+ rspec-rails (8.0.4)
194
+ actionpack (>= 7.2)
195
+ activesupport (>= 7.2)
196
+ railties (>= 7.2)
197
+ rspec-core (>= 3.13.0, < 5.0.0)
198
+ rspec-expectations (>= 3.13.0, < 5.0.0)
199
+ rspec-mocks (>= 3.13.0, < 5.0.0)
200
+ rspec-support (>= 3.13.0, < 5.0.0)
201
+ rspec-support (3.13.7)
202
+ securerandom (0.4.1)
203
+ simplecov (0.22.0)
204
+ docile (~> 1.1)
205
+ simplecov-html (~> 0.11)
206
+ simplecov_json_formatter (~> 0.1)
207
+ simplecov-html (0.13.2)
208
+ simplecov_json_formatter (0.1.4)
209
+ stringio (3.2.0)
210
+ thor (1.5.0)
211
+ timeout (0.6.1)
212
+ tsort (0.2.0)
257
213
  tzinfo (2.0.6)
258
214
  concurrent-ruby (~> 1.0)
259
- xpath (3.2.0)
260
- nokogiri (~> 1.8)
261
- zeitwerk (2.6.18)
215
+ uri (1.1.1)
216
+ useragent (0.16.11)
217
+ websocket-driver (0.8.0)
218
+ base64
219
+ websocket-extensions (>= 0.1.0)
220
+ websocket-extensions (0.1.5)
221
+ zeitwerk (2.7.5)
262
222
 
263
223
  PLATFORMS
264
- ruby
224
+ aarch64-linux-gnu
225
+ x86_64-linux
265
226
 
266
227
  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
228
+ puma (>= 6.0)
229
+ rails (~> 8.1.3)
230
+ rspec-rails
231
+ simplecov
232
+ simplecov_json_formatter
233
+
234
+ CHECKSUMS
235
+ action_text-trix (2.1.17) sha256=b44691639d77e67169dc054ceacd1edc04d44dc3e4c6a427aa155a2beb4cc951
236
+ actioncable (8.1.3) sha256=e5bc7f75e44e6a22de29c4f43176927c3a9ce4824464b74ed18d8226e75a80f0
237
+ actionmailbox (8.1.3) sha256=df7da474eaa0e70df4ed5a6fef66eb3b3b0f2dbf7f14518deee8d77f1b4aae59
238
+ actionmailer (8.1.3) sha256=831f724891bb70d0aaa4d76581a6321124b6a752cb655c9346aae5479318448d
239
+ actionpack (8.1.3) sha256=af998cae4d47c5d581a2cc363b5c77eb718b7c4b45748d81b1887b25621c29a3
240
+ actiontext (8.1.3) sha256=d291019c00e1ea9e6463011fa214f6081a56d7b9a1d224e7d3f6384c1dafc7d2
241
+ actionview (8.1.3) sha256=1347c88c7f3edb38100c5ce0e9fb5e62d7755f3edc1b61cce2eb0b2c6ea2fd5d
242
+ activejob (8.1.3) sha256=a149b1766aa8204c3c3da7309e4becd40fcd5529c348cffbf6c9b16b565fe8d3
243
+ activemodel (8.1.3) sha256=90c05cbe4cef3649b8f79f13016191ea94c4525ce4a5c0fb7ef909c4b91c8219
244
+ activerecord (8.1.3) sha256=8003be7b2466ba0a2a670e603eeb0a61dd66058fccecfc49901e775260ac70ab
245
+ activestorage (8.1.3) sha256=0564ce9309143951a67615e1bb4e090ee54b8befed417133cae614479b46384d
246
+ activesupport (8.1.3) sha256=21a5e0dfbd4c3ddd9e1317ec6a4d782fa226e7867dc70b0743acda81a1dca20e
247
+ base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
248
+ bigdecimal (4.0.1) sha256=8b07d3d065a9f921c80ceaea7c9d4ae596697295b584c296fe599dd0ad01c4a7
249
+ builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f
250
+ concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab
251
+ connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a
252
+ crass (1.0.6) sha256=dc516022a56e7b3b156099abc81b6d2b08ea1ed12676ac7a5657617f012bd45d
253
+ date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0
254
+ diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
255
+ docile (1.4.1) sha256=96159be799bfa73cdb721b840e9802126e4e03dfc26863db73647204c727f21e
256
+ drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
257
+ erb (6.0.2) sha256=9fe6264d44f79422c87490a1558479bd0e7dad4dd0e317656e67ea3077b5242b
258
+ erubi (1.13.1) sha256=a082103b0885dbc5ecf1172fede897f9ebdb745a4b97a5e8dc63953db1ee4ad9
259
+ globalid (1.3.0) sha256=05c639ad6eb4594522a0b07983022f04aa7254626ab69445a0e493aa3786ff11
260
+ i18n (1.14.8) sha256=285778639134865c5e0f6269e0b818256017e8cde89993fdfcbfb64d088824a5
261
+ io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc
262
+ irb (1.17.0) sha256=168c4ddb93d8a361a045c41d92b2952c7a118fa73f23fe14e55609eb7a863aae
263
+ json (2.19.3) sha256=289b0bb53052a1fa8c34ab33cc750b659ba14a5c45f3fcf4b18762dc67c78646
264
+ logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
265
+ loofah (2.25.1) sha256=d436c73dbd0c1147b16c4a41db097942d217303e1f7728704b37e4df9f6d2e04
266
+ mail (2.9.0) sha256=6fa6673ecd71c60c2d996260f9ee3dd387d4673b8169b502134659ece6d34941
267
+ marcel (1.1.0) sha256=fdcfcfa33cc52e93c4308d40e4090a5d4ea279e160a7f6af988260fa970e0bee
268
+ mini_mime (1.1.5) sha256=8681b7e2e4215f2a159f9400b5816d85e9d8c6c6b491e96a12797e798f8bccef
269
+ minitest (6.0.2) sha256=db6e57956f6ecc6134683b4c87467d6dd792323c7f0eea7b93f66bd284adbc3d
270
+ net-imap (0.6.3) sha256=9bab75f876596d09ee7bf911a291da478e0cd6badc54dfb82874855ccc82f2ad
271
+ net-pop (0.1.2) sha256=848b4e982013c15b2f0382792268763b748cce91c9e91e36b0f27ed26420dff3
272
+ net-protocol (0.2.2) sha256=aa73e0cba6a125369de9837b8d8ef82a61849360eba0521900e2c3713aa162a8
273
+ net-smtp (0.5.1) sha256=ed96a0af63c524fceb4b29b0d352195c30d82dd916a42f03c62a3a70e5b70736
274
+ nio4r (2.7.5) sha256=6c90168e48fb5f8e768419c93abb94ba2b892a1d0602cb06eef16d8b7df1dca1
275
+ nokogiri (1.19.2-aarch64-linux-gnu) sha256=c34d5c8208025587554608e98fd88ab125b29c80f9352b821964e9a5d5cfbd19
276
+ nokogiri (1.19.2-x86_64-linux-gnu) sha256=fa8feca882b73e871a9845f3817a72e9734c8e974bdc4fbad6e4bc6e8076b94f
277
+ pp (0.6.3) sha256=2951d514450b93ccfeb1df7d021cae0da16e0a7f95ee1e2273719669d0ab9df6
278
+ prettyprint (0.2.0) sha256=2bc9e15581a94742064a3cc8b0fb9d45aae3d03a1baa6ef80922627a0766f193
279
+ prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
280
+ psych (5.3.1) sha256=eb7a57cef10c9d70173ff74e739d843ac3b2c019a003de48447b2963d81b1974
281
+ puma (7.2.0) sha256=bf8ef4ab514a4e6d4554cb4326b2004eba5036ae05cf765cfe51aba9706a72a8
282
+ racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
283
+ rack (3.2.5) sha256=4cbd0974c0b79f7a139b4812004a62e4c60b145cba76422e288ee670601ed6d3
284
+ rack-session (2.1.1) sha256=0b6dc07dea7e4b583f58a48e8b806d4c9f1c6c9214ebc202ec94562cbea2e4e9
285
+ rack-test (2.2.0) sha256=005a36692c306ac0b4a9350355ee080fd09ddef1148a5f8b2ac636c720f5c463
286
+ rackup (2.3.1) sha256=6c79c26753778e90983761d677a48937ee3192b3ffef6bc963c0950f94688868
287
+ rails (8.1.3) sha256=6d017ba5348c98fc909753a8169b21d44de14d2a0b92d140d1a966834c3c9cd3
288
+ rails-dom-testing (2.3.0) sha256=8acc7953a7b911ca44588bf08737bc16719f431a1cc3091a292bca7317925c1d
289
+ rails-html-sanitizer (1.7.0) sha256=28b145cceaf9cc214a9874feaa183c3acba036c9592b19886e0e45efc62b1e89
290
+ railties (8.1.3) sha256=913eb0e0cb520aac687ffd74916bd726d48fa21f47833c6292576ef6a286de22
291
+ rake (13.3.1) sha256=8c9e89d09f66a26a01264e7e3480ec0607f0c497a861ef16063604b1b08eb19c
292
+ rdoc (7.2.0) sha256=8650f76cd4009c3b54955eb5d7e3a075c60a57276766ebf36f9085e8c9f23192
293
+ reline (0.6.3) sha256=1198b04973565b36ec0f11542ab3f5cfeeec34823f4e54cebde90968092b1835
294
+ rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
295
+ rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
296
+ rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47
297
+ rspec-rails (8.0.4) sha256=06235692fc0892683d3d34977e081db867434b3a24ae0dd0c6f3516bad4e22df
298
+ rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
299
+ securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
300
+ simplecov (0.22.0) sha256=fe2622c7834ff23b98066bb0a854284b2729a569ac659f82621fc22ef36213a5
301
+ simplecov-html (0.13.2) sha256=bd0b8e54e7c2d7685927e8d6286466359b6f16b18cb0df47b508e8d73c777246
302
+ simplecov_json_formatter (0.1.4) sha256=529418fbe8de1713ac2b2d612aa3daa56d316975d307244399fa4838c601b428
303
+ stringio (3.2.0) sha256=c37cb2e58b4ffbd33fe5cd948c05934af997b36e0b6ca6fdf43afa234cf222e1
304
+ thor (1.5.0) sha256=e3a9e55fe857e44859ce104a84675ab6e8cd59c650a49106a05f55f136425e73
305
+ timeout (0.6.1) sha256=78f57368a7e7bbadec56971f78a3f5ecbcfb59b7fcbb0a3ed6ddc08a5094accb
306
+ tsort (0.2.0) sha256=9650a793f6859a43b6641671278f79cfead60ac714148aabe4e3f0060480089f
307
+ tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
308
+ uri (1.1.1) sha256=379fa58d27ffb1387eaada68c749d1426738bd0f654d812fcc07e7568f5c57c6
309
+ useragent (0.16.11) sha256=700e6413ad4bb954bb63547fa098dddf7b0ebe75b40cc6f93b8d54255b173844
310
+ websocket-driver (0.8.0) sha256=ed0dba4b943c22f17f9a734817e808bc84cdce6a7e22045f5315aa57676d4962
311
+ websocket-extensions (0.1.5) sha256=1c6ba63092cda343eb53fc657110c71c754c56484aad42578495227d717a8241
312
+ zeitwerk (2.7.5) sha256=d8da92128c09ea6ec62c949011b00ed4a20242b255293dd66bf41545398f73dd
278
313
 
279
314
  BUNDLED WITH
280
- 2.1.4
315
+ 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