nicker_pocker 0.2.4 → 0.2.5
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 -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: 7dd7ecc876dacb0f8d78cd1a29316dd61cd41bae804a4bd8662098c8897d8987
|
4
|
+
data.tar.gz: 9e85307044b9b79731f471b7e85c602eb3e8f5be7b8e5935c61af4e485eef6ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ec18fece359d96f593c959f35bc0161bae20a8d3318cccbf773fe4a0c28a584d267616c66d8ee192d602531682caac94a25d40f287065d2d2fcd8aaa8c24223
|
7
|
+
data.tar.gz: 2299e1d31f0bae933df3e7938dbd3738d9fd5f7c41d4c4f6d7fce4246935b783228dc1e0c422f12ce021c3278a3657d49644a1feb0e618b41795f8354a1dcc3f
|
@@ -233,7 +233,7 @@ module NickerPocker
|
|
233
233
|
return if left_list.nil? || left_list.empty?
|
234
234
|
|
235
235
|
temp_constraint_list = left_list.map { |column_data| column_data.gsub(/:|'/, '') }
|
236
|
-
constraints = temp_constraint_list.each_slice(2).to_h
|
236
|
+
constraints = temp_constraint_list.each_slice(2).to_a.to_h
|
237
237
|
|
238
238
|
%W(#{constraints['null']} #{constraints['limit']} #{constraints['default']} #{constraints['comment']})
|
239
239
|
end
|