bibsonomy-jekyll 0.1.4 → 0.1.5

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
  SHA1:
3
- metadata.gz: e3892d5a439c1cadd76c15d9bed809c7bdff4171
4
- data.tar.gz: 0ee85e054f4fd6f7568cae3531a47e5fb7e6b8ec
3
+ metadata.gz: 2eb1965bb11b1a78ae3083b6b401bd3863d0b325
4
+ data.tar.gz: 56d2b4351f03639da5be814e2dbd2129a9965bb6
5
5
  SHA512:
6
- metadata.gz: a9c474a5dfe7cf4f2dabec23e8c00d0cac9888a02df9b7ad357942422475211259ca8b65ece55d0aa2bca9f2a11caebf30d4c4b6d8b49167e7c87c5adb754e75
7
- data.tar.gz: 0b2f90179615603b33e513f9932192f617391bcfb98ecffb050f70ca15f02e7e9ae9be19e375d9045546ce6a1bc9fc5321685a07345a3ede76dbd9aebfe089ea
6
+ metadata.gz: 419a70df3d6aa62e6a913d59a0f4fb5ce76d0f1824e07d3e38ae3411e12d004f4f028920aed02de0201dcf3863e2ee767431a47fe6777167599c6a7c87387e52
7
+ data.tar.gz: a567cba78d9a3100052f3a2dad9a92f9ba067cac4259da8aef7ba6b9c1793d86b9e4a3aae5b119a06eb9ddd92c0d1a1666c8919f3e38d3b75c49060a37f4f0db
@@ -1,12 +1,16 @@
1
1
  # BibSonomy
2
2
 
3
- [BibSonomy](https://www.bibsonomy.org/) plugin for [Jekyll](http://jekyllrb.com/).
3
+ [BibSonomy](https://www.bibsonomy.org/) plugin for
4
+ [Jekyll](http://jekyllrb.com/) which renders bibliographic metadata
5
+ using the [Citation Style Language](http://citationstyles.org/).
4
6
 
5
7
  [![Gem Version](https://badge.fury.io/rb/bibsonomy-jekyll.svg)](http://badge.fury.io/rb/bibsonomy-jekyll)
6
8
  [![Build Status](https://travis-ci.org/rjoberon/bibsonomy-jekyll.svg?branch=master)](https://travis-ci.org/rjoberon/bibsonomy-jekyll)
7
9
 
8
10
  ## Usage
9
11
 
12
+ (Read the Jekyll documentation on [installing a plugin](https://jekyllrb.com/docs/plugins/#installing-a-plugin).)
13
+
10
14
  1. Add the following to your site's `Gemfile`:
11
15
 
12
16
  ```
@@ -26,6 +30,9 @@ bibsonomy:
26
30
  document_directory: pdf
27
31
  # check https://github.com/citation-style-language/styles for styles
28
32
  style: acm-sig-proceedings
33
+ # see http://api.altmetric.com/embeds.html for types and JavaScript
34
+ # to enable them; empty value disables rendering
35
+ altmetric_badge_type: 1
29
36
  ```
30
37
 
31
38
  You can get your BibSonomy API key from
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
17
17
  s.files = `git ls-files -z`.split("\x0")
18
18
 
19
19
  s.add_dependency 'jekyll', '~> 3.0'
20
- s.add_dependency 'bibsonomy', '~> 0.4', '>= 0.4.9'
20
+ s.add_dependency 'bibsonomy', '~> 0.4', '>= 0.4.10'
21
21
 
22
22
  s.add_development_dependency 'rake', '~> 10.0'
23
23
  s.add_development_dependency "rspec", "~> 3.5"
@@ -43,6 +43,9 @@ module Jekyll
43
43
  # target directory for PDF documents
44
44
  csl.pdf_dir = bib_config['document_directory']
45
45
 
46
+ # Altmetric badge type
47
+ csl.altmetric_badge_type = bib_config['altmetric_badge_type']
48
+
46
49
  # CSL style for rendering
47
50
  csl.style = bib_config['style']
48
51
 
@@ -1,3 +1,3 @@
1
1
  module BibSonomyJekyll
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bibsonomy-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
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: 2017-06-11 00:00:00.000000000 Z
11
+ date: 2017-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: '0.4'
34
34
  - - ">="
35
35
  - !ruby/object:Gem::Version
36
- version: 0.4.9
36
+ version: 0.4.10
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0.4'
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: 0.4.9
46
+ version: 0.4.10
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
49
  requirement: !ruby/object:Gem::Requirement