relaton-bib 1.14.10 → 1.14.11

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: a629df727fd6d8fb5429936488b905865be53d089945aeb55f0f0fd51c266ab8
4
- data.tar.gz: 1612798330ec595fe856bc465013d441aca9fbc8b894e6e6c41ee252152f7269
3
+ metadata.gz: d799e6b7be315a63d122e6a89f1f60dbc1aef9d21f9b3a267ad1e2de408d92df
4
+ data.tar.gz: c7cac7e1155483ee1006e95fff21a0940447217c67872b33dd217e401e2be3ac
5
5
  SHA512:
6
- metadata.gz: '0808918cd59dcdba35172ef1b8453dbabae6a0c60e56a0924d52ca103b1dd5d6885a6432c61c9c3b6dd4bf1e67ce1e79ba8c8effa5cbc7412f681632b336b5a7'
7
- data.tar.gz: 407b46555e0af962a6bc61722da91af43856aa638b555146ec8e2ce18106cca47602ed8207fd18d5d230f2c9be1965f7a23fb3b74ced9e28115430d17c8cb1e4
6
+ metadata.gz: d1331ea995b1c2dd1625f39e0a01640bd44f7638e0233078b01f915609191d3df6864520e34d19de75d6dafeea78102e48d03a14d7943b20f15eb69a28cd98b2
7
+ data.tar.gz: 2c3d2bae17e7af02f28cafedcf323ffcd79bc9cef7686873bc0a4611f456bee7e6d866635005bfc3626f9206ce713ba0580f0205663338894f2efe083aff924c
@@ -5,6 +5,7 @@ name: rake
5
5
  on:
6
6
  push:
7
7
  branches: [ master, main ]
8
+ tags: [ v* ]
8
9
  pull_request:
9
10
 
10
11
  jobs:
@@ -12,6 +12,9 @@ on:
12
12
  default: 'skip'
13
13
  push:
14
14
  tags: [ v* ]
15
+ repository_dispatch:
16
+ types: [ do-release ]
17
+
15
18
 
16
19
  jobs:
17
20
  release:
@@ -123,7 +123,7 @@ module RelatonBib
123
123
  .gsub(/<i>/, "<em>").gsub(/<\/i>/, "</em>")
124
124
  .gsub(/<b>/, "<strong>").gsub(/<\/b>/, "</strong>")
125
125
  .gsub(/<(?!\/?(em|strong|stem|sup|sub|tt|br\s?\/|p))[^\s!]\/?.*?>/, "")
126
- .gsub(/\s+([.,:;!?<])/, "\\1").strip
126
+ .gsub(/\s+([.,:;!?<])/, "\\1").strip.squeeze(" ")
127
127
  end
128
128
  end
129
129
  end
@@ -13,10 +13,10 @@ module RelatonBib
13
13
  # @param language [String, nil] language code Iso639 (optional) (default: nil)
14
14
  # @param script [String, nil] script code Iso15924 (optional) (default: nil)
15
15
  def initialize(content:, type: nil, language: nil, script: nil)
16
- @type = type
16
+ @type = type
17
17
  @language = language
18
- @script = script
19
- @content = Addressable::URI.parse content if content
18
+ @script = script
19
+ @content = Addressable::URI.parse content if content
20
20
  end
21
21
 
22
22
  # @param url [String]
@@ -1,3 +1,3 @@
1
1
  module RelatonBib
2
- VERSION = "1.14.10".freeze
2
+ VERSION = "1.14.11".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-bib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.10
4
+ version: 1.14.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-09 00:00:00.000000000 Z
11
+ date: 2023-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: byebug
@@ -284,7 +284,7 @@ homepage: https://github.com/relaton/relaton-bib
284
284
  licenses:
285
285
  - BSD-2-Clause
286
286
  metadata: {}
287
- post_install_message:
287
+ post_install_message:
288
288
  rdoc_options: []
289
289
  require_paths:
290
290
  - lib
@@ -299,8 +299,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
299
299
  - !ruby/object:Gem::Version
300
300
  version: '0'
301
301
  requirements: []
302
- rubygems_version: 3.1.6
303
- signing_key:
302
+ rubygems_version: 3.4.9
303
+ signing_key:
304
304
  specification_version: 4
305
305
  summary: 'RelatonBib: Ruby XMLDOC impementation.'
306
306
  test_files: []