bullet_train-super_scaffolding 1.0.37 → 1.0.38

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: 1ca43f2f490c937c87fcc1493b3e194d56f2e39bccd57e01ba7eda9bbaa230fa
4
- data.tar.gz: f027670522cf4faf29a93bf237874ccffcee91f88fece103522ec2e0c0e21508
3
+ metadata.gz: 9a36a703d8509e5993686df499797d268e89052936db3e63ed98aeaacf7741c9
4
+ data.tar.gz: 7063b0438647c5eda64995c73c595c841acc316264e6dd13d1688a4e322ebb13
5
5
  SHA512:
6
- metadata.gz: 27dba84c5f1fa859f612c33897b747eb5cdcb850d6774dd1a95846c7f7dcf646630d8e8093e023e3084342cc864f2a58a669605147de16fa02fde8b74fcf2cdc
7
- data.tar.gz: 647922cfdf4696130bf23c1fe15544792ca257cc358acd98baa1f2932f09521d3457ba429fb3c8ff2e6b3a9a3f9d1e53c754b1b92d0f708ee37d6012da49a10f
6
+ metadata.gz: 3e725720d304a946448d34222a42c8d2bbe4c781e35fa7cfb345728cba4608a4275067e3a25c80b05edaee47a25f2359faae1940c04b42fd7856d6dc362dd74f
7
+ data.tar.gz: 512af4dc843dd9da18d5f1a7592b595e100dc01cb2c1e17789d9a5a5c0f0677c1a90d00c66099073820e0697c078b95b2fdda6ff87da338a8e9d81978b91438c
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module SuperScaffolding
3
- VERSION = "1.0.37"
3
+ VERSION = "1.0.38"
4
4
  end
5
5
  end
@@ -12,6 +12,21 @@ class Scaffolding::Transformer
12
12
  def update_models_abstract_class
13
13
  end
14
14
 
15
+ def created_by_reference(created_by_index_name)
16
+ end
17
+
18
+ def approved_by_reference(approved_by_index_name)
19
+ end
20
+
21
+ def has_one_team_replacement
22
+ end
23
+
24
+ def has_one_to_dedupe
25
+ end
26
+
27
+ def update_action_models_abstract_class(targets_n)
28
+ end
29
+
15
30
  def initialize(child, parents, cli_options = {})
16
31
  self.child = child
17
32
  self.parent = parents.first
data/lib/scaffolding.rb CHANGED
@@ -1,4 +1,10 @@
1
1
  module Scaffolding
2
+ mattr_accessor :database, default: :postgresql
3
+
4
+ def self.mysql?
5
+ database == :mysql
6
+ end
7
+
2
8
  def self.valid_attribute_type?(type)
3
9
  [
4
10
  "boolean",
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-super_scaffolding
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.37
4
+ version: 1.0.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-15 00:00:00.000000000 Z
11
+ date: 2022-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard