bolognese 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/bolognese/metadata.rb +3 -1
- 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: 479e455c6c86e66dc5a8c63647648c3e5756af4b0a836cdc480d58f372f0f51b
|
4
|
+
data.tar.gz: 0c0977069d17a1929103ebb00161acd4530160fa406c0f59917bace132605b85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f9101199175cc80169b7fb891d9b4788a4489e4bf4fbf9fc5cbeb73c63e21195785b602889073f832b3a5e50ed8fd750e02df39bf16b214c62a7bd3bd71c778
|
7
|
+
data.tar.gz: 197ec095a48fd8b0bde06e58cd774b7b3945a9302987f3fdcb05c75ace32703a62de0bd3dc1a6c110cafa776b9df3c84fb01f93bf263c7b104e3448bbfd57b77
|
data/Gemfile.lock
CHANGED
data/lib/bolognese/metadata.rb
CHANGED
@@ -6,6 +6,9 @@ module Bolognese
|
|
6
6
|
class Metadata
|
7
7
|
include Bolognese::MetadataUtils
|
8
8
|
|
9
|
+
alias get_medra get_crossref
|
10
|
+
alias read_medra read_crossref
|
11
|
+
|
9
12
|
attr_accessor :string, :from, :sandbox, :meta, :regenerate, :issue
|
10
13
|
attr_reader :doc, :page_start, :page_end
|
11
14
|
attr_writer :id, :provider_id, :client_id, :doi, :identifiers, :creators, :contributors, :titles, :publisher,
|
@@ -24,7 +27,6 @@ module Bolognese
|
|
24
27
|
|
25
28
|
# mEDRA DOIs are found in the Crossref index
|
26
29
|
if @from == "medra"
|
27
|
-
@from = "crossref"
|
28
30
|
ra = "mEDRA"
|
29
31
|
end
|
30
32
|
|
data/lib/bolognese/version.rb
CHANGED