relaton-bsi 1.7.pre1 → 1.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.adoc +8 -10
- data/grammars/basicdoc.rng +165 -20
- data/lib/relaton_bsi.rb +1 -1
- data/lib/relaton_bsi/bsi_bibliographic_item.rb +13 -4
- data/lib/relaton_bsi/bsi_bibliography.rb +7 -10
- data/lib/relaton_bsi/processor.rb +1 -1
- data/lib/relaton_bsi/scrapper.rb +11 -3
- data/lib/relaton_bsi/version.rb +1 -1
- data/relaton_bsi.gemspec +2 -2
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84f6c2293e2c3e5fce33f142ae0e5055f000c0066a19a030dc67e29f360424b6
|
4
|
+
data.tar.gz: 2c70d908fc92fc700695c967087f0eb4d9217e660ed997b270688269422fa58a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b7e2d420bd3bb4b9da454e7b69cc78ec1d262b3918ba23b565ce43824e4092f5b6793dd7a5b7dc3ffc0d8f11fdc9d75012fac62dd0defa0f201da4c4e7016be
|
7
|
+
data.tar.gz: 2f11789f4274ff43ef07c8ddf44b141e6b524d76cd9fd53b996c6c1d6b22c17e31d649469a424b0b3e385caf1342a1c53fe5fb73e3b752106c591c9b3aa4163e
|
data/.gitignore
CHANGED
data/README.adoc
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
= RelatonBsi retrieve BSI Standards for bibliographic use using the BibliographicItem model
|
2
2
|
|
3
3
|
image:https://img.shields.io/gem/v/relaton-bsi.svg["Gem Version", link="https://rubygems.org/gems/relaton-bsi"]
|
4
|
-
image:https://github.com/relaton/relaton-bsi/workflows/
|
5
|
-
image:https://github.com/relaton/relaton-bsi/workflows/windows/badge.svg["Build Status (Windows)", link="https://github.com/relaton/relaton-bsi/actions?workflow=windows"]
|
6
|
-
image:https://github.com/relaton/relaton-bsi/workflows/ubuntu/badge.svg["Build Status (Ubuntu)", link="https://github.com/relaton/relaton-bsi/actions?workflow=ubuntu"]
|
4
|
+
image:https://github.com/relaton/relaton-bsi/workflows/rake/badge.svg["Build Status", link="https://github.com/relaton/relaton-bsi/actions?workflow=rake"]
|
7
5
|
image:https://codeclimate.com/github/relaton/relaton-bsi/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/relaton/relaton-bsi"]
|
8
6
|
image:https://img.shields.io/github/issues-pr-raw/relaton/relaton-bsi.svg["Pull Requests", link="https://github.com/relaton/relaton-bsi/pulls"]
|
9
7
|
image:https://img.shields.io/github/commits-since/relaton/relaton-bsi/latest.svg["Commits since latest",link="https://github.com/relaton/relaton-bsi/releases"]
|
@@ -35,7 +33,7 @@ Or install it yourself as:
|
|
35
33
|
----
|
36
34
|
require 'relaton_bsi'
|
37
35
|
|
38
|
-
hit_collection = RelatonBsi::BsiBibliography.search("
|
36
|
+
hit_collection = RelatonBsi::BsiBibliography.search("BS EN ISO 8848")
|
39
37
|
=> <RelatonBsi::HitCollection:0x007fead49fe1f8 @ref=BS EN ISO 8848 @fetched=false>
|
40
38
|
|
41
39
|
item = hit_collection[1].fetch
|
@@ -120,15 +118,15 @@ item.to_xml bibdata: true
|
|
120
118
|
[source,ruby]
|
121
119
|
----
|
122
120
|
RelatonBsi::BsiBibliographicItem RelatonBsi::BsiBibliography
|
123
|
-
[7] pry(main)> RelatonBsi::BsiBibliography.get "
|
124
|
-
[relaton-bsi] ("
|
125
|
-
[relaton-bsi] ("
|
121
|
+
[7] pry(main)> RelatonBsi::BsiBibliography.get "BS EN ISO 8848:2021"
|
122
|
+
[relaton-bsi] ("BS EN ISO 8848:2021") fetching...
|
123
|
+
[relaton-bsi] ("BS EN ISO 8848:2021") found BS EN ISO 8848:2021
|
126
124
|
=> #<RelatonBsi::BsiBibliographicItem:0x007feb14814ca8
|
127
125
|
...
|
128
126
|
|
129
|
-
RelatonBsi::BsiBibliography.get "
|
130
|
-
[relaton-bsi] ("
|
131
|
-
[relaton-bsi] ("
|
127
|
+
RelatonBsi::BsiBibliography.get "BS EN ISO 8848", "2021"
|
128
|
+
[relaton-bsi] ("BS EN ISO 8848") fetching...
|
129
|
+
[relaton-bsi] ("BS EN ISO 8848") found BS EN ISO 8848:2021
|
132
130
|
=> #<RelatonBsi::BsiBibliographicItem:0x007feaf59188a8
|
133
131
|
...
|
134
132
|
----
|
data/grammars/basicdoc.rng
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
3
|
-
<include href="biblio.rng"
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
<include href="biblio.rng">
|
4
|
+
<start>
|
5
|
+
<ref name="document"/>
|
6
|
+
</start>
|
7
|
+
</include>
|
7
8
|
<define name="document">
|
8
9
|
<element name="document">
|
9
10
|
<optional>
|
@@ -43,13 +44,16 @@
|
|
43
44
|
</attribute>
|
44
45
|
</optional>
|
45
46
|
<optional>
|
46
|
-
<
|
47
|
+
<attribute name="language"/>
|
47
48
|
</optional>
|
48
49
|
<optional>
|
49
|
-
<
|
50
|
+
<attribute name="script"/>
|
51
|
+
</optional>
|
52
|
+
<optional>
|
53
|
+
<ref name="section-title"/>
|
50
54
|
</optional>
|
51
55
|
<zeroOrMore>
|
52
|
-
<ref name="
|
56
|
+
<ref name="BasicBlock"/>
|
53
57
|
</zeroOrMore>
|
54
58
|
</define>
|
55
59
|
<define name="references">
|
@@ -92,6 +96,10 @@
|
|
92
96
|
<ref name="example"/>
|
93
97
|
<ref name="review"/>
|
94
98
|
<ref name="pre"/>
|
99
|
+
<ref name="note"/>
|
100
|
+
<ref name="pagebreak"/>
|
101
|
+
<ref name="hr"/>
|
102
|
+
<ref name="bookmark"/>
|
95
103
|
</choice>
|
96
104
|
</define>
|
97
105
|
<define name="paragraph">
|
@@ -188,6 +196,14 @@
|
|
188
196
|
<data type="boolean"/>
|
189
197
|
</attribute>
|
190
198
|
</optional>
|
199
|
+
<optional>
|
200
|
+
<attribute name="subsequence"/>
|
201
|
+
</optional>
|
202
|
+
<optional>
|
203
|
+
<attribute name="inequality">
|
204
|
+
<data type="boolean"/>
|
205
|
+
</attribute>
|
206
|
+
</optional>
|
191
207
|
<ref name="stem"/>
|
192
208
|
<optional>
|
193
209
|
<ref name="dl"/>
|
@@ -241,6 +257,9 @@
|
|
241
257
|
<data type="boolean"/>
|
242
258
|
</attribute>
|
243
259
|
</optional>
|
260
|
+
<optional>
|
261
|
+
<attribute name="subsequence"/>
|
262
|
+
</optional>
|
244
263
|
<optional>
|
245
264
|
<attribute name="lang"/>
|
246
265
|
</optional>
|
@@ -266,6 +285,9 @@
|
|
266
285
|
<attribute name="id">
|
267
286
|
<data type="ID"/>
|
268
287
|
</attribute>
|
288
|
+
<optional>
|
289
|
+
<attribute name="alt"/>
|
290
|
+
</optional>
|
269
291
|
<optional>
|
270
292
|
<ref name="tname"/>
|
271
293
|
</optional>
|
@@ -285,9 +307,15 @@
|
|
285
307
|
<data type="boolean"/>
|
286
308
|
</attribute>
|
287
309
|
</optional>
|
310
|
+
<optional>
|
311
|
+
<attribute name="subsequence"/>
|
312
|
+
</optional>
|
288
313
|
<optional>
|
289
314
|
<attribute name="alt"/>
|
290
315
|
</optional>
|
316
|
+
<optional>
|
317
|
+
<attribute name="summary"/>
|
318
|
+
</optional>
|
291
319
|
<optional>
|
292
320
|
<attribute name="uri">
|
293
321
|
<data type="anyURI"/>
|
@@ -313,12 +341,16 @@
|
|
313
341
|
</define>
|
314
342
|
<define name="tname">
|
315
343
|
<element name="name">
|
316
|
-
<
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
344
|
+
<oneOrMore>
|
345
|
+
<choice>
|
346
|
+
<ref name="PureTextElement"/>
|
347
|
+
<ref name="eref"/>
|
348
|
+
<ref name="stem"/>
|
349
|
+
<ref name="keyword"/>
|
350
|
+
<ref name="xref"/>
|
351
|
+
<ref name="hyperlink"/>
|
352
|
+
</choice>
|
353
|
+
</oneOrMore>
|
322
354
|
</element>
|
323
355
|
</define>
|
324
356
|
<define name="thead">
|
@@ -370,6 +402,16 @@
|
|
370
402
|
</choice>
|
371
403
|
</attribute>
|
372
404
|
</optional>
|
405
|
+
<optional>
|
406
|
+
<attribute name="valign">
|
407
|
+
<choice>
|
408
|
+
<value>top</value>
|
409
|
+
<value>middle</value>
|
410
|
+
<value>bottom</value>
|
411
|
+
<value>baseline</value>
|
412
|
+
</choice>
|
413
|
+
</attribute>
|
414
|
+
</optional>
|
373
415
|
<choice>
|
374
416
|
<zeroOrMore>
|
375
417
|
<ref name="TextElement"/>
|
@@ -397,6 +439,16 @@
|
|
397
439
|
</choice>
|
398
440
|
</attribute>
|
399
441
|
</optional>
|
442
|
+
<optional>
|
443
|
+
<attribute name="valign">
|
444
|
+
<choice>
|
445
|
+
<value>top</value>
|
446
|
+
<value>middle</value>
|
447
|
+
<value>bottom</value>
|
448
|
+
<value>baseline</value>
|
449
|
+
</choice>
|
450
|
+
</attribute>
|
451
|
+
</optional>
|
400
452
|
<choice>
|
401
453
|
<zeroOrMore>
|
402
454
|
<ref name="TextElement"/>
|
@@ -417,6 +469,12 @@
|
|
417
469
|
<data type="boolean"/>
|
418
470
|
</attribute>
|
419
471
|
</optional>
|
472
|
+
<optional>
|
473
|
+
<attribute name="subsequence"/>
|
474
|
+
</optional>
|
475
|
+
<optional>
|
476
|
+
<ref name="tname"/>
|
477
|
+
</optional>
|
420
478
|
<oneOrMore>
|
421
479
|
<choice>
|
422
480
|
<ref name="formula"/>
|
@@ -481,17 +539,25 @@
|
|
481
539
|
</attribute>
|
482
540
|
</optional>
|
483
541
|
<optional>
|
484
|
-
<
|
542
|
+
<attribute name="subsequence"/>
|
485
543
|
</optional>
|
486
544
|
<optional>
|
487
|
-
<
|
545
|
+
<attribute name="class"/>
|
488
546
|
</optional>
|
489
547
|
<optional>
|
490
|
-
<ref name="
|
548
|
+
<ref name="source"/>
|
549
|
+
</optional>
|
550
|
+
<optional>
|
551
|
+
<ref name="tname"/>
|
491
552
|
</optional>
|
492
553
|
<choice>
|
493
554
|
<ref name="image"/>
|
555
|
+
<ref name="video"/>
|
556
|
+
<ref name="audio"/>
|
494
557
|
<ref name="pre"/>
|
558
|
+
<oneOrMore>
|
559
|
+
<ref name="paragraph-with-footnote"/>
|
560
|
+
</oneOrMore>
|
495
561
|
<zeroOrMore>
|
496
562
|
<ref name="figure"/>
|
497
563
|
</zeroOrMore>
|
@@ -529,6 +595,8 @@
|
|
529
595
|
<ref name="pagebreak"/>
|
530
596
|
<ref name="bookmark"/>
|
531
597
|
<ref name="image"/>
|
598
|
+
<ref name="index"/>
|
599
|
+
<ref name="index-xref"/>
|
532
600
|
</choice>
|
533
601
|
</define>
|
534
602
|
<define name="PureTextElement">
|
@@ -553,14 +621,20 @@
|
|
553
621
|
<define name="em">
|
554
622
|
<element name="em">
|
555
623
|
<zeroOrMore>
|
556
|
-
<
|
624
|
+
<choice>
|
625
|
+
<ref name="PureTextElement"/>
|
626
|
+
<ref name="stem"/>
|
627
|
+
</choice>
|
557
628
|
</zeroOrMore>
|
558
629
|
</element>
|
559
630
|
</define>
|
560
631
|
<define name="strong">
|
561
632
|
<element name="strong">
|
562
633
|
<zeroOrMore>
|
563
|
-
<
|
634
|
+
<choice>
|
635
|
+
<ref name="PureTextElement"/>
|
636
|
+
<ref name="stem"/>
|
637
|
+
</choice>
|
564
638
|
</zeroOrMore>
|
565
639
|
</element>
|
566
640
|
</define>
|
@@ -653,6 +727,65 @@
|
|
653
727
|
<empty/>
|
654
728
|
</element>
|
655
729
|
</define>
|
730
|
+
<define name="index">
|
731
|
+
<element name="index">
|
732
|
+
<optional>
|
733
|
+
<attribute name="to">
|
734
|
+
<data type="IDREF"/>
|
735
|
+
</attribute>
|
736
|
+
</optional>
|
737
|
+
<element name="primary">
|
738
|
+
<oneOrMore>
|
739
|
+
<ref name="PureTextElement"/>
|
740
|
+
</oneOrMore>
|
741
|
+
</element>
|
742
|
+
<optional>
|
743
|
+
<element name="secondary">
|
744
|
+
<oneOrMore>
|
745
|
+
<ref name="PureTextElement"/>
|
746
|
+
</oneOrMore>
|
747
|
+
</element>
|
748
|
+
</optional>
|
749
|
+
<optional>
|
750
|
+
<element name="tertiary">
|
751
|
+
<oneOrMore>
|
752
|
+
<ref name="PureTextElement"/>
|
753
|
+
</oneOrMore>
|
754
|
+
</element>
|
755
|
+
</optional>
|
756
|
+
</element>
|
757
|
+
</define>
|
758
|
+
<define name="index-xref">
|
759
|
+
<element name="index-xref">
|
760
|
+
<attribute name="also">
|
761
|
+
<data type="boolean"/>
|
762
|
+
</attribute>
|
763
|
+
<element name="primary">
|
764
|
+
<oneOrMore>
|
765
|
+
<ref name="PureTextElement"/>
|
766
|
+
</oneOrMore>
|
767
|
+
</element>
|
768
|
+
<optional>
|
769
|
+
<element name="secondary">
|
770
|
+
<oneOrMore>
|
771
|
+
<ref name="PureTextElement"/>
|
772
|
+
</oneOrMore>
|
773
|
+
</element>
|
774
|
+
</optional>
|
775
|
+
<optional>
|
776
|
+
<element name="tertiary">
|
777
|
+
<oneOrMore>
|
778
|
+
<ref name="PureTextElement"/>
|
779
|
+
</oneOrMore>
|
780
|
+
</element>
|
781
|
+
</optional>
|
782
|
+
<element name="target">
|
783
|
+
<oneOrMore>
|
784
|
+
<ref name="PureTextElement"/>
|
785
|
+
</oneOrMore>
|
786
|
+
</element>
|
787
|
+
</element>
|
788
|
+
</define>
|
656
789
|
<!-- bare ID element, used for referencing arbitrary spans of text -->
|
657
790
|
<define name="bookmark">
|
658
791
|
<element name="bookmark">
|
@@ -778,6 +911,9 @@
|
|
778
911
|
<optional>
|
779
912
|
<attribute name="alt"/>
|
780
913
|
</optional>
|
914
|
+
<optional>
|
915
|
+
<attribute name="title"/>
|
916
|
+
</optional>
|
781
917
|
<optional>
|
782
918
|
<attribute name="longdesc">
|
783
919
|
<data type="anyURI"/>
|
@@ -786,7 +922,7 @@
|
|
786
922
|
</element>
|
787
923
|
</define>
|
788
924
|
<define name="video">
|
789
|
-
<element name="
|
925
|
+
<element name="video">
|
790
926
|
<attribute name="id">
|
791
927
|
<data type="ID"/>
|
792
928
|
</attribute>
|
@@ -816,6 +952,9 @@
|
|
816
952
|
<optional>
|
817
953
|
<attribute name="alt"/>
|
818
954
|
</optional>
|
955
|
+
<optional>
|
956
|
+
<attribute name="title"/>
|
957
|
+
</optional>
|
819
958
|
<optional>
|
820
959
|
<attribute name="longdesc">
|
821
960
|
<data type="anyURI"/>
|
@@ -827,7 +966,7 @@
|
|
827
966
|
</element>
|
828
967
|
</define>
|
829
968
|
<define name="audio">
|
830
|
-
<element name="
|
969
|
+
<element name="audio">
|
831
970
|
<attribute name="id">
|
832
971
|
<data type="ID"/>
|
833
972
|
</attribute>
|
@@ -841,6 +980,9 @@
|
|
841
980
|
<optional>
|
842
981
|
<attribute name="alt"/>
|
843
982
|
</optional>
|
983
|
+
<optional>
|
984
|
+
<attribute name="title"/>
|
985
|
+
</optional>
|
844
986
|
<optional>
|
845
987
|
<attribute name="longdesc">
|
846
988
|
<data type="anyURI"/>
|
@@ -925,6 +1067,9 @@
|
|
925
1067
|
<value>alphabet_upper</value>
|
926
1068
|
</choice>
|
927
1069
|
</attribute>
|
1070
|
+
<optional>
|
1071
|
+
<attribute name="start"/>
|
1072
|
+
</optional>
|
928
1073
|
<oneOrMore>
|
929
1074
|
<ref name="li"/>
|
930
1075
|
</oneOrMore>
|
data/lib/relaton_bsi.rb
CHANGED
@@ -27,11 +27,20 @@ module RelatonBsi
|
|
27
27
|
# @option opts [Boolean] :bibdata
|
28
28
|
# @option opts [String] :lang language
|
29
29
|
# @return [String] XML
|
30
|
-
def to_xml(**opts)
|
30
|
+
def to_xml(**opts) # rubocop:disable Metrics/AbcSize,Metrics/CyclomaticComplexity,Metrics/MethodLength,Metrics/PerceivedComplexity
|
31
31
|
super **opts do |b|
|
32
|
-
if opts[:bibdata]
|
33
|
-
|
34
|
-
b.
|
32
|
+
if opts[:bibdata] && (has_ext_attrs? || price_code ||
|
33
|
+
!cen_processing.nil?)
|
34
|
+
b.ext do
|
35
|
+
b.doctype doctype if doctype
|
36
|
+
b.horizontal horizontal unless horizontal.nil?
|
37
|
+
editorialgroup&.to_xml b
|
38
|
+
ics.each { |i| i.to_xml b }
|
39
|
+
structuredidentifier&.to_xml b
|
40
|
+
b.stagename stagename if stagename
|
41
|
+
b.send "price-code", price_code if price_code
|
42
|
+
b.send "cen-processing", cen_processing unless cen_processing.nil?
|
43
|
+
end
|
35
44
|
end
|
36
45
|
end
|
37
46
|
end
|
@@ -29,15 +29,9 @@ module RelatonBsi
|
|
29
29
|
# @param opts [Hash] options; restricted to :all_parts if all-parts reference is required
|
30
30
|
# @return [String] Relaton XML serialisation of reference
|
31
31
|
def get(code, year = nil, opts = {}) # rubocop:disable Metrics/CyclomaticComplexity,Metrics/MethodLength,Metrics/PerceivedComplexity
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
# code = code1
|
36
|
-
# year = year1
|
37
|
-
# end
|
38
|
-
# end
|
39
|
-
|
40
|
-
ret = bib_get1(code, year, opts)
|
32
|
+
c, y = code.split ':'
|
33
|
+
year ||= y
|
34
|
+
ret = bib_get1(c, year, opts)
|
41
35
|
return nil if ret.nil?
|
42
36
|
|
43
37
|
# ret = ret.to_most_recent_reference unless year || opts[:keep_year]
|
@@ -67,8 +61,11 @@ module RelatonBsi
|
|
67
61
|
end
|
68
62
|
|
69
63
|
def search_filter(code) # rubocop:disable Metrics/AbcSize,Metrics/CyclomaticComplexity,Metrics/MethodLength,Metrics/PerceivedComplexity
|
70
|
-
%r{^BSI\s(?<code1>[^:]+)} =~ code
|
64
|
+
# %r{^BSI\s(?<code1>[^:]+)} =~ code
|
65
|
+
code1 = code.sub(/^BSI\s/, "")
|
71
66
|
warn "[relaton-bsi] (\"#{code}\") fetching..."
|
67
|
+
return [] unless code1
|
68
|
+
|
72
69
|
result = search(code)
|
73
70
|
result.select do |i|
|
74
71
|
next true unless i.hit[:code]
|
data/lib/relaton_bsi/scrapper.rb
CHANGED
@@ -16,12 +16,13 @@ module RelatonBsi
|
|
16
16
|
language: ["en"],
|
17
17
|
script: ["Latn"],
|
18
18
|
title: fetch_titles(doc),
|
19
|
-
|
19
|
+
doctype: "specification",
|
20
20
|
docstatus: fetch_status(doc),
|
21
21
|
ics: fetch_ics(doc),
|
22
22
|
date: fetch_dates(hit),
|
23
23
|
contributor: fetch_contributors(doc),
|
24
24
|
editorialgroup: fetch_editorialgroup(doc),
|
25
|
+
structuredidentifier: fetch_structuredid(hit),
|
25
26
|
abstract: fetch_abstract(doc),
|
26
27
|
copyright: fetch_copyright(doc, hit),
|
27
28
|
link: fetch_link(HitCollection::DOMAIN + hit.hit[:url]),
|
@@ -35,8 +36,9 @@ module RelatonBsi
|
|
35
36
|
# @param doc [Mechanize::Page]
|
36
37
|
# @return [Array<RelatonIsobib::Ics>]
|
37
38
|
def fetch_ics(doc)
|
38
|
-
|
39
|
-
|
39
|
+
doc.xpath("//tr[th='ICS']/td/node()").map(&:text).reject { |a| a.empty? }.map do |ics|
|
40
|
+
RelatonIsoBib::Ics.new(ics)
|
41
|
+
end
|
40
42
|
end
|
41
43
|
|
42
44
|
# Fetch abstracts.
|
@@ -78,6 +80,12 @@ module RelatonBsi
|
|
78
80
|
RelatonIsoBib::EditorialGroup.new technical_committee: [tc]
|
79
81
|
end
|
80
82
|
|
83
|
+
# @param hit [RelatonBsi::Hit]
|
84
|
+
# @return [RelatonIsoBib::StructuredIdentifier]
|
85
|
+
def fetch_structuredid(hit)
|
86
|
+
RelatonIsoBib::StructuredIdentifier.new project_number: hit.hit[:code]
|
87
|
+
end
|
88
|
+
|
81
89
|
# Fetch relations.
|
82
90
|
# @param doc [Mechanize::Page]
|
83
91
|
# @return [Array<Hash>]
|
data/lib/relaton_bsi/version.rb
CHANGED
data/relaton_bsi.gemspec
CHANGED
@@ -44,6 +44,6 @@ Gem::Specification.new do |spec|
|
|
44
44
|
spec.add_development_dependency "vcr", "~> 5.0.0"
|
45
45
|
spec.add_development_dependency "webmock"
|
46
46
|
|
47
|
-
spec.add_dependency "mechanize"
|
48
|
-
spec.add_dependency "relaton-iso-bib", "~> 1.
|
47
|
+
spec.add_dependency "mechanize", "~> 2.7.0"
|
48
|
+
spec.add_dependency "relaton-iso-bib", "~> 1.8.0"
|
49
49
|
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.
|
4
|
+
version: 1.8.3
|
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-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: equivalent-xml
|
@@ -98,30 +98,30 @@ dependencies:
|
|
98
98
|
name: mechanize
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 2.7.0
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - "
|
108
|
+
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 2.7.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: relaton-iso-bib
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.
|
117
|
+
version: 1.8.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.
|
124
|
+
version: 1.8.0
|
125
125
|
description: 'RelatonBsi: retrieve BSI Standards for bibliographic use using the BibliographicItem
|
126
126
|
model'
|
127
127
|
email:
|
@@ -175,11 +175,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
175
175
|
version: 2.4.0
|
176
176
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- - "
|
178
|
+
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
180
|
+
version: '0'
|
181
181
|
requirements: []
|
182
|
-
rubygems_version: 3.
|
182
|
+
rubygems_version: 3.2.3
|
183
183
|
signing_key:
|
184
184
|
specification_version: 4
|
185
185
|
summary: 'RelatonBsi: retrieve BSI Standards for bibliographic use using the BibliographicItem
|