nicker_pocker 0.2.7.1 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nicker_pocker/format/prototype.rb +1 -3
- data/lib/nicker_pocker/grouping.rb +2 -1
- data/lib/nicker_pocker/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 430a73e4681b1d984e566366cb0db2a1c741ae3248be27824eda17e23852b219
|
4
|
+
data.tar.gz: 63f818fd308c4c7bb3683aa0982f59d8cc9a08b6a94aac697a3d48442c6d6d79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|