react_on_rails 11.1.0.beta.1 → 11.1.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5687d77e654b890214e39ea3536ed17983845335c442d2eb2cd4a8b09728205
4
- data.tar.gz: 33976af7da00de964d3385772a57e9e0aa45f068ebe4d1e3a6590b963e524e8b
3
+ metadata.gz: c8d7e72c5130da6716546e083faf1253a40f39b3e794de46c9872845fb452974
4
+ data.tar.gz: 3dd67dfec4427ea009f42f662f038c01d752f509a212485849b2967ee24189cc
5
5
  SHA512:
6
- metadata.gz: dcc783be172cce095c75115e11d3bedfcf1f8e801cc577ab001087704985c644b68dae9403ae911ba0371317d32147b773e058395e27250bbac201186895b25d
7
- data.tar.gz: '0068fd2eb0ed4965a5a3e89f8915f11444ff591c83a62f72250a51f75d0b6a18c74589bf57f0add986f27941110c39c527ffd35a8f5f80353490ca0ca9fa0afd'
6
+ metadata.gz: 39dc9b2f86a178e84108f39b51109d84701700f5b69dbaa15141c849fb8a993d4eacb0ff09f8c272c73c9b18d9446b69daf2c668bc478d7d0c0ddbb15128c273
7
+ data.tar.gz: cd6de63a8fa962763954193d86e7f8b1a813f13a0abdd5257b5a1356dce89f6d588205c3bb4359d3a0237d6e39fd8d8bdde534b45d8eb30b19e6e8b5a8ebf95c
data/CHANGELOG.md CHANGED
@@ -9,10 +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.0] - 2018-08-07
13
+ #### 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)
15
+ * Added configuration option random_dom_id
16
+ * Added method RenderOptions has_random_dom_id?
17
+ #### Fixed
18
+ - Fix invalid warn directive. (https://github.com/shakacode/react_on_rails/pull/1123) by [mustangostang](https://github.com/mustangostang).
12
19
 
13
20
  ### [11.0.10] - 2018-07-22
14
21
  #### Fixed
15
- - Much better logging of rendering errors when there are lots of props. Only the a 1,000 chars are logged, and the center is indicated to be truncated. [PR 1117](https://github.com/shakacode/react_on_rails/pull/1117) and [PR 1118](https://github.com/shakacode/react_on_rails/pull/1117) by [justin808](https://github.com/justin808).
22
+ - Much better logging of rendering errors when there are lots of props. Only the a 1,000 chars are logged, and the center is indicated to be truncated. [PR 1117](https://github.com/shakacode/react_on_rails/pull/1117) and [PR 1118](https://github.com/shakacode/react_on_rails/pull/1118) by [justin808](https://github.com/justin808).
16
23
  - Properly clearing hydrated stores when server rendering. [PR 1120](https://github.com/shakacode/react_on_rails/pull/1120) by [squadette](https://github.com/squadette).
17
24
 
18
25
  ### [11.0.9] - 2018-06-24
@@ -782,7 +789,8 @@ Best done with Object destructing:
782
789
  ##### Fixed
783
790
  - Fix several generator related issues.
784
791
 
785
- [Unreleased]: https://github.com/shakacode/react_on_rails/compare/11.0.10...master
792
+ [Unreleased]: https://github.com/shakacode/react_on_rails/compare/11.1.0...master
793
+ [11.1.0]: https://github.com/shakacode/react_on_rails/compare/11.0.10...11.1.0
786
794
  [11.0.10]: https://github.com/shakacode/react_on_rails/compare/11.0.9...11.0.10
787
795
  [11.0.9]: https://github.com/shakacode/react_on_rails/compare/11.0.8...11.0.9
788
796
  [11.0.8]: https://github.com/shakacode/react_on_rails/compare/11.0.7...11.0.8
@@ -210,7 +210,7 @@ module ReactOnRails
210
210
  assets_dir = ReactOnRails::Utils.generated_assets_full_path
211
211
  self.server_bundle_js_file = File.basename(server_bundle_js_file)
212
212
 
213
- Rails.logger_warn do
213
+ Rails.logger.warn do
214
214
  "[DEPRECATION] ReactOnRails: remove path from server_bundle_js_file in configuration. "\
215
215
  "All generated files must go in #{assets_dir}. Using file basename #{server_bundle_js_file}"
216
216
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReactOnRails
4
- VERSION = "11.1.0.beta.1".freeze
4
+ VERSION = "11.1.0".freeze
5
5
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-on-rails",
3
- "version": "11.1.0-beta.1",
3
+ "version": "11.1.0",
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: 11.1.0.beta.1
4
+ version: 11.1.0
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-07-23 00:00:00.000000000 Z
11
+ date: 2018-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable
@@ -503,9 +503,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
503
503
  version: 2.1.0
504
504
  required_rubygems_version: !ruby/object:Gem::Requirement
505
505
  requirements:
506
- - - ">"
506
+ - - ">="
507
507
  - !ruby/object:Gem::Version
508
- version: 1.3.1
508
+ version: '0'
509
509
  requirements: []
510
510
  rubyforge_project:
511
511
  rubygems_version: 2.7.7