csl 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/csl/style.rb +2 -1
- data/lib/csl/style/names.rb +0 -1
- data/lib/csl/version.rb +1 -1
- data/spec/csl/style_spec.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e30d2946a20188221543f891c506525015d014d
|
4
|
+
data.tar.gz: 81aef0240b86caa2ad7d0cd18fe0922beb30d50f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbbfbb2549ab0f66796897d374d5e7a56541236670537c0cc390fdb11c93f9cb295bdc52e75bb606ffdbe0949c30aa67e50079ef82a4d759e216bce2cecb2a4f
|
7
|
+
data.tar.gz: a63a040322afce1fdb1784a8acd22979209416f8e38aa81f07d358c998a0374849de73ef4fde7679161e6a560ab8f54abcf4c342a990e69efa9651b8128bfdaa
|
data/README.md
CHANGED
@@ -139,7 +139,7 @@ this project as part of [Google Summer of Code](https://developers.google.com/op
|
|
139
139
|
|
140
140
|
Copyright
|
141
141
|
---------
|
142
|
-
Copyright 2009-
|
142
|
+
Copyright 2009-2015 Sylvester Keil. All rights reserved.
|
143
143
|
|
144
144
|
Copyright 2012 President and Fellows of Harvard College.
|
145
145
|
|
data/lib/csl/style.rb
CHANGED
data/lib/csl/style/names.rb
CHANGED
data/lib/csl/version.rb
CHANGED
data/spec/csl/style_spec.rb
CHANGED
@@ -98,6 +98,11 @@ module CSL
|
|
98
98
|
it 'when setting an independet-parent link a style becomes dependent' do
|
99
99
|
expect { @style.independent_parent_link = 'foo' }.to change { @style.independent? }
|
100
100
|
end
|
101
|
+
|
102
|
+
it 'looks up independent styles parents locally first' do
|
103
|
+
@style.independent_parent_link = 'http://example.com/non-existent/styles/apa'
|
104
|
+
expect(@style.independent_parent).to eq Style.load('apa')
|
105
|
+
end
|
101
106
|
end
|
102
107
|
|
103
108
|
describe 'macros' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: csl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.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: 2015-
|
11
|
+
date: 2015-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: namae
|