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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cd05c5a4222bf64d3249c41ad131fe97b36953facc7adef52ac92ace5bb30be
4
- data.tar.gz: 25b80a8111c60e00eba54389bd76b8e7a47c7312315b35ba12706e84c29b31d8
3
+ metadata.gz: 52b0e07fdeb5fc0d7ecce7128a68096738806989e40e24b152fb8903275fb108
4
+ data.tar.gz: b1a9fe6abfdaceb39d8bf077879750660148d75a173e23e0f7a032faa2ff1516
5
5
  SHA512:
6
- metadata.gz: 052ab3bb3847f99414814b0a9a437bd6ab6306124356330a0442ffed03a05ca5e302339859be21ec540bec0b44e9b0b341885206ba9a4c05d2617cea94c23e2c
7
- data.tar.gz: ed723007f8ca1aa0111994bfebdb09f9c269875c950c1e2e14a8520a4de2283aa81b7a66eab1cb33b2a2c73acc2df6bd394df7d2fffaf559521ef032189c22ef
6
+ metadata.gz: 28b2a339e164e93c577f692b6950b36ebcffe242f1d4c97446ac30e5a92be56fe9db97c25a22068dc93d7f049270e4341586b88e93943c6dd426a613293021f8
7
+ data.tar.gz: 47af1e1f75b04c0a1a93b1b42ab43bbf35794369c39dfed932f2ddeccaa4a3be2e0459774c67127ceb5fa5e3b80df171168458933ca54d2d6cfb8e84213a84fd
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ntq_excelsior (1.4.2)
4
+ ntq_excelsior (1.5.0)
5
5
  caxlsx (< 4)
6
6
  roo (< 3)
7
7
 
@@ -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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NtqExcelsior
4
- VERSION = "1.4.2"
4
+ VERSION = "1.5.0"
5
5
  end
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.2
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-08 00:00:00.000000000 Z
11
+ date: 2024-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: caxlsx