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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 438f4802448657a19eec8b4e61a88fe92b400fa6
4
- data.tar.gz: f7cbeef69e4172876e754b1a9f651a55d88a8068
3
+ metadata.gz: 4356fb000ccf27666962248d09af71aa01af2ab9
4
+ data.tar.gz: e4c02df069b3b05dc09550d9000c7c67a1e96d7f
5
5
  SHA512:
6
- metadata.gz: f4a3dac61a8ee06122987ba2b3e388ae235681bc84ff891bd7da1bdd44c29bd5b5b0a16c69216db628e3a7933105b7c34c8027514f0cbcf7a8e75bb9d1d87501
7
- data.tar.gz: 17d55ed293b3a04507874f20b8570b2a851bd76b66b2806d821dbeaa41881e94b7e32216c4f3bcec11809b7a1f0aaf054c867022c2de4c52d32faa747df52308
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.0...master
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 line
121
- config.example_status_persistence_file_path = "spec/examples.txt"
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 npm rails-server command to load the rails server.
146
+ - Run the foreman command to start the rails server and run webpack in watch mode.
145
147
 
146
- npm run rails-server
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
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ReactOnRails
3
- VERSION = "6.3.0".freeze
3
+ VERSION = "6.3.1".freeze
4
4
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-on-rails",
3
- "version": "6.3.0",
3
+ "version": "6.3.1",
4
4
  "description": "react-on-rails JavaScript for react_on_rails Ruby gem",
5
5
  "main": "node_package/lib/ReactOnRails.js",
6
6
  "directories": {
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.0
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.6.1
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.