bullet_train-super_scaffolding 1.7.19 → 1.7.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bullet_train/super_scaffolding/version.rb +1 -1
- data/lib/scaffolding/transformer.rb +0 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '098a7941bdbf5300eec1a3ffbb8206c5dbd51dd8452d9da9bff51302d6f53893'
|
4
|
+
data.tar.gz: c74a9827aa211bf3539e7db8254d5e0bc6c278b51802abe98ef8dac1987ca950
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cef362032e1aed740dfb989e922ef7782a76c718911aa0a59a38a0e0c93061623ec1ee8b46564b902d8213b51af010335bfa0332765501da70f8db13b7de94eb
|
7
|
+
data.tar.gz: 0f185896b4a309642bee81c09a445ba7d48561d2aed23096e3ae871f46bbb7805bcefc9f9808ee45bf2a7389c45d06c167ef7977fd308bde95c01fadfd9bb8bb
|
@@ -717,8 +717,6 @@ class Scaffolding::Transformer
|
|
717
717
|
if attribute.is_belongs_to?
|
718
718
|
scaffold_add_line_to_file(file_name, "validates :#{attribute.name_without_id}, scope: true", VALIDATIONS_HOOK, prepend: true)
|
719
719
|
end
|
720
|
-
|
721
|
-
# TODO we need to add a multitenancy check for has many associations.
|
722
720
|
end
|
723
721
|
|
724
722
|
end
|
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.7.
|
4
|
+
version: 1.7.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|