scrivito_sdk 0.90.0.rc1 → 0.90.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/ca-bundle.crt +1 -1
- data/lib/scrivito/obj_facet_value.rb +36 -34
- 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: 6ea90dbf127f55af0ae9341534debf8ffffc7f93
|
4
|
+
data.tar.gz: ae69af94ec1de457725a4247f3ba8b01ce3772e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed57bf86c2938d0c2ca4b02b4f19158623eceb114ecb73c3f17be22f7dd242fdaf68001db245ff026df4ce198a963d2146d1697da1b902930cb314be69bad704
|
7
|
+
data.tar.gz: b9e562fb97dcafd9dc1512ef5a3a0243a53aca38fbedd4017f52fc98f5457e2d0df68e74418b957e470056bfe8c60f0d7ff0c8c6c3b82a2d2af5bac24b008a23
|
data/config/ca-bundle.crt
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
##
|
2
2
|
## Bundle of CA Root Certificates
|
3
3
|
##
|
4
|
-
## Certificate data from Mozilla as of:
|
4
|
+
## Certificate data from Mozilla as of: Thu Nov 5 17:17:04 2015
|
5
5
|
##
|
6
6
|
## This is a bundle of X.509 certificates of public Certificate Authorities
|
7
7
|
## (CA). These were automatically extracted from Mozilla's root certificates
|
@@ -1,40 +1,42 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
1
|
+
module Scrivito
|
2
|
+
# Instances of this class represent the result of a faceted search.
|
3
|
+
# @api beta
|
4
|
+
class ObjFacetValue
|
4
5
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
6
|
+
def initialize(value, total, included_objs = [])
|
7
|
+
@name = value
|
8
|
+
@count = total
|
9
|
+
@included_objs = included_objs
|
10
|
+
end
|
10
11
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
12
|
+
# @api beta
|
13
|
+
# The value of the attribute name of this ObjFacetValue.
|
14
|
+
#
|
15
|
+
# @return [String]
|
16
|
+
def name
|
17
|
+
@name
|
18
|
+
end
|
18
19
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
20
|
+
# @api beta
|
21
|
+
# Total number of Objs available that have this value.
|
22
|
+
#
|
23
|
+
# Note that this refers to all Objs,
|
24
|
+
# not just the Objs included in this search.
|
25
|
+
# Also note that the count is approximate.
|
26
|
+
# @return [Integer]
|
27
|
+
def count
|
28
|
+
@count
|
29
|
+
end
|
29
30
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
31
|
+
# @api beta
|
32
|
+
# The Objs that were included in this search.
|
33
|
+
#
|
34
|
+
# if you did not specify +include_objs+ in your facet options,
|
35
|
+
# an empty array is returned.
|
36
|
+
# The Objs are ordered by relevance.
|
37
|
+
# @return [Array<BasicObj>]
|
38
|
+
def included_objs
|
39
|
+
@included_objs
|
40
|
+
end
|
39
41
|
end
|
40
42
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scrivito_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.90.0.
|
4
|
+
version: 0.90.0.rc2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Infopark AG
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|