bibsonomy 0.4.12 → 0.4.13

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b97b4b81879dfbd9121e4402c6209e4fab547260
4
- data.tar.gz: 4b8c83023c1e3c8f011bfe61b3fcca9b2c86dbb8
3
+ metadata.gz: 32cf0dbab26bbf3420c93d33ca576845c363542f
4
+ data.tar.gz: 2f30eb91cd65347ab3bc7d8b18ad061cb5cc04ca
5
5
  SHA512:
6
- metadata.gz: eb229f589e52d6aade0e465b601c9bb0dc8dc31892cefefe0824c4e3b2f8f2e6451876ca457cb16457a3f5d4900971716cdb3e691ab4be4b1c186aef6847948e
7
- data.tar.gz: 13809e3902202574ad3a9872b237abfd8e6d450d2051c31e0acb00b0cc918fc1f6cae5c1d860404d0c69fcc89cd1e20b982f03fa15ed0eb06972993207b9d1d7
6
+ metadata.gz: ec363069944e2b3ff51d3e61f7c666b34872abd8b7de43ff167068a624f8d6d99a754dd4d1d1d3a21f2dcc05296b8560b0e24ef6d47d063208a1e68abc765756
7
+ data.tar.gz: e20f1151a59b2431c7f40be23bfca5ea1d4d065b8d7b64081edfb3492d65767beac2e9885e34930577721fe7ba8da04903494750d7d0b07132a7473a64dde152
@@ -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://dx.doi.org/#{doi}"
245
+ return doi, "https://doi.org/#{doi}"
244
246
  end
245
247
  end
246
248
 
@@ -1,3 +1,3 @@
1
1
  module BibSonomy
2
- VERSION = "0.4.12"
2
+ VERSION = "0.4.13"
3
3
  end
@@ -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://dx.doi.org/10.1007/s00778-010-0208-4'>10.1007/s00778-010-0208-4</a>", html[339,88]
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.12
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-06-14 00:00:00.000000000 Z
11
+ date: 2018-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler