csl 1.4.1 → 1.4.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: 0cf71789b197715dfdbf45af2de6640ab632c61b
4
- data.tar.gz: bb7567268f0b0eafdce61a5d5ef132eb63687d8c
3
+ metadata.gz: b21430641829a22f55906ab8297b87e430152ae9
4
+ data.tar.gz: 09ac43ef5066e3357f15a32617a151adfec1e833
5
5
  SHA512:
6
- metadata.gz: 1a3869a76d33ccad4adec98c23a4084a8f23d5823337c478fdc3d2bffa1fe1ad47c643e41c822fbc6f8ea809724e9b6796a071bcaae889d9c548d1ea7c602e1a
7
- data.tar.gz: 79cf4ac43f353f05c7116d8fdd52cc33c13406a90f7b77744ae7638c20de4508544faedfe1eb48616d8e09594ca593de7fc973d43923fd2e420a4a6a997288ab
6
+ metadata.gz: 73c5b22e998780e1cd5fc9bf5b2070065df192065533cf975b7afcad3a35b33a8286ce72bd8525be0cff61b0411d8d6046547bd168e23291b794095e7bd35b22
7
+ data.tar.gz: 76ea3c044d2b599dda2d588ba285a951b82fc1a531afe0778a0ecf44fc854eb7ff81154880cfbb5b89d0337ca9072a57d5f687ac8beecf61cd4f4177aa4e2fbb
@@ -106,8 +106,7 @@ module CSL
106
106
  if arguments[0].is_a?(Hash)
107
107
  arguments[0] = arguments[0].symbolize_keys
108
108
 
109
- locale = arguments[0].delete(:lang) ||
110
- arguments[0].delete(:'xml:lang')
109
+ locale = arguments[0].delete(:lang) || arguments[0].delete(:'xml:lang')
111
110
 
112
111
  attributes, options = arguments
113
112
  else
@@ -121,7 +120,7 @@ module CSL
121
120
 
122
121
  super(attributes, &nil)
123
122
 
124
- set(locale) unless locale.nil?
123
+ set(locale) unless locale.blank?
125
124
 
126
125
  unless options.nil?
127
126
  children[:'style-options'] = StyleOptions.new(options)
@@ -1,3 +1,3 @@
1
1
  module CSL
2
- VERSION = '1.4.1'.freeze
2
+ VERSION = '1.4.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csl
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvester Keil