relaton-cli 1.14.1 → 1.15.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/relaton/cli/base_convertor.rb +1 -1
- data/lib/relaton/cli/relaton_file.rb +1 -1
- data/lib/relaton/cli/version.rb +1 -1
- data/relaton-cli.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 80ad3622150e550c62b07b8ee857064b5f70458ed7816dff686e8e5432d62fb9
|
4
|
+
data.tar.gz: 9496b7bdd788d6c8c04b531c348024174fdbd734ce1871375dc80c07131c43c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 296915977cf46838689006fcd68b1d04d4a71659af1c81552846b92b3ea573e7c9f36d9cb93b0812dcfa1b0514475be03238b8e05be88d85fc935d34e447922e
|
7
|
+
data.tar.gz: 9a2e9abff86487398a72faa1bc6069928531887da0e4a2defa0cc0cf336ee616eee71cf6b3fa26f996a3cd347e52c84e47a39964f37f50ae7de19c83067c4386
|
@@ -83,7 +83,7 @@ module Relaton
|
|
83
83
|
def write_to_a_file(content, outfile = nil)
|
84
84
|
outfile ||= Pathname.new(file).sub_ext(extension).to_s
|
85
85
|
|
86
|
-
if !File.
|
86
|
+
if !File.exist?(outfile) || overwrite
|
87
87
|
File.open(outfile, "w:utf-8") do |file|
|
88
88
|
file.write(content)
|
89
89
|
end
|
@@ -252,7 +252,7 @@ module Relaton
|
|
252
252
|
def build_dirname(filename)
|
253
253
|
basename = File.basename(filename)&.gsub(/.(xml|rxl)/, "")
|
254
254
|
directory_name = sanitize_string(basename)
|
255
|
-
|
255
|
+
FileUtils.mkdir_p(directory_name) # unless File.exists?(directory_name)
|
256
256
|
|
257
257
|
directory_name
|
258
258
|
end
|
data/lib/relaton/cli/version.rb
CHANGED
data/relaton-cli.gemspec
CHANGED
@@ -35,8 +35,8 @@ Gem::Specification.new do |spec|
|
|
35
35
|
spec.add_development_dependency "vcr"
|
36
36
|
spec.add_development_dependency "webmock"
|
37
37
|
|
38
|
-
spec.add_runtime_dependency "liquid", "~>
|
39
|
-
spec.add_runtime_dependency "relaton", "~> 1.
|
38
|
+
spec.add_runtime_dependency "liquid", "~> 5"
|
39
|
+
spec.add_runtime_dependency "relaton", "~> 1.15.0"
|
40
40
|
spec.add_runtime_dependency "thor"
|
41
41
|
spec.add_runtime_dependency "thor-hollaback"
|
42
42
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: byebug
|
@@ -156,28 +156,28 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: '
|
159
|
+
version: '5'
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: '
|
166
|
+
version: '5'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: relaton
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 1.
|
173
|
+
version: 1.15.0
|
174
174
|
type: :runtime
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 1.
|
180
|
+
version: 1.15.0
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: thor
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|