souls 0.30.6 → 0.30.7

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: 5ebfb8f46ba74e3981c76d2c31a0605338f899f0921214394cc1f130fe10d443
4
- data.tar.gz: ce856e57c384e0b7f21d2e1b74995cef24796e5779269545d441ff51b829708e
3
+ metadata.gz: 7a4d1d8b20011a9f2b4b1fa48ad73092a33c8bd25ac14691d54bf3b3be48f91f
4
+ data.tar.gz: 9c6c2e0c54fb914c4b077b00dd1301a4145a9b890384a0567ced64dda532d973
5
5
  SHA512:
6
- metadata.gz: 3edd0d19021505e7795100eeaf9f64f480684445d1d8d8d7310c24781757443dfdf4f62e1ca433a5a030be79bf7dd2d340673369496f6593b215968ff953c575
7
- data.tar.gz: b5d1f18fefacc8978e157b34d045d5b58d5c591b3cf963021be832b99903aba898ee95b81a201759a4be2cc4cbc8b9472742231e0953298e65285b606e1cef4a
6
+ metadata.gz: 68fff94ac5906851ebd89a3a544136b9158976488a367e069ab334833e6ee6964fc1fa5334ee090ae20ee589d3967c468473eb3a98267d646bf2fd49db62f86f
7
+ data.tar.gz: 2d460978cbae9f2699a773088a0d5b9fb562ec4e40e290f2f837157fd0221951a2aa9409598002a87e658a33b3f4c30d378b80eb291d23cc0a3476327b0b7560
@@ -17,6 +17,8 @@ module Souls
17
17
  next unless line.include?("{") && !argument
18
18
 
19
19
  new_cols.each do |col|
20
+ next if col[:column_name] == "created_at" || col[:column_name] == "updated_at"
21
+
20
22
  type = Souls::Api::Generate.get_test_type(col[:type])
21
23
  type = "[#{type}]" if col[:array]
22
24
  args = check_factory_argument(class_name: class_name)
@@ -23,6 +23,7 @@ module Souls
23
23
  if line.include?('#{') && !argument
24
24
  new_cols.each do |col|
25
25
  type = Souls::Api::Generate.type_check(col[:type])
26
+ next if col[:column_name] == "created_at" || col[:column_name] == "updated_at"
26
27
  type_line =
27
28
  if type == "String" && !col[:array]
28
29
  " #{col[:column_name].camelize(:lower)}: \"\#{#{class_name}[:#{col[:column_name].underscore}]}\"\n"
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Souls
2
- VERSION = "0.30.6".freeze
2
+ VERSION = "0.30.7".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 0.9.6
1
+ 0.9.7
@@ -1 +1 @@
1
- 0.9.6
1
+ 0.9.7
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.6
4
+ version: 0.30.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI