nicker_pocker 0.2.7.1 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 917cfb200be2b01b74339b3a9f088613100511d7496ec3966f1fab7077b896d5
4
- data.tar.gz: dc6021f922f465a97bb9c293ab94ec782a8d9f99d13f2e13c58a44c4612a747e
3
+ metadata.gz: 430a73e4681b1d984e566366cb0db2a1c741ae3248be27824eda17e23852b219
4
+ data.tar.gz: 63f818fd308c4c7bb3683aa0982f59d8cc9a08b6a94aac697a3d48442c6d6d79
5
5
  SHA512:
6
- metadata.gz: 278ab8e5219db47818dcdb637ef874e6607d335d9e48adf11df7d134bc4cfb99b44cf50c0fc5e4e95e973bb51186f9ba816feefd5a9bb29331ce4c2954ee8ee6
7
- data.tar.gz: 60b27e6015561cad5c862cec5ed43570f34b52b1c20d7734c2188fec4de60ea73ed8d6e3e18c5648de5577eea4373ef54a629d485bac9c9ef59c344fb4192fba
6
+ metadata.gz: 47370b8226d54d5eaccddf558731c8c3161d85af7903c9ae131b80d73a6c69e9249d8f5d8681e6d6c7f703fd217a38b3fd5180cf90bdb4b259a16faccd1bf227
7
+ data.tar.gz: fbcd7ab927b50693875bdd171e88ab82e8f0795990e13f24834d10626ac43f73ebf39a6fa62f773db9cddc72a2e6d817e3103b2868f05803a8e1c1c14b4bb020
@@ -167,9 +167,7 @@ module NickerPocker
167
167
  # @return [Array]
168
168
  def create_table_format(table_data)
169
169
  formatted_table_list = []
170
- p "---"
171
- p table_data
172
- p "---"
170
+
173
171
  # テーブル情報
174
172
  formatted_table_list.push(TABLE_HEADER_LIST)
175
173
  formatted_table_list.push([table_data[0]])
@@ -31,7 +31,7 @@ module NickerPocker
31
31
  # @params [Array] data_list
32
32
  # @return [Hash]
33
33
  def grouping(data_list)
34
- temp_group_list = data_list.map { |data| data.map { |row| format_raw_data(row) } }.flatten
34
+ temp_group_list = data_list.map { |data| data.map { |row| format_raw_data(row) } }.flatten.compact
35
35
 
36
36
  groups = {}
37
37
  temp_group_list.each do |temp_group|
@@ -66,6 +66,7 @@ module NickerPocker
66
66
  method_contents = method_contents.map { |content| content.strip.sub(/^:/, '') }.reject(&:empty?)
67
67
 
68
68
  methods[target_method] = method_contents
69
+ return if methods[:create_table].nil?
69
70
 
70
71
  tables[table_name] = methods
71
72
  tables
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NickerPocker
4
- VERSION = "0.2.7.1"
4
+ VERSION = "0.2.8"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nicker_pocker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7.1
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - ms919