react_on_rails 11.1.0 → 11.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -3
- data/docs/tutorial.md +2 -2
- data/lib/react_on_rails/configuration.rb +1 -1
- 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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 88646d6eaec039bf8e03a91804ee7062c2b95f69ee644afeacbcccbbbd00f8e0
|
|
4
|
+
data.tar.gz: 06d46a292591e413c2167f2c1be950edd07a5da2c26165983df7334038b6e180
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a27e34d57bb71ec8143876947fa4df1a11a997d3f48bbe66837153efe54dd430f9e8cdd1bda24478064e4374f881478eef1de53e960a45aa66693c00f6dd1fa0
|
|
7
|
+
data.tar.gz: 222bcabda201fd61f367fa6f26e6c7c4efb05bedfb3017df31f7913ebea654e41ee60d64c53707dd3b0b5d7ddc983083913f4df531e9034603e6283ed41fd493
|
data/CHANGELOG.md
CHANGED
|
@@ -9,13 +9,17 @@ See [Upgrading React on Rails](./docs/basics/upgrading-react-on-rails.md) for mo
|
|
|
9
9
|
Changes since last non-beta release.
|
|
10
10
|
|
|
11
11
|
*Please add entries here for your pull requests that are not yet released.*
|
|
12
|
+
### [11.1.1] - 2018-08-09
|
|
13
|
+
#### Fixed
|
|
14
|
+
- `TRUE` was deprecated in ruby 2.4, using `true` instead. [PR 1128](https://github.com/shakacode/react_on_rails/pull/1128) by [Aguardientico](https://github.com/Aguardientico).
|
|
15
|
+
|
|
12
16
|
### [11.1.0] - 2018-08-07
|
|
13
17
|
#### Added
|
|
14
|
-
- Add random dom id option. This new global and react_component helper option allows configuring whether or not React on Rails will automatically add a random id to the DOM node ID. (https://github.com/shakacode/react_on_rails/pull/1121) by [justin808](https://github.com/justin808)
|
|
18
|
+
- Add random dom id option. This new global and react_component helper option allows configuring whether or not React on Rails will automatically add a random id to the DOM node ID. [PR 1121](https://github.com/shakacode/react_on_rails/pull/1121) by [justin808](https://github.com/justin808)
|
|
15
19
|
* Added configuration option random_dom_id
|
|
16
20
|
* Added method RenderOptions has_random_dom_id?
|
|
17
21
|
#### Fixed
|
|
18
|
-
- Fix invalid warn directive. (https://github.com/shakacode/react_on_rails/pull/1123) by [mustangostang](https://github.com/mustangostang).
|
|
22
|
+
- Fix invalid warn directive. [PR 1123](https://github.com/shakacode/react_on_rails/pull/1123) by [mustangostang](https://github.com/mustangostang).
|
|
19
23
|
|
|
20
24
|
### [11.0.10] - 2018-07-22
|
|
21
25
|
#### Fixed
|
|
@@ -789,7 +793,8 @@ Best done with Object destructing:
|
|
|
789
793
|
##### Fixed
|
|
790
794
|
- Fix several generator related issues.
|
|
791
795
|
|
|
792
|
-
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/11.1.
|
|
796
|
+
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/11.1.1...master
|
|
797
|
+
[11.1.1]: https://github.com/shakacode/react_on_rails/compare/11.1.0...11.1.
|
|
793
798
|
[11.1.0]: https://github.com/shakacode/react_on_rails/compare/11.0.10...11.1.0
|
|
794
799
|
[11.0.10]: https://github.com/shakacode/react_on_rails/compare/11.0.9...11.0.10
|
|
795
800
|
[11.0.9]: https://github.com/shakacode/react_on_rails/compare/11.0.8...11.0.9
|
data/docs/tutorial.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# React on Rails Basic Tutorial
|
|
2
2
|
|
|
3
|
-
This tutorial guides you through setting up a new or existing Rails app with **React on Rails**, demonstrating Rails + React + Redux + Server Rendering. It is updated to 11.0.
|
|
3
|
+
This tutorial guides you through setting up a new or existing Rails app with **React on Rails**, demonstrating Rails + React + Redux + Server Rendering. It is updated to 11.1.0.
|
|
4
4
|
|
|
5
5
|
After finishing this tutorial you will get an application that can do the following (live on Heroku):
|
|
6
6
|
|
|
@@ -59,7 +59,7 @@ bundle exec rails webpacker:install:react
|
|
|
59
59
|
Add the **React On Rails** gem to your Gemfile:
|
|
60
60
|
|
|
61
61
|
```
|
|
62
|
-
gem 'react_on_rails', '11.
|
|
62
|
+
gem 'react_on_rails', '11.1.8' # prefer exact gem version to match npm version
|
|
63
63
|
```
|
|
64
64
|
|
|
65
65
|
Note: Latest released React On Rails version is considered stable. Please use the latest version to ensure you get all the security patches and the best support.
|
|
@@ -9,7 +9,7 @@ module ReactOnRails
|
|
|
9
9
|
DEFAULT_GENERATED_ASSETS_DIR = File.join(%w[public webpack], Rails.env).freeze
|
|
10
10
|
DEFAULT_SERVER_RENDER_TIMEOUT = 20
|
|
11
11
|
DEFAULT_POOL_SIZE = 1
|
|
12
|
-
DEFAULT_RANDOM_DOM_ID =
|
|
12
|
+
DEFAULT_RANDOM_DOM_ID = true # for backwards compatability
|
|
13
13
|
|
|
14
14
|
def self.configuration
|
|
15
15
|
@configuration ||= Configuration.new(
|
data/package.json
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: react_on_rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 11.1.
|
|
4
|
+
version: 11.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Gordon
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-08-
|
|
11
|
+
date: 2018-08-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|