react_on_rails 13.0.1 → 13.0.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 +5 -1
- data/README.md +1 -1
- data/lib/react_on_rails/helper.rb +3 -2
- 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: 70b55160147309cf5da5f36f8d1f23ebad08c70b5d13362acc38ed1c6fbcd780
|
4
|
+
data.tar.gz: d6635ba54093daec5ee69412f46b0751d18dd035e37c69886625e94f3bc24728
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bffe017f74585f13ddb5a647d0684b778e48fc40ebf62e586d0b1091cfa04716602a1fa54c21118fc0b43e2d4d9b6d65b9a5c333c3ea6b31ad2a90b9e7675a60
|
7
|
+
data.tar.gz: 2ea465e9a7cc0da248743bade989b811f1703371ca8dd757e9b072cb6b30106e4ebf2cc9351f742d4b8c63782b0b101183ca676733418df0d12677a84f05ccec
|
data/CHANGELOG.md
CHANGED
@@ -16,9 +16,13 @@ Please follow the recommendations outlined at [keepachangelog.com](http://keepac
|
|
16
16
|
Changes since last non-beta release.
|
17
17
|
|
18
18
|
*Please add entries here for your pull requests that are not yet released.*
|
19
|
+
### [13.0.2] - 2022-03-09
|
20
|
+
#### Fixed
|
21
|
+
- React 16 doesn't support version property, causing problems loading React on Rails. [PR 1435](https://github.com/shakacode/react_on_rails/pull/1435) by [justin808](https://github.com/justin808).
|
22
|
+
|
19
23
|
### [13.0.1] - 2022-02-09
|
20
24
|
#### Improved
|
21
|
-
- Updated the default generator [PR 1431](https://github.com/shakacode/react_on_rails/pull/1431) by [justin808](https://github.com/justin808).
|
25
|
+
- Updated the default generator. [PR 1431](https://github.com/shakacode/react_on_rails/pull/1431) by [justin808](https://github.com/justin808).
|
22
26
|
|
23
27
|
### [13.0.0] - 2022-02-08
|
24
28
|
#### Breaking
|
data/README.md
CHANGED
@@ -44,7 +44,7 @@ To provide a high performance framework for integrating Ruby on Rails with React
|
|
44
44
|
Given that `rails/webpacker` gem already provides basic React integration, why would you use "React on Rails"?
|
45
45
|
|
46
46
|
1. Easy passing of props directly from your Rails view to your React components rather than having your Rails view load and then make a separate request to your API.
|
47
|
-
1. Tight integration with [shakapacker](https://github.com/shakacode/shakapacker) (or it's predecessor [rails/webpacker](https://github.com/rails/webpacker
|
47
|
+
1. Tight integration with [shakapacker](https://github.com/shakacode/shakapacker) (or it's predecessor [rails/webpacker](https://github.com/rails/webpacker)).
|
48
48
|
1. Server-Side Rendering (SSR), often used for SEO crawler indexing and UX performance.
|
49
49
|
1. [Redux](https://github.com/reactjs/redux) and [React Router](https://github.com/ReactTraining/react-router#readme) integration with server-side-rendering.
|
50
50
|
1. [Internationalization (I18n) and (localization)](https://www.shakacode.com/react-on-rails/docs/guides/i18n)
|
@@ -279,8 +279,9 @@ module ReactOnRails
|
|
279
279
|
# URLs as UTF-8. This situation can occur in browsers that do not encode the
|
280
280
|
# entire URL as UTF-8 already, mostly on the Windows platform (IE11 and lower).
|
281
281
|
original_url_normalized = request.original_url
|
282
|
-
if original_url_normalized.encoding
|
283
|
-
original_url_normalized = original_url_normalized.force_encoding(
|
282
|
+
if original_url_normalized.encoding == Encoding::BINARY
|
283
|
+
original_url_normalized = original_url_normalized.force_encoding(Encoding::ISO_8859_1)
|
284
|
+
.encode(Encoding::UTF_8)
|
284
285
|
end
|
285
286
|
|
286
287
|
# Using Addressable instead of standard URI to better deal with
|
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: 13.0.
|
4
|
+
version: 13.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Gordon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|