inquisitio 2.1.1 → 2.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/inquisitio/facets.rb +6 -8
- data/lib/inquisitio/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: d2d83062b65f0dc0e1e2e69a893a2c1abc429fed
|
|
4
|
+
data.tar.gz: d9ca4e60e8c0297cc2ff77079cb3508b67921639
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 59aa63e30611a23fc1de81b18ccab23c4a3e22420184a54907b2c3a9544e697abc710e5dc261ef21c8fcc098da5f18605dff7f3e9b98089112c0719ab2193906
|
|
7
|
+
data.tar.gz: 8694aa4b152b48e9c66b2b625868a0026a9fd107f02936932113b7caffc0c60714e64305a620360566e1d3a712fd1c12491cf6c10abe2007750908069bb6aa6f
|
data/CHANGELOG.md
CHANGED
data/lib/inquisitio/facets.rb
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
module Inquisitio
|
|
2
|
-
class Facets
|
|
3
|
-
extend Forwardable
|
|
2
|
+
class Facets < Hash
|
|
4
3
|
|
|
5
4
|
def initialize(facets)
|
|
6
|
-
|
|
5
|
+
super
|
|
6
|
+
hash = facets.nil? ? {} : JSON.parse(facets.to_json, symbolize_names: true)
|
|
7
|
+
merge!(hash)
|
|
7
8
|
end
|
|
8
9
|
|
|
9
10
|
def fields
|
|
10
|
-
|
|
11
|
+
keys
|
|
11
12
|
end
|
|
12
|
-
|
|
13
|
-
def_delegator :@facets, :[]
|
|
14
|
-
|
|
15
13
|
end
|
|
16
|
-
end
|
|
14
|
+
end
|
data/lib/inquisitio/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: inquisitio
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeremy Walker
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2015-
|
|
14
|
+
date: 2015-08-14 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: excon
|