bolognese 1.0.23 → 1.0.24
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 +2 -2
- data/lib/bolognese/metadata.rb +1 -2
- data/lib/bolognese/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 87e3780e4a08a0519b050e35b03aab0dea28606f43ca360a9e6376e3c6b08b03
|
|
4
|
+
data.tar.gz: fb2cdcf7bfb694247cf3862745e4993f75d4b690e57cb157460681d855182534
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1ff4f19bd7b17d687daf41aea265ec67ea333b64adc4c9c91f36e8f43e608caa2e7c7f83b4fdf39dcbbb550a5c6fac04c9e916f2299de9f73b2014fef7f6ae03
|
|
7
|
+
data.tar.gz: 1b9ac57358ab023b9baee076cfdaceae0df9827a1271a5db0b10e7beee54ea9fc61dae8a42141a9182e3f068f2845dbe22bb9ea898a165b61891b8cff72e2bb6
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
bolognese (1.0.
|
|
4
|
+
bolognese (1.0.24)
|
|
5
5
|
activesupport (>= 4.2.5, < 6)
|
|
6
6
|
benchmark_methods (~> 0.7)
|
|
7
7
|
bibtex-ruby (~> 4.1)
|
|
@@ -169,7 +169,7 @@ GEM
|
|
|
169
169
|
temple (0.8.0)
|
|
170
170
|
thor (0.20.3)
|
|
171
171
|
thread_safe (0.3.6)
|
|
172
|
-
tilt (2.0.
|
|
172
|
+
tilt (2.0.9)
|
|
173
173
|
trollop (2.9.9)
|
|
174
174
|
tzinfo (1.2.5)
|
|
175
175
|
thread_safe (~> 0.1)
|
data/lib/bolognese/metadata.rb
CHANGED
|
@@ -77,7 +77,6 @@ module Bolognese
|
|
|
77
77
|
|
|
78
78
|
# set attributes directly
|
|
79
79
|
read_options = options.slice(
|
|
80
|
-
:sandbox,
|
|
81
80
|
:creator,
|
|
82
81
|
:contributor,
|
|
83
82
|
:titles,
|
|
@@ -100,7 +99,7 @@ module Bolognese
|
|
|
100
99
|
).compact
|
|
101
100
|
|
|
102
101
|
# generate name for method to call dynamically
|
|
103
|
-
@meta = @from.present? ? send("read_" + @from, { string: string }.merge(read_options)) : {}
|
|
102
|
+
@meta = @from.present? ? send("read_" + @from, { string: string, sandbox: options[:sandbox] }.merge(read_options)) : {}
|
|
104
103
|
@identifier = normalize_doi(options[:doi] || input, options) || @meta.fetch("id", nil) || @meta.fetch("identifier", nil)
|
|
105
104
|
end
|
|
106
105
|
|
data/lib/bolognese/version.rb
CHANGED