citeproc-ruby 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/citeproc/ruby/format.rb +1 -1
- data/lib/citeproc/ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e050d48bfce4e451314356e33163756490fb58d4c517bc6f8379327d3d2c0dc
|
4
|
+
data.tar.gz: f755a6540a59b645107cafa644938618a9a315f87c842fd106d77a4008e7f4c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64907f3ff4c601ee54ce3dbdeececb0d98ed5e8226e65476a53358d9577f806fd0adfb87daaaf661985ce5a3c911657d81a79b38726b5cb0586a5b12afcc9364
|
7
|
+
data.tar.gz: 99d9e524710fd98f641eeccb1743faf0ec1602b311f235713fe77542e7192efcd663ff7d745ed7219a6b8acac33436680bffcd39663bc1e1e5586603dbc3897a
|
data/lib/citeproc/ruby/format.rb
CHANGED
@@ -214,7 +214,7 @@ module CiteProc
|
|
214
214
|
output.replace CiteProc.upcase output
|
215
215
|
|
216
216
|
when 'capitalize-first'
|
217
|
-
output.sub!(/^([^\p{
|
217
|
+
output.sub!(/^([^\p{Alnum}]*)(\p{Ll})/) { "#{$1}#{CiteProc.upcase($2)}" }
|
218
218
|
|
219
219
|
when 'capitalize-all'
|
220
220
|
output.gsub!(/\b(\p{Ll})/) { CiteProc.upcase($1) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: citeproc-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvester Keil
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: citeproc
|