relaton-render 0.5.10 → 0.5.12

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: be542bce28bee8b30b8a719d8e6e822fb998c7d042c2c7b546309733c3ca1d66
4
- data.tar.gz: 5be41eba5e9771af4d39bcf7e2df8d4344db4ad9275d2fbf97fcb9c3f7eef362
3
+ metadata.gz: cc53c422d4ce23993d680552ab161d6adfdc2d20d2404df34ff7584b1ea6f3ef
4
+ data.tar.gz: d7a69378efe30b0e71423aa2b027afcb2cd617d4d8dbd52f20ddee8c63fdc74b
5
5
  SHA512:
6
- metadata.gz: 54acff0f3354e44e6af2fe54fc20dd1f1f814b4d632604e820b6ab72a04275dc0b46dcd7981dd7a12f17ddea05506ed73b7c6401b31fe35097b90d5352ea3b5b
7
- data.tar.gz: 4a584b500e0e6438fdc69340386c641e6f79780ca8cbe0d01811fddcb0d5baafa99e5679a447efad08e5e6e15d4de2ba5dd56fc7e4832ee914ec6412009d1dd9
6
+ metadata.gz: 57a7197ead73c25e93192d5c8981829aa346c3806b7f140adb5b5be4d00820b9567f6c82b90d00c0b3eca4b388fcd0193e75fcb4afbe5c1426d82d60c1b944cc
7
+ data.tar.gz: 68be12ff63e3232cd156e6742c8d7a2a3bcdf78a542ba1098cea48a9e47618f3048598101ad17f0b3985d46647c24c1e26fcdf483fb37dc30e228f8ce1e50e78
@@ -110,7 +110,7 @@ module Relaton
110
110
  when Array
111
111
  hash.map { |v| liquid_hash(v) }
112
112
  when String
113
- hash.empty? ? nil : hash.gsub(/ /, "_")
113
+ hash.empty? ? nil : hash.gsub(/_/, "\\_").gsub(/ /, "_")
114
114
  else hash
115
115
  end
116
116
  end
@@ -1,5 +1,5 @@
1
1
  module Relaton
2
2
  module Render
3
- VERSION = "0.5.10".freeze
3
+ VERSION = "0.5.12".freeze
4
4
  end
5
5
  end
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
29
29
  spec.add_development_dependency "simplecov"
30
30
 
31
31
  spec.add_dependency "isodoc-i18n", "~> 1.1.2"
32
- spec.add_dependency "liquid", "~> 4"
32
+ spec.add_dependency "liquid", "~> 5"
33
33
  spec.add_dependency "nokogiri"
34
34
  spec.add_dependency "relaton-bib", ">= 1.13.0"
35
35
  spec.add_dependency "twitter_cldr"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-render
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.10
4
+ version: 0.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-14 00:00:00.000000000 Z
11
+ date: 2023-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -114,14 +114,14 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '4'
117
+ version: '5'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '4'
124
+ version: '5'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: nokogiri
127
127
  requirement: !ruby/object:Gem::Requirement