rggen-spreadsheet-loader 0.21.0 → 0.22.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: 1ecef914a6486bf3e24f727a5245c6d80f484cd71801549c13bd53133d61146d
4
- data.tar.gz: 42692af472b677c5c2b352ade9e991e3531d5ea2c174e83493decc33f9a105b2
3
+ metadata.gz: b5ce9ef2c15d7c9f7342f30ab32f262e6a94e2cc4d33e43a43ee9ecfed7a0246
4
+ data.tar.gz: ed3b67e0e3e2da74eee1e4c747e0faf06db85884238d0438433bf7930dec5766
5
5
  SHA512:
6
- metadata.gz: 54cb03880736f943c2be367d6b6fe2537a1bbcb67b8e19dca400e77221edc4aae9facfc9b79b3d67391d831599a96bbcd2aa61b011e79548e50b335073c6a02d
7
- data.tar.gz: 6744d166b12b23d1a96c439dbe4028255c590c0290b0576c8fe630a01342c33d16ab5a90ab8600637b1f5f627d09893861bbf04ba2fadc71a70985c1b82df4f4
6
+ metadata.gz: 95928dbd88bb525055d95c8f1de3fa8b4bb9852cb1ee170a96c78aa3673ffb3c959e9ca79779f02e8625571c5f1258edb2f865c76db103fd0ad3ddf67729bc98
7
+ data.tar.gz: bc9aea1778d1e2a7a4b87d36fbdf68dfe5f571fcf9ff05fd28bbd1671d4b86833aa9e4408f2471ee315f0788f335f70e499330790dbe902749fe3a9d3f960654
data/README.md CHANGED
@@ -33,7 +33,8 @@ $ gem install rggen-spreadsheet-loader
33
33
 
34
34
  Feedbacks, bug reports, questions and etc. are wellcome! You can post them by using following ways:
35
35
 
36
- * [GitHub Issue Tracker](https://github.com/rggen/rggen-spreadsheet-loader/issues)
36
+ * [GitHub Issue Tracker](https://github.com/rggen/rggen/issues)
37
+ * [GitHub Discussions](https://github.com/rggen/rggen/discussions)
37
38
  * [Chat Room](https://gitter.im/rggen/rggen)
38
39
  * [Mailing List](https://groups.google.com/d/forum/rggen)
39
40
  * [Mail](mailto:rggen@googlegroups.com)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RgGen
4
4
  module SpreadsheetLoader
5
- VERSION = '0.21.0'
5
+ VERSION = '0.22.0'
6
6
  end
7
7
  end
@@ -12,14 +12,17 @@ require_relative 'spreadsheet_loader/ods_loader'
12
12
  require_relative 'spreadsheet_loader/xls_loader'
13
13
  require_relative 'spreadsheet_loader/xlsx_loader'
14
14
 
15
- module RgGen
16
- module SpreadsheetLoader
17
- extend Core::Plugin
15
+ RgGen.setup_plugin :'rggen-spreadsheet-loader' do |plugin|
16
+ plugin.version RgGen::SpreadsheetLoader::VERSION
17
+ plugin.setup_loader :register_map, :spreadsheet do |entry|
18
+ entry.register_loaders [
19
+ RgGen::SpreadsheetLoader::CSVLoader,
20
+ RgGen::SpreadsheetLoader::ODSLoader,
21
+ RgGen::SpreadsheetLoader::XLSLoader,
22
+ RgGen::SpreadsheetLoader::XLSXLoader
23
+ ]
18
24
 
19
- setup_plugin :'rggen-spreadsheet-loader' do |plugin|
20
- [CSVLoader, ODSLoader, XLSLoader, XLSXLoader].each do |loader|
21
- plugin.register_loader :register_map, :spreadsheet, loader
22
- end
23
- end
25
+ entry.ignore_value :register_block, :comment
26
+ entry.ignore_value :register, :comment
24
27
  end
25
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rggen-spreadsheet-loader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taichi Ishitani
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-25 00:00:00.000000000 Z
11
+ date: 2022-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simple_xlsx_reader
@@ -79,7 +79,6 @@ files:
79
79
  - lib/rggen/spreadsheet_loader.rb
80
80
  - lib/rggen/spreadsheet_loader/csv_loader.rb
81
81
  - lib/rggen/spreadsheet_loader/ods_loader.rb
82
- - lib/rggen/spreadsheet_loader/setup.rb
83
82
  - lib/rggen/spreadsheet_loader/spreadsheet/book.rb
84
83
  - lib/rggen/spreadsheet_loader/spreadsheet/cell.rb
85
84
  - lib/rggen/spreadsheet_loader/spreadsheet/position.rb
@@ -93,7 +92,7 @@ homepage: https://github.com/rggen/rggen-spreadsheet-loader
93
92
  licenses:
94
93
  - MIT
95
94
  metadata:
96
- bug_tracker_uri: https://github.com/rggen/rggen-spreadsheet-loader/issues
95
+ bug_tracker_uri: https://github.com/rggen/rggen/issues
97
96
  mailing_list_uri: https://groups.google.com/d/forum/rggen
98
97
  rubygems_mfa_required: 'true'
99
98
  source_code_uri: https://github.com/rggen/rggen-spreadsheet-loader
@@ -116,5 +115,5 @@ requirements: []
116
115
  rubygems_version: 3.3.3
117
116
  signing_key:
118
117
  specification_version: 4
119
- summary: rggen-spreadsheet-loader-0.21.0
118
+ summary: rggen-spreadsheet-loader-0.22.0
120
119
  test_files: []
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'rggen/spreadsheet_loader'
4
-
5
- RgGen.register_plugin RgGen::SpreadsheetLoader do |builder|
6
- builder.ignore_value :register_map, :spreadsheet, :register_block, :comment
7
- builder.ignore_value :register_map, :spreadsheet, :register, :comment
8
- end