citeproc-ruby 1.1.5 → 1.1.6

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: e03a8fdab4cfb162c292f8a2bba2f757c90d343a
4
- data.tar.gz: a923a85ab2323f7752d3f09730f52666d40ebc8a
3
+ metadata.gz: ac6faa0d4b7c9fbb585de0a7875bcb3bc3cbfa11
4
+ data.tar.gz: 350e69f4854a1f6f2063a9771d80af4e59383c6c
5
5
  SHA512:
6
- metadata.gz: 8c1054a1a34054aa85c9e17c0dde9ccdc94f9e21195557f055dc9ff598ce22a4b7f734b44d917ff691cd7b9b32589c3c96f00918de22c57f641f6094b1b8e5fb
7
- data.tar.gz: d934fe4064a0202d5d8ad216c4dd08dfea00466a87abd19108fd8b7600d001f7315346281011171b119333ca2d96c487fdee274e870195b99c394776c6117dfb
6
+ metadata.gz: 5fe846f5eb9e35a7ac30a7c476d5e895b8acafa022720d2fc84b7d30129d881da26e47a1d9d43e6ba288958664de6ffae405e9ad17e25be3e358e16050eb3f0a
7
+ data.tar.gz: 35f902e3037747ca3ee06a19b536780760e01941becb6a5e8df16e2c7d569f83eda3b6682f3d8e137077b40876751a6847bc9e676cc1de4c37c3d543a04169ef
@@ -137,7 +137,7 @@ module CiteProc
137
137
  output.replace content_tag(config[:container], output, 'style' => css) if @css
138
138
  end
139
139
 
140
- def setup!
140
+ def finalize!
141
141
  # TODO find a better solution for this (strip tags?)
142
142
  # For now make sure not to double encode entities
143
143
  # by matching spaces before or after.
@@ -1,5 +1,5 @@
1
1
  module CiteProc
2
2
  module Ruby
3
- VERSION = '1.1.5'
3
+ VERSION = '1.1.6'
4
4
  end
5
5
  end
@@ -26,6 +26,11 @@ module CiteProc
26
26
  expect(format.apply('Foo & BAR', node)).to eq('foo & bar')
27
27
  end
28
28
 
29
+ it 'does not not apply casing to escaped entities' do
30
+ node[:'text-case'] = 'uppercase'
31
+ expect(format.apply('Foo & BAR', node)).to eq('FOO & BAR')
32
+ end
33
+
29
34
  it 'escapes entities in affixes' do
30
35
  node[:prefix] = '<'
31
36
  node[:suffix] = '>'
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: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvester Keil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-06 00:00:00.000000000 Z
11
+ date: 2016-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: citeproc