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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1ed8d6304385ce7eecdc89858cce1e09c786dfed
4
- data.tar.gz: d0dc8e2a530ac668a81df83108ae4951b0e7d066
3
+ metadata.gz: 8ed9d4469729489d8693d307d6a75fe3f8eb6e8f
4
+ data.tar.gz: cec39f1ecbbdf1a1cad246bc0d5a2f0f030da6f8
5
5
  SHA512:
6
- metadata.gz: 6caba78cfb4d2faca0cec2c98281d1e25f4703700d71f5518615d41159978fd724dce67e7595d2c86772977561da2477d5b42bc316bb71cdbfd409be89b4b4a2
7
- data.tar.gz: 88ba44cfb352cf83d7489b59f99b07f39944b15339557d83a3daac60e823f55a245aadf98f731a2215c56185fadf29836b8dc0fbb960553a2f9565680bd72785
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
- codequality:
6
+ code_quality:
7
+ retry: 2
7
8
  stage: build
8
- image: docker:latest
9
+ image: docker:stable
10
+ tags:
11
+ - kube-runner
9
12
  variables:
10
- DOCKER_DRIVER: overlay
13
+ DOCKER_DRIVER: overlay2
11
14
  services:
12
- - docker:dind
15
+ - docker:stable-dind
13
16
  script:
14
- - docker pull codeclimate/codeclimate
15
- - docker run --env CODECLIMATE_CODE="$PWD" --volume "$PWD":/code --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp/cc:/tmp/cc codeclimate/codeclimate analyze -f json > codeclimate.json || true
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: [codeclimate.json]
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('codeclimate.json', 'r', &:read)).to_yaml"
45
- - "! grep fingerprint codeclimate.json > /dev/null 2>&1"
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.1)
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.3)
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.1)
158
+ sprockets (3.7.2)
159
159
  concurrent-ruby (~> 1.0)
160
160
  rack (> 1, < 3)
161
161
  sprockets-rails (3.2.1)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SwaggerApi
4
- VERSION = '0.2.2'
4
+ VERSION = '0.2.3'
5
5
  end
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.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-06-20 00:00:00.000000000 Z
11
+ date: 2018-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler