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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af0f69b2b0a93befee806dd4f19132462587d70c
4
- data.tar.gz: 2082ef791cbfc27fb14c7e5d3f0499196b7c444c
3
+ metadata.gz: b429a022f13c73d2ce6631b8a2d2a316fb957480
4
+ data.tar.gz: e847b27a7c0b6ebe38f39a6c3db87f964ff33c1a
5
5
  SHA512:
6
- metadata.gz: 5083d26be62d07e05692d58ecd7f7a856e3a26aa095278537714df1668c10d39641e2d63130b8c9ee1b5fa067efa062a5753238323e13a048519394f7c2e62a5
7
- data.tar.gz: 311fe5200a41c92e50c32420cb102243c85618e0a4a6a82ae9faba979081b859c204f8206b9df22fad883b8b8c5b24ab8253dbedf299298e9c68101d3d013ec8
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.fields = Set.new
11
- self.filters = {}
12
- self.orders = {}
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
@@ -1,3 +1,3 @@
1
1
  module Gum
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
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.0
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-10-20 00:00:00.000000000 Z
11
+ date: 2016-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler