react_on_rails 10.1.1 → 10.1.3

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
- SHA1:
3
- metadata.gz: 26a6c00d39c2031d2cda11b61ebc2b562644240e
4
- data.tar.gz: e27c0790085a9e8fa2dd16c6ec07a959b9148a86
2
+ SHA256:
3
+ metadata.gz: fb302b8350ede38683a4c47aa93ba4d370190d0e051fc03646fab235b7bfc8de
4
+ data.tar.gz: 5bb9691c1a9814d9e17e7d99ca75a471bdb43fd1e53373d2f315f2d15c94d81f
5
5
  SHA512:
6
- metadata.gz: d3fcbad942b432195f3f4cb6695b7be976389d39709dc887060ae20597623944ecc535b97fa94e42cdb024ab38d6a39a4f127daa06f9d78fe7ae4eda2493aed0
7
- data.tar.gz: 490fd7b4b5ae8333a834bf43887c94b7883dd5d96b02057f04073e51e6476070dff26d2354655e96c02be9b0f9ccc762762f9c0e4cd6a656f9847dfe5197cd61
6
+ metadata.gz: 3a294a9d796137ea9bb5dde298dc80c29b925989103bc65f7114993353bbc6f0dfa55cdb4cc51ae0d656e518d917ecae1d95af41996d328c6c72986f7877dc5c
7
+ data.tar.gz: 8b3d11cc0172eb5d1a721c8c9e130c51085a7cf2f7fd0ffeacd56a3dea0a4875414e8e2026845c42ee73aeacf0da2633e0c5acaa810716ad96d6b9dbd6558702
@@ -6,6 +6,7 @@ rvm:
6
6
  # Rails 5 requires 2.2
7
7
  - 2.3.1
8
8
  - 2.4.1
9
+ - 2.5.0
9
10
  - 2.2.6
10
11
  services:
11
12
  - docker
@@ -57,6 +58,8 @@ matrix:
57
58
  rvm: 2.3.1
58
59
  - gemfile: spec/dummy_no_webpacker/Gemfile.rails32
59
60
  rvm: 2.4.1
61
+ - gemfile: spec/dummy_no_webpacker/Gemfile.rails32
62
+ rvm: 2.5.0
60
63
  - gemfile: spec/dummy/Gemfile
61
64
  rvm: 2.2.6
62
65
 
@@ -8,6 +8,14 @@ Changes since last non-beta release.
8
8
 
9
9
  *Please add entries here for your pull requests that are not yet released.*
10
10
 
11
+ ### [10.1.3] - 2018-02-28
12
+ #### Fixed
13
+ - Improved error reporting on version mismatches between Javascript and Ruby packages. [PR 1025](https://github.com/shakacode/react_on_rails/pull/1025) by [theJoeBiz](https://github.com/squadette).
14
+
15
+ ### [10.1.2] - 2018-02-27
16
+ #### Fixed
17
+ - Use ReactDOM.hydrate() for hydrating a SSR component if available. ReactDOM.render() has been deprecated for use on SSR components in React 16 and this addresses the warning. [PR 1028](https://github.com/shakacode/react_on_rails/pull/1028) by [theJoeBiz](https://github.com/theJoeBiz).
18
+
11
19
  ### [10.1.1] - 2018-01-26
12
20
  #### Fixed
13
21
  - Fixed issue with server-rendering error handler: [PR 1020](https://github.com/shakacode/react_on_rails/pull/1020) by [jblasco3](https://github.com/jblasco3).
@@ -683,7 +691,9 @@ Best done with Object destructing:
683
691
  ##### Fixed
684
692
  - Fix several generator related issues.
685
693
 
686
- [Unreleased]: https://github.com/shakacode/react_on_rails/compare/10.1.1...master
694
+ [Unreleased]: https://github.com/shakacode/react_on_rails/compare/10.1.3...master
695
+ [10.1.3]: https://github.com/shakacode/react_on_rails/compare/10.1.2...10.1.3
696
+ [10.1.2]: https://github.com/shakacode/react_on_rails/compare/10.1.1...10.1.2
687
697
  [10.1.1]: https://github.com/shakacode/react_on_rails/compare/10.1.0...10.1.1
688
698
  [10.1.0]: https://github.com/shakacode/react_on_rails/compare/10.0.2...10.1.0
689
699
  [10.0.2]: https://github.com/shakacode/react_on_rails/compare/10.0.1...10.0.2
data/README.md CHANGED
@@ -121,6 +121,7 @@ For more testimonials, see [Live Projects](PROJECTS.md) and [Kudos](./KUDOS.md).
121
121
  ------
122
122
 
123
123
  # NEWS
124
+ * 2018-02-27: **Version 10.1.2** Supports the React API for ReactDOM.hydrate.
124
125
  * 2017-09-06: **VERSION 9.0.0 shipped!** This version depends on Webpacker directly. See the [CHANGELOG.md](https://github.com/shakacode/react_on_rails/blob/master/CHANGELOG.md) for migration instructions.
125
126
  * The Docs here on `master` refer to 9.x including support for [rails/webpacker](https://github.com/rails/webpacker).
126
127
  *Use the [7.0.4 docs](https://github.com/shakacode/react_on_rails/tree/7.0.4) to refer to the older asset pipeline way.*
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReactOnRails
4
- VERSION = "10.1.1".freeze
4
+ VERSION = "10.1.3".freeze
5
5
  end
@@ -82,6 +82,9 @@ module ReactOnRails
82
82
  def major_minor_patch
83
83
  return if relative_path?
84
84
  match = raw.match(MAJOR_MINOR_PATCH_VERSION_REGEX)
85
+ unless match
86
+ raise "Cannot parse version number '#{raw}' (wildcard versions are not supported)"
87
+ end
85
88
  [match[1], match[2], match[3]]
86
89
  end
87
90
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-on-rails",
3
- "version": "10.1.1",
3
+ "version": "10.1.3",
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: react_on_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.1.1
4
+ version: 10.1.3
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-01-27 00:00:00.000000000 Z
11
+ date: 2018-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -475,7 +475,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
475
475
  version: '0'
476
476
  requirements: []
477
477
  rubyforge_project:
478
- rubygems_version: 2.6.14
478
+ rubygems_version: 2.7.2
479
479
  signing_key:
480
480
  specification_version: 4
481
481
  summary: Rails with react server rendering with webpack.