trailblazer-rails 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 +4 -4
- data/CHANGES.md +4 -0
- data/lib/trailblazer/rails/railtie.rb +9 -5
- data/lib/trailblazer/rails/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a00d731d3bb61523513f95f173bcc30e78199b0a
|
4
|
+
data.tar.gz: 6d198db0cad2bea4e9661e3a9aec5b4cad3fc091
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f12e95e33a107baf386047f45b378033111e7f493ac3f98a725422f4382fc2cf3460f1251a5b1a4338789018a060989d6eb0b659d75f676850f573813f35ebaf
|
7
|
+
data.tar.gz: ae5ec2d715325622fcaf417e48d3d5bef0f3e4d457f375e844c564fbaf2a7b45a7441929f790b9b1424922f2e44d4d9ab93d80026583b395a2a467e06d9ea79e
|
data/CHANGES.md
CHANGED
@@ -68,13 +68,17 @@ module Trailblazer
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
|
72
|
-
|
71
|
+
module ExtendApplicationController
|
72
|
+
def extend_application_controller!(app)
|
73
|
+
application_controller = app.config.trailblazer.application_controller.to_s.constantize
|
73
74
|
|
74
|
-
|
75
|
-
|
75
|
+
application_controller.send :include, Trailblazer::Rails::Controller
|
76
|
+
application_controller.send :include, Trailblazer::Rails::Controller::Cell if defined?(::Cell)
|
76
77
|
|
77
|
-
|
78
|
+
application_controller
|
79
|
+
end
|
78
80
|
end
|
81
|
+
|
82
|
+
extend ExtendApplicationController
|
79
83
|
end
|
80
84
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trailblazer-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-07-
|
11
|
+
date: 2017-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trailblazer
|
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
192
|
version: '0'
|
193
193
|
requirements: []
|
194
194
|
rubyforge_project:
|
195
|
-
rubygems_version: 2.
|
195
|
+
rubygems_version: 2.6.12
|
196
196
|
signing_key:
|
197
197
|
specification_version: 4
|
198
198
|
summary: Convenient Rails support for Trailblazer.
|