react_on_rails 10.0.1 → 10.0.2

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: f77778a2d3e3388aa655c1f8906194318eec9203
4
- data.tar.gz: 9b6d46e1d7a5cff954ad3cec4c3bb5aa3255cadb
3
+ metadata.gz: efb94d1fdde90ef09be7d953e3b139fc5c6b4d9a
4
+ data.tar.gz: 45545dd16a35f4ddb94bd6bb9b6e55b9f9a3c639
5
5
  SHA512:
6
- metadata.gz: 0be5ab13362813d72c3674dd67df1df1d22069a665df7cde5ad7bc52c572ef45d213dd14bdc862d8b8471b1995e93c19297644dd233978131bfde8b6932357da
7
- data.tar.gz: dc5c2c1c68fc9913a3e7c5305ad907a739e530a8f190e9695c7e37dc5a28f9a846abd90c6b6066cd9a71307690135a820e45ef37736069802e6a5f421577f81c
6
+ metadata.gz: ea10bc4fce477f47749c58e63033e71e538ba75fc8b8faa75be1e0fd23910b2082c2b03974e5c352ccbe2ec8cf6faf1e2dbb86b3a975d4992f134812b5866a6c
7
+ data.tar.gz: add6268789bca2b97ca812ace89ad98b14721e112768c3da60637b6eeb71541a284b3de27798e8494a75f22fe5773dbcc03c6fc51ad6d3acd193b40144742733
data/.eslintrc CHANGED
@@ -18,3 +18,7 @@ rules:
18
18
 
19
19
  # https://github.com/benmosher/eslint-plugin-import/issues/340
20
20
  import/no-extraneous-dependencies: 0
21
+
22
+ settings:
23
+ import/core-modules:
24
+ - react-redux
data/CHANGELOG.md CHANGED
@@ -8,6 +8,10 @@ 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.0.2] - 2017-11-10
12
+ #### Fixed
13
+ - Remove unnecessary dependencies from released NPM package: [PR 968](https://github.com/shakacode/react_on_rails/pull/968) by [tricknotes](https://github.com/tricknotes).
14
+
11
15
  ### [10.0.1] - 2017-10-28
12
16
  #### Fixed
13
17
  - Fixed `react_component_hash` functionality in cases of prerendering errors: [PR 960](https://github.com/shakacode/react_on_rails/pull/960) by [Judahmeek](https://github.com/Judahmeek).
@@ -667,6 +671,7 @@ Best done with Object destructing:
667
671
  - Fix several generator related issues.
668
672
 
669
673
  [Unreleased]: https://github.com/shakacode/react_on_rails/compare/10.0.1...master
674
+ [10.0.2]: https://github.com/shakacode/react_on_rails/compare/10.0.0...10.0.2
670
675
  [10.0.1]: https://github.com/shakacode/react_on_rails/compare/10.0.0...10.0.1
671
676
  [10.0.0]: https://github.com/shakacode/react_on_rails/compare/9.0.3...10.0.0
672
677
  [9.0.3]: https://github.com/shakacode/react_on_rails/compare/9.0.2...9.0.3
data/README.md CHANGED
@@ -45,7 +45,7 @@ First be sure to run `rails -v` and check that you are using Rails 5.1.3 or abov
45
45
  This is the line where you turn server rendering on by setting prerender to true:
46
46
 
47
47
  ```
48
- <%%= react_component("HelloWorld", props: @hello_world_props, prerender: false) %>
48
+ <%= react_component("HelloWorld", props: @hello_world_props, prerender: false) %>
49
49
  ```
50
50
 
51
51
  ---------------
@@ -138,7 +138,7 @@ React on Rails integrates Facebook's [React](https://github.com/facebook/react)
138
138
 
139
139
  + [Features](#features)
140
140
  + [Why Webpack?](#why-webpack)
141
- + [Getting Started](#getting-started)
141
+ + [Getting Started with an existing Rails app](#getting-started-with-an-existing-rails-app)
142
142
  - [Installation Overview](#installation-overview)
143
143
  - [Initializer Configuration: config/initializers/react_on_rails.rb](#initializer-configuration)
144
144
  - [Including your React Component in your Rails Views](#including-your-react-component-in-your-rails-views)
@@ -146,13 +146,13 @@ React on Rails integrates Facebook's [React](https://github.com/facebook/react)
146
146
  + [How it Works](#how-it-works)
147
147
  - [Client-Side Rendering vs. Server-Side Rendering](#client-side-rendering-vs-server-side-rendering)
148
148
  - [Building the Bundles](#building-the-bundles)
149
- - [Rails Context](#rails-context)
149
+ - [Rails Context and Generator Functions](#rails-context-and-generator-functions)
150
150
  - [Globally Exposing Your React Components](#globally-exposing-your-react-components)
151
151
  - [ReactOnRails View Helpers API](#reactonrails-view-helpers-api)
152
152
  - [ReactOnRails JavaScript API](#reactonrails-javascript-api)
153
153
  - [React-Router](#react-router)
154
154
  - [Deployment](#deployment)
155
- + [Integration with Node.js for Server Rendering](#user-content-integration-with-nodejs-for-server-rendering)
155
+ + [Integration with Node.js for Server Rendering](#integration-with-nodejs-for-server-rendering)
156
156
  + [Additional Documentation](#additional-documentation)
157
157
  + [Contributing](#contributing)
158
158
  + [License](#license)
@@ -95,7 +95,7 @@ module ReactOnRails
95
95
  - Visit http://localhost:3000/hello_world and see your React On Rails app running!
96
96
 
97
97
  - Run bin/webpack-dev-server to start the Webpack dev server for compilation of Webpack
98
- assets assets as soon as you save. This default setup with the dev server does not work
98
+ assets as soon as you save. This default setup with the dev server does not work
99
99
  for server rendering
100
100
 
101
101
  - Alternately, you may turn off compile in config/webpacker.yml and run the foreman
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReactOnRails
4
- VERSION = "10.0.1"
4
+ VERSION = "10.0.2"
5
5
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-on-rails",
3
- "version": "10.0.1",
3
+ "version": "10.0.2",
4
4
  "description": "react-on-rails JavaScript for react_on_rails Ruby gem",
5
5
  "main": "node_package/lib/ReactOnRails.js",
6
6
  "directories": {
@@ -87,8 +87,5 @@
87
87
  "url": "https://github.com/shakacode/react_on_rails/issues"
88
88
  },
89
89
  "homepage": "https://github.com/shakacode/react_on_rails#readme",
90
- "dependencies": {
91
- "react-on-rails": "^10.0.0",
92
- "react-redux": "^5.0.6"
93
- }
90
+ "dependencies": {}
94
91
  }
data/yarn.lock CHANGED
@@ -2137,10 +2137,6 @@ hoek@2.x.x:
2137
2137
  version "2.16.3"
2138
2138
  resolved "https://registry.yarnpkg.com/hoek/-/hoek-2.16.3.tgz#20bb7403d3cea398e91dc4710a8ff1b8274a25ed"
2139
2139
 
2140
- hoist-non-react-statics@^2.2.1:
2141
- version "2.3.1"
2142
- resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.3.1.tgz#343db84c6018c650778898240135a1420ee22ce0"
2143
-
2144
2140
  home-or-tmp@^2.0.0:
2145
2141
  version "2.0.0"
2146
2142
  resolved "https://registry.yarnpkg.com/home-or-tmp/-/home-or-tmp-2.0.0.tgz#e36c3f2d2cae7d746a857e38d18d5f32a7882db8"
@@ -2261,7 +2257,7 @@ interpret@^1.0.0:
2261
2257
  version "1.0.3"
2262
2258
  resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.0.3.tgz#cbc35c62eeee73f19ab7b10a801511401afc0f90"
2263
2259
 
2264
- invariant@^2.0.0, invariant@^2.2.2:
2260
+ invariant@^2.2.2:
2265
2261
  version "2.2.2"
2266
2262
  resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.2.tgz#9e1f56ac0acdb6bf303306f338be3b204ae60360"
2267
2263
  dependencies:
@@ -2620,7 +2616,7 @@ locate-path@^2.0.0:
2620
2616
  p-locate "^2.0.0"
2621
2617
  path-exists "^3.0.0"
2622
2618
 
2623
- lodash-es@^4.2.0, lodash-es@^4.2.1:
2619
+ lodash-es@^4.2.1:
2624
2620
  version "4.17.4"
2625
2621
  resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.4.tgz#dcc1d7552e150a0640073ba9cb31d70f032950e7"
2626
2622
 
@@ -2632,7 +2628,7 @@ lodash.sortby@^4.7.0:
2632
2628
  version "4.7.0"
2633
2629
  resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
2634
2630
 
2635
- lodash@4.17.4, "lodash@>=3.5 <5", lodash@^4.0.0, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.17.4, lodash@^4.2.0, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.6.1:
2631
+ lodash@4.17.4, "lodash@>=3.5 <5", lodash@^4.0.0, lodash@^4.13.1, lodash@^4.14.0, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.3.0, lodash@^4.6.1:
2636
2632
  version "4.17.4"
2637
2633
  resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
2638
2634
 
@@ -3241,27 +3237,6 @@ react-dom@^15.6.1:
3241
3237
  object-assign "^4.1.0"
3242
3238
  prop-types "^15.5.10"
3243
3239
 
3244
- react-on-rails@^10.0.0:
3245
- version "10.0.0"
3246
- resolved "https://registry.yarnpkg.com/react-on-rails/-/react-on-rails-10.0.0.tgz#afc658bf23f5dfe3fd836adc178eb4672727a89d"
3247
- dependencies:
3248
- react-on-rails "^9.0.3"
3249
- react-redux "^5.0.6"
3250
-
3251
- react-on-rails@^9.0.0-beta.12:
3252
- version "9.0.1"
3253
- resolved "https://registry.yarnpkg.com/react-on-rails/-/react-on-rails-9.0.1.tgz#49bf7520866214e410e6f88b298e889183d93786"
3254
- dependencies:
3255
- react-on-rails "^9.0.0-beta.12"
3256
- react-redux "^5.0.6"
3257
-
3258
- react-on-rails@^9.0.3:
3259
- version "9.0.3"
3260
- resolved "https://registry.yarnpkg.com/react-on-rails/-/react-on-rails-9.0.3.tgz#da8a9873a94d62fe91e1f80d76716583f2be9da7"
3261
- dependencies:
3262
- react-on-rails "^9.0.0-beta.12"
3263
- react-redux "^5.0.6"
3264
-
3265
3240
  react-proxy@^1.1.7:
3266
3241
  version "1.1.8"
3267
3242
  resolved "https://registry.yarnpkg.com/react-proxy/-/react-proxy-1.1.8.tgz#9dbfd9d927528c3aa9f444e4558c37830ab8c26a"
@@ -3269,17 +3244,6 @@ react-proxy@^1.1.7:
3269
3244
  lodash "^4.6.1"
3270
3245
  react-deep-force-update "^1.0.0"
3271
3246
 
3272
- react-redux@^5.0.6:
3273
- version "5.0.6"
3274
- resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-5.0.6.tgz#23ed3a4f986359d68b5212eaaa681e60d6574946"
3275
- dependencies:
3276
- hoist-non-react-statics "^2.2.1"
3277
- invariant "^2.0.0"
3278
- lodash "^4.2.0"
3279
- lodash-es "^4.2.0"
3280
- loose-envify "^1.1.0"
3281
- prop-types "^15.5.10"
3282
-
3283
3247
  react-transform-hmr@^1.0.4:
3284
3248
  version "1.0.4"
3285
3249
  resolved "https://registry.yarnpkg.com/react-transform-hmr/-/react-transform-hmr-1.0.4.tgz#e1a40bd0aaefc72e8dfd7a7cda09af85066397bb"
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.0.1
4
+ version: 10.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: 2017-10-29 00:00:00.000000000 Z
11
+ date: 2017-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable