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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 285ae6126d364fe07613776567431dcaa106b52018c4785baf50b2b7bd68e447
4
- data.tar.gz: 82d325c969ab4996f70a41453d8801991cbd42743ce17d50c04e1fc8b278f47d
3
+ metadata.gz: 278b44aea0c38ddea22e6a0a21878f5cb3d9583d075fa834e6393e38697afcee
4
+ data.tar.gz: 3a45e0924830617708fae512d3d5702d15a5b338b2604f0d29ff91b0fb1d4da4
5
5
  SHA512:
6
- metadata.gz: 6b686429f6397496fe7fd8b6cb7fb33f56f8a9eae8fcfc257bd2c3201cc86989e469fddba1e6931eaf504d13796a67b73834d8f6ab9adcdcb7d036f655d88f3b
7
- data.tar.gz: e6838175f1f1040e47be9d1f1610a80df06d8c498270bc89fadae80a0efa5f7c4e0e46a937dca64adf9952ac920c49dfe1a2de6f69e842fb0b5f3348cb796533
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
@@ -1283,7 +1283,7 @@
1283
1283
  <value>mergedInto</value>
1284
1284
  <value>splits</value>
1285
1285
  <value>splitInto</value>
1286
- <value>instance</value>
1286
+ <value>instanceOf</value>
1287
1287
  <value>hasInstance</value>
1288
1288
  <value>exemplarOf</value>
1289
1289
  <value>hasExemplar</value>
@@ -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
- d, t, _, file = ftp.list("*.zip").first.split
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"])
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Relaton3gpp
4
- VERSION = "1.14.5"
4
+ VERSION = "1.16.0"
5
5
  end
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.14.0"
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.14.5
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-06-12 00:00:00.000000000 Z
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.14.0
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.14.0
54
+ version: 1.16.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: relaton-index
57
57
  requirement: !ruby/object:Gem::Requirement