my_api_client 0.23.0 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +5 -23
  3. data/.rubocop.yml +8 -0
  4. data/.rubocop_todo.yml +2 -2
  5. data/CHANGELOG.md +45 -0
  6. data/Gemfile.lock +53 -45
  7. data/README.jp.md +17 -2
  8. data/README.md +22 -3
  9. data/example/api_clients/my_errors.rb +9 -0
  10. data/example/api_clients/my_header_api_client.rb +38 -0
  11. data/lib/my_api_client/error_handling/generator.rb +16 -3
  12. data/lib/my_api_client/rspec/stub.rb +1 -1
  13. data/lib/my_api_client/version.rb +1 -1
  14. data/my_api/Gemfile +2 -2
  15. data/my_api/Gemfile.lock +110 -96
  16. data/my_api/app/controllers/header_controller.rb +12 -0
  17. data/my_api/config/routes.rb +1 -0
  18. data/my_api/spec/controllers/error_controller_spec.rb +1 -1
  19. data/my_api/spec/controllers/header_controller_spec.rb +33 -0
  20. data/my_api/spec/controllers/pagination_controller_spec.rb +1 -1
  21. data/my_api/spec/controllers/rest_controller_spec.rb +1 -1
  22. data/my_api/spec/controllers/status_controller_spec.rb +1 -1
  23. data/my_api_client.gemspec +3 -2
  24. data/rails_app/rails_6.0/Gemfile.lock +21 -21
  25. data/rails_app/rails_6.1/Gemfile.lock +21 -21
  26. data/rails_app/rails_7.0/Gemfile.lock +20 -20
  27. metadata +24 -43
  28. data/gemfiles/rails_5.0.gemfile +0 -16
  29. data/gemfiles/rails_5.1.gemfile +0 -16
  30. data/gemfiles/rails_5.2.gemfile +0 -16
  31. data/rails_app/rails_5.2/.rspec +0 -3
  32. data/rails_app/rails_5.2/Gemfile +0 -17
  33. data/rails_app/rails_5.2/Gemfile.lock +0 -180
  34. data/rails_app/rails_5.2/README.md +0 -24
  35. data/rails_app/rails_5.2/Rakefile +0 -8
  36. data/rails_app/rails_5.2/app/controllers/application_controller.rb +0 -4
  37. data/rails_app/rails_5.2/app/jobs/application_job.rb +0 -4
  38. data/rails_app/rails_5.2/bin/bundle +0 -5
  39. data/rails_app/rails_5.2/bin/rails +0 -6
  40. data/rails_app/rails_5.2/bin/rake +0 -6
  41. data/rails_app/rails_5.2/bin/setup +0 -27
  42. data/rails_app/rails_5.2/bin/update +0 -27
  43. data/rails_app/rails_5.2/config/application.rb +0 -37
  44. data/rails_app/rails_5.2/config/boot.rb +0 -6
  45. data/rails_app/rails_5.2/config/credentials.yml.enc +0 -1
  46. data/rails_app/rails_5.2/config/environment.rb +0 -7
  47. data/rails_app/rails_5.2/config/environments/development.rb +0 -41
  48. data/rails_app/rails_5.2/config/environments/production.rb +0 -70
  49. data/rails_app/rails_5.2/config/environments/test.rb +0 -38
  50. data/rails_app/rails_5.2/config/initializers/application_controller_renderer.rb +0 -9
  51. data/rails_app/rails_5.2/config/initializers/backtrace_silencers.rb +0 -8
  52. data/rails_app/rails_5.2/config/initializers/cors.rb +0 -17
  53. data/rails_app/rails_5.2/config/initializers/filter_parameter_logging.rb +0 -6
  54. data/rails_app/rails_5.2/config/initializers/inflections.rb +0 -17
  55. data/rails_app/rails_5.2/config/initializers/mime_types.rb +0 -5
  56. data/rails_app/rails_5.2/config/initializers/wrap_parameters.rb +0 -11
  57. data/rails_app/rails_5.2/config/locales/en.yml +0 -33
  58. data/rails_app/rails_5.2/config/routes.rb +0 -5
  59. data/rails_app/rails_5.2/config/spring.rb +0 -8
  60. data/rails_app/rails_5.2/config.ru +0 -7
  61. data/rails_app/rails_5.2/public/robots.txt +0 -1
  62. data/rails_app/rails_5.2/spec/rails_helper.rb +0 -14
  63. data/rails_app/rails_5.2/spec/spec_helper.rb +0 -13
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ../..
3
3
  specs:
4
- my_api_client (0.22.0)
5
- activesupport (>= 5.2.0)
4
+ my_api_client (0.24.0)
5
+ activesupport (>= 6.0.0)
6
6
  faraday (>= 0.17.1)
7
7
  jsonpath
8
8
  sawyer (>= 0.8.2)
@@ -75,8 +75,8 @@ GEM
75
75
  i18n (>= 1.6, < 2)
76
76
  minitest (>= 5.1)
77
77
  tzinfo (~> 2.0)
78
- addressable (2.8.0)
79
- public_suffix (>= 2.0.2, < 5.0)
78
+ addressable (2.8.1)
79
+ public_suffix (>= 2.0.2, < 6.0)
80
80
  builder (3.2.4)
81
81
  concurrent-ruby (1.1.10)
82
82
  crass (1.0.6)
@@ -86,20 +86,20 @@ GEM
86
86
  diff-lcs (1.5.0)
87
87
  digest (3.1.0)
88
88
  erubi (1.10.0)
89
- faraday (2.3.0)
90
- faraday-net_http (~> 2.0)
89
+ faraday (2.7.4)
90
+ faraday-net_http (>= 2.0, < 3.1)
91
91
  ruby2_keywords (>= 0.0.4)
92
- faraday-net_http (2.0.2)
93
- globalid (1.0.0)
92
+ faraday-net_http (3.0.2)
93
+ globalid (1.0.1)
94
94
  activesupport (>= 5.0)
95
- i18n (1.10.0)
95
+ i18n (1.12.0)
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.17.0)
102
+ loofah (2.19.1)
103
103
  crass (~> 1.0.2)
104
104
  nokogiri (>= 1.5.9)
105
105
  mail (2.7.1)
@@ -107,7 +107,7 @@ GEM
107
107
  marcel (1.0.2)
108
108
  method_source (1.0.0)
109
109
  mini_mime (1.1.2)
110
- minitest (5.15.0)
110
+ minitest (5.17.0)
111
111
  multi_json (1.15.0)
112
112
  net-imap (0.2.3)
113
113
  digest
@@ -124,13 +124,13 @@ GEM
124
124
  net-protocol
125
125
  timeout
126
126
  nio4r (2.5.8)
127
- nokogiri (1.13.6-x86_64-darwin)
127
+ nokogiri (1.14.1-x86_64-darwin)
128
128
  racc (~> 1.4)
129
- nokogiri (1.13.6-x86_64-linux)
129
+ nokogiri (1.14.1-x86_64-linux)
130
130
  racc (~> 1.4)
131
- public_suffix (4.0.7)
132
- racc (1.6.0)
133
- rack (2.2.3.1)
131
+ public_suffix (5.0.1)
132
+ racc (1.6.2)
133
+ rack (2.2.6.2)
134
134
  rack-test (1.1.0)
135
135
  rack (>= 1.0, < 3)
136
136
  rails (7.0.2.4)
@@ -150,8 +150,8 @@ GEM
150
150
  rails-dom-testing (2.0.3)
151
151
  activesupport (>= 4.2.0)
152
152
  nokogiri (>= 1.6)
153
- rails-html-sanitizer (1.4.2)
154
- loofah (~> 2.3)
153
+ rails-html-sanitizer (1.4.4)
154
+ loofah (~> 2.19, >= 2.19.1)
155
155
  railties (7.0.2.4)
156
156
  actionpack (= 7.0.2.4)
157
157
  activesupport (= 7.0.2.4)
@@ -180,14 +180,14 @@ GEM
180
180
  rspec-support (~> 3.10)
181
181
  rspec-support (3.11.0)
182
182
  ruby2_keywords (0.0.5)
183
- sawyer (0.9.1)
183
+ sawyer (0.9.2)
184
184
  addressable (>= 2.3.5)
185
185
  faraday (>= 0.17.3, < 3)
186
186
  sqlite3 (1.4.2)
187
187
  strscan (3.0.1)
188
188
  thor (1.2.1)
189
189
  timeout (0.2.0)
190
- tzinfo (2.0.4)
190
+ tzinfo (2.0.5)
191
191
  concurrent-ruby (~> 1.0)
192
192
  websocket-driver (0.7.5)
193
193
  websocket-extensions (>= 0.1.0)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.23.0
4
+ version: 0.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ryz310
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-08 00:00:00.000000000 Z
11
+ date: 2023-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.2.0
19
+ version: 6.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 5.2.0
26
+ version: 6.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: faraday
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -164,6 +164,20 @@ dependencies:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: rubocop-rake
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
167
181
  - !ruby/object:Gem::Dependency
168
182
  name: rubocop-rspec
169
183
  requirement: !ruby/object:Gem::Requirement
@@ -184,14 +198,14 @@ dependencies:
184
198
  requirements:
185
199
  - - '='
186
200
  - !ruby/object:Gem::Version
187
- version: 0.21.2
201
+ version: 0.22.0
188
202
  type: :development
189
203
  prerelease: false
190
204
  version_requirements: !ruby/object:Gem::Requirement
191
205
  requirements:
192
206
  - - '='
193
207
  - !ruby/object:Gem::Version
194
- version: 0.21.2
208
+ version: 0.22.0
195
209
  - !ruby/object:Gem::Dependency
196
210
  name: webmock
197
211
  requirement: !ruby/object:Gem::Requirement
@@ -248,12 +262,10 @@ files:
248
262
  - example/api_clients/application_api_client.rb
249
263
  - example/api_clients/my_error_api_client.rb
250
264
  - example/api_clients/my_errors.rb
265
+ - example/api_clients/my_header_api_client.rb
251
266
  - example/api_clients/my_pagination_api_client.rb
252
267
  - example/api_clients/my_rest_api_client.rb
253
268
  - example/api_clients/my_status_api_client.rb
254
- - gemfiles/rails_5.0.gemfile
255
- - gemfiles/rails_5.1.gemfile
256
- - gemfiles/rails_5.2.gemfile
257
269
  - gemfiles/rails_6.0.gemfile
258
270
  - gemfiles/rails_6.1.gemfile
259
271
  - gemfiles/rails_7.0.gemfile
@@ -306,6 +318,7 @@ files:
306
318
  - my_api/Rakefile
307
319
  - my_api/app/controllers/application_controller.rb
308
320
  - my_api/app/controllers/error_controller.rb
321
+ - my_api/app/controllers/header_controller.rb
309
322
  - my_api/app/controllers/pagination_controller.rb
310
323
  - my_api/app/controllers/rest_controller.rb
311
324
  - my_api/app/controllers/status_controller.rb
@@ -326,6 +339,7 @@ files:
326
339
  - my_api/public/favicon.ico
327
340
  - my_api/public/index.html
328
341
  - my_api/spec/controllers/error_controller_spec.rb
342
+ - my_api/spec/controllers/header_controller_spec.rb
329
343
  - my_api/spec/controllers/pagination_controller_spec.rb
330
344
  - my_api/spec/controllers/rest_controller_spec.rb
331
345
  - my_api/spec/controllers/status_controller_spec.rb
@@ -333,39 +347,6 @@ files:
333
347
  - my_api/spec/fixtures/payloads/posts-show.json
334
348
  - my_api/spec/spec_helper.rb
335
349
  - my_api_client.gemspec
336
- - rails_app/rails_5.2/.rspec
337
- - rails_app/rails_5.2/Gemfile
338
- - rails_app/rails_5.2/Gemfile.lock
339
- - rails_app/rails_5.2/README.md
340
- - rails_app/rails_5.2/Rakefile
341
- - rails_app/rails_5.2/app/controllers/application_controller.rb
342
- - rails_app/rails_5.2/app/jobs/application_job.rb
343
- - rails_app/rails_5.2/bin/bundle
344
- - rails_app/rails_5.2/bin/rails
345
- - rails_app/rails_5.2/bin/rake
346
- - rails_app/rails_5.2/bin/setup
347
- - rails_app/rails_5.2/bin/update
348
- - rails_app/rails_5.2/config.ru
349
- - rails_app/rails_5.2/config/application.rb
350
- - rails_app/rails_5.2/config/boot.rb
351
- - rails_app/rails_5.2/config/credentials.yml.enc
352
- - rails_app/rails_5.2/config/environment.rb
353
- - rails_app/rails_5.2/config/environments/development.rb
354
- - rails_app/rails_5.2/config/environments/production.rb
355
- - rails_app/rails_5.2/config/environments/test.rb
356
- - rails_app/rails_5.2/config/initializers/application_controller_renderer.rb
357
- - rails_app/rails_5.2/config/initializers/backtrace_silencers.rb
358
- - rails_app/rails_5.2/config/initializers/cors.rb
359
- - rails_app/rails_5.2/config/initializers/filter_parameter_logging.rb
360
- - rails_app/rails_5.2/config/initializers/inflections.rb
361
- - rails_app/rails_5.2/config/initializers/mime_types.rb
362
- - rails_app/rails_5.2/config/initializers/wrap_parameters.rb
363
- - rails_app/rails_5.2/config/locales/en.yml
364
- - rails_app/rails_5.2/config/routes.rb
365
- - rails_app/rails_5.2/config/spring.rb
366
- - rails_app/rails_5.2/public/robots.txt
367
- - rails_app/rails_5.2/spec/rails_helper.rb
368
- - rails_app/rails_5.2/spec/spec_helper.rb
369
350
  - rails_app/rails_6.0/.rspec
370
351
  - rails_app/rails_6.0/Gemfile
371
352
  - rails_app/rails_6.0/Gemfile.lock
@@ -487,7 +468,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
487
468
  - !ruby/object:Gem::Version
488
469
  version: '0'
489
470
  requirements: []
490
- rubygems_version: 3.3.11
471
+ rubygems_version: 3.4.6
491
472
  signing_key:
492
473
  specification_version: 4
493
474
  summary: The framework of Web API Client
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # This file was generated by Appraisal
4
-
5
- source 'https://rubygems.org'
6
-
7
- git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
8
-
9
- gem 'activesupport', '~> 5.0.0'
10
- gem 'tzinfo', '~> 1.1'
11
-
12
- group :integrations, optional: true do
13
- gem 'bugsnag', '>= 6.11.0'
14
- end
15
-
16
- gemspec
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # This file was generated by Appraisal
4
-
5
- source 'https://rubygems.org'
6
-
7
- git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
8
-
9
- gem 'activesupport', '~> 5.1.0'
10
- gem 'tzinfo', '~> 1.1'
11
-
12
- group :integrations, optional: true do
13
- gem 'bugsnag', '>= 6.11.0'
14
- end
15
-
16
- gemspec
@@ -1,16 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- # This file was generated by Appraisal
4
-
5
- source 'https://rubygems.org'
6
-
7
- git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
8
-
9
- gem 'activesupport', '~> 5.2.0'
10
- gem 'tzinfo', '~> 1.1'
11
-
12
- group :integrations, optional: true do
13
- gem 'bugsnag', '>= 6.11.0'
14
- end
15
-
16
- gemspec
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
- git_source(:github) { |repo| "https://github.com/#{repo}.git" }
5
-
6
- gem 'bootsnap', '>= 1.1.0', require: false
7
- gem 'my_api_client', path: '../..'
8
- gem 'rails', '~> 5.2.4'
9
-
10
- group :development, :test do
11
- gem 'byebug', platforms: %i[mri mingw x64_mingw]
12
- gem 'rspec-rails'
13
- end
14
-
15
- group :development do
16
- gem 'spring'
17
- end
@@ -1,180 +0,0 @@
1
- PATH
2
- remote: ../..
3
- specs:
4
- my_api_client (0.20.0)
5
- activesupport (>= 5.2.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 (5.2.6)
14
- actionpack (= 5.2.6)
15
- nio4r (~> 2.0)
16
- websocket-driver (>= 0.6.1)
17
- actionmailer (5.2.6)
18
- actionpack (= 5.2.6)
19
- actionview (= 5.2.6)
20
- activejob (= 5.2.6)
21
- mail (~> 2.5, >= 2.5.4)
22
- rails-dom-testing (~> 2.0)
23
- actionpack (5.2.6)
24
- actionview (= 5.2.6)
25
- activesupport (= 5.2.6)
26
- rack (~> 2.0, >= 2.0.8)
27
- rack-test (>= 0.6.3)
28
- rails-dom-testing (~> 2.0)
29
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
30
- actionview (5.2.6)
31
- activesupport (= 5.2.6)
32
- builder (~> 3.1)
33
- erubi (~> 1.4)
34
- rails-dom-testing (~> 2.0)
35
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
36
- activejob (5.2.6)
37
- activesupport (= 5.2.6)
38
- globalid (>= 0.3.6)
39
- activemodel (5.2.6)
40
- activesupport (= 5.2.6)
41
- activerecord (5.2.6)
42
- activemodel (= 5.2.6)
43
- activesupport (= 5.2.6)
44
- arel (>= 9.0)
45
- activestorage (5.2.6)
46
- actionpack (= 5.2.6)
47
- activerecord (= 5.2.6)
48
- marcel (~> 1.0.0)
49
- activesupport (5.2.6)
50
- concurrent-ruby (~> 1.0, >= 1.0.2)
51
- i18n (>= 0.7, < 2)
52
- minitest (~> 5.1)
53
- tzinfo (~> 1.1)
54
- addressable (2.8.0)
55
- public_suffix (>= 2.0.2, < 5.0)
56
- arel (9.0.0)
57
- bootsnap (1.4.8)
58
- msgpack (~> 1.0)
59
- builder (3.2.4)
60
- byebug (11.1.3)
61
- concurrent-ruby (1.1.9)
62
- crass (1.0.6)
63
- diff-lcs (1.4.4)
64
- erubi (1.10.0)
65
- faraday (1.4.2)
66
- faraday-em_http (~> 1.0)
67
- faraday-em_synchrony (~> 1.0)
68
- faraday-excon (~> 1.1)
69
- faraday-net_http (~> 1.0)
70
- faraday-net_http_persistent (~> 1.1)
71
- multipart-post (>= 1.2, < 3)
72
- ruby2_keywords (>= 0.0.4)
73
- faraday-em_http (1.0.0)
74
- faraday-em_synchrony (1.0.0)
75
- faraday-excon (1.1.0)
76
- faraday-net_http (1.0.1)
77
- faraday-net_http_persistent (1.1.0)
78
- globalid (0.4.2)
79
- activesupport (>= 4.2.0)
80
- i18n (1.8.10)
81
- concurrent-ruby (~> 1.0)
82
- jsonpath (1.1.0)
83
- multi_json
84
- loofah (2.10.0)
85
- crass (~> 1.0.2)
86
- nokogiri (>= 1.5.9)
87
- mail (2.7.1)
88
- mini_mime (>= 0.1.1)
89
- marcel (1.0.1)
90
- method_source (1.0.0)
91
- mini_mime (1.1.0)
92
- mini_portile2 (2.8.0)
93
- minitest (5.14.4)
94
- msgpack (1.3.3)
95
- multi_json (1.15.0)
96
- multipart-post (2.1.1)
97
- nio4r (2.5.7)
98
- nokogiri (1.13.6)
99
- mini_portile2 (~> 2.8.0)
100
- racc (~> 1.4)
101
- public_suffix (4.0.6)
102
- racc (1.6.0)
103
- rack (2.2.3.1)
104
- rack-test (1.1.0)
105
- rack (>= 1.0, < 3)
106
- rails (5.2.6)
107
- actioncable (= 5.2.6)
108
- actionmailer (= 5.2.6)
109
- actionpack (= 5.2.6)
110
- actionview (= 5.2.6)
111
- activejob (= 5.2.6)
112
- activemodel (= 5.2.6)
113
- activerecord (= 5.2.6)
114
- activestorage (= 5.2.6)
115
- activesupport (= 5.2.6)
116
- bundler (>= 1.3.0)
117
- railties (= 5.2.6)
118
- sprockets-rails (>= 2.0.0)
119
- rails-dom-testing (2.0.3)
120
- activesupport (>= 4.2.0)
121
- nokogiri (>= 1.6)
122
- rails-html-sanitizer (1.3.0)
123
- loofah (~> 2.3)
124
- railties (5.2.6)
125
- actionpack (= 5.2.6)
126
- activesupport (= 5.2.6)
127
- method_source
128
- rake (>= 0.8.7)
129
- thor (>= 0.19.0, < 2.0)
130
- rake (13.0.3)
131
- rspec-core (3.9.2)
132
- rspec-support (~> 3.9.3)
133
- rspec-expectations (3.9.2)
134
- diff-lcs (>= 1.2.0, < 2.0)
135
- rspec-support (~> 3.9.0)
136
- rspec-mocks (3.9.1)
137
- diff-lcs (>= 1.2.0, < 2.0)
138
- rspec-support (~> 3.9.0)
139
- rspec-rails (4.0.1)
140
- actionpack (>= 4.2)
141
- activesupport (>= 4.2)
142
- railties (>= 4.2)
143
- rspec-core (~> 3.9)
144
- rspec-expectations (~> 3.9)
145
- rspec-mocks (~> 3.9)
146
- rspec-support (~> 3.9)
147
- rspec-support (3.9.3)
148
- ruby2_keywords (0.0.4)
149
- sawyer (0.8.2)
150
- addressable (>= 2.3.5)
151
- faraday (> 0.8, < 2.0)
152
- spring (2.1.1)
153
- sprockets (4.0.2)
154
- concurrent-ruby (~> 1.0)
155
- rack (> 1, < 3)
156
- sprockets-rails (3.2.2)
157
- actionpack (>= 4.0)
158
- activesupport (>= 4.0)
159
- sprockets (>= 3.0.0)
160
- thor (1.1.0)
161
- thread_safe (0.3.6)
162
- tzinfo (1.2.9)
163
- thread_safe (~> 0.1)
164
- websocket-driver (0.7.4)
165
- websocket-extensions (>= 0.1.0)
166
- websocket-extensions (0.1.5)
167
-
168
- PLATFORMS
169
- ruby
170
-
171
- DEPENDENCIES
172
- bootsnap (>= 1.1.0)
173
- byebug
174
- my_api_client!
175
- rails (~> 5.2.4)
176
- rspec-rails
177
- spring
178
-
179
- BUNDLED WITH
180
- 2.2.4
@@ -1,24 +0,0 @@
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
- * ...
@@ -1,8 +0,0 @@
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
@@ -1,4 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class ApplicationController < ActionController::API
4
- end
@@ -1,4 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class ApplicationJob < ActiveJob::Base
4
- end
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
5
- load Gem.bin_path('bundler', 'bundle')
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- APP_PATH = File.expand_path('../config/application', __dir__)
5
- require_relative '../config/boot'
6
- require 'rails/commands'
@@ -1,6 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require_relative '../config/boot'
5
- require 'rake'
6
- Rake.application.run
@@ -1,27 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require 'fileutils'
5
- include FileUtils
6
-
7
- # path to your application root.
8
- APP_ROOT = File.expand_path('..', __dir__)
9
-
10
- def system!(*args)
11
- system(*args) || abort("\n== Command #{args} failed ==")
12
- end
13
-
14
- chdir APP_ROOT do
15
- # This script is a starting point to setup your application.
16
- # Add necessary setup steps to this file.
17
-
18
- puts '== Installing dependencies =='
19
- system! 'gem install bundler --conservative'
20
- system('bundle check') || system!('bundle install')
21
-
22
- puts "\n== Removing old logs and tempfiles =="
23
- system! 'bin/rails log:clear tmp:clear'
24
-
25
- puts "\n== Restarting application server =="
26
- system! 'bin/rails restart'
27
- end
@@ -1,27 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require 'fileutils'
5
- include FileUtils
6
-
7
- # path to your application root.
8
- APP_ROOT = File.expand_path('..', __dir__)
9
-
10
- def system!(*args)
11
- system(*args) || abort("\n== Command #{args} failed ==")
12
- end
13
-
14
- chdir APP_ROOT do
15
- # This script is a way to update your development environment automatically.
16
- # Add necessary update steps to this file.
17
-
18
- puts '== Installing dependencies =='
19
- system! 'gem install bundler --conservative'
20
- system('bundle check') || system!('bundle install')
21
-
22
- puts "\n== Removing old logs and tempfiles =="
23
- system! 'bin/rails log:clear tmp:clear'
24
-
25
- puts "\n== Restarting application server =="
26
- system! 'bin/rails restart'
27
- end
@@ -1,37 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative 'boot'
4
-
5
- require 'rails'
6
- # Pick the frameworks you want:
7
- require 'active_model/railtie'
8
- require 'active_job/railtie'
9
- # require "active_record/railtie"
10
- # require "active_storage/engine"
11
- require 'action_controller/railtie'
12
- # require "action_mailer/railtie"
13
- require 'action_view/railtie'
14
- # require "action_cable/engine"
15
- # require "sprockets/railtie"
16
- # require "rails/test_unit/railtie"
17
-
18
- # Require the gems listed in Gemfile, including any gems
19
- # you've limited to :test, :development, or :production.
20
- Bundler.require(*Rails.groups)
21
-
22
- module Rails52
23
- class Application < Rails::Application
24
- # Initialize configuration defaults for originally generated Rails version.
25
- config.load_defaults 5.2
26
-
27
- # Settings in config/environments/* take precedence over those specified here.
28
- # Application configuration can go into files in config/initializers
29
- # -- all .rb files in that directory are automatically loaded after loading
30
- # the framework and any gems in your application.
31
-
32
- # Only loads a smaller set of middleware suitable for API only apps.
33
- # Middleware like session, flash, cookies can be added back manually.
34
- # Skip views, helpers and assets when generating a new resource.
35
- config.api_only = true
36
- end
37
- end
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
4
-
5
- require 'bundler/setup' # Set up gems listed in the Gemfile.
6
- require 'bootsnap/setup' # Speed up boot time by caching expensive operations.
@@ -1 +0,0 @@
1
- CoqnHttXAM5P+hqAS+0x/tIF4f6uh4/KQcj8FWFp+43NpgsJJwOtSewgf5cqJk0xZAWpVrlWK/OAA5m2yVqf24wU6ynKaUFlNkNnYXU4Yd1ieQ//kzXX+486aQyuJA0eLdBANvM0DnB7VORl2fyLTj/SpO7koN1fj/GWVQStTGSXZmZpsTgcJi2QD6QAI37SjWMHoDJIg/T/XraZjezjkrACPvlMm3BAO5sPixuZ71PX4pNetEUHwMFmOwkPHaeZt5pNnXTaZSwtyyQuPsxkPerwL3QTxrIJg6z31qRdTLuRIU0o3t80GZOiWkk3p2Lke4wv80owEXzoZqrosOj4HaE9L0wm7gbf9IkGqk3cv7cCKeGIFegjHOIqO/6Pbq7SjFWVBJdBSCgBSZ6NtJgZGjr2zIQ9kV+emnNT--eqdV0aiTwnuTbD85--hOzvwTdx5HfukVZuBwy13w==