relaton 1.11.1 → 1.11.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
  SHA256:
3
- metadata.gz: c48be5786c54e546b11600e0b15a3b104c318c9cc991ea7bf4ef90e064e38e49
4
- data.tar.gz: 7d5080df0ee89e1b6c2b1115e6652f57b575749898ed9ea05b06e4bd074011c6
3
+ metadata.gz: 451c0d9a82ae4722a2840928ff36a7c9f352dcfd5a2a3c6356eb0629d18141dd
4
+ data.tar.gz: 2f68099b406013f4a9a4bcc080aeb771060fba85db058251ad78e98ec5989ab8
5
5
  SHA512:
6
- metadata.gz: 5747e84497e8268c07f1f8d922bfc46265ccf05283368ec0e090124c39a1a0d9cff46c30d15c1fba58094b6bc4f2a087becb4f3e845e83eb4796f75036263be3
7
- data.tar.gz: 6c8c00b7ed446f679e526dc50f5d9d8a14a7e8de1103fe0d2ec90e8334f7e31aea1c4de2e03960cc52c9641e992ba2b88a54901b0b1d6ed1c45b960fd57c9333
6
+ metadata.gz: da891dd5fb56ea1c68ebf14d88aae5db6c0b861e6d48bac73686ce572b60be8f919145cb53c179521b91b68a22ef3b694156e4b0599553f900a7a842a24300d3
7
+ data.tar.gz: 5e2cac57ca860937d708dcba84516947f8952ff6b3f7df51811dc54ef4d1f2e97c660a77a6f4f65ce6d87f010e2d556834d940d2baef72f7c27fe156d1bd8fcc
data/lib/relaton/util.rb CHANGED
@@ -6,7 +6,7 @@ module Relaton
6
6
  log_types = Relaton.configuration.logs.map(&:to_s) || []
7
7
 
8
8
  if log_types.include?(type.to_s)
9
- warn(message)
9
+ warn CGI.unescapeHTML(message)
10
10
  end
11
11
  end
12
12
  end
@@ -1,3 +1,3 @@
1
1
  module Relaton
2
- VERSION = "1.11.1".freeze
2
+ VERSION = "1.11.2".freeze
3
3
  end
data/relaton.gemspec CHANGED
@@ -63,6 +63,6 @@ Gem::Specification.new do |spec|
63
63
  spec.add_development_dependency "rubocop-rails", "~> 2.10.0"
64
64
  spec.add_development_dependency "simplecov", "~> 0.15"
65
65
  spec.add_development_dependency "timecop", "~> 0.9"
66
- spec.add_development_dependency "vcr", "~> 5"
66
+ spec.add_development_dependency "vcr", "~> 6"
67
67
  spec.add_development_dependency "webmock"
68
68
  end
@@ -0,0 +1,7 @@
1
+ RSpec.describe Relaton::Util do
2
+ it "logs HTML entities" do
3
+ expect do
4
+ Relaton::Util.log("Kolbe & Gröger 2003")
5
+ end.to output("Kolbe & Gröger 2003\n").to_stderr
6
+ end
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.1
4
+ version: 1.11.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
@@ -478,14 +478,14 @@ dependencies:
478
478
  requirements:
479
479
  - - "~>"
480
480
  - !ruby/object:Gem::Version
481
- version: '5'
481
+ version: '6'
482
482
  type: :development
483
483
  prerelease: false
484
484
  version_requirements: !ruby/object:Gem::Requirement
485
485
  requirements:
486
486
  - - "~>"
487
487
  - !ruby/object:Gem::Version
488
- version: '5'
488
+ version: '6'
489
489
  - !ruby/object:Gem::Dependency
490
490
  name: webmock
491
491
  requirement: !ruby/object:Gem::Requirement
@@ -549,6 +549,7 @@ files:
549
549
  - spec/relaton/db_spec.rb
550
550
  - spec/relaton/processor_spec.rb
551
551
  - spec/relaton/registry_spec.rb
552
+ - spec/relaton/util_spec.rb
552
553
  - spec/relaton_spec.rb
553
554
  - spec/spec_helper.rb
554
555
  - spec/support/gb_t_20223_2006.xml