r2-oas 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +4 -0
- data/.rubocop.yml +6 -3
- data/.rubocop_todo.yml +33 -0
- data/.travis.yml +5 -3
- data/Appraisals +13 -0
- data/CHANGELOG.md +11 -0
- data/GEMSPEC.md +18 -22
- data/README.ja.md +61 -0
- data/README.md +60 -0
- data/devscript/all_support_ruby.sh +43 -0
- data/devscript/bundle_for_all_support_ruby.sh +31 -0
- data/devscript/rspec_for_all_support_ruby.sh +27 -0
- data/docs/_sidebar.md +2 -0
- data/docs/attention/if_clash.md +1 -3
- data/docs/trableshouting/runtime_error.md +44 -0
- data/gemfiles/ruby_2.3.3.gemfile +11 -0
- data/gemfiles/ruby_2.4.2.gemfile +11 -0
- data/gemfiles/ruby_2.5.8.gemfile +11 -0
- data/gemfiles/ruby_2.6.6.gemfile +11 -0
- data/gemfiles/ruby_2.7.1.gemfile +11 -0
- data/lib/r2-oas/deploy/client.rb +13 -1
- data/lib/r2-oas/schema/editor.rb +5 -1
- data/lib/r2-oas/schema/ui.rb +0 -1
- data/lib/r2-oas/version.rb +1 -1
- data/r2-oas.gemspec +9 -8
- metadata +53 -32
- data/Gemfile.lock +0 -224
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba83d46ef3c82522c969cdde703651d661245da9df0d232b5a1be7b709ac5a7c
|
4
|
+
data.tar.gz: f93c520a94b994941cdcf8ad958482bfd69657f7f39dd1af2da5f3f03f0d89af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0f096c893cfab491f15ef307bf731437f0790a3dc9d4ebb7c3f06ae4a77f6cfee4bc56914eb145a0c997ccd11b7d6ddc2bce707fbe8ffd0e3cca32f8c0f927c
|
7
|
+
data.tar.gz: 163f8f551d87826b60a712fd9c0d6ff8011a6cf553d9e279e9bc224a431a8527ab3b27ac9534bc7ac83075bcc9eb756785b560e49db80df99d61a1a31ecb5056
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
data/.rubocop_todo.yml
CHANGED
@@ -247,3 +247,36 @@ Lint/UselessAssignment:
|
|
247
247
|
|
248
248
|
Style/NestedParenthesizedCalls:
|
249
249
|
Enabled: false
|
250
|
+
|
251
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
252
|
+
Enabled: false
|
253
|
+
|
254
|
+
Layout/SpaceAroundMethodCallOperator:
|
255
|
+
Enabled: false
|
256
|
+
|
257
|
+
Lint/DeprecatedOpenSSLConstant:
|
258
|
+
Enabled: false
|
259
|
+
|
260
|
+
Lint/RaiseException:
|
261
|
+
Enabled: false
|
262
|
+
|
263
|
+
Lint/StructNewOverride:
|
264
|
+
Enabled: false
|
265
|
+
|
266
|
+
Style/ExponentialNotation:
|
267
|
+
Enabled: false
|
268
|
+
|
269
|
+
Style/HashEachMethods:
|
270
|
+
Enabled: false
|
271
|
+
Style/HashTransformKeys:
|
272
|
+
Enabled: false
|
273
|
+
|
274
|
+
Style/HashTransformValues:
|
275
|
+
Enabled: false
|
276
|
+
|
277
|
+
Style/SlicingWithRange:
|
278
|
+
Enabled: false
|
279
|
+
|
280
|
+
Lint/NonDeterministicRequireOrder:
|
281
|
+
Exclude:
|
282
|
+
- "spec/spec_helper.rb"
|
data/.travis.yml
CHANGED
@@ -6,11 +6,13 @@ language: ruby
|
|
6
6
|
cache: bundler
|
7
7
|
|
8
8
|
rvm:
|
9
|
-
- 2.
|
9
|
+
- 2.3.3
|
10
|
+
- 2.4.2
|
10
11
|
- 2.5.7
|
11
12
|
- 2.6.5
|
13
|
+
- 2.7.1
|
12
14
|
|
13
|
-
before_install: gem install bundler
|
15
|
+
before_install: gem install bundler
|
14
16
|
|
15
17
|
gemfile:
|
16
18
|
- Gemfile
|
@@ -20,5 +22,5 @@ install:
|
|
20
22
|
- bundle install
|
21
23
|
|
22
24
|
script:
|
23
|
-
- bundle exec rubocop --fail-level=W
|
25
|
+
- ruby -e "if RUBY_VERSION >= '2.7'; system('bundle exec rubocop --fail-level=W'); end"
|
24
26
|
- bundle exec rspec spec --exclude-pattern "spec/r2-oas/tasks/tool_spec.rb,spec/r2-oas/tool/paths/stats_spec.rb"
|
data/Appraisals
ADDED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,16 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## v0.3.0
|
4
|
+
|
5
|
+
2020-05-30
|
6
|
+
|
7
|
+
- [`Feature/Breaking`] Support Ruby 2.7 🎉 ([931ec4b](https://github.com/yukihirop/r2-oas/pull/122))
|
8
|
+
|
9
|
+
- Remove `Gemfile.lock`
|
10
|
+
|
11
|
+
- [`Developer`] Create script to test all support ruby in development ([8d0df98](https://github.com/yukihirop/r2-oas/pull/124))
|
12
|
+
- [`Docs`] Add docs about Trableshouting ([f4a782f](https://github.com/yukihirop/r2-oas/pull/125))
|
13
|
+
|
3
14
|
## v0.2.0
|
4
15
|
|
5
16
|
2020-05-02
|
data/GEMSPEC.md
CHANGED
@@ -1,23 +1,19 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
$ bundle exec rake routes:oas:
|
15
|
-
$ bundle exec rake routes:oas:
|
16
|
-
$ bundle exec rake routes:oas:
|
17
|
-
|
18
|
-
|
19
|
-
$ bundle exec rake routes:oas:clean # clean
|
20
|
-
$ bundle exec rake routes:oas:analyze # analyze
|
21
|
-
$ bundle exec rake routes:oas:deploy # deploy
|
22
|
-
|
1
|
+
Configureless and no DSL. 👍 But you can also configure.
|
2
|
+
Loosely coupled to your Rails project. 👍
|
3
|
+
So If it doesn't, you can always stop easily. 😢
|
4
|
+
Generate api docment(OpenAPI) side only from `Rails` routing.
|
5
|
+
|
6
|
+
Provide rake tasks to management API Docment (OpenAPI) 🎉
|
7
|
+
|
8
|
+
|
9
|
+
$ bundle exec rake routes:oas:docs
|
10
|
+
$ bundle exec rake routes:oas:ui
|
11
|
+
$ bundle exec rake routes:oas:editor
|
12
|
+
$ bundle exec rake routes:oas:monitor
|
13
|
+
$ bundle exec rake routes:oas:dist
|
14
|
+
$ bundle exec rake routes:oas:clean
|
15
|
+
$ bundle exec rake routes:oas:analyze
|
16
|
+
$ bundle exec rake routes:oas:deploy
|
17
|
+
|
18
|
+
|
23
19
|
Happy Coding ❗️
|
data/README.ja.md
CHANGED
@@ -157,6 +157,67 @@ OpenAPIの3.0.0をサポートしてます。
|
|
157
157
|
|
158
158
|
公式ドキュメントはこちら => https://yukihirop.github.io/r2-oas/#/usage/use_hook_methods
|
159
159
|
|
160
|
+
|
161
|
+
## Bundle and Rspec with multiple ruby versions
|
162
|
+
|
163
|
+
#### Bundle
|
164
|
+
|
165
|
+
```bash
|
166
|
+
/bin/bash devscript/all_support_ruby.sh bundle
|
167
|
+
.
|
168
|
+
.
|
169
|
+
.
|
170
|
+
===== Bundle install for All Support Ruby Result =====
|
171
|
+
ruby-2.3.3: 0
|
172
|
+
ruby-2.4.2: 0
|
173
|
+
ruby-2.5.8: 0
|
174
|
+
ruby-2.6.6: 0
|
175
|
+
ruby-2.7.1: 0
|
176
|
+
======================================================
|
177
|
+
```
|
178
|
+
|
179
|
+
rubyのバージョンを `2.6.6` と `2.7.1` に指定する場合
|
180
|
+
|
181
|
+
```bash
|
182
|
+
/bin/bash devscript/all_support_ruby.sh bundle 2.6.6 2.7.1
|
183
|
+
.
|
184
|
+
.
|
185
|
+
.
|
186
|
+
===== Bundle install for All Support Ruby Result =====
|
187
|
+
ruby-2.6.6: 0
|
188
|
+
ruby-2.7.1: 0
|
189
|
+
======================================================
|
190
|
+
```
|
191
|
+
|
192
|
+
#### Rspec
|
193
|
+
|
194
|
+
```bash
|
195
|
+
/bin/bash devscript/all_support_ruby.sh rspec
|
196
|
+
.
|
197
|
+
.
|
198
|
+
.
|
199
|
+
===== Rspec for All Support Ruby Result =====
|
200
|
+
ruby-2.3.3: 0
|
201
|
+
ruby-2.4.2: 0
|
202
|
+
ruby-2.5.8: 0
|
203
|
+
ruby-2.6.6: 0
|
204
|
+
ruby-2.7.1: 0
|
205
|
+
=============================================
|
206
|
+
```
|
207
|
+
|
208
|
+
rubyのバージョンを `2.6.6` と `2.7.1` に指定する場合
|
209
|
+
|
210
|
+
```bash
|
211
|
+
/bin/bash devscript/all_support_ruby.sh rspec 2.6.6 2.7.1
|
212
|
+
.
|
213
|
+
.
|
214
|
+
.
|
215
|
+
===== Rspec for All Support Ruby Result =====
|
216
|
+
ruby-2.6.6: 0
|
217
|
+
ruby-2.7.1: 0
|
218
|
+
=============================================
|
219
|
+
```
|
220
|
+
|
160
221
|
## 🔩 CORS
|
161
222
|
|
162
223
|
[rack-cors](https://github.com/cyu/rack-cors)を使用する事でCORSを可能にします。
|
data/README.md
CHANGED
@@ -156,6 +156,66 @@ Supported hook(life cycle methods) is like this:
|
|
156
156
|
|
157
157
|
Full docs are available at https://yukihirop.github.io/r2-oas/#/usage/use_hook_methods
|
158
158
|
|
159
|
+
## Bundle and Rspec with multiple ruby versions
|
160
|
+
|
161
|
+
#### Bundle
|
162
|
+
|
163
|
+
```bash
|
164
|
+
/bin/bash devscript/all_support_ruby.sh bundle
|
165
|
+
.
|
166
|
+
.
|
167
|
+
.
|
168
|
+
===== Bundle install for All Support Ruby Result =====
|
169
|
+
ruby-2.3.3: 0
|
170
|
+
ruby-2.4.2: 0
|
171
|
+
ruby-2.5.8: 0
|
172
|
+
ruby-2.6.6: 0
|
173
|
+
ruby-2.7.1: 0
|
174
|
+
======================================================
|
175
|
+
```
|
176
|
+
|
177
|
+
If specify ruby version `2.6.6` and `2.7.1`
|
178
|
+
|
179
|
+
```bash
|
180
|
+
/bin/bash devscript/all_support_ruby.sh bundle 2.6.6 2.7.1
|
181
|
+
.
|
182
|
+
.
|
183
|
+
.
|
184
|
+
===== Bundle install for All Support Ruby Result =====
|
185
|
+
ruby-2.6.6: 0
|
186
|
+
ruby-2.7.1: 0
|
187
|
+
======================================================
|
188
|
+
```
|
189
|
+
|
190
|
+
#### Rspec
|
191
|
+
|
192
|
+
```bash
|
193
|
+
/bin/bash devscript/all_support_ruby.sh rspec
|
194
|
+
.
|
195
|
+
.
|
196
|
+
.
|
197
|
+
===== Rspec for All Support Ruby Result =====
|
198
|
+
ruby-2.3.3: 0
|
199
|
+
ruby-2.4.2: 0
|
200
|
+
ruby-2.5.8: 0
|
201
|
+
ruby-2.6.6: 0
|
202
|
+
ruby-2.7.1: 0
|
203
|
+
=============================================
|
204
|
+
```
|
205
|
+
|
206
|
+
If specify ruby version `2.6.6` and `2.7.1`
|
207
|
+
|
208
|
+
```bash
|
209
|
+
/bin/bash devscript/all_support_ruby.sh rspec 2.6.6 2.7.1
|
210
|
+
.
|
211
|
+
.
|
212
|
+
.
|
213
|
+
===== Rspec for All Support Ruby Result =====
|
214
|
+
ruby-2.6.6: 0
|
215
|
+
ruby-2.7.1: 0
|
216
|
+
=============================================
|
217
|
+
```
|
218
|
+
|
159
219
|
## 🔩 CORS
|
160
220
|
|
161
221
|
Use [rack-cors](https://github.com/cyu/rack-cors) to enable CORS.
|
@@ -0,0 +1,43 @@
|
|
1
|
+
#!/usr/local/bin/bash
|
2
|
+
|
3
|
+
if [ $# -eq 0 ]; then
|
4
|
+
echo "Please specify 'rspec' or 'bundle', 'list'"
|
5
|
+
exit 1
|
6
|
+
fi
|
7
|
+
|
8
|
+
# Check if rbenv is installed
|
9
|
+
which rbenv > /dev/null 2>&1 && if [ $? -ne 0 ]; then echo -e 'rbenv is need\nPlease install rbenv: https://github.com/rbenv/rbenv'; exit 1; fi
|
10
|
+
|
11
|
+
declare -a all_support_ruby=(
|
12
|
+
'2.3.3'
|
13
|
+
'2.4.2'
|
14
|
+
'2.5.8'
|
15
|
+
'2.6.6'
|
16
|
+
'2.7.1'
|
17
|
+
)
|
18
|
+
|
19
|
+
declare -a target_ruby
|
20
|
+
declare -a versions=${@:2:$#}
|
21
|
+
if [[ $# > 1 ]]; then
|
22
|
+
target_ruby=("${versions[@]}")
|
23
|
+
else
|
24
|
+
target_ruby=("${all_support_ruby[@]}")
|
25
|
+
fi
|
26
|
+
|
27
|
+
command=$1
|
28
|
+
case $command in
|
29
|
+
"bundle")
|
30
|
+
source "$(pwd)/devscript/bundle_for_all_support_ruby.sh" "${target_ruby[@]}";;
|
31
|
+
"rspec")
|
32
|
+
source "$(pwd)/devscript/rspec_for_all_support_ruby.sh" "${target_ruby[@]}";;
|
33
|
+
"list")
|
34
|
+
echo "===== Display All Support Ruby Version ====="
|
35
|
+
for version in "${target_ruby[@]}"; do
|
36
|
+
echo "${version}"
|
37
|
+
done
|
38
|
+
echo "============================================";;
|
39
|
+
*)
|
40
|
+
echo -n "Do not support command: ${command}\nPlease specify 'bundle' or 'rspec', 'list'"
|
41
|
+
exit 1;;
|
42
|
+
esac
|
43
|
+
|
@@ -0,0 +1,31 @@
|
|
1
|
+
#!/usr/local/bin/bash
|
2
|
+
|
3
|
+
# Bundle install each All Support Ruby
|
4
|
+
declare -a report
|
5
|
+
for version in $@; do
|
6
|
+
echo "== Bundle install for Ruby Version: ${version} =="
|
7
|
+
|
8
|
+
# Remove gemfile.lock
|
9
|
+
lockfile="./gemfiles/ruby_${version}.gemfile.lock"
|
10
|
+
if [[ -f $lockfile ]]; then rm $lockfile; fi
|
11
|
+
|
12
|
+
# Change Ruby Version
|
13
|
+
echo ${version} > ./.ruby-version && rbenv rehash
|
14
|
+
|
15
|
+
# Bundle install
|
16
|
+
if [[ $version == "2.3.3" ]]; then
|
17
|
+
BUNDLE_GEMFILE=./gemfiles/ruby_${version}.gemfile bundle _1.17.3_ install --path vendor/bundle && report+=("ruby-${version}: $?")
|
18
|
+
else
|
19
|
+
BUNDLE_GEMFILE=./gemfiles/ruby_${version}.gemfile bundle install --path vendor/bundle && report+=("ruby-${version}: $?")
|
20
|
+
fi
|
21
|
+
if [ $? -ne 0 ]; then report+=("ruby-${version}: 1 (failed)");fi
|
22
|
+
|
23
|
+
echo "== End for Ruby Version: ${version} =="
|
24
|
+
done
|
25
|
+
|
26
|
+
# Display report
|
27
|
+
echo "===== Bundle install for All Support Ruby Result ====="
|
28
|
+
for result in "${report[@]}"; do
|
29
|
+
echo $result
|
30
|
+
done
|
31
|
+
echo "======================================================"
|
@@ -0,0 +1,27 @@
|
|
1
|
+
#!/usr/local/bin/bash
|
2
|
+
|
3
|
+
# Rspec each All Support Ruby
|
4
|
+
declare -a report
|
5
|
+
for version in $@; do
|
6
|
+
echo "== Rspec for Ruby Version: ${version} =="
|
7
|
+
|
8
|
+
# Change Ruby Version
|
9
|
+
echo ${version} > ./.ruby-version && rbenv rehash
|
10
|
+
|
11
|
+
# Rspec
|
12
|
+
if [[ $version == "2.3.3" ]];then
|
13
|
+
BUNDLE_GEMFILE=./gemfiles/ruby_${version}.gemfile bundle _1.17.3_ exec rspec --format progress && report+=("ruby-${version}: $?")
|
14
|
+
else
|
15
|
+
BUNDLE_GEMFILE=./gemfiles/ruby_${version}.gemfile bundle exec rspec --format progress && report+=("ruby-${version}: $?")
|
16
|
+
fi
|
17
|
+
if [ $? -ne 0 ]; then report+=("ruby-${version}: 1 (failed)");fi
|
18
|
+
|
19
|
+
echo "== End for Ruby Version: ${version} =="
|
20
|
+
done
|
21
|
+
|
22
|
+
# Display report
|
23
|
+
echo "===== Rspec for All Support Ruby Result ====="
|
24
|
+
for result in "${report[@]}"; do
|
25
|
+
echo $result
|
26
|
+
done
|
27
|
+
echo "============================================="
|
data/docs/_sidebar.md
CHANGED
data/docs/attention/if_clash.md
CHANGED
@@ -1,8 +1,6 @@
|
|
1
1
|
# If clash
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
f you crash while Swagger Editor is running, you can execute the following command to reflect the editing status up to a few seconds before in the local file.
|
3
|
+
If you crash while Swagger Editor is running, you can execute the following command to reflect the editing status up to a few seconds before in the local file.
|
6
4
|
|
7
5
|
```bash
|
8
6
|
bundle exec rake routes:oas:analyze
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# Selenium::WebDriver::Error::SessionNotCreatedError
|
2
|
+
|
3
|
+
If you get the following error when running `oas:docs:editor`, the chromedriver may be old
|
4
|
+
|
5
|
+
```bash
|
6
|
+
rake aborted!
|
7
|
+
Selenium::WebDriver::Error::SessionNotCreatedError: session not created: This version of ChromeDriver only supports Chrome version 81
|
8
|
+
(Driver info: chromedriver=81.0.4044.69 (6813546031a4bc83f717a2ef7cd4ac6ec1199132-refs/branch-heads/4044@{#776}),platform=Mac OS X 10.14.3 x86_64)
|
9
|
+
/Users/yukihirop/RubyProjects/r2-oas/example-600/vendor/bundle/ruby/2.5.0/gems/selenium-webdriver-3.142.4/lib/selenium/webdriver/remote/response.rb:72:in `assert_ok'
|
10
|
+
/Users/yukihirop/RubyProjects/r2-oas/example-600/vendor/bundle/ruby/2.5.0/gems/selenium-webdriver-3.142.4/lib/selenium/webdriver/remote/response.rb:34:in `initialize'
|
11
|
+
/Users/yukihirop/RubyProjects/r2-oas/example-600/vendor/bundle/ruby/2.5.0/gems/selenium-webdriver-3.142.4/lib/selenium/webdriver/remote/http/common.rb:88:in `new'
|
12
|
+
/Users/yukihirop/RubyProjects/r2-oas/example-600/vendor/bundle/ruby/2.5.0/gems/selenium-webdriver-3.142.4/lib/selenium/webdriver/remote/http/common.rb:88:in `create_response'
|
13
|
+
/Users/yukihirop/RubyProjects/r2-oas/example-600/vendor/bundle/ruby/2.5.0/gems/selenium-webdriver-3.142.4/lib/selenium/webdriver/remote/http/default.rb:114:in `request'
|
14
|
+
/Users/yukihirop/RubyProjects/r2-oas/example-600/vendor/bundle/ruby/2.5.0/gems/selenium-webdriver-3.142.4/lib/selenium/webdriver/remote/http/common.rb:64:in `call'
|
15
|
+
/Users/yukihirop/RubyProjects/r2-oas/example-600/vendor/bundle/ruby/2.5.0/gems/selenium-webdriver-3.142.4/lib/selenium/webdriver/remote/bridge.rb:167:in `execute'
|
16
|
+
/Users/yukihirop/RubyProjects/r2-oas/example-600/vendor/bundle/ruby/2.5.0/gems/selenium-webdriver-3.142.4/lib/selenium/webdriver/remote/bridge.rb:102:in `create_session'
|
17
|
+
/Users/yukihirop/RubyProjects/r2-oas/example-600/vendor/bundle/ruby/2.5.0/gems/selenium-webdriver-3.142.4/lib/selenium/webdriver/remote/bridge.rb:56:in `handshake'
|
18
|
+
/Users/yukihirop/RubyProjects/r2-oas/example-600/vendor/bundle/ruby/2.5.0/gems/selenium-webdriver-3.142.4/lib/selenium/webdriver/chrome/driver.rb:43:in `initialize'
|
19
|
+
/Users/yukihirop/RubyProjects/r2-oas/example-600/vendor/bundle/ruby/2.5.0/gems/selenium-webdriver-3.142.4/lib/selenium/webdriver/common/driver.rb:46:in `new'
|
20
|
+
/Users/yukihirop/RubyProjects/r2-oas/example-600/vendor/bundle/ruby/2.5.0/gems/selenium-webdriver-3.142.4/lib/selenium/webdriver/common/driver.rb:46:in `for'
|
21
|
+
/Users/yukihirop/RubyProjects/r2-oas/example-600/vendor/bundle/ruby/2.5.0/gems/selenium-webdriver-3.142.4/lib/selenium/webdriver.rb:88:in `for'
|
22
|
+
/Users/yukihirop/RubyProjects/r2-oas/example-600/vendor/bundle/ruby/2.5.0/gems/watir-6.16.5/lib/watir/browser.rb:46:in `initialize'
|
23
|
+
/Users/yukihirop/RubyProjects/r2-oas/lib/r2-oas/schema/editor.rb:110:in `new'
|
24
|
+
/Users/yukihirop/RubyProjects/r2-oas/lib/r2-oas/schema/editor.rb:110:in `open_browser_and_set_schema'
|
25
|
+
/Users/yukihirop/RubyProjects/r2-oas/lib/r2-oas/schema/editor.rb:37:in `block in start'
|
26
|
+
/Users/yukihirop/RubyProjects/r2-oas/example-600/vendor/bundle/ruby/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run_machine'
|
27
|
+
/Users/yukihirop/RubyProjects/r2-oas/example-600/vendor/bundle/ruby/2.5.0/gems/eventmachine-1.2.7/lib/eventmachine.rb:195:in `run'
|
28
|
+
/Users/yukihirop/RubyProjects/r2-oas/lib/r2-oas/schema/editor.rb:35:in `start'
|
29
|
+
/Users/yukihirop/RubyProjects/r2-oas/lib/r2-oas/tasks/main.rake:53:in `block (4 levels) in <top (required)>'
|
30
|
+
/Users/yukihirop/RubyProjects/r2-oas/lib/r2-oas/task_logging.rb:25:in `start'
|
31
|
+
/Users/yukihirop/RubyProjects/r2-oas/lib/r2-oas/tasks/main.rake:45:in `block (3 levels) in <top (required)>'
|
32
|
+
/Users/yukihirop/RubyProjects/r2-oas/lib/r2-oas/task_logging.rb:11:in `block in task'
|
33
|
+
/Users/yukihirop/RubyProjects/r2-oas/example-600/vendor/bundle/ruby/2.5.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
|
34
|
+
/Users/yukihirop/.rbenv/versions/2.5.3/bin/bundle:23:in `load'
|
35
|
+
/Users/yukihirop/.rbenv/versions/2.5.3/bin/bundle:23:in `<main>'
|
36
|
+
Tasks: TOP => routes:oas:editor
|
37
|
+
(See full trace by running task with --trace)
|
38
|
+
```
|
39
|
+
|
40
|
+
The solution is as follows
|
41
|
+
|
42
|
+
```bash
|
43
|
+
brew cask upgrade chromedriver
|
44
|
+
```
|
data/lib/r2-oas/deploy/client.rb
CHANGED
@@ -29,7 +29,7 @@ module R2OAS
|
|
29
29
|
@schema_file_path = doc_save_file_name
|
30
30
|
template_path = File.expand_path('swagger-ui/index.html.erb', __dir__)
|
31
31
|
template = File.read(template_path)
|
32
|
-
index =
|
32
|
+
index = make_index(template)
|
33
33
|
File.write(index_path, index)
|
34
34
|
end
|
35
35
|
|
@@ -38,6 +38,18 @@ module R2OAS
|
|
38
38
|
oas_doc_file_path = File.expand_path("#{root_dir_path}/#{doc_save_file_name}")
|
39
39
|
FileUtils.cp_r(oas_doc_file_path, swagger_file_path)
|
40
40
|
end
|
41
|
+
|
42
|
+
# [ref]
|
43
|
+
# https://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Lint/ErbNewArguments
|
44
|
+
def make_index(template)
|
45
|
+
if RUBY_VERSION >= '2.6'
|
46
|
+
ERB.new(template, trim_mode: '%').result(binding)
|
47
|
+
else
|
48
|
+
# rubocop:disable Lint/ErbNewArguments
|
49
|
+
ERB.new(template, nil, trim_mode: '%').result(binding)
|
50
|
+
# rubocop:enable Lint/ErbNewArguments
|
51
|
+
end
|
52
|
+
end
|
41
53
|
end
|
42
54
|
end
|
43
55
|
end
|
data/lib/r2-oas/schema/editor.rb
CHANGED
@@ -5,7 +5,6 @@ require 'eventmachine'
|
|
5
5
|
require 'watir'
|
6
6
|
require 'tempfile'
|
7
7
|
require 'fileutils'
|
8
|
-
require 'shell'
|
9
8
|
require 'forwardable'
|
10
9
|
|
11
10
|
# Can't use ActiveSupport::Autroload
|
@@ -73,6 +72,10 @@ module R2OAS
|
|
73
72
|
analyzer.analyze_docs
|
74
73
|
end
|
75
74
|
|
75
|
+
# MEMO
|
76
|
+
# TargetRubyVersion is 2.7 and there is a warning
|
77
|
+
# Because it is necessary to support from ruby2.3 series where begin cannot be omitted
|
78
|
+
# rubocop:disable Style/RedundantBegin
|
76
79
|
def ensure_save_tmp_schema_file
|
77
80
|
EM.add_periodic_timer(interval_to_save_edited_tmp_schema) do
|
78
81
|
m = Mutex.new
|
@@ -90,6 +93,7 @@ module R2OAS
|
|
90
93
|
end
|
91
94
|
end
|
92
95
|
end
|
96
|
+
# rubocop:enable Style/RedundantBegin
|
93
97
|
|
94
98
|
def save_after_fetch_local_strage
|
95
99
|
@after_schema_data = @browser.driver.local_storage[storage_key] || @after_schema_data
|
data/lib/r2-oas/schema/ui.rb
CHANGED
data/lib/r2-oas/version.rb
CHANGED
data/r2-oas.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
spec.email = ['te108186@gmail.com']
|
12
12
|
|
13
13
|
spec.summary = 'Provide rake tasks to management API Docment (OpenAPI)'
|
14
|
-
spec.description = %Q{#{IO.read('GEMSPEC.md')}}
|
14
|
+
spec.description = %Q{== Let's intuitively write API documentation with Swagger Editor in your Rails Project! 😊\n#{IO.read('GEMSPEC.md')}}
|
15
15
|
|
16
16
|
spec.homepage = 'https://github.com/yukihirop/r2-oas'
|
17
17
|
spec.license = 'MIT'
|
@@ -32,18 +32,19 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.require_paths = ['lib']
|
33
33
|
spec.required_ruby_version = Gem::Requirement.new('>= 2.3.3p222')
|
34
34
|
|
35
|
-
spec.add_runtime_dependency 'docker-api', '
|
36
|
-
spec.add_runtime_dependency 'easy_diff', '
|
37
|
-
spec.add_runtime_dependency 'eventmachine', '
|
38
|
-
spec.add_runtime_dependency 'key_flatten', '
|
35
|
+
spec.add_runtime_dependency 'docker-api', '>= 1.34.2'
|
36
|
+
spec.add_runtime_dependency 'easy_diff', '>= 1.0.0'
|
37
|
+
spec.add_runtime_dependency 'eventmachine', '>= 1.2.0'
|
38
|
+
spec.add_runtime_dependency 'key_flatten', '>= 1.0.0'
|
39
39
|
spec.add_runtime_dependency 'paint'
|
40
40
|
spec.add_runtime_dependency 'rails', '>= 4.2.5'
|
41
|
-
spec.add_runtime_dependency 'terminal-table', '
|
42
|
-
spec.add_runtime_dependency 'watir', '
|
43
|
-
spec.add_development_dependency 'bundler', '
|
41
|
+
spec.add_runtime_dependency 'terminal-table', '>= 1.6.0'
|
42
|
+
spec.add_runtime_dependency 'watir', '>= 6.16.5'
|
43
|
+
spec.add_development_dependency 'bundler', '>= 1.17'
|
44
44
|
spec.add_development_dependency 'coveralls'
|
45
45
|
spec.add_development_dependency 'pry'
|
46
46
|
spec.add_development_dependency 'rake', '~> 13.0'
|
47
47
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
48
48
|
spec.add_development_dependency 'rubocop'
|
49
|
+
spec.add_development_dependency 'appraisal'
|
49
50
|
end
|
metadata
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: r2-oas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yukihirop
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docker-api
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 1.34.2
|
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
26
|
version: 1.34.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: easy_diff
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 1.0.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 1.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: eventmachine
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 1.2.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 1.2.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: key_flatten
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 1.0.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 1.0.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
@@ -98,42 +98,42 @@ dependencies:
|
|
98
98
|
name: terminal-table
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: 1.6.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - ">="
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 1.6.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: watir
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
|
-
- - "
|
115
|
+
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: 6.16.5
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
|
-
- - "
|
122
|
+
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: 6.16.5
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: bundler
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
|
-
- - "
|
129
|
+
- - ">="
|
130
130
|
- !ruby/object:Gem::Version
|
131
131
|
version: '1.17'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
|
-
- - "
|
136
|
+
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '1.17'
|
139
139
|
- !ruby/object:Gem::Dependency
|
@@ -206,17 +206,30 @@ dependencies:
|
|
206
206
|
- - ">="
|
207
207
|
- !ruby/object:Gem::Version
|
208
208
|
version: '0'
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: appraisal
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ">="
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
description: "== Let's intuitively write API documentation with Swagger Editor in
|
224
|
+
your Rails Project! \U0001F60A\nConfigureless and no DSL. \U0001F44D But you can
|
225
|
+
also configure. \nLoosely coupled to your Rails project. \U0001F44D \nSo If it
|
226
|
+
doesn't, you can always stop easily. \U0001F622 \nGenerate api docment(OpenAPI)
|
227
|
+
side only from `Rails` routing. \n \nProvide rake tasks to management API Docment
|
228
|
+
(OpenAPI) \U0001F389 \n \n\n $ bundle exec rake routes:oas:docs\n $ bundle
|
229
|
+
exec rake routes:oas:ui\n $ bundle exec rake routes:oas:editor\n $ bundle
|
230
|
+
exec rake routes:oas:monitor\n $ bundle exec rake routes:oas:dist\n $ bundle
|
231
|
+
exec rake routes:oas:clean\n $ bundle exec rake routes:oas:analyze\n $ bundle
|
232
|
+
exec rake routes:oas:deploy\n\n \nHappy Coding ❗️\n"
|
220
233
|
email:
|
221
234
|
- te108186@gmail.com
|
222
235
|
executables: []
|
@@ -230,17 +243,20 @@ files:
|
|
230
243
|
- ".rubocop.yml"
|
231
244
|
- ".rubocop_todo.yml"
|
232
245
|
- ".travis.yml"
|
246
|
+
- Appraisals
|
233
247
|
- CHANGELOG.md
|
234
248
|
- CODE_OF_CONDUCT.md
|
235
249
|
- GEMSPEC.md
|
236
250
|
- Gemfile
|
237
|
-
- Gemfile.lock
|
238
251
|
- LICENSE.txt
|
239
252
|
- README.ja.md
|
240
253
|
- README.md
|
241
254
|
- Rakefile
|
242
255
|
- bin/console
|
243
256
|
- bin/setup
|
257
|
+
- devscript/all_support_ruby.sh
|
258
|
+
- devscript/bundle_for_all_support_ruby.sh
|
259
|
+
- devscript/rspec_for_all_support_ruby.sh
|
244
260
|
- docs/.nojekyll
|
245
261
|
- docs/README.md
|
246
262
|
- docs/_sidebar.md
|
@@ -250,6 +266,7 @@ files:
|
|
250
266
|
- docs/setting/COC.md
|
251
267
|
- docs/setting/CORS.md
|
252
268
|
- docs/setting/configure.md
|
269
|
+
- docs/trableshouting/runtime_error.md
|
253
270
|
- docs/usage/analyze_docs.md
|
254
271
|
- docs/usage/clean_docs.md
|
255
272
|
- docs/usage/deploy_docs.md
|
@@ -263,6 +280,11 @@ files:
|
|
263
280
|
- docs/usage/use_schema_namespace.md
|
264
281
|
- docs/usage/use_tag_namespace.md
|
265
282
|
- docs/usage/view_docs.md
|
283
|
+
- gemfiles/ruby_2.3.3.gemfile
|
284
|
+
- gemfiles/ruby_2.4.2.gemfile
|
285
|
+
- gemfiles/ruby_2.5.8.gemfile
|
286
|
+
- gemfiles/ruby_2.6.6.gemfile
|
287
|
+
- gemfiles/ruby_2.7.1.gemfile
|
266
288
|
- lib/r2-oas.rb
|
267
289
|
- lib/r2-oas/app_configuration.rb
|
268
290
|
- lib/r2-oas/app_configuration/server.rb
|
@@ -379,9 +401,9 @@ licenses:
|
|
379
401
|
- MIT
|
380
402
|
metadata:
|
381
403
|
bug_tracker_uri: https://github.com/yukihirop/r2-oas/issues
|
382
|
-
changelog_uri: https://github.com/yukihirop/r2-oas/blob/v0.
|
404
|
+
changelog_uri: https://github.com/yukihirop/r2-oas/blob/v0.3.0/CHANGELOG.md
|
383
405
|
documentation_uri: https://yukihirop.github.io/r2-oas
|
384
|
-
source_code_uri: https://github.com/yukihirop/r2-oas/tree/v0.
|
406
|
+
source_code_uri: https://github.com/yukihirop/r2-oas/tree/v0.3.0
|
385
407
|
post_install_message:
|
386
408
|
rdoc_options: []
|
387
409
|
require_paths:
|
@@ -397,8 +419,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
397
419
|
- !ruby/object:Gem::Version
|
398
420
|
version: '0'
|
399
421
|
requirements: []
|
400
|
-
|
401
|
-
rubygems_version: 2.7.6
|
422
|
+
rubygems_version: 3.1.2
|
402
423
|
signing_key:
|
403
424
|
specification_version: 4
|
404
425
|
summary: Provide rake tasks to management API Docment (OpenAPI)
|
data/Gemfile.lock
DELETED
@@ -1,224 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
r2-oas (0.2.0)
|
5
|
-
docker-api (~> 1.34.2)
|
6
|
-
easy_diff (~> 1.0.0)
|
7
|
-
eventmachine (~> 1.2.0)
|
8
|
-
key_flatten (~> 1.0.0)
|
9
|
-
paint
|
10
|
-
rails (>= 4.2.5)
|
11
|
-
terminal-table (~> 1.6.0)
|
12
|
-
watir (~> 6.16.5)
|
13
|
-
|
14
|
-
GEM
|
15
|
-
remote: https://rubygems.org/
|
16
|
-
specs:
|
17
|
-
actioncable (6.0.2.2)
|
18
|
-
actionpack (= 6.0.2.2)
|
19
|
-
nio4r (~> 2.0)
|
20
|
-
websocket-driver (>= 0.6.1)
|
21
|
-
actionmailbox (6.0.2.2)
|
22
|
-
actionpack (= 6.0.2.2)
|
23
|
-
activejob (= 6.0.2.2)
|
24
|
-
activerecord (= 6.0.2.2)
|
25
|
-
activestorage (= 6.0.2.2)
|
26
|
-
activesupport (= 6.0.2.2)
|
27
|
-
mail (>= 2.7.1)
|
28
|
-
actionmailer (6.0.2.2)
|
29
|
-
actionpack (= 6.0.2.2)
|
30
|
-
actionview (= 6.0.2.2)
|
31
|
-
activejob (= 6.0.2.2)
|
32
|
-
mail (~> 2.5, >= 2.5.4)
|
33
|
-
rails-dom-testing (~> 2.0)
|
34
|
-
actionpack (6.0.2.2)
|
35
|
-
actionview (= 6.0.2.2)
|
36
|
-
activesupport (= 6.0.2.2)
|
37
|
-
rack (~> 2.0, >= 2.0.8)
|
38
|
-
rack-test (>= 0.6.3)
|
39
|
-
rails-dom-testing (~> 2.0)
|
40
|
-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
41
|
-
actiontext (6.0.2.2)
|
42
|
-
actionpack (= 6.0.2.2)
|
43
|
-
activerecord (= 6.0.2.2)
|
44
|
-
activestorage (= 6.0.2.2)
|
45
|
-
activesupport (= 6.0.2.2)
|
46
|
-
nokogiri (>= 1.8.5)
|
47
|
-
actionview (6.0.2.2)
|
48
|
-
activesupport (= 6.0.2.2)
|
49
|
-
builder (~> 3.1)
|
50
|
-
erubi (~> 1.4)
|
51
|
-
rails-dom-testing (~> 2.0)
|
52
|
-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
53
|
-
activejob (6.0.2.2)
|
54
|
-
activesupport (= 6.0.2.2)
|
55
|
-
globalid (>= 0.3.6)
|
56
|
-
activemodel (6.0.2.2)
|
57
|
-
activesupport (= 6.0.2.2)
|
58
|
-
activerecord (6.0.2.2)
|
59
|
-
activemodel (= 6.0.2.2)
|
60
|
-
activesupport (= 6.0.2.2)
|
61
|
-
activestorage (6.0.2.2)
|
62
|
-
actionpack (= 6.0.2.2)
|
63
|
-
activejob (= 6.0.2.2)
|
64
|
-
activerecord (= 6.0.2.2)
|
65
|
-
marcel (~> 0.3.1)
|
66
|
-
activesupport (6.0.2.2)
|
67
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
68
|
-
i18n (>= 0.7, < 2)
|
69
|
-
minitest (~> 5.1)
|
70
|
-
tzinfo (~> 1.1)
|
71
|
-
zeitwerk (~> 2.2)
|
72
|
-
ast (2.4.0)
|
73
|
-
builder (3.2.4)
|
74
|
-
childprocess (3.0.0)
|
75
|
-
coderay (1.1.2)
|
76
|
-
concurrent-ruby (1.1.6)
|
77
|
-
coveralls (0.8.23)
|
78
|
-
json (>= 1.8, < 3)
|
79
|
-
simplecov (~> 0.16.1)
|
80
|
-
term-ansicolor (~> 1.3)
|
81
|
-
thor (>= 0.19.4, < 2.0)
|
82
|
-
tins (~> 1.6)
|
83
|
-
crass (1.0.6)
|
84
|
-
diff-lcs (1.3)
|
85
|
-
docile (1.3.2)
|
86
|
-
docker-api (1.34.2)
|
87
|
-
excon (>= 0.47.0)
|
88
|
-
multi_json
|
89
|
-
easy_diff (1.0.0)
|
90
|
-
erubi (1.9.0)
|
91
|
-
eventmachine (1.2.7)
|
92
|
-
excon (0.73.0)
|
93
|
-
globalid (0.4.2)
|
94
|
-
activesupport (>= 4.2.0)
|
95
|
-
i18n (1.8.2)
|
96
|
-
concurrent-ruby (~> 1.0)
|
97
|
-
jaro_winkler (1.5.3)
|
98
|
-
json (2.2.0)
|
99
|
-
key_flatten (1.0.0)
|
100
|
-
loofah (2.5.0)
|
101
|
-
crass (~> 1.0.2)
|
102
|
-
nokogiri (>= 1.5.9)
|
103
|
-
mail (2.7.1)
|
104
|
-
mini_mime (>= 0.1.1)
|
105
|
-
marcel (0.3.3)
|
106
|
-
mimemagic (~> 0.3.2)
|
107
|
-
method_source (0.9.2)
|
108
|
-
mimemagic (0.3.4)
|
109
|
-
mini_mime (1.0.2)
|
110
|
-
mini_portile2 (2.4.0)
|
111
|
-
minitest (5.14.0)
|
112
|
-
multi_json (1.14.1)
|
113
|
-
nio4r (2.5.2)
|
114
|
-
nokogiri (1.10.9)
|
115
|
-
mini_portile2 (~> 2.4.0)
|
116
|
-
paint (2.2.0)
|
117
|
-
parallel (1.17.0)
|
118
|
-
parser (2.6.3.0)
|
119
|
-
ast (~> 2.4.0)
|
120
|
-
pry (0.12.2)
|
121
|
-
coderay (~> 1.1.0)
|
122
|
-
method_source (~> 0.9.0)
|
123
|
-
rack (2.2.2)
|
124
|
-
rack-test (1.1.0)
|
125
|
-
rack (>= 1.0, < 3)
|
126
|
-
rails (6.0.2.2)
|
127
|
-
actioncable (= 6.0.2.2)
|
128
|
-
actionmailbox (= 6.0.2.2)
|
129
|
-
actionmailer (= 6.0.2.2)
|
130
|
-
actionpack (= 6.0.2.2)
|
131
|
-
actiontext (= 6.0.2.2)
|
132
|
-
actionview (= 6.0.2.2)
|
133
|
-
activejob (= 6.0.2.2)
|
134
|
-
activemodel (= 6.0.2.2)
|
135
|
-
activerecord (= 6.0.2.2)
|
136
|
-
activestorage (= 6.0.2.2)
|
137
|
-
activesupport (= 6.0.2.2)
|
138
|
-
bundler (>= 1.3.0)
|
139
|
-
railties (= 6.0.2.2)
|
140
|
-
sprockets-rails (>= 2.0.0)
|
141
|
-
rails-dom-testing (2.0.3)
|
142
|
-
activesupport (>= 4.2.0)
|
143
|
-
nokogiri (>= 1.6)
|
144
|
-
rails-html-sanitizer (1.3.0)
|
145
|
-
loofah (~> 2.3)
|
146
|
-
railties (6.0.2.2)
|
147
|
-
actionpack (= 6.0.2.2)
|
148
|
-
activesupport (= 6.0.2.2)
|
149
|
-
method_source
|
150
|
-
rake (>= 0.8.7)
|
151
|
-
thor (>= 0.20.3, < 2.0)
|
152
|
-
rainbow (3.0.0)
|
153
|
-
rake (13.0.1)
|
154
|
-
regexp_parser (1.7.0)
|
155
|
-
rspec (3.8.0)
|
156
|
-
rspec-core (~> 3.8.0)
|
157
|
-
rspec-expectations (~> 3.8.0)
|
158
|
-
rspec-mocks (~> 3.8.0)
|
159
|
-
rspec-core (3.8.0)
|
160
|
-
rspec-support (~> 3.8.0)
|
161
|
-
rspec-expectations (3.8.2)
|
162
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
163
|
-
rspec-support (~> 3.8.0)
|
164
|
-
rspec-mocks (3.8.0)
|
165
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
166
|
-
rspec-support (~> 3.8.0)
|
167
|
-
rspec-support (3.8.0)
|
168
|
-
rubocop (0.72.0)
|
169
|
-
jaro_winkler (~> 1.5.1)
|
170
|
-
parallel (~> 1.10)
|
171
|
-
parser (>= 2.6)
|
172
|
-
rainbow (>= 2.2.2, < 4.0)
|
173
|
-
ruby-progressbar (~> 1.7)
|
174
|
-
unicode-display_width (>= 1.4.0, < 1.7)
|
175
|
-
ruby-progressbar (1.10.1)
|
176
|
-
rubyzip (2.3.0)
|
177
|
-
selenium-webdriver (3.142.7)
|
178
|
-
childprocess (>= 0.5, < 4.0)
|
179
|
-
rubyzip (>= 1.2.2)
|
180
|
-
simplecov (0.16.1)
|
181
|
-
docile (~> 1.1)
|
182
|
-
json (>= 1.8, < 3)
|
183
|
-
simplecov-html (~> 0.10.0)
|
184
|
-
simplecov-html (0.10.2)
|
185
|
-
sprockets (4.0.0)
|
186
|
-
concurrent-ruby (~> 1.0)
|
187
|
-
rack (> 1, < 3)
|
188
|
-
sprockets-rails (3.2.1)
|
189
|
-
actionpack (>= 4.0)
|
190
|
-
activesupport (>= 4.0)
|
191
|
-
sprockets (>= 3.0.0)
|
192
|
-
sqlite3 (1.4.1)
|
193
|
-
term-ansicolor (1.7.1)
|
194
|
-
tins (~> 1.0)
|
195
|
-
terminal-table (1.6.0)
|
196
|
-
thor (1.0.1)
|
197
|
-
thread_safe (0.3.6)
|
198
|
-
tins (1.21.1)
|
199
|
-
tzinfo (1.2.7)
|
200
|
-
thread_safe (~> 0.1)
|
201
|
-
unicode-display_width (1.6.0)
|
202
|
-
watir (6.16.5)
|
203
|
-
regexp_parser (~> 1.2)
|
204
|
-
selenium-webdriver (~> 3.6)
|
205
|
-
websocket-driver (0.7.1)
|
206
|
-
websocket-extensions (>= 0.1.0)
|
207
|
-
websocket-extensions (0.1.4)
|
208
|
-
zeitwerk (2.3.0)
|
209
|
-
|
210
|
-
PLATFORMS
|
211
|
-
ruby
|
212
|
-
|
213
|
-
DEPENDENCIES
|
214
|
-
bundler (~> 1.17)
|
215
|
-
coveralls
|
216
|
-
pry
|
217
|
-
r2-oas!
|
218
|
-
rake (~> 13.0)
|
219
|
-
rspec (~> 3.0)
|
220
|
-
rubocop
|
221
|
-
sqlite3
|
222
|
-
|
223
|
-
BUNDLED WITH
|
224
|
-
1.17.3
|