swagger_api 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +0 -6
- data/Gemfile.lock +1 -1
- data/lib/swagger_api/paths.rb +2 -2
- data/lib/swagger_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e00104b5ea4340acf33493926f29f4b10bce14d9
|
4
|
+
data.tar.gz: c4d957acb06ab75a4bbb206b6dc98736720826f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cd3bc322c9fb8cf9a2ef854735331f422eb15f554a49cb15e8ab00cbec43144cf150ce27e48a08788bf64201aaa9d9d64fa06fa62b63cbf5aefc924beeca384
|
7
|
+
data.tar.gz: 0d83dbe2ac70ecafdee3fc7d4c43b8b2e98f00bc7512f6838db203ef8297639450592b8e2d0002aa0e49a3d44ac0ec5f0704e40b463c28d22ba2295d42e3d530
|
data/.gitlab-ci.yml
CHANGED
@@ -7,8 +7,6 @@ code_quality:
|
|
7
7
|
retry: 2
|
8
8
|
stage: build
|
9
9
|
image: docker:stable
|
10
|
-
tags:
|
11
|
-
- kube-runner
|
12
10
|
variables:
|
13
11
|
DOCKER_DRIVER: overlay2
|
14
12
|
services:
|
@@ -48,8 +46,6 @@ rspec:
|
|
48
46
|
codequality-verify:
|
49
47
|
retry: 2
|
50
48
|
image: ruby:2.5.1
|
51
|
-
tags:
|
52
|
-
- kube-runner
|
53
49
|
script:
|
54
50
|
- ruby -r json -r yaml -e "puts JSON.parse(File.open('gl-code-quality-report.json', 'r', &:read)).to_yaml"
|
55
51
|
- "! grep fingerprint gl-code-quality-report.json > /dev/null 2>&1"
|
@@ -57,8 +53,6 @@ codequality-verify:
|
|
57
53
|
release:
|
58
54
|
stage: deploy
|
59
55
|
image: ruby:2.3.1
|
60
|
-
tags:
|
61
|
-
- kube-runner
|
62
56
|
before_script:
|
63
57
|
- git config --global user.email dev@fullmeasureed.com
|
64
58
|
- git config --global user.name fme-ci
|
data/Gemfile.lock
CHANGED
data/lib/swagger_api/paths.rb
CHANGED
@@ -54,8 +54,8 @@ module SwaggerApi
|
|
54
54
|
end
|
55
55
|
|
56
56
|
def clean_out_delete_path(paths, controller)
|
57
|
-
paths
|
58
|
-
paths
|
57
|
+
paths.delete route(controller) if paths[route(controller)].blank?
|
58
|
+
paths.delete "#{route(controller)}{id}/" if paths["#{route(controller)}{id}/"].blank?
|
59
59
|
end
|
60
60
|
|
61
61
|
def route(controller)
|
data/lib/swagger_api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swagger_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Full Measure Education
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|