bullet_train-super_scaffolding 1.0.37 → 1.0.40
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87a39d71d1f67a3d605d8c4ae07f4bc943c960b2b53462b50849e69d6432c833
|
4
|
+
data.tar.gz: 9df95982f857ed3078a3e102289922de88923ff691850659c51f9597a51f5350
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b6039c8d90f382b04b7bc1e6214cbb03ab42c9ce1d9cf7ae9f6581524e3557174c3e9f7c06382ecc16b389570f431965618b4df6f58104e52c0018ca67f4847
|
7
|
+
data.tar.gz: 0fc1286f8a5fa5aec8505922c3a2cf73d2d48551c77141c8c8b0534a4f95b0f4d6ef0d1cef952c1014dfae565808807100a816d43b5584e00fd65eac0b4b2db5
|
@@ -72,6 +72,7 @@
|
|
72
72
|
<% end %>
|
73
73
|
<% end %>
|
74
74
|
|
75
|
+
<%# 🚅 super scaffolding will insert new targets one parent action model buttons above this line. %>
|
75
76
|
<%# 🚅 super scaffolding will insert new bulk action model buttons above this line. %>
|
76
77
|
<%= render "shared/bulk_action_select" %>
|
77
78
|
|
@@ -12,6 +12,23 @@ 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 permit_parents
|
22
|
+
["Team"]
|
23
|
+
end
|
24
|
+
|
25
|
+
def last_joinable_parent
|
26
|
+
"Team"
|
27
|
+
end
|
28
|
+
|
29
|
+
def update_action_models_abstract_class(targets_n)
|
30
|
+
end
|
31
|
+
|
15
32
|
def initialize(child, parents, cli_options = {})
|
16
33
|
self.child = child
|
17
34
|
self.parent = parents.first
|
data/lib/scaffolding.rb
CHANGED
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.
|
4
|
+
version: 1.0.40
|
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-
|
11
|
+
date: 2022-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|