relaton-bsi 1.9.0 → 1.9.1
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/README.adoc +10 -0
- data/lib/relaton_bsi/hit_collection.rb +1 -1
- data/lib/relaton_bsi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 762ff6b45033ac0a1d992a71e317857a198bebf26078a5018eb7f66932a3b13a
|
|
4
|
+
data.tar.gz: f57772a8f6a38508d52275df9371f734a62aa6ab2e937f4f1796ee91654a86cc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fcc4a7e94e32c77c4e5ac26811797db97a57616af9c2867a299c1b155a7209c302f24e372e5bae5dee7287e59ac5e5a8bf08ffafd068d2fbc88b74784ac1d14d
|
|
7
|
+
data.tar.gz: a688c0ef854eaa91003b9728ed46e54498b17a75f877a84418862fa1d960cfec5e501bb56661ea545fcdf6877f465d77c2fccc985ed0968a29cb96a7f0413910
|
data/README.adoc
CHANGED
|
@@ -94,6 +94,16 @@ item.to_xml
|
|
|
94
94
|
</bibitem>"
|
|
95
95
|
----
|
|
96
96
|
|
|
97
|
+
=== Typed links
|
|
98
|
+
|
|
99
|
+
Each BSI document has `src` type link.
|
|
100
|
+
|
|
101
|
+
[source,ruby]
|
|
102
|
+
----
|
|
103
|
+
item.link
|
|
104
|
+
=> [#<RelatonBib::TypedUri:0x00007fc02a152768 @content=#<Addressable::URI:0x576c URI:https://shop.bsigroup.com/products/small-craft-remote-mechanical-steering-systems>, @type="src">]
|
|
105
|
+
----
|
|
106
|
+
|
|
97
107
|
With `bibdata: true` option XML output wrapped with `bibdata` element and `ext` element added.
|
|
98
108
|
[source,ruby]
|
|
99
109
|
----
|
|
@@ -20,7 +20,7 @@ module RelatonBsi
|
|
|
20
20
|
config = Algolia::Search::Config.new(application_id: "575YE157G9", api_key: "a057b4e74099445df2eddb7940828a10")
|
|
21
21
|
client = Algolia::Search::Client.new config, logger: ::Logger.new($stderr)
|
|
22
22
|
index = client.init_index "shopify_products"
|
|
23
|
-
resp = index.search text, facetFilters: "product_type:standard"
|
|
23
|
+
resp = index.search text # , facetFilters: "product_type:standard"
|
|
24
24
|
@array = hits resp[:hits]
|
|
25
25
|
end
|
|
26
26
|
|
data/lib/relaton_bsi/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: relaton-bsi
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.9.
|
|
4
|
+
version: 1.9.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-11-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: equivalent-xml
|