relaton-ecma 1.14.2 → 1.14.4

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: ccb93a32e1674146e6e2465d8a264f9322f12616be106f921f6176412ef1e22d
4
- data.tar.gz: 163267a6fbffc14dc71eaf072e29856cd899a383055ea21f2126d7cd12675128
3
+ metadata.gz: ccd2fcf84630ad9f6d1bf0279704f5e216ad1cc3aa5fb48360305e73cfa84bde
4
+ data.tar.gz: 04a7362f0b754f246b5e9afe0a6e74cf26a51c96962972a0d6b6b362e97a8526
5
5
  SHA512:
6
- metadata.gz: 56b043e9a77b57410600001a6cfbde0fe24d9b723d3d2911013e3ce933f3fe5c9297d7032e3725efbf150c77b3938cf59904e40cb63a9a3f9eb96a50e0b402f8
7
- data.tar.gz: de9fce557065d77645e09d18a41f262b01558cfeb844e3007b46551936ea66261a3a37bc37afe8c6b6ecdbc431d93b0411e98862b93a69644e3d41ab3433f76e
6
+ metadata.gz: 65d3d2a869008260987a334e75cd386f63d076165646d62ddf98b8630baaa2431afbe22fd9cdd31ff838f7e9133790dcba5f9e153a56abcbd2da39814c452df2
7
+ data.tar.gz: aecf8ee7153968cf0811b80b3122045969fffe57f284ce6ceeb4d53f288156500e7bd1dc0b069132f0aad45931647389c1b365c7e0b5a78f37a759d85e119cc9
data/.gitignore CHANGED
@@ -6,6 +6,7 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ /vendor/
9
10
 
10
11
  # rspec failure tracking
11
12
  .rspec_status
data/.rubocop.yml CHANGED
@@ -7,6 +7,6 @@ require: rubocop-rails
7
7
  inherit_from:
8
8
  - https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
9
9
  AllCops:
10
- TargetRubyVersion: 2.5
10
+ TargetRubyVersion: 2.7
11
11
  Rails:
12
12
  Enabled: false
data/Gemfile CHANGED
@@ -6,6 +6,7 @@ gemspec
6
6
  gem "rake", "~> 13.0"
7
7
  gem "rspec", "~> 3.0"
8
8
 
9
+ gem "equivalent-xml", "~> 0.6"
9
10
  gem "pry-byebug"
10
11
  gem "ruby-jing"
11
12
  gem "simplecov"
@@ -15,7 +15,7 @@ module RelatonEcma
15
15
  #
16
16
  def search(ref)
17
17
  refparts = parse_ref ref
18
- return false unless refparts
18
+ return [] unless refparts
19
19
 
20
20
  index = Relaton::Index.find_or_create :ECMA, url: "#{ENDPOINT}index.zip"
21
21
  index.search { |row| match_ref refparts, row }
@@ -1,3 +1,3 @@
1
1
  module RelatonEcma
2
- VERSION = "1.14.2".freeze
2
+ VERSION = "1.14.4".freeze
3
3
  end
data/relaton_ecma.gemspec CHANGED
@@ -6,15 +6,15 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
6
6
  spec.authors = ["Ribose Inc."]
7
7
  spec.email = ["open.source@ribose.com"]
8
8
 
9
- spec.summary = "RelatonIetf: retrieve ECMA Standards for bibliographic use "\
10
- "using the BibliographicItem model"
9
+ spec.summary = "RelatonIetf: retrieve ECMA Standards for bibliographic " \
10
+ "use using the BibliographicItem model"
11
11
  spec.description = <<~DESCRIPTION
12
- RelatonEcma: retrieve ECMA Standards for bibliographic use
12
+ RelatonEcma: retrieve ECMA Standards for bibliographic use
13
13
  using the BibliographicItem model.
14
14
  DESCRIPTION
15
15
  spec.homepage = "https://github.com/metanorma/relaton-ecma"
16
16
  spec.license = "BSD-2-Clause"
17
- spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
17
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
18
18
 
19
19
  spec.metadata["homepage_uri"] = spec.homepage
20
20
 
@@ -27,10 +27,7 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ["lib"]
29
29
 
30
- spec.add_development_dependency "equivalent-xml", "~> 0.6"
31
- spec.add_development_dependency "rake", "~> 10.0"
32
-
33
- spec.add_dependency "mechanize", "~> 2.7"
30
+ spec.add_dependency "mechanize", "~> 2.8.0"
34
31
  spec.add_dependency "relaton-bib", "~> 1.14.0"
35
32
  spec.add_dependency "relaton-index", "~> 0.2.0"
36
33
  end
metadata CHANGED
@@ -1,57 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-ecma
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.2
4
+ version: 1.14.4
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-05-16 00:00:00.000000000 Z
11
+ date: 2023-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: equivalent-xml
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '0.6'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '0.6'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '10.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '10.0'
41
13
  - !ruby/object:Gem::Dependency
42
14
  name: mechanize
43
15
  requirement: !ruby/object:Gem::Requirement
44
16
  requirements:
45
17
  - - "~>"
46
18
  - !ruby/object:Gem::Version
47
- version: '2.7'
19
+ version: 2.8.0
48
20
  type: :runtime
49
21
  prerelease: false
50
22
  version_requirements: !ruby/object:Gem::Requirement
51
23
  requirements:
52
24
  - - "~>"
53
25
  - !ruby/object:Gem::Version
54
- version: '2.7'
26
+ version: 2.8.0
55
27
  - !ruby/object:Gem::Dependency
56
28
  name: relaton-bib
57
29
  requirement: !ruby/object:Gem::Requirement
@@ -80,8 +52,9 @@ dependencies:
80
52
  - - "~>"
81
53
  - !ruby/object:Gem::Version
82
54
  version: 0.2.0
83
- description: "RelatonEcma: retrieve ECMA Standards for bibliographic use \nusing the
84
- BibliographicItem model.\n"
55
+ description: |
56
+ RelatonEcma: retrieve ECMA Standards for bibliographic use
57
+ using the BibliographicItem model.
85
58
  email:
86
59
  - open.source@ribose.com
87
60
  executables: []
@@ -119,7 +92,7 @@ licenses:
119
92
  - BSD-2-Clause
120
93
  metadata:
121
94
  homepage_uri: https://github.com/metanorma/relaton-ecma
122
- post_install_message:
95
+ post_install_message:
123
96
  rdoc_options: []
124
97
  require_paths:
125
98
  - lib
@@ -127,15 +100,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
100
  requirements:
128
101
  - - ">="
129
102
  - !ruby/object:Gem::Version
130
- version: 2.5.0
103
+ version: 2.7.0
131
104
  required_rubygems_version: !ruby/object:Gem::Requirement
132
105
  requirements:
133
106
  - - ">="
134
107
  - !ruby/object:Gem::Version
135
108
  version: '0'
136
109
  requirements: []
137
- rubygems_version: 3.4.9
138
- signing_key:
110
+ rubygems_version: 3.3.26
111
+ signing_key:
139
112
  specification_version: 4
140
113
  summary: 'RelatonIetf: retrieve ECMA Standards for bibliographic use using the BibliographicItem
141
114
  model'