bibsonomy 0.4.12 → 0.4.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bibsonomy/csl.rb +3 -1
- data/lib/bibsonomy/version.rb +1 -1
- data/test/csl_test.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32cf0dbab26bbf3420c93d33ca576845c363542f
|
4
|
+
data.tar.gz: 2f30eb91cd65347ab3bc7d8b18ad061cb5cc04ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec363069944e2b3ff51d3e61f7c666b34872abd8b7de43ff167068a624f8d6d99a754dd4d1d1d3a21f2dcc05296b8560b0e24ef6d47d063208a1e68abc765756
|
7
|
+
data.tar.gz: e20f1151a59b2431c7f40be23bfca5ea1d4d065b8d7b64081edfb3492d65767beac2e9885e34930577721fe7ba8da04903494750d7d0b07132a7473a64dde152
|
data/lib/bibsonomy/csl.rb
CHANGED
@@ -22,6 +22,8 @@ require 'bibsonomy'
|
|
22
22
|
# - altmetric
|
23
23
|
#
|
24
24
|
# Changes:
|
25
|
+
# 2018-08-09 (rja)
|
26
|
+
# - shortened DOI URL
|
25
27
|
# 2017-07-05 (rja)
|
26
28
|
# - added support for Altmetric badges
|
27
29
|
# - adapted options for command line use to support groups
|
@@ -240,7 +242,7 @@ module BibSonomy
|
|
240
242
|
return doi, doi
|
241
243
|
end
|
242
244
|
else
|
243
|
-
return doi, "https://
|
245
|
+
return doi, "https://doi.org/#{doi}"
|
244
246
|
end
|
245
247
|
end
|
246
248
|
|
data/lib/bibsonomy/version.rb
CHANGED
data/test/csl_test.rb
CHANGED
@@ -35,7 +35,7 @@ class BibSonomyCSLTest < Minitest::Test
|
|
35
35
|
VCR.use_cassette('render_doi') do
|
36
36
|
html = @csl.render("user", "bibsonomy-ruby", ["doiok"], 10)
|
37
37
|
# DOI is correct
|
38
|
-
assert_equal "DOI:<a href='https://
|
38
|
+
assert_equal "DOI:<a href='https://doi.org/10.1007/s00778-010-0208-4'>10.1007/s00778-010-0208-4</a>", html[339,85]
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bibsonomy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Jäschke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|