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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 79907486e8c84f3497a525a03ee55f0240c7842f
4
- data.tar.gz: 6a0402c03a7020a1191c759e7c37073b93a627dc
3
+ metadata.gz: e00104b5ea4340acf33493926f29f4b10bce14d9
4
+ data.tar.gz: c4d957acb06ab75a4bbb206b6dc98736720826f5
5
5
  SHA512:
6
- metadata.gz: d7a3b4d3c7fc1e2ad8fca463a6443de803955023d759f4a12dbeb154274db747629e765de704db14f10fe82613171a87b97043f690d260ca554c1810cdffc877
7
- data.tar.gz: 40b367fc080322da48ca7580eb38e0de78cd18cded7f71c3642a39b57d66f3be259012686f8f49dee6a01488214bfefd15d9784f3a80fc705e46dc0514bc97fe
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- swagger_api (0.2.2)
4
+ swagger_api (0.2.4)
5
5
  active_attr
6
6
  rails (>= 5.0)
7
7
  rspec-rails
@@ -54,8 +54,8 @@ module SwaggerApi
54
54
  end
55
55
 
56
56
  def clean_out_delete_path(paths, controller)
57
- paths[route(controller)].delete if paths[route(controller)].blank?
58
- paths["#{route(controller)}{id}/"].delete if paths["#{route(controller)}{id}/"].blank?
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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SwaggerApi
4
- VERSION = '0.2.4'
4
+ VERSION = '0.2.5'
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.4
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-05 00:00:00.000000000 Z
11
+ date: 2018-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler