trample_search 0.18.3 → 0.18.4

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: 9260c44c8f72c7b2c173eea97d06b39e7ca6e3b2
4
- data.tar.gz: 86a1f475db4f2f119ce84bb8d56f0febdb80b42f
3
+ metadata.gz: 471a63ed2945fb11fc356b666baa380ed98c483c
4
+ data.tar.gz: 17e4c3bca0292dbfa47d536717427b970a552e0b
5
5
  SHA512:
6
- metadata.gz: 6a1319f305e3abf044bb68371911549e508fe2875f067ad9fc5fb8ce824ca6c173c3c41bf01a3da224911a8bf777ebd5952d01d073e96ccfcf3a32c6877d9bb4
7
- data.tar.gz: 6dce0129188d5a91700cbeb26d000ab1644a7411146f2a77cfd58baef709ca64cde302c33c2ecaa88d7bdd9f2040d9cbefa8fd47eea7c413e74e19606f3e4024
6
+ metadata.gz: b98aa1c9f482913616d2a5df88624a8d6fa30dd23a120b3ec88243226f40eb1321b1a35f8eda850754f67fb625c4e41d5b8a55baa4eed3b6ad472ac0e2b5a0d1
7
+ data.tar.gz: 4d2fbd7cf5570ae5ffa822704b6d28c70421c259cf9c4278b1108751999bd4547c3b37384b1f68fa4e1f6d7654f4e33ecc254447282ec08d4de40887246eba09
@@ -67,11 +67,11 @@ module Trample
67
67
  end
68
68
  end
69
69
 
70
- def trample_swagger(search_class, path)
70
+ def trample_swagger(search_class, path, opts = {})
71
71
  swagger_path "#{path}/new" do
72
72
  operation :get do
73
73
  key :description, "Instantiate default search. See the corresponding PUT operation for valid inputs."
74
- key :tags, ['search']
74
+ key :tags, opts[:tags] || ['search']
75
75
 
76
76
  response 200 do
77
77
  key :description, 'Trample response'
@@ -102,7 +102,7 @@ module Trample
102
102
  end
103
103
 
104
104
  key :description, description
105
- key :tags, ['search']
105
+ key :tags, opts[:tags] || ['search']
106
106
 
107
107
  parameter paramType: :path do
108
108
  key :name, :id
@@ -1,3 +1,3 @@
1
1
  module Trample
2
- VERSION = "0.18.3"
2
+ VERSION = "0.18.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: trample_search
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.18.3
4
+ version: 0.18.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - richmolj
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-10-28 00:00:00.000000000 Z
11
+ date: 2016-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: virtus