bullet_train-super_scaffolding-templates 1.0.3 → 1.0.4

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: 91a47fc9cb0dbe64f66e4c75aa8d3bf31d2dc5ef65fcd96b55f4d4d116034035
4
- data.tar.gz: fe256f1a17d054bbce69cab12511756ca43cf093dbdd343989de746231ba84ab
3
+ metadata.gz: 7e3deda7c521320104088d57d2d5572b29a033a4258e7833998bf6d9a065f83c
4
+ data.tar.gz: 3d44b37ccdc308b5c0938562491747f205a64e8ea27116ad0320d9b64578331c
5
5
  SHA512:
6
- metadata.gz: b4967bcda33d2b818f2b20747546510b07d2a4c0bdad95e73c068087a1d921a04c298504e7c5a017cc5193e0a4a537c52ccdfb44c5a081921c75ac02f806e1f2
7
- data.tar.gz: ea1825218004823f0b76f25dea0c1a1b2ffc741d1f1ff989edc5514d783bd83e6af191e641f27167dcdbcd4b8c9f5c9c83505a071026e160ad0dba1308f7636a
6
+ metadata.gz: 1b94b2f08bf8edb862dfd13ae86ced92d6c953aed57a39856188de16dd62baa973c42485dde41abcaea951a5d37377bb9fba2cc5f8bbf4bebafe322136891bff
7
+ data.tar.gz: 6edcfcc3695099ddfc6bb26fc5e2bcda5b124ce333742b8c5c822550a4fd33899e1d83f3c6057990d3ed7e6399526ba147d2d82499020b3bd289fd1f3d381c91
@@ -2,6 +2,10 @@ module BulletTrain
2
2
  module SuperScaffolding
3
3
  module Templates
4
4
  class Engine < ::Rails::Engine
5
+ initializer "bullet_train.super_scaffolding.templates.register_template_path" do |app|
6
+ # Register the base path of this package with the Super Scaffolding engine.
7
+ BulletTrain::SuperScaffolding.template_paths << File.expand_path('../../../../..', __FILE__)
8
+ end
5
9
  end
6
10
  end
7
11
  end
@@ -1,7 +1,7 @@
1
1
  module BulletTrain
2
2
  module SuperScaffolding
3
3
  module Templates
4
- VERSION = "1.0.3"
4
+ VERSION = "1.0.4"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-super_scaffolding-templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
@@ -102,7 +102,6 @@ files:
102
102
  - db/migrate/20210602230736_add_option_fields_to_scaffolding_completely_concrete_tangible_things.rb
103
103
  - lib/bullet_train/super_scaffolding/templates.rb
104
104
  - lib/bullet_train/super_scaffolding/templates/engine.rb
105
- - lib/bullet_train/super_scaffolding/templates/path_helper.rb
106
105
  - lib/bullet_train/super_scaffolding/templates/version.rb
107
106
  - lib/tasks/bullet_train/super_scaffolding/templates_tasks.rake
108
107
  homepage: https://github.com/bullet-train-co/bullet_train-super_scaffolding-templates
@@ -1,13 +0,0 @@
1
- # TODO This only exists because we're not loading engines as part of `bin/super-scaffold` right now, otherwise we
2
- # would do it as part of the engine initializer.
3
- module BulletTrain
4
- module SuperScaffolding
5
- module Templates
6
- class PathHelper
7
- def root_path
8
- @root_path ||= Pathname.new(File.expand_path('../../../../..', __FILE__))
9
- end
10
- end
11
- end
12
- end
13
- end