iecbib 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/.rubocop.yml +2 -2
- data/Gemfile.lock +5 -5
- data/lib/iecbib/iec_bibliography.rb +6 -1
- data/lib/iecbib/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: 70500c2c4af89a96ff9d4f1ce5929845ce5b0e81204a0b8844aa94d6da0c2604
|
|
4
|
+
data.tar.gz: 75896b7ee1842490e2452d1266da743a1045d028008484fc8f1f6303790cf30e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cae931e90231cf2dbd0a2a60268a2fd71edc98e0f5f4d4a3b22c444a9716260db5170aa68d490730ac4ab105ebc7294d84ed1b9d7e5d4070f71b79180cb4a272
|
|
7
|
+
data.tar.gz: 0425e8ba695f24a6558dccbf50c64f369d953bdb6f63fd36f53a75f8a7d400c7a2f7800ca27231400c3a7f807482c8470694bee8192b020a8f84fcc514e98b6d
|
data/.rubocop.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
iecbib (0.2.
|
|
4
|
+
iecbib (0.2.2)
|
|
5
5
|
addressable
|
|
6
6
|
iso-bib-item (~> 0.4.2)
|
|
7
7
|
|
|
@@ -19,17 +19,17 @@ GEM
|
|
|
19
19
|
equivalent-xml (0.6.0)
|
|
20
20
|
nokogiri (>= 1.4.3)
|
|
21
21
|
hashdiff (0.3.7)
|
|
22
|
-
iso-bib-item (0.4.
|
|
22
|
+
iso-bib-item (0.4.4)
|
|
23
23
|
isoics (~> 0.1.6)
|
|
24
24
|
nokogiri (~> 1.8.4)
|
|
25
25
|
ruby_deep_clone (~> 0.8.0)
|
|
26
26
|
isoics (0.1.7)
|
|
27
27
|
json (2.1.0)
|
|
28
|
-
method_source (0.9.
|
|
28
|
+
method_source (0.9.2)
|
|
29
29
|
mini_portile2 (2.3.0)
|
|
30
30
|
nokogiri (1.8.5)
|
|
31
31
|
mini_portile2 (~> 2.3.0)
|
|
32
|
-
pry (0.
|
|
32
|
+
pry (0.12.2)
|
|
33
33
|
coderay (~> 1.1.0)
|
|
34
34
|
method_source (~> 0.9.0)
|
|
35
35
|
pry-byebug (3.6.0)
|
|
@@ -78,4 +78,4 @@ DEPENDENCIES
|
|
|
78
78
|
webmock
|
|
79
79
|
|
|
80
80
|
BUNDLED WITH
|
|
81
|
-
1.
|
|
81
|
+
1.17.1
|
|
@@ -12,7 +12,12 @@ module Iecbib
|
|
|
12
12
|
# @param text [String]
|
|
13
13
|
# @return [Iecbib::HitCollection]
|
|
14
14
|
def search(text, year = nil)
|
|
15
|
-
|
|
15
|
+
begin
|
|
16
|
+
HitCollection.new text, year
|
|
17
|
+
rescue
|
|
18
|
+
warn "Could not access http://www.iec.ch"
|
|
19
|
+
[]
|
|
20
|
+
end
|
|
16
21
|
end
|
|
17
22
|
|
|
18
23
|
# @param text [String]
|
data/lib/iecbib/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: iecbib
|
|
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-
|
|
11
|
+
date: 2018-11-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|