relaton-3gpp 1.14.5 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +2 -1
- data/grammars/biblio.rng +1 -1
- data/lib/relaton_3gpp/data_fetcher.rb +6 -3
- data/lib/relaton_3gpp/version.rb +1 -1
- data/relaton_3gpp.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 278b44aea0c38ddea22e6a0a21878f5cb3d9583d075fa834e6393e38697afcee
|
4
|
+
data.tar.gz: 3a45e0924830617708fae512d3d5702d15a5b338b2604f0d29ff91b0fb1d4da4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f14e50f4d8923a65f8cb3fd17221f73cf7a7f31d5a3ff9115ee7369c3f48ec17ee1b641c0f116aa3f1df3ee9e7b815aeeef4286f98f1a69a58058bcc86546be
|
7
|
+
data.tar.gz: 431626986874aa0cac2ca4d2dd4ad921ad7fd3ce3ecea958a2376f0294e54ab54ade75643ff0ea0d2185ed74e208c85469d27b8594180f6dfb3d48fdcd5df064
|
@@ -7,7 +7,8 @@ on:
|
|
7
7
|
inputs:
|
8
8
|
next_version:
|
9
9
|
description: |
|
10
|
-
Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
|
10
|
+
Next release version. Possible values: x.y.z, major, minor, patch (or pre|rc|etc).
|
11
|
+
Also, you can pass 'skip' to skip 'git tag' and do 'gem push' for the current version
|
11
12
|
required: true
|
12
13
|
default: 'skip'
|
13
14
|
repository_dispatch:
|
data/grammars/biblio.rng
CHANGED
@@ -72,11 +72,11 @@ module Relaton3gpp
|
|
72
72
|
end
|
73
73
|
|
74
74
|
#
|
75
|
-
# Get file from FTP
|
75
|
+
# Get file from FTP. If file does not exist or changed, return nil
|
76
76
|
#
|
77
77
|
# @param [Boolean] renewal force to update all documents
|
78
78
|
#
|
79
|
-
# @return [String] file name
|
79
|
+
# @return [String, nil] file name
|
80
80
|
#
|
81
81
|
def get_file(renewal) # rubocop:disable Metrics/MethodLength, Metrics/AbcSize, Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
82
82
|
@current = YAML.load_file CURRENT if File.exist? CURRENT
|
@@ -87,7 +87,10 @@ module Relaton3gpp
|
|
87
87
|
ftp.resume = true
|
88
88
|
ftp.login
|
89
89
|
ftp.chdir "/Information/Databases/Spec_Status/"
|
90
|
-
|
90
|
+
file_path = ftp.list("*.zip").first
|
91
|
+
return unless file_path
|
92
|
+
|
93
|
+
d, t, _, file = file_path.split
|
91
94
|
unless renewal
|
92
95
|
dt = DateTime.strptime("#{d} #{t}", "%m-%d-%y %I:%M%p")
|
93
96
|
return if file == @current["file"] && !@current["date"].empty? && dt == DateTime.parse(@current["date"])
|
data/lib/relaton_3gpp/version.rb
CHANGED
data/relaton_3gpp.gemspec
CHANGED
@@ -38,7 +38,7 @@ Gem::Specification.new do |spec|
|
|
38
38
|
|
39
39
|
spec.add_dependency "mdb", "~> 0.5.0"
|
40
40
|
spec.add_dependency "net-ftp", "~> 0.1.0"
|
41
|
-
spec.add_dependency "relaton-bib", "~> 1.
|
41
|
+
spec.add_dependency "relaton-bib", "~> 1.16.0"
|
42
42
|
spec.add_dependency "relaton-index", "~> 0.2.0"
|
43
43
|
spec.add_dependency "rubyzip", "~> 2.3.0"
|
44
44
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-3gpp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.16.0
|
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-
|
11
|
+
date: 2023-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mdb
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.16.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.16.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: relaton-index
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|