bibsonomy-jekyll 0.2.4 → 0.2.5

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
  SHA256:
3
- metadata.gz: c16c346ada2205c7469504045fac7583451abc04ede1c81369f4cdffb3bfbee4
4
- data.tar.gz: 4486fee8623cd3704de3be97191b84aa4426e878b68490e6e71136112d1f947b
3
+ metadata.gz: f124868f854e218c2f2f2fdc7ef9d4ae07f2bd9ea00effa0486fbb1f03ca4246
4
+ data.tar.gz: d64a9ecee82384fd16dc4defe06772d1aace8f6664e025cc5c89475e447ebcd3
5
5
  SHA512:
6
- metadata.gz: 21af83d7118c5957405e31d44b7c777a36993e233ae60690567645ff884a3c0bb54cddcf25379e4a32fc4ee62e79ba29ee8385c254e748ced15c81a82de7ab88
7
- data.tar.gz: 6d33eede88e0357be5c27398c91a3fb6678bbd9cc8268199daea10d1c878202abc3f55000e21d715b8631b780dcb06338f718c4205ec765be65dca69784fcfbd
6
+ metadata.gz: e41882bb229e7dac6486d2136619ebb540e92205e0ddadb51c9ef0ff379ebea28454e0f3849a72fa7aa60281d78d2a0f0aab8d850732ab6d7e2168f9f5ab0020
7
+ data.tar.gz: acba91e497107ec8655d815349cc99fd5d6f5c324a5291b123c55644e4d2981c7f36b51ac0f46c1bb3890c6fb2b45e7235790b938b8a92f72acc50c01a046d2d
@@ -82,9 +82,9 @@ module Jekyll
82
82
  # work on a copy of the configuration and override using opts
83
83
  config = config.clone.merge(opts)
84
84
  # set values from config in CSL
85
- (CONFIG_OPTS & config.keys()).each do |key, value|
85
+ (CONFIG_OPTS & config.keys()).each do |key|
86
86
  # TODO: access attribute by string → ok or hack?
87
- csl.instance_variable_set('@' + key, value)
87
+ csl.instance_variable_set('@' + key, config[key])
88
88
  end
89
89
 
90
90
  # HACK: convert the only (so far) boolean variable to boolean
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module BibSonomyJekyll
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
@@ -5,4 +5,4 @@ layout: default
5
5
 
6
6
  ** Jekyll BibSonomy Plugin **
7
7
 
8
- {% bibsonomy :style apa :year_headings false user bibsonomy-ruby test 1 %}
8
+ {% bibsonomy :style iso690-numeric-en :year_headings false user bibsonomy-ruby test 1 %}
data/spec/spec_helper.rb CHANGED
@@ -40,7 +40,7 @@ RSpec.configure do |config|
40
40
  site_config = Jekyll.configuration(CONFIG_DEFAULTS.merge(options))
41
41
  # get api key and user name from environment (configured via
42
42
  # .travis.yml on Travis or manually when testing locally)
43
- site_config["bibsonomy"] = {"user" => ENV['BIBSONOMY_USER_NAME'], "apikey" => ENV['BIBSONOMY_API_KEY'], "style" => "springer-lecture-notes-in-computer-science", "year_headings" => "true"}
43
+ site_config["bibsonomy"] = {"user" => ENV['BIBSONOMY_USER_NAME'], "apikey" => ENV['BIBSONOMY_API_KEY'], "style" => "springer-lecture-notes-in-computer-science"}
44
44
  Jekyll::Site.new(site_config)
45
45
  end
46
46
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bibsonomy-jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Jäschke