webpack-rails-react 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/generators/webpack_rails_react/install_generator.rb +1 -1
- data/lib/webpack/rails/react/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72ea94976aacb0823f175d4602d72f76cebc186d
|
4
|
+
data.tar.gz: 354d077dccc95f9cd289631c4f43f150ecd7cabd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d10fd0265f9882c0baf37d8c76fa6e06d69e10d1573cbbf47e14dcc8e72c32fffd901d8864e9f4ebb786c80d0c5901e88a8096c2c6311cde9efc05dd86019b6f
|
7
|
+
data.tar.gz: 4ca18a34212177b7109b6c8e1e1faacec5af3c3a0d29ed2e859439ba3fe482e09a962b80b5f9fb1ef2ca301020622b42ec85665260777a03edef684e6a18c2ae
|
data/README.md
CHANGED
@@ -17,7 +17,7 @@ This gem has been tested against Rails 4.2 and Ruby 2.2. Earlier versions of Rai
|
|
17
17
|
1. Add `webpack-rails-react` to your gemfile
|
18
18
|
1. Run `bundle install` to install the gem
|
19
19
|
1. Run `bundle exec rails generate webpack_rails_react:install` to copy across example files
|
20
|
-
1. Run `
|
20
|
+
1. Run `npm run dev_server` to start `webpack-dev-server`
|
21
21
|
1. Add the webpack entry point to your layout (see next section)
|
22
22
|
1. Edit `webpack/application.js` and write some code
|
23
23
|
|
@@ -75,7 +75,7 @@ module WebpackRailsReact
|
|
75
75
|
if File.exists? application_view
|
76
76
|
insert_into_file 'app/views/layouts/application.html.erb', before: /<\/body>/ do
|
77
77
|
<<-'RUBY'
|
78
|
-
<%=
|
78
|
+
<%= javascript_include_tag *webpack_asset_paths('application') %>
|
79
79
|
RUBY
|
80
80
|
end
|
81
81
|
insert_into_file 'app/views/layouts/application.html.erb', before: /<\/head>/ do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webpack-rails-react
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dave Jungst
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-08-
|
12
|
+
date: 2016-08-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|