souls 0.30.7 → 0.30.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: 7a4d1d8b20011a9f2b4b1fa48ad73092a33c8bd25ac14691d54bf3b3be48f91f
4
- data.tar.gz: 9c6c2e0c54fb914c4b077b00dd1301a4145a9b890384a0567ced64dda532d973
3
+ metadata.gz: 5c23991005498338d7ed2aec05baef37f0b1504adc9ef017b42dbe53adbace43
4
+ data.tar.gz: 84aa755bbfad14d78d57c46be3d15a197e8b3dc700d182e9d3583a3caf32f77c
5
5
  SHA512:
6
- metadata.gz: 68fff94ac5906851ebd89a3a544136b9158976488a367e069ab334833e6ee6964fc1fa5334ee090ae20ee589d3967c468473eb3a98267d646bf2fd49db62f86f
7
- data.tar.gz: 2d460978cbae9f2699a773088a0d5b9fb562ec4e40e290f2f837157fd0221951a2aa9409598002a87e658a33b3f4c30d378b80eb291d23cc0a3476327b0b7560
6
+ metadata.gz: 3d6f92cf53bfd1fd67bb1e4074ef443d94ffbe32ac44128777dd7a9516cb51e9fd824f5a85fb1bfc14d80f6de33f4fe315cb6b30c7c62ed522e2abf494ea6fef
7
+ data.tar.gz: 2b9024aca07b686ed2e647f9de79da7083a088340add99b45364f4ef3c4e2588f1789b710b96217c2de8d036d1c62148ec161b95164652c1c596ae5682eaeb7f
@@ -24,6 +24,7 @@ module Souls
24
24
  new_cols.each do |col|
25
25
  type = Souls::Api::Generate.type_check(col[:type])
26
26
  next if col[:column_name] == "created_at" || col[:column_name] == "updated_at"
27
+
27
28
  type_line =
28
29
  if type == "String" && !col[:array]
29
30
  " #{col[:column_name].camelize(:lower)}: \"\#{#{class_name}[:#{col[:column_name].underscore}]}\"\n"
@@ -31,7 +32,7 @@ module Souls
31
32
  " #{col[:column_name].camelize(:lower)}: \#{#{class_name}[:#{col[:column_name].underscore}]}\n"
32
33
  end
33
34
  args = check_rspec_mutation_argument(class_name: class_name)
34
- new_line.write(type_line) unless args.include?(col[:column_name].singularize.underscore)
35
+ new_line.write(type_line) unless args.include?(col[:column_name].underscore)
35
36
  end
36
37
  argument = true
37
38
  elsif node_res && !line.include?("{")
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.30.7".freeze
2
+ VERSION = "0.30.8".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.9.7
1
+ 0.9.8
@@ -1 +1 @@
1
- 0.9.7
1
+ 0.9.8
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: souls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.30.7
4
+ version: 0.30.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI