react_on_rails 6.3.0 → 6.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/generators/react_on_rails/base_generator.rb +6 -4
- data/lib/react_on_rails/version.rb +1 -1
- data/package.json +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: 4356fb000ccf27666962248d09af71aa01af2ab9
|
4
|
+
data.tar.gz: e4c02df069b3b05dc09550d9000c7c67a1e96d7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b8fca5929a9c4d5584fc908ca20bf2a87978f01a24ab00aaaf01f939d726887f0520356887738446fee0359ff0cd090c9ad28abadb62636e6d3866ae0378a7a
|
7
|
+
data.tar.gz: 0ff01843b772a5caff20fa915647be727f76c9f8f19e030b631a0385396b2e444839f757be0058d596d435021bc4653c8649aad93c9ebd178b795e9e3e6db44d
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,10 @@ Contributors: please follow the recommendations outlined at [keepachangelog.com]
|
|
5
5
|
|
6
6
|
## [Unreleased]
|
7
7
|
|
8
|
+
## [6.3.1]
|
9
|
+
##### Changed
|
10
|
+
- Improved generator post-install help messages. [#631](https://github.com/shakacode/react_on_rails/pull/631) by [justin808](https://github.com/justin808).
|
11
|
+
|
8
12
|
## [6.3.0]
|
9
13
|
##### Changed
|
10
14
|
- Modified register API to allow registration of renderers, allowing a user to manually render their app to the DOM. This allows for code splitting and deferred loading. [#581](https://github.com/shakacode/react_on_rails/pull/581) by [jtibbertsma](https://github.com/jtibbertsma).
|
@@ -393,7 +397,8 @@ Best done with Object destructing:
|
|
393
397
|
##### Fixed
|
394
398
|
- Fix several generator related issues.
|
395
399
|
|
396
|
-
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/6.3.
|
400
|
+
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/6.3.1...master
|
401
|
+
[6.3.1]: https://github.com/shakacode/react_on_rails/compare/6.3.0...6.3.1
|
397
402
|
[6.3.0]: https://github.com/shakacode/react_on_rails/compare/6.2.1...6.3.0
|
398
403
|
[6.2.1]: https://github.com/shakacode/react_on_rails/compare/6.2.0...6.2.1
|
399
404
|
[6.2.0]: https://github.com/shakacode/react_on_rails/compare/6.1.2...6.2.0
|
@@ -117,8 +117,10 @@ Rails.application.config.assets.paths << Rails.root.join("app", "assets", "webpa
|
|
117
117
|
else
|
118
118
|
GeneratorMessages.add_info(
|
119
119
|
<<-MSG.strip_heredoc
|
120
|
-
Did not find spec/rails_helper.rb or spec/spec_helper.rb to add
|
121
|
-
|
120
|
+
Did not find spec/rails_helper.rb or spec/spec_helper.rb to add
|
121
|
+
# Ensure that if we are running js tests, we are using latest webpack assets
|
122
|
+
# This will use the defaults of :js and :server_rendering meta tags
|
123
|
+
ReactOnRails::TestHelper.configure_rspec_to_compile_assets(config)
|
122
124
|
MSG
|
123
125
|
)
|
124
126
|
end
|
@@ -141,9 +143,9 @@ Rails.application.config.assets.paths << Rails.root.join("app", "assets", "webpa
|
|
141
143
|
|
142
144
|
bundle && npm i
|
143
145
|
|
144
|
-
- Run the
|
146
|
+
- Run the foreman command to start the rails server and run webpack in watch mode.
|
145
147
|
|
146
|
-
|
148
|
+
foreman start -f Procfile.dev
|
147
149
|
|
148
150
|
- Visit http://localhost:3000/hello_world and see your React On Rails app running!
|
149
151
|
MSG
|
data/package.json
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: react_on_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.3.
|
4
|
+
version: 6.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Gordon
|
@@ -460,7 +460,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
460
460
|
version: '0'
|
461
461
|
requirements: []
|
462
462
|
rubyforge_project:
|
463
|
-
rubygems_version: 2.
|
463
|
+
rubygems_version: 2.5.1
|
464
464
|
signing_key:
|
465
465
|
specification_version: 4
|
466
466
|
summary: Rails with react server rendering with webpack.
|