citeproc-ruby 2.1.6 → 2.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bdaf2b98ff032afbbf8e3513ef62093ab8937453a9fc2074fb0b574ae491ded2
4
- data.tar.gz: 6b83785cc1288f395bd8928607ac486767b9d8d137076d90d27af24fc21b2e9c
3
+ metadata.gz: 7527627b9a8c2e681393cc4d1adc0988f855746446c3b8e64aa5ee04418b6a14
4
+ data.tar.gz: fc4f9f3d2378072aa0f3592112e56853068aec4dc67befab458f64aa913817fa
5
5
  SHA512:
6
- metadata.gz: 3aa92f563ca2b5b2c850711ec60ea4dac3466926b8329dcf00a6d20a1a1c26c5376d5c6edab403306ff16cf2d22b9560d09705e59e73a72cea1a28eee4555ca2
7
- data.tar.gz: 5f11658eb3e8617be0d0e56b132ada44c80b1cecb4bc55ee4ce097c439aee7d55d2f2e5c47afe5dcffe7ad6f070a0169f0559c731d4a108c377ff87bce1f5c5c
6
+ metadata.gz: 403b115f92f233311cdc941236cec1a68f331eeb5646eb085957df452431e971956b4b3af7e27b211bfbd7e33d1587384a02fe190c3483d7df609847e9d01591
7
+ data.tar.gz: 0ad87695c62deb6c6252b02b6ed37a2749b0bb45bc7d1a84f33b6b81a55788b974e89e89d517d5ab0ea2241c94a3b91d16f7f1d59a3dad09ea02613e5cfd005b
@@ -42,7 +42,7 @@ module CiteProc
42
42
  end
43
43
 
44
44
 
45
- # Formats pages accoring to format. Valid formats are:
45
+ # Formats pages according to format. Valid formats are:
46
46
  #
47
47
  # * "chicago": page ranges are abbreviated according to
48
48
  # the Chicago Manual of Style rules.
@@ -79,6 +79,10 @@ module CiteProc
79
79
  if delta >= 0
80
80
  t.prepend f[0, delta] unless delta.zero?
81
81
 
82
+ # TODO
83
+ if format == 'chicago-16' || format == 'chicago-15'
84
+ format = 'chicago'
85
+
82
86
  if format == 'chicago'
83
87
  changes = dim - f.chars.zip(t.chars).
84
88
  take_while { |a,b| a == b }.length if dim == 4
@@ -1,5 +1,5 @@
1
1
  module CiteProc
2
2
  module Ruby
3
- VERSION = '2.1.6'
3
+ VERSION = '2.1.7'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: citeproc-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.6
4
+ version: 2.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvester Keil
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-12-03 00:00:00.000000000 Z
10
+ date: 2025-12-04 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: citeproc