ntq_excelsior 1.4.2 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ntq_excelsior/importer.rb +9 -0
- data/lib/ntq_excelsior/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52b0e07fdeb5fc0d7ecce7128a68096738806989e40e24b152fb8903275fb108
|
4
|
+
data.tar.gz: b1a9fe6abfdaceb39d8bf077879750660148d75a173e23e0f7a032faa2ff1516
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28b2a339e164e93c577f692b6950b36ebcffe242f1d4c97446ac30e5a92be56fe9db97c25a22068dc93d7f049270e4341586b88e93943c6dd426a613293021f8
|
7
|
+
data.tar.gz: 47af1e1f75b04c0a1a93b1b42ab43bbf35794369c39dfed932f2ddeccaa4a3be2e0459774c67127ceb5fa5e3b80df171168458933ca54d2d6cfb8e84213a84fd
|
data/Gemfile.lock
CHANGED
@@ -52,6 +52,14 @@ module NtqExcelsior
|
|
52
52
|
def sample_file(value = nil)
|
53
53
|
@sample_file ||= value
|
54
54
|
end
|
55
|
+
|
56
|
+
def title(value = nil)
|
57
|
+
@title ||= value
|
58
|
+
end
|
59
|
+
|
60
|
+
def description(value = nil)
|
61
|
+
@description ||= value
|
62
|
+
end
|
55
63
|
end
|
56
64
|
|
57
65
|
def initialize
|
@@ -119,6 +127,7 @@ module NtqExcelsior
|
|
119
127
|
|
120
128
|
l.each do |parsed_header, _value|
|
121
129
|
next unless parsed_header
|
130
|
+
|
122
131
|
next unless (header.is_a?(Regexp) && parsed_header && parsed_header.match?(header)) || header.is_a?(String) && parsed_header == header
|
123
132
|
|
124
133
|
l.delete(parsed_header)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ntq_excelsior
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: caxlsx
|