csl 1.5.1 → 1.5.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 +0 -1
- data/lib/csl/treelike.rb +5 -1
- data/lib/csl/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 898e3658ba769d2e532731020e7e060c8c9c7feba6e180cf6f42f376a4fe8e49
|
4
|
+
data.tar.gz: dc3c3f9a28dbb9cba43343f076d4a724e6e231c6d54ed5990d536ceaff5978c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83efc463e5dec2e4a167e050e5802150642da5bf8668e2084f103af6259ec0d94dc2123764b78d6d8037b5af0dd03f99ae37c98c1e92fbe96de3f8385ddf1287
|
7
|
+
data.tar.gz: 7b6db55d071b3d31521d40988dd88e2700e8ca1a66753e1282c0057656d08a3103f8a26f7e56eabb84694de33d89b3006d44d999fa5b3a2bb652fb82b51d1288
|
data/README.md
CHANGED
@@ -6,7 +6,6 @@ format to describe the formatting of citations, notes and bibliographies.
|
|
6
6
|
|
7
7
|
[![Build Status](https://secure.travis-ci.org/inukshuk/csl-ruby.png)](http://travis-ci.org/inukshuk/csl-ruby)
|
8
8
|
[![Coverage Status](https://coveralls.io/repos/inukshuk/csl-ruby/badge.png?branch=master)](https://coveralls.io/r/inukshuk/csl-ruby?branch=master)
|
9
|
-
[![Dependency Status](https://gemnasium.com/inukshuk/csl-ruby.png)](https://gemnasium.com/inukshuk/csl-ruby)
|
10
9
|
|
11
10
|
Styles and Locales
|
12
11
|
------------------
|
data/lib/csl/treelike.rb
CHANGED
@@ -230,7 +230,11 @@ module CSL
|
|
230
230
|
%w{ ancestors descendants siblings root depth }.each do |name|
|
231
231
|
ivar = "@#{name}"
|
232
232
|
define_method("#{name}!") do
|
233
|
-
|
233
|
+
if instance_variable_defined?(ivar)
|
234
|
+
instance_variable_get(ivar)
|
235
|
+
else
|
236
|
+
send(name)
|
237
|
+
end
|
234
238
|
end
|
235
239
|
end
|
236
240
|
|
data/lib/csl/version.rb
CHANGED
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.5.
|
4
|
+
version: 1.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvester Keil
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: namae
|
@@ -84,7 +84,7 @@ homepage: https://github.com/inukshuk/csl-ruby
|
|
84
84
|
licenses:
|
85
85
|
- AGPL-3.0
|
86
86
|
metadata: {}
|
87
|
-
post_install_message:
|
87
|
+
post_install_message:
|
88
88
|
rdoc_options: []
|
89
89
|
require_paths:
|
90
90
|
- lib
|
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
102
|
rubygems_version: 3.1.2
|
103
|
-
signing_key:
|
103
|
+
signing_key:
|
104
104
|
specification_version: 4
|
105
105
|
summary: A Ruby CSL parser and library
|
106
106
|
test_files: []
|