jekyll-scholar 5.7.1 → 5.7.2

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: b87845c10bdf8d4c729fa3e2543aece9221b8cb0
4
- data.tar.gz: 8c0098182b2c0a89b2a5957d48040c3d44c94e71
3
+ metadata.gz: c87d13eba6259db001b9e45d8c5e6be1880850eb
4
+ data.tar.gz: 67cad6edde00f6385a32f062bcf5f0b88200dfdf
5
5
  SHA512:
6
- metadata.gz: e3974e0b5e3097b099b6ec97eaa61826e6c8c848adb19711297eae4a25c8a419eda57b80eca928f84513e61ed4868695186d89c989c2968f2c892a27e310fe32
7
- data.tar.gz: 7ce8a8fa7a7362c50670a48d7a509ae866c0912e363b76cebb3e852c10ae0428e93bf9601b8d7e282aaff100b701851160f40abf24ba779f0de14a23cf9d1d94
6
+ metadata.gz: 66076962697bcababa64494ad7f81a754c9e16b1c5cf81cfe69c56ea0dd89bf8893a7931085b2706ca7bbf76e54d2190597b4780edbeda0410896677a3c439f9
7
+ data.tar.gz: 66a4ba75e7035dfd1413453ff34cf0e249bcf97eab03ba4233d21cd0814512864fec6968b3c5d47813ddcf887226cd8739735133406015a072bb72c4696c7459
@@ -4,6 +4,7 @@ script: bundle exec rake test_with_coveralls
4
4
  sudo: false
5
5
  cache: bundler
6
6
  rvm:
7
+ - 2.3.0
7
8
  - 2.2.0
8
9
  - 2.1.0
9
10
  - 2.0.0
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ gemspec
3
3
 
4
4
  group :development do
5
5
 
6
- if RUBY_VERSION.start_with?('2.2')
6
+ if RUBY_VERSION >= '2.2'
7
7
  gem 'test-unit'
8
8
  else
9
9
  gem 'minitest', '< 5.0'
@@ -29,6 +29,33 @@ Feature: Citations
29
29
  And the "_site/scholar.html" file should exist
30
30
  And I should see "Flanagan" in "_site/scholar.html"
31
31
 
32
+ @tags @cite @file
33
+ Scenario: Citing from another bibliography
34
+ Given I have a scholar configuration with:
35
+ | key | value |
36
+ | source | ./_bibliography |
37
+ | bibliography | my_references |
38
+ And I have a "_bibliography" directory
39
+ And I have a file "_bibliography/other_references.bib":
40
+ """
41
+ @book{ruby,
42
+ title = {The Ruby Programming Language},
43
+ author = {Flanagan, David and Matsumoto, Yukihiro},
44
+ year = {2008},
45
+ publisher = {O'Reilly Media}
46
+ }
47
+ """
48
+ And I have a page "scholar.html":
49
+ """
50
+ ---
51
+ ---
52
+ {% cite ruby --file other_references %}
53
+ """
54
+ When I run jekyll
55
+ Then the _site directory should exist
56
+ And the "_site/scholar.html" file should exist
57
+ And I should see "Flanagan" in "_site/scholar.html"
58
+
32
59
  @tags @cite @suppress-author
33
60
  Scenario: Citations With Suppressed Author
34
61
  Given I have a scholar configuration with:
@@ -356,7 +383,7 @@ Feature: Citations
356
383
  Author = {Erich Gamma and Richard Helm and Ralph Johnson and John Vlissides},
357
384
  Title = {Design Patterns: Elements of Reusable Object-Oriented Software},
358
385
  Publisher = {Addison-Wesley Professional},
359
- Year = {1994},
386
+ Year = {1994},
360
387
  }
361
388
  """
362
389
  And I have a "_data" directory
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  class Scholar
3
- VERSION = '5.7.1'.freeze
3
+ VERSION = '5.7.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-scholar
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.7.1
4
+ version: 5.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvester Keil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-08 00:00:00.000000000 Z
11
+ date: 2016-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll