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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/Gemfile.lock +2 -2
- data/README.md +3 -3
- data/javascript/webpacker_react-npm-module/dist/package.json +1 -1
- data/javascript/webpacker_react-npm-module/package.json +5 -5
- data/javascript/webpacker_react-npm-module/src/index.js +4 -1
- data/javascript/webpacker_react-npm-module/yarn.lock +880 -559
- data/lib/webpacker/react/railtie.rb +4 -0
- data/lib/webpacker/react/version.rb +1 -1
- metadata +3 -3
@@ -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|
|
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.
|
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-
|
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.
|
153
|
+
rubygems_version: 2.6.13
|
154
154
|
signing_key:
|
155
155
|
specification_version: 4
|
156
156
|
summary: Provides React integration for Webpacker
|