power_api 0.2.0 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +104 -0
- data/.circleci/setup-rubygems.sh +3 -0
- data/.rubocop.yml +0 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +19 -1
- data/Gemfile +2 -0
- data/Gemfile.lock +189 -166
- data/README.md +365 -103
- data/app/controllers/power_api/base_controller.rb +0 -1
- data/app/helpers/power_api/application_helper.rb +57 -0
- data/bin/clean_test_app +2 -0
- data/lib/generators/power_api/controller/controller_generator.rb +27 -15
- data/lib/generators/power_api/exposed_api_config/USAGE +5 -0
- data/lib/generators/power_api/exposed_api_config/exposed_api_config_generator.rb +58 -0
- data/lib/generators/power_api/install/install_generator.rb +2 -44
- data/lib/generators/power_api/internal_api_config/USAGE +5 -0
- data/lib/generators/power_api/internal_api_config/internal_api_config_generator.rb +31 -0
- data/lib/generators/power_api/version/version_generator.rb +2 -2
- data/lib/power_api/engine.rb +6 -1
- data/lib/power_api/errors.rb +2 -0
- data/lib/power_api/generator_helper/active_record_resource.rb +10 -6
- data/lib/power_api/generator_helper/ams_helper.rb +5 -11
- data/lib/power_api/generator_helper/api_helper.rb +61 -0
- data/lib/power_api/generator_helper/controller_helper.rb +45 -15
- data/lib/power_api/generator_helper/routes_helper.rb +22 -7
- data/lib/power_api/generator_helper/rspec_controller_helper.rb +306 -0
- data/lib/power_api/generator_helper/swagger_helper.rb +14 -24
- data/lib/power_api/generator_helpers.rb +2 -1
- data/lib/power_api/version.rb +1 -1
- data/power_api.gemspec +3 -2
- data/spec/dummy/Rakefile +1 -1
- data/spec/dummy/app/assets/config/manifest.js +0 -2
- data/spec/dummy/app/controllers/api/base_controller.rb +2 -0
- data/spec/dummy/app/controllers/api/internal/base_controller.rb +5 -0
- data/spec/dummy/app/controllers/api/internal/blogs_controller.rb +36 -0
- data/spec/dummy/app/controllers/application_controller.rb +0 -1
- data/spec/dummy/app/{assets/javascripts → javascript/packs}/application.js +2 -0
- data/spec/dummy/app/jobs/application_job.rb +5 -0
- data/spec/dummy/app/serializers/api/internal/blog_serializer.rb +12 -0
- data/spec/dummy/app/views/layouts/application.html.erb +3 -2
- data/spec/dummy/bin/rails +2 -2
- data/spec/dummy/bin/rake +2 -2
- data/spec/dummy/bin/setup +7 -12
- data/spec/dummy/config/application.rb +12 -16
- data/spec/dummy/config/boot.rb +1 -1
- data/spec/dummy/config/cable.yml +2 -2
- data/spec/dummy/config/database.yml +8 -16
- data/spec/dummy/config/environment.rb +1 -1
- data/spec/dummy/config/environments/development.rb +28 -6
- data/spec/dummy/config/environments/production.rb +45 -16
- data/spec/dummy/config/environments/test.rb +24 -7
- data/spec/dummy/config/initializers/active_model_serializers.rb +1 -0
- data/spec/dummy/config/initializers/api_pagination.rb +32 -0
- data/spec/dummy/config/initializers/assets.rb +0 -2
- data/spec/dummy/config/initializers/backtrace_silencers.rb +4 -3
- data/spec/dummy/config/initializers/content_security_policy.rb +28 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +3 -1
- data/spec/dummy/config/initializers/permissions_policy.rb +11 -0
- data/spec/dummy/config/locales/en.yml +1 -1
- data/spec/dummy/config/puma.rb +14 -27
- data/spec/dummy/config/routes.rb +2 -7
- data/spec/dummy/config/storage.yml +34 -0
- data/spec/dummy/config.ru +2 -1
- data/spec/dummy/spec/helpers/power_api/application_helper_spec.rb +171 -0
- data/spec/dummy/spec/lib/power_api/generator_helper/ams_helper_spec.rb +50 -12
- data/spec/dummy/spec/lib/power_api/generator_helper/api_helper_spec.rb +115 -0
- data/spec/dummy/spec/lib/power_api/generator_helper/controller_helper_spec.rb +126 -34
- data/spec/dummy/spec/lib/power_api/generator_helper/routes_helper_spec.rb +29 -5
- data/spec/dummy/spec/lib/power_api/generator_helper/rspec_controller_helper_spec.rb +559 -0
- data/spec/dummy/spec/lib/power_api/generator_helper/swagger_helper_spec.rb +10 -20
- data/spec/dummy/spec/support/shared_examples/active_record_resource_atrributes.rb +22 -3
- metadata +114 -87
- data/.hound.yml +0 -4
- data/.travis.yml +0 -16
- data/app/controllers/concerns/api/versioned.rb +0 -36
- data/lib/power_api/generator_helper/version_helper.rb +0 -16
- data/spec/dummy/app/assets/javascripts/cable.js +0 -13
- data/spec/dummy/app/controllers/concerns/api/versioned_spec.rb +0 -64
- data/spec/dummy/bin/bundle +0 -3
- data/spec/dummy/bin/update +0 -29
- data/spec/dummy/bin/yarn +0 -11
- data/spec/dummy/config/secrets.yml +0 -32
- data/spec/dummy/config/spring.rb +0 -6
- data/spec/dummy/spec/lib/power_api/generator_helper/version_helper_spec.rb +0 -55
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69e28961ce7f4b6c5920531144bf241684265838d3fe07f547d6d05f611935a6
|
4
|
+
data.tar.gz: 0d4591712d13b1116fe0905ef4e4dc147b60ecbb395e237204eb1013eceb70d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bba5450490bd97068de2315f9240465a014712c31697d22e0941c0f61bef2e1df85ad7d80a3ee8313af7226162929e32d1f17be806046b0351ed1ca44794cafa
|
7
|
+
data.tar.gz: d47318d91d5c5e4083c0a51d3e755fa3d3e562a031d63810b31e7b739bbed68eb2c3185aa2d83541603d70ecf2b0489604fef5495d557e25a8f7333979ab4bbc
|
@@ -0,0 +1,104 @@
|
|
1
|
+
version: 2.1
|
2
|
+
|
3
|
+
env-vars: &env-vars
|
4
|
+
RAILS_ENV: test
|
5
|
+
NODE_ENV: test
|
6
|
+
BUNDLE_PATH: vendor/bundle
|
7
|
+
|
8
|
+
orbs:
|
9
|
+
ruby: circleci/ruby@0.1.2
|
10
|
+
browser-tools: circleci/browser-tools@1.1.3
|
11
|
+
|
12
|
+
executors:
|
13
|
+
main-executor:
|
14
|
+
parameters:
|
15
|
+
ruby-version:
|
16
|
+
description: "Ruby version"
|
17
|
+
default: "2.7"
|
18
|
+
type: string
|
19
|
+
docker:
|
20
|
+
- image: circleci/ruby:<<parameters.ruby-version>>-node
|
21
|
+
environment: *env-vars
|
22
|
+
|
23
|
+
commands:
|
24
|
+
setup:
|
25
|
+
description: checkout code and install dependencies
|
26
|
+
steps:
|
27
|
+
- checkout
|
28
|
+
- run:
|
29
|
+
name: Install bundle dependencies
|
30
|
+
command: |
|
31
|
+
BUNDLER_VERSION=$(cat Gemfile.lock | tail -1 | tr -d " ")
|
32
|
+
gem install bundler:$BUNDLER_VERSION
|
33
|
+
bundle _$(echo $BUNDLER_VERSION)_ install
|
34
|
+
|
35
|
+
jobs:
|
36
|
+
lint:
|
37
|
+
executor: main-executor
|
38
|
+
steps:
|
39
|
+
- setup
|
40
|
+
- run:
|
41
|
+
name: Install reviewdog
|
42
|
+
command: |
|
43
|
+
curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s -- -b ./bin
|
44
|
+
- run:
|
45
|
+
name: Get files to lint
|
46
|
+
command: |
|
47
|
+
mkdir tmp
|
48
|
+
git diff origin/master --name-only --diff-filter=d > tmp/files_to_lint
|
49
|
+
- run:
|
50
|
+
name: Run rubocop
|
51
|
+
shell: /bin/bash
|
52
|
+
command: |
|
53
|
+
cat tmp/files_to_lint | grep -E '.+\.(rb)$' | xargs bundle exec rubocop --force-exclusion \
|
54
|
+
| ./bin/reviewdog -reporter=github-pr-review -f=rubocop
|
55
|
+
test:
|
56
|
+
parameters:
|
57
|
+
ruby-version:
|
58
|
+
description: "Ruby version"
|
59
|
+
default: "2.7"
|
60
|
+
type: string
|
61
|
+
executor:
|
62
|
+
name: main-executor
|
63
|
+
ruby-version: <<parameters.ruby-version>>
|
64
|
+
steps:
|
65
|
+
- setup
|
66
|
+
- run:
|
67
|
+
name: Run Tests
|
68
|
+
command: |
|
69
|
+
RSPEC_JUNIT_ARGS="-r rspec_junit_formatter -f RspecJunitFormatter -o test_results/rspec.xml"
|
70
|
+
RSPEC_FORMAT_ARGS="-f progress --no-color -p 10"
|
71
|
+
bundle exec rspec ./spec $RSPEC_FORMAT_ARGS $RSPEC_JUNIT_ARGS
|
72
|
+
- store_test_results:
|
73
|
+
path: test_results
|
74
|
+
deploy:
|
75
|
+
executor: main-executor
|
76
|
+
steps:
|
77
|
+
- setup
|
78
|
+
- run:
|
79
|
+
name: Setup rubygems
|
80
|
+
command: bash .circleci/setup-rubygems.sh
|
81
|
+
- run:
|
82
|
+
name: Publish to rubygems
|
83
|
+
command: |
|
84
|
+
gem build power_api.gemspec
|
85
|
+
version_tag=$(git describe --tags)
|
86
|
+
gem push power_api-${version_tag#v}.gem
|
87
|
+
|
88
|
+
workflows:
|
89
|
+
version: 2
|
90
|
+
main:
|
91
|
+
jobs:
|
92
|
+
- lint:
|
93
|
+
context: org-global
|
94
|
+
- test:
|
95
|
+
matrix:
|
96
|
+
parameters:
|
97
|
+
ruby-version: ["2.6", "2.7"]
|
98
|
+
- deploy:
|
99
|
+
context: org-global
|
100
|
+
filters:
|
101
|
+
tags:
|
102
|
+
only: /.*/
|
103
|
+
branches:
|
104
|
+
ignore: /.*/
|
data/.rubocop.yml
CHANGED
@@ -197,7 +197,6 @@ Style/WordArray:
|
|
197
197
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-w
|
198
198
|
Enabled: false
|
199
199
|
MinSize: 0
|
200
|
-
WordRegex: !ruby/regexp /\A[\p{Word}]+\z/
|
201
200
|
Metrics/AbcSize:
|
202
201
|
Description: A calculated magnitude based on number of assignments, branches, and
|
203
202
|
conditions.
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.7
|
data/CHANGELOG.md
CHANGED
@@ -2,9 +2,27 @@
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
4
4
|
|
5
|
+
### v2.0.2
|
6
|
+
|
7
|
+
* Fix: change the way PowerApi::ApplicationHelper is loaded into host app.
|
8
|
+
|
9
|
+
### v2.0.1
|
10
|
+
|
11
|
+
* Fix: trying to reference ApplicationController in wrong namespace.
|
12
|
+
### v2.0.0
|
13
|
+
|
14
|
+
* Add API internal and exposed modes.
|
15
|
+
* Replace `json_api` with `json` adapter.
|
16
|
+
* Add view helper to serialize resources.
|
17
|
+
|
18
|
+
### v1.0.0
|
19
|
+
|
20
|
+
* Replace travis with circleci.
|
21
|
+
* Use Rails 6 on Dummy app.
|
22
|
+
|
5
23
|
### v0.2.0
|
6
24
|
|
7
|
-
|
25
|
+
* Add `controller-actions` option to generator
|
8
26
|
### v0.1.0
|
9
27
|
|
10
28
|
* Initial release.
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
power_api (0.2
|
4
|
+
power_api (2.0.2)
|
5
5
|
active_model_serializers (~> 0.10.0)
|
6
6
|
api-pagination
|
7
7
|
kaminari
|
8
|
-
rails (>=
|
8
|
+
rails (>= 6.0)
|
9
9
|
ransack
|
10
10
|
responders
|
11
11
|
rswag-api
|
@@ -16,89 +16,106 @@ PATH
|
|
16
16
|
GEM
|
17
17
|
remote: https://rubygems.org/
|
18
18
|
specs:
|
19
|
-
actioncable (
|
20
|
-
actionpack (=
|
19
|
+
actioncable (6.1.4.4)
|
20
|
+
actionpack (= 6.1.4.4)
|
21
|
+
activesupport (= 6.1.4.4)
|
21
22
|
nio4r (~> 2.0)
|
22
23
|
websocket-driver (>= 0.6.1)
|
23
|
-
|
24
|
-
actionpack (=
|
25
|
-
|
26
|
-
|
24
|
+
actionmailbox (6.1.4.4)
|
25
|
+
actionpack (= 6.1.4.4)
|
26
|
+
activejob (= 6.1.4.4)
|
27
|
+
activerecord (= 6.1.4.4)
|
28
|
+
activestorage (= 6.1.4.4)
|
29
|
+
activesupport (= 6.1.4.4)
|
30
|
+
mail (>= 2.7.1)
|
31
|
+
actionmailer (6.1.4.4)
|
32
|
+
actionpack (= 6.1.4.4)
|
33
|
+
actionview (= 6.1.4.4)
|
34
|
+
activejob (= 6.1.4.4)
|
35
|
+
activesupport (= 6.1.4.4)
|
27
36
|
mail (~> 2.5, >= 2.5.4)
|
28
37
|
rails-dom-testing (~> 2.0)
|
29
|
-
actionpack (
|
30
|
-
actionview (=
|
31
|
-
activesupport (=
|
32
|
-
rack (~> 2.0)
|
38
|
+
actionpack (6.1.4.4)
|
39
|
+
actionview (= 6.1.4.4)
|
40
|
+
activesupport (= 6.1.4.4)
|
41
|
+
rack (~> 2.0, >= 2.0.9)
|
33
42
|
rack-test (>= 0.6.3)
|
34
43
|
rails-dom-testing (~> 2.0)
|
35
|
-
rails-html-sanitizer (~> 1.0, >= 1.0
|
36
|
-
|
37
|
-
|
44
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
45
|
+
actiontext (6.1.4.4)
|
46
|
+
actionpack (= 6.1.4.4)
|
47
|
+
activerecord (= 6.1.4.4)
|
48
|
+
activestorage (= 6.1.4.4)
|
49
|
+
activesupport (= 6.1.4.4)
|
50
|
+
nokogiri (>= 1.8.5)
|
51
|
+
actionview (6.1.4.4)
|
52
|
+
activesupport (= 6.1.4.4)
|
38
53
|
builder (~> 3.1)
|
39
54
|
erubi (~> 1.4)
|
40
55
|
rails-dom-testing (~> 2.0)
|
41
|
-
rails-html-sanitizer (~> 1.
|
42
|
-
active_model_serializers (0.10.
|
43
|
-
actionpack (>= 4.1, <
|
44
|
-
activemodel (>= 4.1, <
|
56
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
57
|
+
active_model_serializers (0.10.13)
|
58
|
+
actionpack (>= 4.1, < 7.1)
|
59
|
+
activemodel (>= 4.1, < 7.1)
|
45
60
|
case_transform (>= 0.2)
|
46
61
|
jsonapi-renderer (>= 0.1.1.beta1, < 0.3)
|
47
|
-
activejob (
|
48
|
-
activesupport (=
|
62
|
+
activejob (6.1.4.4)
|
63
|
+
activesupport (= 6.1.4.4)
|
49
64
|
globalid (>= 0.3.6)
|
50
|
-
activemodel (
|
51
|
-
activesupport (=
|
52
|
-
activerecord (
|
53
|
-
activemodel (=
|
54
|
-
activesupport (=
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
activerecord (=
|
59
|
-
|
60
|
-
|
65
|
+
activemodel (6.1.4.4)
|
66
|
+
activesupport (= 6.1.4.4)
|
67
|
+
activerecord (6.1.4.4)
|
68
|
+
activemodel (= 6.1.4.4)
|
69
|
+
activesupport (= 6.1.4.4)
|
70
|
+
activestorage (6.1.4.4)
|
71
|
+
actionpack (= 6.1.4.4)
|
72
|
+
activejob (= 6.1.4.4)
|
73
|
+
activerecord (= 6.1.4.4)
|
74
|
+
activesupport (= 6.1.4.4)
|
75
|
+
marcel (~> 1.0.0)
|
76
|
+
mini_mime (>= 1.1.0)
|
77
|
+
activesupport (6.1.4.4)
|
61
78
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
62
|
-
i18n (>=
|
63
|
-
minitest (
|
64
|
-
tzinfo (~>
|
65
|
-
|
79
|
+
i18n (>= 1.6, < 2)
|
80
|
+
minitest (>= 5.1)
|
81
|
+
tzinfo (~> 2.0)
|
82
|
+
zeitwerk (~> 2.3)
|
83
|
+
addressable (2.8.0)
|
66
84
|
public_suffix (>= 2.0.2, < 5.0)
|
67
85
|
api-pagination (4.8.2)
|
68
|
-
|
69
|
-
ast (2.4.0)
|
86
|
+
ast (2.4.2)
|
70
87
|
bcrypt (3.1.16)
|
71
|
-
builder (3.2.
|
88
|
+
builder (3.2.4)
|
72
89
|
case_transform (0.2)
|
73
90
|
activesupport
|
74
|
-
coderay (1.1.
|
75
|
-
concurrent-ruby (1.1.
|
76
|
-
coveralls (0.8.
|
91
|
+
coderay (1.1.3)
|
92
|
+
concurrent-ruby (1.1.9)
|
93
|
+
coveralls (0.8.23)
|
77
94
|
json (>= 1.8, < 3)
|
78
95
|
simplecov (~> 0.16.1)
|
79
96
|
term-ansicolor (~> 1.3)
|
80
|
-
thor (
|
97
|
+
thor (>= 0.19.4, < 2.0)
|
81
98
|
tins (~> 1.6)
|
82
99
|
crass (1.0.6)
|
83
|
-
devise (4.
|
100
|
+
devise (4.8.1)
|
84
101
|
bcrypt (~> 3.0)
|
85
102
|
orm_adapter (~> 0.1)
|
86
103
|
railties (>= 4.1.0)
|
87
104
|
responders
|
88
105
|
warden (~> 1.2.3)
|
89
|
-
diff-lcs (1.
|
90
|
-
docile (1.
|
91
|
-
erubi (1.
|
92
|
-
factory_bot (
|
93
|
-
activesupport (>=
|
94
|
-
factory_bot_rails (
|
95
|
-
factory_bot (~>
|
96
|
-
railties (>=
|
97
|
-
ffi (1.
|
98
|
-
formatador (0.
|
99
|
-
globalid (0.
|
100
|
-
activesupport (>=
|
101
|
-
guard (2.
|
106
|
+
diff-lcs (1.4.4)
|
107
|
+
docile (1.4.0)
|
108
|
+
erubi (1.10.0)
|
109
|
+
factory_bot (6.2.0)
|
110
|
+
activesupport (>= 5.0.0)
|
111
|
+
factory_bot_rails (6.2.0)
|
112
|
+
factory_bot (~> 6.2.0)
|
113
|
+
railties (>= 5.0.0)
|
114
|
+
ffi (1.15.3)
|
115
|
+
formatador (0.3.0)
|
116
|
+
globalid (1.0.0)
|
117
|
+
activesupport (>= 5.0)
|
118
|
+
guard (2.17.0)
|
102
119
|
formatador (>= 0.2.4)
|
103
120
|
listen (>= 2.7, < 4.0)
|
104
121
|
lumberjack (>= 1.0.12, < 2.0)
|
@@ -112,133 +129,133 @@ GEM
|
|
112
129
|
guard (~> 2.1)
|
113
130
|
guard-compat (~> 1.1)
|
114
131
|
rspec (>= 2.99.0, < 4.0)
|
115
|
-
i18n (1.
|
132
|
+
i18n (1.8.11)
|
116
133
|
concurrent-ruby (~> 1.0)
|
117
134
|
jaro_winkler (1.5.4)
|
118
|
-
json (2.
|
135
|
+
json (2.5.1)
|
119
136
|
json-schema (2.8.1)
|
120
137
|
addressable (>= 2.4)
|
121
138
|
jsonapi-renderer (0.2.2)
|
122
|
-
kaminari (1.2.
|
139
|
+
kaminari (1.2.2)
|
123
140
|
activesupport (>= 4.1.0)
|
124
|
-
kaminari-actionview (= 1.2.
|
125
|
-
kaminari-activerecord (= 1.2.
|
126
|
-
kaminari-core (= 1.2.
|
127
|
-
kaminari-actionview (1.2.
|
141
|
+
kaminari-actionview (= 1.2.2)
|
142
|
+
kaminari-activerecord (= 1.2.2)
|
143
|
+
kaminari-core (= 1.2.2)
|
144
|
+
kaminari-actionview (1.2.2)
|
128
145
|
actionview
|
129
|
-
kaminari-core (= 1.2.
|
130
|
-
kaminari-activerecord (1.2.
|
146
|
+
kaminari-core (= 1.2.2)
|
147
|
+
kaminari-activerecord (1.2.2)
|
131
148
|
activerecord
|
132
|
-
kaminari-core (= 1.2.
|
133
|
-
kaminari-core (1.2.
|
134
|
-
listen (3.1
|
135
|
-
rb-fsevent (~> 0.
|
136
|
-
rb-inotify (~> 0.9, >= 0.9.
|
137
|
-
|
138
|
-
loofah (2.4.0)
|
149
|
+
kaminari-core (= 1.2.2)
|
150
|
+
kaminari-core (1.2.2)
|
151
|
+
listen (3.5.1)
|
152
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
153
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
154
|
+
loofah (2.13.0)
|
139
155
|
crass (~> 1.0.2)
|
140
156
|
nokogiri (>= 1.5.9)
|
141
|
-
lumberjack (1.
|
157
|
+
lumberjack (1.2.8)
|
142
158
|
mail (2.7.1)
|
143
159
|
mini_mime (>= 0.1.1)
|
144
|
-
marcel (0.
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
mini_mime (1.0.2)
|
149
|
-
mini_portile2 (2.4.0)
|
150
|
-
minitest (5.11.3)
|
160
|
+
marcel (1.0.2)
|
161
|
+
method_source (1.0.0)
|
162
|
+
mini_mime (1.1.2)
|
163
|
+
minitest (5.15.0)
|
151
164
|
nenv (0.3.0)
|
152
|
-
nio4r (2.5.
|
153
|
-
nokogiri (1.
|
154
|
-
|
155
|
-
|
165
|
+
nio4r (2.5.8)
|
166
|
+
nokogiri (1.13.0-x86_64-darwin)
|
167
|
+
racc (~> 1.4)
|
168
|
+
nokogiri (1.13.0-x86_64-linux)
|
169
|
+
racc (~> 1.4)
|
170
|
+
notiffany (0.1.3)
|
156
171
|
nenv (~> 0.1)
|
157
172
|
shellany (~> 0.0)
|
158
173
|
orm_adapter (0.5.0)
|
159
|
-
parallel (1.
|
160
|
-
parser (
|
161
|
-
ast (~> 2.4.
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
coderay (~> 1.1.0)
|
167
|
-
method_source (~> 0.9.0)
|
174
|
+
parallel (1.20.1)
|
175
|
+
parser (3.0.1.1)
|
176
|
+
ast (~> 2.4.1)
|
177
|
+
powerpack (0.1.3)
|
178
|
+
pry (0.14.1)
|
179
|
+
coderay (~> 1.1)
|
180
|
+
method_source (~> 1.0)
|
168
181
|
pry-rails (0.3.9)
|
169
182
|
pry (>= 0.10.4)
|
170
|
-
psych (
|
171
|
-
public_suffix (4.0.
|
172
|
-
|
183
|
+
psych (4.0.1)
|
184
|
+
public_suffix (4.0.6)
|
185
|
+
racc (1.6.0)
|
186
|
+
rack (2.2.3)
|
173
187
|
rack-test (1.1.0)
|
174
188
|
rack (>= 1.0, < 3)
|
175
|
-
rails (
|
176
|
-
actioncable (=
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
189
|
+
rails (6.1.4.4)
|
190
|
+
actioncable (= 6.1.4.4)
|
191
|
+
actionmailbox (= 6.1.4.4)
|
192
|
+
actionmailer (= 6.1.4.4)
|
193
|
+
actionpack (= 6.1.4.4)
|
194
|
+
actiontext (= 6.1.4.4)
|
195
|
+
actionview (= 6.1.4.4)
|
196
|
+
activejob (= 6.1.4.4)
|
197
|
+
activemodel (= 6.1.4.4)
|
198
|
+
activerecord (= 6.1.4.4)
|
199
|
+
activestorage (= 6.1.4.4)
|
200
|
+
activesupport (= 6.1.4.4)
|
201
|
+
bundler (>= 1.15.0)
|
202
|
+
railties (= 6.1.4.4)
|
187
203
|
sprockets-rails (>= 2.0.0)
|
188
204
|
rails-dom-testing (2.0.3)
|
189
205
|
activesupport (>= 4.2.0)
|
190
206
|
nokogiri (>= 1.6)
|
191
|
-
rails-html-sanitizer (1.
|
192
|
-
loofah (~> 2.
|
193
|
-
railties (
|
194
|
-
actionpack (=
|
195
|
-
activesupport (=
|
207
|
+
rails-html-sanitizer (1.4.2)
|
208
|
+
loofah (~> 2.3)
|
209
|
+
railties (6.1.4.4)
|
210
|
+
actionpack (= 6.1.4.4)
|
211
|
+
activesupport (= 6.1.4.4)
|
196
212
|
method_source
|
197
|
-
rake (>= 0.
|
198
|
-
thor (
|
213
|
+
rake (>= 0.13)
|
214
|
+
thor (~> 1.0)
|
199
215
|
rainbow (3.0.0)
|
200
|
-
rake (13.0.
|
201
|
-
ransack (2.
|
202
|
-
activerecord (>= 5.2.
|
203
|
-
activesupport (>= 5.2.
|
216
|
+
rake (13.0.6)
|
217
|
+
ransack (2.5.0)
|
218
|
+
activerecord (>= 5.2.4)
|
219
|
+
activesupport (>= 5.2.4)
|
204
220
|
i18n
|
205
|
-
|
206
|
-
rb-
|
207
|
-
rb-inotify (0.10.0)
|
221
|
+
rb-fsevent (0.11.0)
|
222
|
+
rb-inotify (0.10.1)
|
208
223
|
ffi (~> 1.0)
|
209
224
|
responders (3.0.1)
|
210
225
|
actionpack (>= 5.0)
|
211
226
|
railties (>= 5.0)
|
212
|
-
rspec (3.
|
213
|
-
rspec-core (~> 3.
|
214
|
-
rspec-expectations (~> 3.
|
215
|
-
rspec-mocks (~> 3.
|
216
|
-
rspec-core (3.
|
217
|
-
rspec-support (~> 3.
|
218
|
-
rspec-expectations (3.
|
227
|
+
rspec (3.10.0)
|
228
|
+
rspec-core (~> 3.10.0)
|
229
|
+
rspec-expectations (~> 3.10.0)
|
230
|
+
rspec-mocks (~> 3.10.0)
|
231
|
+
rspec-core (3.10.1)
|
232
|
+
rspec-support (~> 3.10.0)
|
233
|
+
rspec-expectations (3.10.1)
|
219
234
|
diff-lcs (>= 1.2.0, < 2.0)
|
220
|
-
rspec-support (~> 3.
|
221
|
-
rspec-mocks (3.
|
235
|
+
rspec-support (~> 3.10.0)
|
236
|
+
rspec-mocks (3.10.2)
|
222
237
|
diff-lcs (>= 1.2.0, < 2.0)
|
223
|
-
rspec-support (~> 3.
|
224
|
-
rspec-rails (
|
225
|
-
actionpack (>=
|
226
|
-
activesupport (>=
|
227
|
-
railties (>=
|
228
|
-
rspec-core (~> 3.
|
229
|
-
rspec-expectations (~> 3.
|
230
|
-
rspec-mocks (~> 3.
|
231
|
-
rspec-support (~> 3.
|
232
|
-
rspec-support (3.
|
233
|
-
|
234
|
-
|
235
|
-
rswag-
|
236
|
-
|
238
|
+
rspec-support (~> 3.10.0)
|
239
|
+
rspec-rails (5.0.1)
|
240
|
+
actionpack (>= 5.2)
|
241
|
+
activesupport (>= 5.2)
|
242
|
+
railties (>= 5.2)
|
243
|
+
rspec-core (~> 3.10)
|
244
|
+
rspec-expectations (~> 3.10)
|
245
|
+
rspec-mocks (~> 3.10)
|
246
|
+
rspec-support (~> 3.10)
|
247
|
+
rspec-support (3.10.2)
|
248
|
+
rspec_junit_formatter (0.4.1)
|
249
|
+
rspec-core (>= 2, < 4, != 2.12.0)
|
250
|
+
rswag-api (2.5.1)
|
251
|
+
railties (>= 3.1, < 7.1)
|
252
|
+
rswag-specs (2.4.0)
|
253
|
+
activesupport (>= 3.1, < 7.0)
|
237
254
|
json-schema (~> 2.2)
|
238
|
-
railties (>= 3.1, <
|
239
|
-
rswag-ui (2.
|
240
|
-
actionpack (>= 3.1, <
|
241
|
-
railties (>= 3.1, <
|
255
|
+
railties (>= 3.1, < 7.0)
|
256
|
+
rswag-ui (2.5.1)
|
257
|
+
actionpack (>= 3.1, < 7.1)
|
258
|
+
railties (>= 3.1, < 7.1)
|
242
259
|
rubocop (0.65.0)
|
243
260
|
jaro_winkler (~> 1.5.1)
|
244
261
|
parallel (~> 1.10)
|
@@ -250,8 +267,7 @@ GEM
|
|
250
267
|
unicode-display_width (~> 1.4.0)
|
251
268
|
rubocop-rspec (1.35.0)
|
252
269
|
rubocop (>= 0.60.0)
|
253
|
-
ruby-progressbar (1.
|
254
|
-
ruby_dep (1.5.0)
|
270
|
+
ruby-progressbar (1.11.0)
|
255
271
|
shellany (0.0.1)
|
256
272
|
simple_token_authentication (1.17.0)
|
257
273
|
actionmailer (>= 3.2.6, < 7)
|
@@ -265,18 +281,19 @@ GEM
|
|
265
281
|
sprockets (4.0.2)
|
266
282
|
concurrent-ruby (~> 1.0)
|
267
283
|
rack (> 1, < 3)
|
268
|
-
sprockets-rails (3.
|
269
|
-
actionpack (>=
|
270
|
-
activesupport (>=
|
284
|
+
sprockets-rails (3.4.2)
|
285
|
+
actionpack (>= 5.2)
|
286
|
+
activesupport (>= 5.2)
|
271
287
|
sprockets (>= 3.0.0)
|
272
|
-
sqlite3 (1.
|
288
|
+
sqlite3 (1.4.2)
|
289
|
+
sync (0.5.0)
|
273
290
|
term-ansicolor (1.7.1)
|
274
291
|
tins (~> 1.0)
|
275
|
-
thor (
|
276
|
-
|
277
|
-
|
278
|
-
tzinfo (
|
279
|
-
|
292
|
+
thor (1.2.1)
|
293
|
+
tins (1.29.1)
|
294
|
+
sync
|
295
|
+
tzinfo (2.0.4)
|
296
|
+
concurrent-ruby (~> 1.0)
|
280
297
|
unicode-display_width (1.4.1)
|
281
298
|
versionist (1.7.0)
|
282
299
|
activesupport (>= 3)
|
@@ -284,15 +301,20 @@ GEM
|
|
284
301
|
yard (~> 0.9.11)
|
285
302
|
warden (1.2.9)
|
286
303
|
rack (>= 2.0.9)
|
287
|
-
|
304
|
+
webrick (1.7.0)
|
305
|
+
websocket-driver (0.7.5)
|
288
306
|
websocket-extensions (>= 0.1.0)
|
289
307
|
websocket-extensions (0.1.5)
|
290
|
-
yard (0.9.
|
308
|
+
yard (0.9.27)
|
309
|
+
webrick (~> 1.7.0)
|
310
|
+
zeitwerk (2.5.3)
|
291
311
|
|
292
312
|
PLATFORMS
|
293
|
-
|
313
|
+
x86_64-darwin-20
|
314
|
+
x86_64-linux
|
294
315
|
|
295
316
|
DEPENDENCIES
|
317
|
+
api-pagination (~> 4.8.2)
|
296
318
|
coveralls
|
297
319
|
factory_bot_rails
|
298
320
|
guard-rspec
|
@@ -300,10 +322,11 @@ DEPENDENCIES
|
|
300
322
|
pry
|
301
323
|
pry-rails
|
302
324
|
rspec-rails
|
325
|
+
rspec_junit_formatter
|
303
326
|
rswag-specs
|
304
327
|
rubocop (= 0.65.0)
|
305
328
|
rubocop-rspec
|
306
|
-
sqlite3 (~> 1.
|
329
|
+
sqlite3 (~> 1.4.2)
|
307
330
|
|
308
331
|
BUNDLED WITH
|
309
|
-
|
332
|
+
2.2.15
|