bullet_train-super_scaffolding 1.10.0 → 1.12.0
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 +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 860a30a5c551ba8a5f6577484b7d984b38e0ee7f4a4cff5fb595adaecf6318c4
|
4
|
+
data.tar.gz: da557bc8c982e08184de75bcd39e1743fcf0130c63ac09cbe6845644e43361eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11415a925c60ac2e0609cb86b947065f6d79f631761945c5066a2af44029770fa265fe3af1b0f408517690db1d52fda64cd241a2439bb27c119600d188089b24
|
7
|
+
data.tar.gz: 17de01b8f3cc3362f8f84952ef589b7b9735448e49deae2e2f30dbba09b535f03ee13d37e5d62b8f44d08bb1694777f809c5dd2ad716a5824116fba1b665c30a
|
@@ -483,7 +483,7 @@ class Scaffolding::Transformer
|
|
483
483
|
|
484
484
|
def add_ability_line_to_roles_yml(class_names = nil)
|
485
485
|
model_names = class_names || [child]
|
486
|
-
role_file = "
|
486
|
+
role_file = "#{Rails.root}/config/models/roles.yml"
|
487
487
|
roles_hash = YAML.load_file(role_file)
|
488
488
|
default_role_placements = [
|
489
489
|
[:default, :models],
|
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.
|
4
|
+
version: 1.12.0
|
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-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: simplecov
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rails
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|