webpacker-react 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,6 +7,10 @@ module Webpacker
7
7
  ActiveSupport.on_load(:action_controller) do
8
8
  ActionController::Base.helper ::Webpacker::React::Helpers
9
9
  end
10
+
11
+ ActiveSupport.on_load :action_view do
12
+ include ::Webpacker::React::Helpers
13
+ end
10
14
  end
11
15
 
12
16
  initializer :webpacker_react_renderer, group: :all do |_app|
@@ -1,5 +1,5 @@
1
1
  module Webpacker
2
2
  module React
3
- VERSION = "0.3.1".freeze
3
+ VERSION = "0.3.2".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webpacker-react
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Renaud Chaput
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-30 00:00:00.000000000 Z
11
+ date: 2017-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: webpacker
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
150
150
  version: '0'
151
151
  requirements: []
152
152
  rubyforge_project:
153
- rubygems_version: 2.5.2
153
+ rubygems_version: 2.6.13
154
154
  signing_key:
155
155
  specification_version: 4
156
156
  summary: Provides React integration for Webpacker