isobib 0.2.1 → 0.2.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/Gemfile.lock +3 -3
- data/lib/isobib/iso_bibliography.rb +3 -2
- data/lib/isobib/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: ff1175d6550a39c4f9a71de9df704450338cbc6b209fd428ca7246125301bc85
|
|
4
|
+
data.tar.gz: '092ca049b61e5d2679186c089d3dd9c7cb815745dfe523b5f4bf617c15f6559b'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c6ad16bec6986fd3a08dc267c07beedc40c6bf21466a538ca90088bb9a97246dc50bf9b140c75218b3780342baa1c6bd2a50ad31ae95295d13eb994da6e37769
|
|
7
|
+
data.tar.gz: 6d13daf781bf41b62904b42c4642bfda4bc576617ce3776b4f47544f4c24009183ff1816a58f8c087f23e3fd893ab461e4ccf44e0826e7cc11779877d8fc8409
|
data/Gemfile.lock
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
isobib (0.2.
|
|
4
|
+
isobib (0.2.2)
|
|
5
5
|
algoliasearch
|
|
6
|
-
iso-bib-item (~> 0.2.
|
|
6
|
+
iso-bib-item (~> 0.2.3)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
@@ -18,7 +18,7 @@ GEM
|
|
|
18
18
|
equivalent-xml (0.6.0)
|
|
19
19
|
nokogiri (>= 1.4.3)
|
|
20
20
|
httpclient (2.8.3)
|
|
21
|
-
iso-bib-item (0.2.
|
|
21
|
+
iso-bib-item (0.2.3)
|
|
22
22
|
isoics (~> 0.1.6)
|
|
23
23
|
nokogiri (~> 1.8.4)
|
|
24
24
|
ruby_deep_clone (~> 0.8.0)
|
|
@@ -25,7 +25,7 @@ module Isobib
|
|
|
25
25
|
# @param opts [Hash] options; restricted to :all_parts if all-parts reference is required
|
|
26
26
|
# @return [String] Relaton XML serialisation of reference
|
|
27
27
|
def get(code, year, opts)
|
|
28
|
-
return iev
|
|
28
|
+
return iev if code.casecmp('IEV') == 0
|
|
29
29
|
code += '-1' if opts[:all_parts]
|
|
30
30
|
ret = isobib_get1(code, year, opts)
|
|
31
31
|
return nil if ret.nil?
|
|
@@ -79,7 +79,7 @@ module Isobib
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
def iev
|
|
82
|
-
|
|
82
|
+
IsoBibItem.from_xml(<<~"END")
|
|
83
83
|
<bibitem type="international-standard" id="IEV">
|
|
84
84
|
<title format="text/plain" language="en" script="Latn">Electropedia:
|
|
85
85
|
The World's Online Electrotechnical Vocabulary</title>
|
|
@@ -96,6 +96,7 @@ module Isobib
|
|
|
96
96
|
</contributor>
|
|
97
97
|
<language>en</language> <language>fr</language>
|
|
98
98
|
<script>Latn</script>
|
|
99
|
+
<status> <stage>60</stage> </status>
|
|
99
100
|
<copyright>
|
|
100
101
|
<from>#{Date.today.year}</from>
|
|
101
102
|
<owner>
|
data/lib/isobib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: isobib
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-07-
|
|
11
|
+
date: 2018-07-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|