swagger_api 0.2.2 → 0.2.3
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 +21 -9
- data/Gemfile.lock +3 -3
- 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: 8ed9d4469729489d8693d307d6a75fe3f8eb6e8f
|
4
|
+
data.tar.gz: cec39f1ecbbdf1a1cad246bc0d5a2f0f030da6f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a528ff33c0414ffa826d1df3f646f1a9e6d10086adaa09bd950b99c32e365b23cf3c0c4fd1b787269f12f4d7201e10783b9d2d012dab849cb0770dfc430f86dd
|
7
|
+
data.tar.gz: e6783873bae3d7c992fd5f977ba5f215b8d15aed58630e9dbfec57d810196f287f7e11731659620dbf604aeb0e6074557210c13e207814cc5e03e1ffb8bb1087
|
data/.gitlab-ci.yml
CHANGED
@@ -3,18 +3,26 @@ stages:
|
|
3
3
|
- test
|
4
4
|
- deploy
|
5
5
|
|
6
|
-
|
6
|
+
code_quality:
|
7
|
+
retry: 2
|
7
8
|
stage: build
|
8
|
-
image: docker:
|
9
|
+
image: docker:stable
|
10
|
+
tags:
|
11
|
+
- kube-runner
|
9
12
|
variables:
|
10
|
-
DOCKER_DRIVER:
|
13
|
+
DOCKER_DRIVER: overlay2
|
11
14
|
services:
|
12
|
-
- docker:dind
|
15
|
+
- docker:stable-dind
|
13
16
|
script:
|
14
|
-
-
|
15
|
-
- docker run
|
17
|
+
- export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
|
18
|
+
- docker run
|
19
|
+
--env SOURCE_CODE="$PWD"
|
20
|
+
--volume "$PWD":/code
|
21
|
+
--volume /var/run/docker.sock:/var/run/docker.sock
|
22
|
+
"registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
|
16
23
|
artifacts:
|
17
|
-
paths: [
|
24
|
+
paths: [gl-code-quality-report.json]
|
25
|
+
expire_in: 3 weeks
|
18
26
|
|
19
27
|
rspec:
|
20
28
|
image: ruby:2.5.1
|
@@ -40,13 +48,17 @@ rspec:
|
|
40
48
|
codequality-verify:
|
41
49
|
retry: 2
|
42
50
|
image: ruby:2.5.1
|
51
|
+
tags:
|
52
|
+
- kube-runner
|
43
53
|
script:
|
44
|
-
- ruby -r json -r yaml -e "puts JSON.parse(File.open('
|
45
|
-
- "! grep fingerprint
|
54
|
+
- ruby -r json -r yaml -e "puts JSON.parse(File.open('gl-code-quality-report.json', 'r', &:read)).to_yaml"
|
55
|
+
- "! grep fingerprint gl-code-quality-report.json > /dev/null 2>&1"
|
46
56
|
|
47
57
|
release:
|
48
58
|
stage: deploy
|
49
59
|
image: ruby:2.3.1
|
60
|
+
tags:
|
61
|
+
- kube-runner
|
50
62
|
before_script:
|
51
63
|
- git config --global user.email dev@fullmeasureed.com
|
52
64
|
- git config --global user.name fme-ci
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
swagger_api (0.2.
|
4
|
+
swagger_api (0.2.2)
|
5
5
|
active_attr
|
6
6
|
rails (>= 5.0)
|
7
7
|
rspec-rails
|
@@ -90,7 +90,7 @@ GEM
|
|
90
90
|
mini_portile2 (2.3.0)
|
91
91
|
minitest (5.11.3)
|
92
92
|
nio4r (2.3.1)
|
93
|
-
nokogiri (1.8.
|
93
|
+
nokogiri (1.8.4)
|
94
94
|
mini_portile2 (~> 2.3.0)
|
95
95
|
pg (1.0.0)
|
96
96
|
pry (0.11.3)
|
@@ -155,7 +155,7 @@ GEM
|
|
155
155
|
json (>= 1.8, < 3)
|
156
156
|
simplecov-html (~> 0.10.0)
|
157
157
|
simplecov-html (0.10.2)
|
158
|
-
sprockets (3.7.
|
158
|
+
sprockets (3.7.2)
|
159
159
|
concurrent-ruby (~> 1.0)
|
160
160
|
rack (> 1, < 3)
|
161
161
|
sprockets-rails (3.2.1)
|
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.3
|
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-
|
11
|
+
date: 2018-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|