lrd_view_tools 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/app/helpers/lrd_form_helper.rb +0 -3
- data/lib/lrd_view_tools.rb +7 -3
- metadata +5 -5
data/lib/lrd_view_tools.rb
CHANGED
@@ -4,8 +4,12 @@ require File.join(File.dirname(__FILE__), 'app', 'helpers', 'lrd_form_helper')
|
|
4
4
|
|
5
5
|
module LRD::DevTools
|
6
6
|
class Railtie < Rails::Railtie
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
initializer "LRDDevTools" do
|
8
|
+
ActionController::Base.helper(LRD::ViewHelper)
|
9
|
+
ActionController::Base.helper(LRD::DebugHelper)
|
10
|
+
ActionView::Helpers::FormHelper.send(:include, LRD::FormHelper)
|
11
|
+
ActionView::Base.send(:include, LRD::FormHelper)
|
12
|
+
ActionView::Helpers::FormBuilder.send(:include, LRD::FormBuilder)
|
13
|
+
end
|
10
14
|
end
|
11
15
|
end
|
metadata
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lrd_view_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 4
|
10
|
+
version: 0.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
|
-
- Evan Dorn
|
13
|
+
- Evan Dorn Judson Lester
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-08-29 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|