souls 0.30.1 → 0.30.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57344fa4d1e1a552326fa4572562bab54bfee433567f8a4542b7f121a9e75e1d
|
4
|
+
data.tar.gz: 3d8b499794eaca93df04196d6b64b021f2e2d8f04c1609872e8fd893c84c6eb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1bf7c8623d14d159eaf63c1e5923fe4e62deba80ab729af1685d9e308e459e03d5592dbacf492ea5de0982b968b973a09e8adf79c58ae39fd1cc72961031467
|
7
|
+
data.tar.gz: 8372df71883cbb82bd04ebb0a8b4c5cba93997a44447f65915ef1c19b4b2bf889349458a1a8dec1b7af160f9cf71e3387578ca02af481af9991a340aa05be3d4
|
@@ -16,7 +16,8 @@ module Souls
|
|
16
16
|
next unless line.include?("argument") && !argument
|
17
17
|
|
18
18
|
new_cols.each do |col|
|
19
|
-
type =
|
19
|
+
type = Souls::Api::Generate.type_check(col[:type])
|
20
|
+
type = "[#{type}]" if col[:array]
|
20
21
|
args = check_mutation_argument(class_name: class_name)
|
21
22
|
unless args.include?(col[:column_name])
|
22
23
|
new_line.write(" argument :#{col[:column_name]}, #{type}, required: false\n")
|
@@ -54,7 +54,7 @@ module Souls
|
|
54
54
|
col[:array] ? "be_all(String)" : "be_a(String)"
|
55
55
|
end
|
56
56
|
unless test_args.include?(col[:column_name])
|
57
|
-
new_line.write("
|
57
|
+
new_line.write(" \"#{col[:column_name]}\" => #{text},\n")
|
58
58
|
end
|
59
59
|
end
|
60
60
|
test_res = false
|
data/lib/souls/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.2
|
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.2
|