bolognese 0.9.70 → 0.9.71
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27fa08f0cba20d70f70c8709c515c73429e654e312e4ce423b14b0945f99e752
|
4
|
+
data.tar.gz: 2612b3851f969a1c9601ed0829c9d15ca323936ce1893165428166373f34c9e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19d1353aa529869aebeb96243334ce073a9a81895aed9a14b5293b12f48f30a5583a9624f9f450c6e59a521430e0ca6e60413f43567a36d2d46f1614395532f3
|
7
|
+
data.tar.gz: 9388a935ad023229179832f289c2067e975af6b8d653ec5b45c1a5e400c5a11adbae01484bc4d109fc40830542ece84c22268db869f1da24386262f10b2ef590
|
data/Gemfile.lock
CHANGED
data/lib/bolognese/metadata.rb
CHANGED
@@ -74,7 +74,7 @@ module Bolognese
|
|
74
74
|
:is_documented_by, :documents, :is_compiled_by, :compiles,
|
75
75
|
:is_variant_form_of, :is_original_form_of, :is_reviewed_by, :reviews,
|
76
76
|
:is_derived_from, :is_source_of, :format, :funding, :type, :bibtex_type,
|
77
|
-
:citeproc_type, :ris_type, :style, :locale, :state
|
77
|
+
:citeproc_type, :ris_type, :style, :locale, :state
|
78
78
|
|
79
79
|
attr_reader :id, :from, :raw, :metadata, :doc, :provider,
|
80
80
|
:page_start, :page_end, :should_passthru, :errors,
|
@@ -101,7 +101,6 @@ module Bolognese
|
|
101
101
|
else
|
102
102
|
hsh = { "url" => options[:url],
|
103
103
|
"state" => options[:state],
|
104
|
-
"is_active" => options[:is_active],
|
105
104
|
"date_registered" => options[:date_registered],
|
106
105
|
"date_updated" => options[:date_updated],
|
107
106
|
"provider_id" => options[:provider_id],
|
@@ -126,7 +125,6 @@ module Bolognese
|
|
126
125
|
|
127
126
|
@url = hsh.to_h["url"].presence
|
128
127
|
@state = hsh.to_h["state"].presence
|
129
|
-
@is_active = hsh.to_h["is_active"].presence
|
130
128
|
@date_registered = hsh.to_h["date_registered"].presence
|
131
129
|
@date_updated = hsh.to_h["date_updated"].presence
|
132
130
|
@provider_id = hsh.to_h["provider_id"].presence
|
@@ -191,10 +189,6 @@ module Bolognese
|
|
191
189
|
@state ||= metadata.fetch("state", nil)
|
192
190
|
end
|
193
191
|
|
194
|
-
def is_active
|
195
|
-
@is_active ||= metadata.fetch("is_active", nil)
|
196
|
-
end
|
197
|
-
|
198
192
|
def title
|
199
193
|
@title ||= metadata.fetch("title", nil)
|
200
194
|
end
|
@@ -35,7 +35,6 @@ module Bolognese
|
|
35
35
|
{ "string" => string,
|
36
36
|
"url" => attributes.fetch("url", nil),
|
37
37
|
"state" => attributes.fetch("state", nil),
|
38
|
-
"is_active" => attributes.fetch("is-active", nil),
|
39
38
|
"date_registered" => attributes.fetch("registered", nil),
|
40
39
|
"date_updated" => attributes.fetch("updated", nil),
|
41
40
|
"provider_id" => provider_id,
|
data/lib/bolognese/version.rb
CHANGED
@@ -340,7 +340,6 @@ describe Bolognese::Metadata, vcr: true do
|
|
340
340
|
expect(subject.provider).to eq("DataCite")
|
341
341
|
expect(subject.schema_version).to eq("http://datacite.org/schema/kernel-4")
|
342
342
|
expect(subject.state).to eq("inactive")
|
343
|
-
expect(subject.is_active).to be true
|
344
343
|
end
|
345
344
|
|
346
345
|
it "BlogPosting in test system" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bolognese
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.71
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Fenner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: maremma
|