my_api_client 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +6 -6
  3. data/.rubocop.yml +4 -3
  4. data/.ruby-version +1 -0
  5. data/CHANGELOG.md +47 -0
  6. data/Gemfile.lock +65 -64
  7. data/README.jp.md +2 -2
  8. data/README.md +2 -2
  9. data/example/api_clients/my_error_api_client.rb +1 -1
  10. data/example/api_clients/my_header_api_client.rb +1 -1
  11. data/example/api_clients/my_pagination_api_client.rb +2 -2
  12. data/example/api_clients/my_rest_api_client.rb +10 -10
  13. data/example/api_clients/my_status_api_client.rb +1 -1
  14. data/gemfiles/rails_7.1.gemfile +15 -0
  15. data/gemfiles/rails_7.2.gemfile +15 -0
  16. data/lib/my_api_client/error_handling.rb +1 -1
  17. data/lib/my_api_client/errors/network_error.rb +1 -1
  18. data/lib/my_api_client/errors.rb +1 -1
  19. data/lib/my_api_client/exceptions.rb +1 -1
  20. data/lib/my_api_client/params/params.rb +1 -1
  21. data/lib/my_api_client/params/request.rb +8 -8
  22. data/lib/my_api_client/request/basic.rb +2 -2
  23. data/lib/my_api_client/request/executor.rb +1 -1
  24. data/lib/my_api_client/request/pagination.rb +1 -3
  25. data/lib/my_api_client/request.rb +5 -5
  26. data/lib/my_api_client/rspec/matcher_helper.rb +3 -3
  27. data/lib/my_api_client/rspec/matchers/request_to.rb +1 -1
  28. data/lib/my_api_client/version.rb +1 -1
  29. data/my_api/Gemfile +1 -1
  30. data/my_api/Gemfile.lock +53 -49
  31. data/my_api/app/controllers/error_controller.rb +1 -1
  32. data/my_api/app/controllers/pagination_controller.rb +1 -1
  33. data/my_api/app/controllers/rest_controller.rb +4 -4
  34. data/my_api/app/controllers/status_controller.rb +1 -1
  35. data/my_api/spec/controllers/error_controller_spec.rb +4 -4
  36. data/my_api/spec/controllers/status_controller_spec.rb +3 -3
  37. data/my_api_client.gemspec +2 -1
  38. data/rails_app/rails_6.1/Gemfile.lock +73 -71
  39. data/rails_app/rails_7.0/Gemfile.lock +78 -76
  40. data/rails_app/rails_7.1/.dockerignore +31 -0
  41. data/rails_app/rails_7.1/.rspec +1 -0
  42. data/rails_app/rails_7.1/Dockerfile +55 -0
  43. data/rails_app/rails_7.1/Gemfile +16 -0
  44. data/rails_app/rails_7.1/Gemfile.lock +241 -0
  45. data/rails_app/rails_7.1/README.md +24 -0
  46. data/rails_app/rails_7.1/Rakefile +8 -0
  47. data/rails_app/rails_7.1/app/controllers/application_controller.rb +4 -0
  48. data/rails_app/rails_7.1/app/controllers/concerns/.keep +0 -0
  49. data/rails_app/rails_7.1/app/models/application_record.rb +5 -0
  50. data/rails_app/rails_7.1/app/models/concerns/.keep +0 -0
  51. data/rails_app/rails_7.1/bin/bundle +122 -0
  52. data/rails_app/rails_7.1/bin/docker-entrypoint +8 -0
  53. data/rails_app/rails_7.1/bin/rails +6 -0
  54. data/rails_app/rails_7.1/bin/rake +6 -0
  55. data/rails_app/rails_7.1/bin/setup +35 -0
  56. data/rails_app/rails_7.1/config/application.rb +46 -0
  57. data/rails_app/rails_7.1/config/boot.rb +5 -0
  58. data/rails_app/rails_7.1/config/credentials.yml.enc +1 -0
  59. data/rails_app/rails_7.1/config/database.yml +25 -0
  60. data/rails_app/rails_7.1/config/environment.rb +7 -0
  61. data/rails_app/rails_7.1/config/environments/development.rb +58 -0
  62. data/rails_app/rails_7.1/config/environments/production.rb +74 -0
  63. data/rails_app/rails_7.1/config/environments/test.rb +56 -0
  64. data/rails_app/rails_7.1/config/initializers/cors.rb +17 -0
  65. data/rails_app/rails_7.1/config/initializers/filter_parameter_logging.rb +10 -0
  66. data/rails_app/rails_7.1/config/initializers/inflections.rb +17 -0
  67. data/rails_app/rails_7.1/config/locales/en.yml +31 -0
  68. data/rails_app/rails_7.1/config/puma.rb +46 -0
  69. data/rails_app/rails_7.1/config/routes.rb +12 -0
  70. data/rails_app/rails_7.1/config.ru +8 -0
  71. data/rails_app/rails_7.1/db/seeds.rb +10 -0
  72. data/rails_app/rails_7.1/lib/tasks/.keep +0 -0
  73. data/rails_app/rails_7.1/public/robots.txt +2 -0
  74. data/rails_app/rails_7.1/spec/rails_helper.rb +13 -0
  75. data/rails_app/rails_7.1/spec/spec_helper.rb +13 -0
  76. data/rails_app/rails_7.1/storage/.keep +0 -0
  77. data/rails_app/rails_7.1/tmp/.keep +0 -0
  78. data/rails_app/rails_7.1/tmp/pids/.keep +0 -0
  79. data/rails_app/rails_7.1/tmp/storage/.keep +0 -0
  80. data/rails_app/rails_7.1/vendor/.keep +0 -0
  81. data/rails_app/rails_7.2/.dockerignore +42 -0
  82. data/rails_app/rails_7.2/.github/dependabot.yml +12 -0
  83. data/rails_app/rails_7.2/.github/workflows/ci.yml +55 -0
  84. data/rails_app/rails_7.2/.rspec +1 -0
  85. data/rails_app/rails_7.2/Dockerfile +62 -0
  86. data/rails_app/rails_7.2/Gemfile +15 -0
  87. data/rails_app/rails_7.2/Gemfile.lock +240 -0
  88. data/rails_app/rails_7.2/README.md +24 -0
  89. data/rails_app/rails_7.2/Rakefile +8 -0
  90. data/rails_app/rails_7.2/app/controllers/application_controller.rb +4 -0
  91. data/rails_app/rails_7.2/app/controllers/concerns/.keep +0 -0
  92. data/rails_app/rails_7.2/app/models/application_record.rb +5 -0
  93. data/rails_app/rails_7.2/app/models/concerns/.keep +0 -0
  94. data/rails_app/rails_7.2/bin/brakeman +9 -0
  95. data/rails_app/rails_7.2/bin/bundle +122 -0
  96. data/rails_app/rails_7.2/bin/docker-entrypoint +13 -0
  97. data/rails_app/rails_7.2/bin/rails +6 -0
  98. data/rails_app/rails_7.2/bin/rake +6 -0
  99. data/rails_app/rails_7.2/bin/rubocop +10 -0
  100. data/rails_app/rails_7.2/bin/setup +39 -0
  101. data/rails_app/rails_7.2/config/application.rb +46 -0
  102. data/rails_app/rails_7.2/config/boot.rb +5 -0
  103. data/rails_app/rails_7.2/config/credentials.yml.enc +1 -0
  104. data/rails_app/rails_7.2/config/database.yml +32 -0
  105. data/rails_app/rails_7.2/config/environment.rb +7 -0
  106. data/rails_app/rails_7.2/config/environments/development.rb +59 -0
  107. data/rails_app/rails_7.2/config/environments/production.rb +77 -0
  108. data/rails_app/rails_7.2/config/environments/test.rb +53 -0
  109. data/rails_app/rails_7.2/config/initializers/cors.rb +18 -0
  110. data/rails_app/rails_7.2/config/initializers/filter_parameter_logging.rb +10 -0
  111. data/rails_app/rails_7.2/config/initializers/inflections.rb +18 -0
  112. data/rails_app/rails_7.2/config/locales/en.yml +31 -0
  113. data/rails_app/rails_7.2/config/puma.rb +36 -0
  114. data/rails_app/rails_7.2/config/routes.rb +12 -0
  115. data/rails_app/rails_7.2/config.ru +8 -0
  116. data/rails_app/rails_7.2/db/seeds.rb +11 -0
  117. data/rails_app/rails_7.2/lib/tasks/.keep +0 -0
  118. data/rails_app/rails_7.2/public/robots.txt +3 -0
  119. data/rails_app/rails_7.2/spec/rails_helper.rb +13 -0
  120. data/rails_app/rails_7.2/spec/spec_helper.rb +13 -0
  121. data/rails_app/rails_7.2/storage/.keep +0 -0
  122. data/rails_app/rails_7.2/tmp/.keep +0 -0
  123. data/rails_app/rails_7.2/tmp/pids/.keep +0 -0
  124. data/rails_app/rails_7.2/tmp/storage/.keep +0 -0
  125. data/rails_app/rails_7.2/vendor/.keep +0 -0
  126. metadata +107 -4
@@ -2,7 +2,7 @@ PATH
2
2
  remote: ../..
3
3
  specs:
4
4
  my_api_client (0.24.0)
5
- activesupport (>= 6.0.0)
5
+ activesupport (>= 6.1.0)
6
6
  faraday (>= 0.17.1)
7
7
  jsonpath
8
8
  sawyer (>= 0.8.2)
@@ -10,67 +10,67 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- actioncable (7.0.2.4)
14
- actionpack (= 7.0.2.4)
15
- activesupport (= 7.0.2.4)
13
+ actioncable (7.0.8.4)
14
+ actionpack (= 7.0.8.4)
15
+ activesupport (= 7.0.8.4)
16
16
  nio4r (~> 2.0)
17
17
  websocket-driver (>= 0.6.1)
18
- actionmailbox (7.0.2.4)
19
- actionpack (= 7.0.2.4)
20
- activejob (= 7.0.2.4)
21
- activerecord (= 7.0.2.4)
22
- activestorage (= 7.0.2.4)
23
- activesupport (= 7.0.2.4)
18
+ actionmailbox (7.0.8.4)
19
+ actionpack (= 7.0.8.4)
20
+ activejob (= 7.0.8.4)
21
+ activerecord (= 7.0.8.4)
22
+ activestorage (= 7.0.8.4)
23
+ activesupport (= 7.0.8.4)
24
24
  mail (>= 2.7.1)
25
25
  net-imap
26
26
  net-pop
27
27
  net-smtp
28
- actionmailer (7.0.2.4)
29
- actionpack (= 7.0.2.4)
30
- actionview (= 7.0.2.4)
31
- activejob (= 7.0.2.4)
32
- activesupport (= 7.0.2.4)
28
+ actionmailer (7.0.8.4)
29
+ actionpack (= 7.0.8.4)
30
+ actionview (= 7.0.8.4)
31
+ activejob (= 7.0.8.4)
32
+ activesupport (= 7.0.8.4)
33
33
  mail (~> 2.5, >= 2.5.4)
34
34
  net-imap
35
35
  net-pop
36
36
  net-smtp
37
37
  rails-dom-testing (~> 2.0)
38
- actionpack (7.0.2.4)
39
- actionview (= 7.0.2.4)
40
- activesupport (= 7.0.2.4)
41
- rack (~> 2.0, >= 2.2.0)
38
+ actionpack (7.0.8.4)
39
+ actionview (= 7.0.8.4)
40
+ activesupport (= 7.0.8.4)
41
+ rack (~> 2.0, >= 2.2.4)
42
42
  rack-test (>= 0.6.3)
43
43
  rails-dom-testing (~> 2.0)
44
44
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
45
- actiontext (7.0.2.4)
46
- actionpack (= 7.0.2.4)
47
- activerecord (= 7.0.2.4)
48
- activestorage (= 7.0.2.4)
49
- activesupport (= 7.0.2.4)
45
+ actiontext (7.0.8.4)
46
+ actionpack (= 7.0.8.4)
47
+ activerecord (= 7.0.8.4)
48
+ activestorage (= 7.0.8.4)
49
+ activesupport (= 7.0.8.4)
50
50
  globalid (>= 0.6.0)
51
51
  nokogiri (>= 1.8.5)
52
- actionview (7.0.2.4)
53
- activesupport (= 7.0.2.4)
52
+ actionview (7.0.8.4)
53
+ activesupport (= 7.0.8.4)
54
54
  builder (~> 3.1)
55
55
  erubi (~> 1.4)
56
56
  rails-dom-testing (~> 2.0)
57
57
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
58
- activejob (7.0.2.4)
59
- activesupport (= 7.0.2.4)
58
+ activejob (7.0.8.4)
59
+ activesupport (= 7.0.8.4)
60
60
  globalid (>= 0.3.6)
61
- activemodel (7.0.2.4)
62
- activesupport (= 7.0.2.4)
63
- activerecord (7.0.2.4)
64
- activemodel (= 7.0.2.4)
65
- activesupport (= 7.0.2.4)
66
- activestorage (7.0.2.4)
67
- actionpack (= 7.0.2.4)
68
- activejob (= 7.0.2.4)
69
- activerecord (= 7.0.2.4)
70
- activesupport (= 7.0.2.4)
61
+ activemodel (7.0.8.4)
62
+ activesupport (= 7.0.8.4)
63
+ activerecord (7.0.8.4)
64
+ activemodel (= 7.0.8.4)
65
+ activesupport (= 7.0.8.4)
66
+ activestorage (7.0.8.4)
67
+ actionpack (= 7.0.8.4)
68
+ activejob (= 7.0.8.4)
69
+ activerecord (= 7.0.8.4)
70
+ activesupport (= 7.0.8.4)
71
71
  marcel (~> 1.0)
72
72
  mini_mime (>= 1.1.0)
73
- activesupport (7.0.2.4)
73
+ activesupport (7.0.8.4)
74
74
  concurrent-ruby (~> 1.0, >= 1.0.2)
75
75
  i18n (>= 1.6, < 2)
76
76
  minitest (>= 5.1)
@@ -78,36 +78,36 @@ GEM
78
78
  addressable (2.8.1)
79
79
  public_suffix (>= 2.0.2, < 6.0)
80
80
  builder (3.2.4)
81
- concurrent-ruby (1.1.10)
81
+ concurrent-ruby (1.3.1)
82
82
  crass (1.0.6)
83
83
  debug (1.4.0)
84
84
  irb (>= 1.3.6)
85
85
  reline (>= 0.2.7)
86
86
  diff-lcs (1.5.0)
87
87
  digest (3.1.0)
88
- erubi (1.10.0)
88
+ erubi (1.12.0)
89
89
  faraday (2.7.4)
90
90
  faraday-net_http (>= 2.0, < 3.1)
91
91
  ruby2_keywords (>= 0.0.4)
92
92
  faraday-net_http (3.0.2)
93
- globalid (1.0.1)
94
- activesupport (>= 5.0)
95
- i18n (1.12.0)
93
+ globalid (1.2.1)
94
+ activesupport (>= 6.1)
95
+ i18n (1.14.5)
96
96
  concurrent-ruby (~> 1.0)
97
97
  io-console (0.5.9)
98
98
  irb (1.4.1)
99
99
  reline (>= 0.3.0)
100
100
  jsonpath (1.1.2)
101
101
  multi_json
102
- loofah (2.19.1)
102
+ loofah (2.22.0)
103
103
  crass (~> 1.0.2)
104
- nokogiri (>= 1.5.9)
104
+ nokogiri (>= 1.12.0)
105
105
  mail (2.7.1)
106
106
  mini_mime (>= 0.1.1)
107
- marcel (1.0.2)
107
+ marcel (1.0.4)
108
108
  method_source (1.0.0)
109
- mini_mime (1.1.2)
110
- minitest (5.17.0)
109
+ mini_mime (1.1.5)
110
+ minitest (5.23.1)
111
111
  multi_json (1.15.0)
112
112
  net-imap (0.2.3)
113
113
  digest
@@ -124,37 +124,39 @@ GEM
124
124
  net-protocol
125
125
  timeout
126
126
  nio4r (2.5.8)
127
- nokogiri (1.14.3-x86_64-darwin)
127
+ nokogiri (1.16.5-x86_64-darwin)
128
128
  racc (~> 1.4)
129
- nokogiri (1.14.3-x86_64-linux)
129
+ nokogiri (1.16.5-x86_64-linux)
130
130
  racc (~> 1.4)
131
131
  public_suffix (5.0.1)
132
- racc (1.6.2)
133
- rack (2.2.6.4)
134
- rack-test (1.1.0)
135
- rack (>= 1.0, < 3)
136
- rails (7.0.2.4)
137
- actioncable (= 7.0.2.4)
138
- actionmailbox (= 7.0.2.4)
139
- actionmailer (= 7.0.2.4)
140
- actionpack (= 7.0.2.4)
141
- actiontext (= 7.0.2.4)
142
- actionview (= 7.0.2.4)
143
- activejob (= 7.0.2.4)
144
- activemodel (= 7.0.2.4)
145
- activerecord (= 7.0.2.4)
146
- activestorage (= 7.0.2.4)
147
- activesupport (= 7.0.2.4)
132
+ racc (1.8.0)
133
+ rack (2.2.9)
134
+ rack-test (2.1.0)
135
+ rack (>= 1.3)
136
+ rails (7.0.8.4)
137
+ actioncable (= 7.0.8.4)
138
+ actionmailbox (= 7.0.8.4)
139
+ actionmailer (= 7.0.8.4)
140
+ actionpack (= 7.0.8.4)
141
+ actiontext (= 7.0.8.4)
142
+ actionview (= 7.0.8.4)
143
+ activejob (= 7.0.8.4)
144
+ activemodel (= 7.0.8.4)
145
+ activerecord (= 7.0.8.4)
146
+ activestorage (= 7.0.8.4)
147
+ activesupport (= 7.0.8.4)
148
148
  bundler (>= 1.15.0)
149
- railties (= 7.0.2.4)
150
- rails-dom-testing (2.0.3)
151
- activesupport (>= 4.2.0)
149
+ railties (= 7.0.8.4)
150
+ rails-dom-testing (2.2.0)
151
+ activesupport (>= 5.0.0)
152
+ minitest
152
153
  nokogiri (>= 1.6)
153
- rails-html-sanitizer (1.4.4)
154
- loofah (~> 2.19, >= 2.19.1)
155
- railties (7.0.2.4)
156
- actionpack (= 7.0.2.4)
157
- activesupport (= 7.0.2.4)
154
+ rails-html-sanitizer (1.6.0)
155
+ loofah (~> 2.21)
156
+ nokogiri (~> 1.14)
157
+ railties (7.0.8.4)
158
+ actionpack (= 7.0.8.4)
159
+ activesupport (= 7.0.8.4)
158
160
  method_source
159
161
  rake (>= 12.2)
160
162
  thor (~> 1.0)
@@ -187,7 +189,7 @@ GEM
187
189
  strscan (3.0.1)
188
190
  thor (1.2.1)
189
191
  timeout (0.2.0)
190
- tzinfo (2.0.5)
192
+ tzinfo (2.0.6)
191
193
  concurrent-ruby (~> 1.0)
192
194
  websocket-driver (0.7.5)
193
195
  websocket-extensions (>= 0.1.0)
@@ -0,0 +1,31 @@
1
+ # See https://docs.docker.com/engine/reference/builder/#dockerignore-file for more about ignoring files.
2
+
3
+ # Ignore git directory.
4
+ /.git/
5
+
6
+ # Ignore bundler config.
7
+ /.bundle
8
+
9
+ # Ignore all environment files (except templates).
10
+ /.env*
11
+ !/.env*.erb
12
+
13
+ # Ignore all default key files.
14
+ /config/master.key
15
+ /config/credentials/*.key
16
+
17
+ # Ignore all logfiles and tempfiles.
18
+ /log/*
19
+ /tmp/*
20
+ !/log/.keep
21
+ !/tmp/.keep
22
+
23
+ # Ignore pidfiles, but keep the directory.
24
+ /tmp/pids/*
25
+ !/tmp/pids/.keep
26
+
27
+ # Ignore storage (uploaded files in development and any SQLite databases).
28
+ /storage/*
29
+ !/storage/.keep
30
+ /tmp/storage/*
31
+ !/tmp/storage/.keep
@@ -0,0 +1 @@
1
+ --require spec_helper
@@ -0,0 +1,55 @@
1
+ # syntax = docker/dockerfile:1
2
+
3
+ # Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
4
+ ARG RUBY_VERSION=3.1.6
5
+ FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim as base
6
+
7
+ # Rails app lives here
8
+ WORKDIR /rails
9
+
10
+ # Set production environment
11
+ ENV RAILS_ENV="production" \
12
+ BUNDLE_DEPLOYMENT="1" \
13
+ BUNDLE_PATH="/usr/local/bundle" \
14
+ BUNDLE_WITHOUT="development"
15
+
16
+
17
+ # Throw-away build stage to reduce size of final image
18
+ FROM base as build
19
+
20
+ # Install packages needed to build gems
21
+ RUN apt-get update -qq && \
22
+ apt-get install --no-install-recommends -y build-essential git pkg-config
23
+
24
+ # Install application gems
25
+ COPY Gemfile Gemfile.lock ./
26
+ RUN bundle install && \
27
+ rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git
28
+
29
+ # Copy application code
30
+ COPY . .
31
+
32
+
33
+ # Final stage for app image
34
+ FROM base
35
+
36
+ # Install packages needed for deployment
37
+ RUN apt-get update -qq && \
38
+ apt-get install --no-install-recommends -y curl libsqlite3-0 && \
39
+ rm -rf /var/lib/apt/lists /var/cache/apt/archives
40
+
41
+ # Copy built artifacts: gems, application
42
+ COPY --from=build /usr/local/bundle /usr/local/bundle
43
+ COPY --from=build /rails /rails
44
+
45
+ # Run and own only the runtime files as a non-root user for security
46
+ RUN useradd rails --create-home --shell /bin/bash && \
47
+ chown -R rails:rails db log storage tmp
48
+ USER rails:rails
49
+
50
+ # Entrypoint prepares the database.
51
+ ENTRYPOINT ["/rails/bin/docker-entrypoint"]
52
+
53
+ # Start the server by default, this can be overwritten at runtime
54
+ EXPOSE 3000
55
+ CMD ["./bin/rails", "server"]
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ gem 'my_api_client', path: '../..'
6
+ gem 'rails', '~> 7.1.4'
7
+ gem 'sqlite3', '>= 1.4'
8
+
9
+ group :development, :test do
10
+ gem 'debug', platforms: %i[mri windows]
11
+ gem 'rspec-rails'
12
+ end
13
+
14
+ group :development do
15
+ gem 'error_highlight', '>= 0.4.0', platforms: [:ruby]
16
+ end
@@ -0,0 +1,241 @@
1
+ PATH
2
+ remote: ../..
3
+ specs:
4
+ my_api_client (1.1.0)
5
+ activesupport (>= 6.1.0)
6
+ faraday (>= 0.17.1)
7
+ jsonpath
8
+ sawyer (>= 0.8.2)
9
+
10
+ GEM
11
+ remote: https://rubygems.org/
12
+ specs:
13
+ actioncable (7.1.4)
14
+ actionpack (= 7.1.4)
15
+ activesupport (= 7.1.4)
16
+ nio4r (~> 2.0)
17
+ websocket-driver (>= 0.6.1)
18
+ zeitwerk (~> 2.6)
19
+ actionmailbox (7.1.4)
20
+ actionpack (= 7.1.4)
21
+ activejob (= 7.1.4)
22
+ activerecord (= 7.1.4)
23
+ activestorage (= 7.1.4)
24
+ activesupport (= 7.1.4)
25
+ mail (>= 2.7.1)
26
+ net-imap
27
+ net-pop
28
+ net-smtp
29
+ actionmailer (7.1.4)
30
+ actionpack (= 7.1.4)
31
+ actionview (= 7.1.4)
32
+ activejob (= 7.1.4)
33
+ activesupport (= 7.1.4)
34
+ mail (~> 2.5, >= 2.5.4)
35
+ net-imap
36
+ net-pop
37
+ net-smtp
38
+ rails-dom-testing (~> 2.2)
39
+ actionpack (7.1.4)
40
+ actionview (= 7.1.4)
41
+ activesupport (= 7.1.4)
42
+ nokogiri (>= 1.8.5)
43
+ racc
44
+ rack (>= 2.2.4)
45
+ rack-session (>= 1.0.1)
46
+ rack-test (>= 0.6.3)
47
+ rails-dom-testing (~> 2.2)
48
+ rails-html-sanitizer (~> 1.6)
49
+ actiontext (7.1.4)
50
+ actionpack (= 7.1.4)
51
+ activerecord (= 7.1.4)
52
+ activestorage (= 7.1.4)
53
+ activesupport (= 7.1.4)
54
+ globalid (>= 0.6.0)
55
+ nokogiri (>= 1.8.5)
56
+ actionview (7.1.4)
57
+ activesupport (= 7.1.4)
58
+ builder (~> 3.1)
59
+ erubi (~> 1.11)
60
+ rails-dom-testing (~> 2.2)
61
+ rails-html-sanitizer (~> 1.6)
62
+ activejob (7.1.4)
63
+ activesupport (= 7.1.4)
64
+ globalid (>= 0.3.6)
65
+ activemodel (7.1.4)
66
+ activesupport (= 7.1.4)
67
+ activerecord (7.1.4)
68
+ activemodel (= 7.1.4)
69
+ activesupport (= 7.1.4)
70
+ timeout (>= 0.4.0)
71
+ activestorage (7.1.4)
72
+ actionpack (= 7.1.4)
73
+ activejob (= 7.1.4)
74
+ activerecord (= 7.1.4)
75
+ activesupport (= 7.1.4)
76
+ marcel (~> 1.0)
77
+ activesupport (7.1.4)
78
+ base64
79
+ bigdecimal
80
+ concurrent-ruby (~> 1.0, >= 1.0.2)
81
+ connection_pool (>= 2.2.5)
82
+ drb
83
+ i18n (>= 1.6, < 2)
84
+ minitest (>= 5.1)
85
+ mutex_m
86
+ tzinfo (~> 2.0)
87
+ addressable (2.8.7)
88
+ public_suffix (>= 2.0.2, < 7.0)
89
+ base64 (0.2.0)
90
+ bigdecimal (3.1.8)
91
+ builder (3.3.0)
92
+ concurrent-ruby (1.3.4)
93
+ connection_pool (2.4.1)
94
+ crass (1.0.6)
95
+ date (3.3.4)
96
+ debug (1.9.2)
97
+ irb (~> 1.10)
98
+ reline (>= 0.3.8)
99
+ diff-lcs (1.5.1)
100
+ drb (2.2.1)
101
+ error_highlight (0.6.0)
102
+ erubi (1.13.0)
103
+ faraday (2.11.0)
104
+ faraday-net_http (>= 2.0, < 3.4)
105
+ logger
106
+ faraday-net_http (3.3.0)
107
+ net-http
108
+ globalid (1.2.1)
109
+ activesupport (>= 6.1)
110
+ i18n (1.14.5)
111
+ concurrent-ruby (~> 1.0)
112
+ io-console (0.7.2)
113
+ irb (1.14.0)
114
+ rdoc (>= 4.0.0)
115
+ reline (>= 0.4.2)
116
+ jsonpath (1.1.5)
117
+ multi_json
118
+ logger (1.6.1)
119
+ loofah (2.22.0)
120
+ crass (~> 1.0.2)
121
+ nokogiri (>= 1.12.0)
122
+ mail (2.8.1)
123
+ mini_mime (>= 0.1.1)
124
+ net-imap
125
+ net-pop
126
+ net-smtp
127
+ marcel (1.0.4)
128
+ mini_mime (1.1.5)
129
+ minitest (5.25.1)
130
+ multi_json (1.15.0)
131
+ mutex_m (0.2.0)
132
+ net-http (0.4.1)
133
+ uri
134
+ net-imap (0.4.16)
135
+ date
136
+ net-protocol
137
+ net-pop (0.1.2)
138
+ net-protocol
139
+ net-protocol (0.2.2)
140
+ timeout
141
+ net-smtp (0.5.0)
142
+ net-protocol
143
+ nio4r (2.7.3)
144
+ nokogiri (1.16.7-x86_64-darwin)
145
+ racc (~> 1.4)
146
+ nokogiri (1.16.7-x86_64-linux)
147
+ racc (~> 1.4)
148
+ psych (5.1.2)
149
+ stringio
150
+ public_suffix (6.0.1)
151
+ racc (1.8.1)
152
+ rack (3.1.7)
153
+ rack-session (2.0.0)
154
+ rack (>= 3.0.0)
155
+ rack-test (2.1.0)
156
+ rack (>= 1.3)
157
+ rackup (2.1.0)
158
+ rack (>= 3)
159
+ webrick (~> 1.8)
160
+ rails (7.1.4)
161
+ actioncable (= 7.1.4)
162
+ actionmailbox (= 7.1.4)
163
+ actionmailer (= 7.1.4)
164
+ actionpack (= 7.1.4)
165
+ actiontext (= 7.1.4)
166
+ actionview (= 7.1.4)
167
+ activejob (= 7.1.4)
168
+ activemodel (= 7.1.4)
169
+ activerecord (= 7.1.4)
170
+ activestorage (= 7.1.4)
171
+ activesupport (= 7.1.4)
172
+ bundler (>= 1.15.0)
173
+ railties (= 7.1.4)
174
+ rails-dom-testing (2.2.0)
175
+ activesupport (>= 5.0.0)
176
+ minitest
177
+ nokogiri (>= 1.6)
178
+ rails-html-sanitizer (1.6.0)
179
+ loofah (~> 2.21)
180
+ nokogiri (~> 1.14)
181
+ railties (7.1.4)
182
+ actionpack (= 7.1.4)
183
+ activesupport (= 7.1.4)
184
+ irb
185
+ rackup (>= 1.0.0)
186
+ rake (>= 12.2)
187
+ thor (~> 1.0, >= 1.2.2)
188
+ zeitwerk (~> 2.6)
189
+ rake (13.2.1)
190
+ rdoc (6.7.0)
191
+ psych (>= 4.0.0)
192
+ reline (0.5.10)
193
+ io-console (~> 0.5)
194
+ rspec-core (3.13.1)
195
+ rspec-support (~> 3.13.0)
196
+ rspec-expectations (3.13.2)
197
+ diff-lcs (>= 1.2.0, < 2.0)
198
+ rspec-support (~> 3.13.0)
199
+ rspec-mocks (3.13.1)
200
+ diff-lcs (>= 1.2.0, < 2.0)
201
+ rspec-support (~> 3.13.0)
202
+ rspec-rails (7.0.1)
203
+ actionpack (>= 7.0)
204
+ activesupport (>= 7.0)
205
+ railties (>= 7.0)
206
+ rspec-core (~> 3.13)
207
+ rspec-expectations (~> 3.13)
208
+ rspec-mocks (~> 3.13)
209
+ rspec-support (~> 3.13)
210
+ rspec-support (3.13.1)
211
+ sawyer (0.9.2)
212
+ addressable (>= 2.3.5)
213
+ faraday (>= 0.17.3, < 3)
214
+ sqlite3 (2.0.4-x86_64-darwin)
215
+ sqlite3 (2.0.4-x86_64-linux-gnu)
216
+ stringio (3.1.1)
217
+ thor (1.3.2)
218
+ timeout (0.4.1)
219
+ tzinfo (2.0.6)
220
+ concurrent-ruby (~> 1.0)
221
+ uri (0.13.1)
222
+ webrick (1.8.1)
223
+ websocket-driver (0.7.6)
224
+ websocket-extensions (>= 0.1.0)
225
+ websocket-extensions (0.1.5)
226
+ zeitwerk (2.6.18)
227
+
228
+ PLATFORMS
229
+ x86_64-darwin-23
230
+ x86_64-linux
231
+
232
+ DEPENDENCIES
233
+ debug
234
+ error_highlight (>= 0.4.0)
235
+ my_api_client!
236
+ rails (~> 7.1.4)
237
+ rspec-rails
238
+ sqlite3 (>= 1.4)
239
+
240
+ BUNDLED WITH
241
+ 2.3.27
@@ -0,0 +1,24 @@
1
+ # README
2
+
3
+ This README would normally document whatever steps are necessary to get the
4
+ application up and running.
5
+
6
+ Things you may want to cover:
7
+
8
+ * Ruby version
9
+
10
+ * System dependencies
11
+
12
+ * Configuration
13
+
14
+ * Database creation
15
+
16
+ * Database initialization
17
+
18
+ * How to run the test suite
19
+
20
+ * Services (job queues, cache servers, search engines, etc.)
21
+
22
+ * Deployment instructions
23
+
24
+ * ...
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Add your own tasks in files placed in lib/tasks ending in .rake,
4
+ # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
5
+
6
+ require_relative 'config/application'
7
+
8
+ Rails.application.load_tasks
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ class ApplicationController < ActionController::API
4
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ class ApplicationRecord < ActiveRecord::Base
4
+ primary_abstract_class
5
+ end
File without changes