gum 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gum/search.rb +5 -3
- data/lib/gum/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: b429a022f13c73d2ce6631b8a2d2a316fb957480
|
4
|
+
data.tar.gz: e847b27a7c0b6ebe38f39a6c3db87f964ff33c1a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8183f45450f9fd2469dc55bae5a35b305e529d667e53775813788dcd48816f3f83d8a70ec00da791ca3833fa285ef5068d83c484069a35a50dc1b69d363da31e
|
7
|
+
data.tar.gz: a2a03eb5d49e4b85923f1e2a61eda74c224d1c1cfa5ec2ed4550846aedfc636a8a311fe17d347705aa3ae1509cf9e2b129926dac700c166a57312887626ad564
|
data/lib/gum/search.rb
CHANGED
@@ -7,9 +7,11 @@ module Gum
|
|
7
7
|
class_attribute :orders
|
8
8
|
class_attribute :query_param
|
9
9
|
|
10
|
-
self.
|
11
|
-
|
12
|
-
|
10
|
+
def self.inherited(base)
|
11
|
+
self.fields = Set.new
|
12
|
+
self.filters = {}
|
13
|
+
self.orders = {}
|
14
|
+
end
|
13
15
|
|
14
16
|
# @param [Chewy::Type] type
|
15
17
|
def self.use(type)
|
data/lib/gum/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gum
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anton Sozontov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|