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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67bdc4a661d5caa48f50e612d3ba23a39ccb5e5ef3b5f8b1869ae5feafce6650
4
- data.tar.gz: b518d3805c4d78d8e12acc1b6757654f91c4e916db811098768f455adb6eceab
3
+ metadata.gz: 860a30a5c551ba8a5f6577484b7d984b38e0ee7f4a4cff5fb595adaecf6318c4
4
+ data.tar.gz: da557bc8c982e08184de75bcd39e1743fcf0130c63ac09cbe6845644e43361eb
5
5
  SHA512:
6
- metadata.gz: 4313b616d1e86fbc7490f00ddb17977846c1583d6598fc844130840be239dd661547c335bbdb5898ab6708fc5b3e229e147f4d9a4dc9aa5d18bd3397a9bbcb47
7
- data.tar.gz: 40c5d2f2b20fa38063d243081ecf312b89d7999a0a250520a3271e33f3f02546b5468a1010903339a9a95f3fce58ef40556d16f3b9a1f0477e5ceff888447484
6
+ metadata.gz: 11415a925c60ac2e0609cb86b947065f6d79f631761945c5066a2af44029770fa265fe3af1b0f408517690db1d52fda64cd241a2439bb27c119600d188089b24
7
+ data.tar.gz: 17de01b8f3cc3362f8f84952ef589b7b9735448e49deae2e2f30dbba09b535f03ee13d37e5d62b8f44d08bb1694777f809c5dd2ad716a5824116fba1b665c30a
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module SuperScaffolding
3
- VERSION = "1.10.0"
3
+ VERSION = "1.12.0"
4
4
  end
5
5
  end
@@ -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 = "./config/models/roles.yml"
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.10.0
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-21 00:00:00.000000000 Z
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