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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0332d7f1c289d2b286f7f17959cf4d8b24ccbadf4a800df739f08f7ec3c33a91
4
- data.tar.gz: a09826c0c143bac69c60dc5a353107271dbb03138c54bb85b003626f594d2e2f
3
+ metadata.gz: 898e3658ba769d2e532731020e7e060c8c9c7feba6e180cf6f42f376a4fe8e49
4
+ data.tar.gz: dc3c3f9a28dbb9cba43343f076d4a724e6e231c6d54ed5990d536ceaff5978c4
5
5
  SHA512:
6
- metadata.gz: f89d36d93cca59a0f435cdbab751bce16937edcd6a711dac190f938646ae6b2b45a9989f7495e8f9fa94954dab96fcd8eeb78736289a45cac49cecf20f0babe8
7
- data.tar.gz: a1106c197d7fc6e961a7b192f72740437a346c03a71df98e44c53c7815e2d6f06e0adae429653c56c68b4cbbcf9c2d345e200c95306be9ce80f76b41fe8f76b4
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
  ------------------
@@ -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
- instance_variable_get(ivar) || send(name)
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
 
@@ -1,3 +1,3 @@
1
1
  module CSL
2
- VERSION = '1.5.1'.freeze
2
+ VERSION = '1.5.2'.freeze
3
3
  end
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.1
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-01-07 00:00:00.000000000 Z
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: []