dwc-archive 1.1.7 → 1.1.9

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: c4d215fbe20c2cb158ee16b07501892b5a2bbb3795a07fdb980500b28b769764
4
- data.tar.gz: b60d2df260dd684c616a0ae9745cc1a190b64963b1faf48f5dab3d67b15c988d
3
+ metadata.gz: b35d0c900fbb815f4955e59306c6cc5a134f4c5094adfc98576ac72249e82566
4
+ data.tar.gz: 8f8f58062273f5d5e6afb1084aed358d7585e8efac107e7fdf723cfa93e0d0bc
5
5
  SHA512:
6
- metadata.gz: 6c233d7a90f777bcbd5d800895482756adb515c6f26b7866dbaaaa45504b1ffc54418b8356ebd47fd9a0aa3f243a2490e6e53df32f558c7950d82109ee3a17dc
7
- data.tar.gz: aa46f40da968802f41c1aa7e5548a4d69d1821a2169d51b269600638d87b69fc7e08ae44abb1d75bd67bccd7184d0a0c144f8100a5be83199a88242b0ece4fbb
6
+ metadata.gz: 39cd3818632795b6d49ea9c7affbc565c8d8a7c9aa48b1acf2e00b6c8743b80ed58f5d6a0b7e26ea5375f1e3ba5e2dc91b59fd9820cda0918d254ae4739d930e
7
+ data.tar.gz: 82f055dd0ed152a516eade9df4efe12cc0aaded52c0c1054f25340d07f0a2cd9f11fd2ca6873e3cf9adab7b3404f892c8c07c5953ada133c2a53d071fc8fe858
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.1.2
1
+ 3.3.5
data/dwc-archive.gemspec CHANGED
@@ -22,16 +22,15 @@ Gem::Specification.new do |gem|
22
22
  gem.require_paths = ["lib"]
23
23
 
24
24
  # gem.add_runtime_dependency "minitar", "~> 0.6"
25
- gem.add_runtime_dependency "biodiversity", "~> 5.7.2"
26
- gem.add_runtime_dependency "nokogiri", "~> 1.14"
25
+ gem.add_runtime_dependency "biodiversity", "~> 6.0"
26
+ gem.add_runtime_dependency "nokogiri", "~> 1.16"
27
27
 
28
- gem.add_development_dependency "bundler", "~> 2.4"
28
+ gem.add_development_dependency "bundler", "~> 2.5"
29
29
  gem.add_development_dependency "byebug", "~> 11.1"
30
- gem.add_development_dependency "cucumber", "~> 8"
31
- gem.add_development_dependency "git", "~> 1.18"
32
- gem.add_development_dependency "rake", "~> 13.0"
33
- gem.add_development_dependency "rspec", "~> 3.12"
34
- gem.add_development_dependency "rubocop", "~> 1.50"
35
- gem.add_development_dependency "solargraph", "~> 0.49"
36
- gem.add_development_dependency "travis", "~> 1.11"
30
+ gem.add_development_dependency "cucumber", "~> 9"
31
+ gem.add_development_dependency "git", "~> 2.3"
32
+ gem.add_development_dependency "rake", "~> 13.2"
33
+ gem.add_development_dependency "rspec", "~> 3.13"
34
+ gem.add_development_dependency "rubocop", "~> 1.66"
35
+ gem.add_development_dependency "ruby-lsp", "~> 0.17"
37
36
  end
@@ -16,7 +16,7 @@ class DarwinCore
16
16
 
17
17
  def valid?
18
18
  valid = true
19
- valid = valid && @expander.path && FileTest.exists?(@expander.path)
19
+ valid = valid && @expander.path && FileTest.exist?(@expander.path)
20
20
  valid && files && files.include?("meta.xml")
21
21
  end
22
22
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Version constant of the class
4
4
  class DarwinCore
5
- VERSION = "1.1.7"
5
+ VERSION = "1.1.9"
6
6
  end
data/lib/dwc_archive.rb CHANGED
@@ -34,11 +34,11 @@ class DarwinCore
34
34
  attr_writer :logger
35
35
 
36
36
  def clean(path)
37
- FileUtils.rm_rf(path) if FileTest.exists?(path)
37
+ FileUtils.rm_rf(path) if FileTest.exist?(path)
38
38
  end
39
39
 
40
40
  def files(path)
41
- return nil unless path && FileTest.exists?(path)
41
+ return nil unless path && FileTest.exist?(path)
42
42
 
43
43
  Dir.entries(path).reject { |e| e.match(/[.]{1,2}$/) }.sort
44
44
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dwc-archive
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.7
4
+ version: 1.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Mozzherin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-19 00:00:00.000000000 Z
11
+ date: 2024-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: biodiversity
@@ -16,42 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 5.7.2
19
+ version: '6.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 5.7.2
26
+ version: '6.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: nokogiri
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.14'
33
+ version: '1.16'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.14'
40
+ version: '1.16'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '2.4'
47
+ version: '2.5'
48
48
  type: :development
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: '2.4'
54
+ version: '2.5'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: byebug
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,98 +72,84 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '8'
75
+ version: '9'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '8'
82
+ version: '9'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: git
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '1.18'
89
+ version: '2.3'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '1.18'
96
+ version: '2.3'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rake
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '13.0'
103
+ version: '13.2'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '13.0'
110
+ version: '13.2'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rspec
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '3.12'
117
+ version: '3.13'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: '3.12'
124
+ version: '3.13'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rubocop
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: '1.50'
131
+ version: '1.66'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: '1.50'
138
+ version: '1.66'
139
139
  - !ruby/object:Gem::Dependency
140
- name: solargraph
140
+ name: ruby-lsp
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '0.49'
145
+ version: '0.17'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '0.49'
153
- - !ruby/object:Gem::Dependency
154
- name: travis
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '1.11'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '1.11'
152
+ version: '0.17'
167
153
  description: Darwin Core Archive is the current standard exchange format for GLobal
168
154
  Names Architecture modules. This gem makes it easy to incorporate files in Darwin
169
155
  Core Archive format into a ruby project.
@@ -260,7 +246,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
260
246
  - !ruby/object:Gem::Version
261
247
  version: '0'
262
248
  requirements: []
263
- rubygems_version: 3.3.7
249
+ rubygems_version: 3.5.16
264
250
  signing_key:
265
251
  specification_version: 4
266
252
  summary: Handler of Darwin Core Archive files