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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7956b847d798601ca7e8d1f0d08ad59ff0904f9b8319bfff428a3365f686af67
4
- data.tar.gz: 4b33279c2c90e6be9cf718fd4770de6ca067d7a890b018b61350f0a3f644b92e
3
+ metadata.gz: 762ff6b45033ac0a1d992a71e317857a198bebf26078a5018eb7f66932a3b13a
4
+ data.tar.gz: f57772a8f6a38508d52275df9371f734a62aa6ab2e937f4f1796ee91654a86cc
5
5
  SHA512:
6
- metadata.gz: f93174899ac9ad8ae5462c127dfee8213703a1721d660875e4d3e548134b3001dbc7756f607f2923d2583979a1a8c416c90d741903be125ac36e3a20ca197918
7
- data.tar.gz: 285774c1eee290f9fb18af06b9f256bd80357c8ceef98189eb9c5fc022850809bc87e6efdb60ecd46ad083703b5850f8de7aa35184c0c4645beca31ac8b44090
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RelatonBsi
4
- VERSION = "1.9.0"
4
+ VERSION = "1.9.1"
5
5
  end
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.0
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-08-26 00:00:00.000000000 Z
11
+ date: 2021-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: equivalent-xml