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 +4 -4
- data/README.markdown +8 -1
- data/bibsonomy-jekyll.gemspec +1 -1
- data/lib/bibsonomy-jekyll.rb +3 -0
- data/lib/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2eb1965bb11b1a78ae3083b6b401bd3863d0b325
|
4
|
+
data.tar.gz: 56d2b4351f03639da5be814e2dbd2129a9965bb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 419a70df3d6aa62e6a913d59a0f4fb5ce76d0f1824e07d3e38ae3411e12d004f4f028920aed02de0201dcf3863e2ee767431a47fe6777167599c6a7c87387e52
|
7
|
+
data.tar.gz: a567cba78d9a3100052f3a2dad9a92f9ba067cac4259da8aef7ba6b9c1793d86b9e4a3aae5b119a06eb9ddd92c0d1a1666c8919f3e38d3b75c49060a37f4f0db
|
data/README.markdown
CHANGED
@@ -1,12 +1,16 @@
|
|
1
1
|
# BibSonomy
|
2
2
|
|
3
|
-
[BibSonomy](https://www.bibsonomy.org/) plugin for
|
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
|
data/bibsonomy-jekyll.gemspec
CHANGED
@@ -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.
|
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"
|
data/lib/bibsonomy-jekyll.rb
CHANGED
@@ -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
|
|
data/lib/version.rb
CHANGED
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
|
+
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-
|
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.
|
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.
|
46
|
+
version: 0.4.10
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rake
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|