swagger_api 0.2.1 → 0.2.2

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: e6c4d74509f25b7abfbb2457fd81a21134aa3280
4
- data.tar.gz: 6d524ced52fd2c329761c8733b58f144847e62bd
3
+ metadata.gz: 1ed8d6304385ce7eecdc89858cce1e09c786dfed
4
+ data.tar.gz: d0dc8e2a530ac668a81df83108ae4951b0e7d066
5
5
  SHA512:
6
- metadata.gz: 9fee6658a1bfc2821bbc75034fb3403baffff4eceed765dca266dc5c3e47bd1151651f2fa5fcf2f4e3a652a784d3b930dc61fe8efb65a83fd7e78882cd07891c
7
- data.tar.gz: 7ec27603f6e6cbaf2d89695a2befb7327d9d8d59202fd2a066e38a16b818f705316488174ab68393a6cc04ff1f6cb459c4484507c944442c028912c768d78314
6
+ metadata.gz: 6caba78cfb4d2faca0cec2c98281d1e25f4703700d71f5518615d41159978fd724dce67e7595d2c86772977561da2477d5b42bc316bb71cdbfd409be89b4b4a2
7
+ data.tar.gz: 88ba44cfb352cf83d7489b59f99b07f39944b15339557d83a3daac60e823f55a245aadf98f731a2215c56185fadf29836b8dc0fbb960553a2f9565680bd72785
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- swagger_api (0.1.47)
4
+ swagger_api (0.2.1)
5
5
  active_attr
6
6
  rails (>= 5.0)
7
7
  rspec-rails
@@ -22,6 +22,7 @@ module SwaggerApi
22
22
 
23
23
  def parameters
24
24
  columns.map do |column|
25
+ next if column.name.start_with?('encrypted_') || column.name.end_with?('_iv')
25
26
  {
26
27
  name: column.name,
27
28
  in: 'query',
@@ -29,7 +30,7 @@ module SwaggerApi
29
30
  description: "#{column.name} of #{model.name}",
30
31
  schema: SwaggerApi::ColumnSchema.new(column: column).create
31
32
  }
32
- end
33
+ end.compact
33
34
  end
34
35
 
35
36
  def success_response
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SwaggerApi
4
- VERSION = '0.2.1'
4
+ VERSION = '0.2.2'
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.1
4
+ version: 0.2.2
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-19 00:00:00.000000000 Z
11
+ date: 2018-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler