react_on_rails 6.1.1 → 6.1.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: e0c71a39501e0eb29676ebb4003e70f64b29a754
4
- data.tar.gz: e1891e86f9f814cbf14493a0e36d6cab45309459
3
+ metadata.gz: 6e9e287198cdafe96e7c78f33e3b01c6d9ae4bbd
4
+ data.tar.gz: 682f3310d6260d6bf73d8651c187ec65c7d3ad74
5
5
  SHA512:
6
- metadata.gz: 10e3d05d3c8ebce907a8c29d337a31961b4e9f66d3b816de2881bdcd0c53bb42212f05f760e153d2c236bb076a4d58d03e7cf355a76cbe847165dc80d388c9da
7
- data.tar.gz: 3898da0b35b3014e6294becd7b81853b24d73e84e43a220bb51dc9b5c9497450796d7907699a63aa1aa44b470e6952f72f2b765a2774701733ee026d8ba34615
6
+ metadata.gz: 243ebf56d4c2561c313d98871f8cf54634913d429c521c7a6295e1defb047a65cd11029936196970c11e7230c0fb21b3731b7899523d28db51268aabaf92e214
7
+ data.tar.gz: f03c94c472d6673e35a44e82f7b7d77d7d14b1bbf4f1d41d29990d13bde61f7e999648f12420d588cfe306ad7414122c430e2207c6795c5c052ee9b085b3b4b9
data/.eslintrc CHANGED
@@ -1,6 +1,4 @@
1
1
  ---
2
- parser: babel-eslint
3
-
4
2
  extends: eslint-config-shakacode
5
3
 
6
4
  plugins:
data/.jscsrc CHANGED
@@ -5,6 +5,7 @@
5
5
  ".jsx"
6
6
  ],
7
7
  "excludeFiles": [
8
+ "**/.c9/**",
8
9
  "**/build/**",
9
10
  "**/node_modules/**",
10
11
  "**/assets/webpack/**",
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. Items under
3
3
 
4
4
  Contributors: please follow the recommendations outlined at [keepachangelog.com](http://keepachangelog.com/). Please use the existing headings and styling as a guide, and add a link for the version diff at the bottom of the file. Also, please update the `Unreleased` link to compare to the latest release version.
5
5
 
6
+ ## [Unreleased]
7
+ ##### Fixed
8
+ - Added compatibility with older manifest.yml files produced by Rails 3 Sprockets when symlinking digested assets during precompilation [#566](https://github.com/shakacode/react_on_rails/pull/566) by [etripier](https://github.com/etripier).
9
+
6
10
  ## [6.1.1] 2016-09-09
7
11
  ##### Fixed
8
12
  - React on Rails was incorrectly failing to create symlinks when a file existed in the location for the new symlink. [#491](https://github.com/shakacode/react_on_rails/pull/541) by [robwise ](https://github.com/robwise) and [justin808](https://github.com/justin808).
@@ -133,7 +137,7 @@ All 5.1.0 changes can be found in [#362](https://github.com/shakacode/react_on_r
133
137
  - Previously, you could pass arbitrary additional html attributes to react_component. Now, you need to pass them in as a named parameter `html_options` to react_component.
134
138
 
135
139
  ##### Breaking Changes
136
- - You must provide named attributes, including `props` for view helper `react_compnent`. See [this commit]](https://github.com/shakacode/react-webpack-rails-tutorial/commit/a97fa90042cbe27be7fd7fa70b5622bfcf9c3673) for an example migration used for [www.reactrails.com](http://www.reactrails.com).
140
+ - You must provide named attributes, including `props` for view helper `react_component`. See [this commit](https://github.com/shakacode/react-webpack-rails-tutorial/commit/a97fa90042cbe27be7fd7fa70b5622bfcf9c3673) for an example migration used for [www.reactrails.com](http://www.reactrails.com).
137
141
 
138
142
  ## [4.0.3] - 2016-03-17
139
143
 
@@ -3,7 +3,7 @@
3
3
  * See [docs/contributor-info/Releasing](./docs/contributor-info/releasing.md) for instructions on releasing.
4
4
  * See other docs in [docs/contributor-info](./docs/contributor-info)
5
5
 
6
- ## Sumary
6
+ ## Summary
7
7
 
8
8
  For non-doc fixes:
9
9
 
data/KUDOS.md CHANGED
@@ -23,3 +23,5 @@ https://twitter.com/ollieglass/status/713372606804729856
23
23
  ![2016-05-10_18-19-32](https://cloud.githubusercontent.com/assets/1118459/15170483/f00e344c-16e1-11e6-93f6-ded2637b227b.png)
24
24
 
25
25
  ![2016-06-15_08-57-25](https://cloud.githubusercontent.com/assets/1118459/16093324/33077310-32d7-11e6-88f3-69aa73bd7d9f.png)
26
+
27
+ ![2016-09-11_17-55-46](https://cloud.githubusercontent.com/assets/1118459/18424209/0c8bdade-7849-11e6-96a7-3b58b26308ce.png)
@@ -12,8 +12,11 @@
12
12
  * **[Airgoat](https://airgoat.com/)**: Marketplace for sneakers.
13
13
  * **[Apprentus](https://www.apprentus.com/)**: A marketplace to find the best private teachers. Using react-on-rails from the homepage to infinity!
14
14
  * **[Confident Financial Solutions](https://www.mycfsapp.com/)**: Auto Repair Financing to help people get back on the road and back to life.
15
-
15
+ * **[Flyhomes](https://www.flyhomes.com/)**: Real estate brokerage service that awards frequent flyer miles.
16
+ * **[Undeveloped](https://undeveloped.com/)**: Buy and sell domain names.
17
+ ![image](https://cloud.githubusercontent.com/assets/1118459/19623703/7c6d63d0-9870-11e6-83f2-8b83ca49daa9.png)
16
18
 
19
+
17
20
  ## Commercial Products in Development
18
21
  * **[GuavaPass](https://guavapass.com/)**: Coaching client of [ShakaCode](http://www.shakacode.com) and React on Rails fan!
19
22
  * **[Pivotal Tracker](http://www.pivotaltracker.com/)**: The first (and most-loved) agile project management tool built on Rails. React on Rails has greatly simplified integration and workflow for our React components in Rails!
data/README.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  **For a complete example of this gem, see our live demo at [www.reactrails.com](http://www.reactrails.com). ([Source Code](https://github.com/shakacode/react-webpack-rails-tutorial))**
4
4
 
5
- Aloha from Justin Gordon ([bio](http://www.railsonmaui.com/about)) and the [ShakaCode](http://www.shakacode.com) Team! We're actively looking for new projects. If you like **React on Rails**, please consider contacting me at [justin@shakacode.com](mailto:justin@shakacode.com) if we could potentially help you in any way. Besides consulting on bigger projects, [ShakaCode](http://www.shakacode.com) is doing Skype plus Slack/Github based coaching for React on Rails. [Click here](http://www.shakacode.com/work/index.html) for more information.
5
+ Aloha from Justin Gordon ([bio](http://www.railsonmaui.com/about)) and the [ShakaCode](http://www.shakacode.com) Team! We're actively looking for new projects involving React, React-Native, and Rails. Please contact me at [justin@shakacode.com](mailto:justin@shakacode.com) if we could potentially help you in any way. Besides consulting on bigger projects, [ShakaCode](http://www.shakacode.com) is doing Skype plus Slack/Github based coaching for React on Rails. [Click here](http://www.shakacode.com/work/index.html) for more information.
6
6
 
7
- We're offering a free half-hour project consultation, on anything from React on Rails to any aspect of web application development for both consumer and enterprise products. In addition to React.js and Rails, we're doing react-native iOS and Android apps!
7
+ We're offering a free half-hour project consultation, on anything from React on Rails to any aspect of web application development for both consumer and enterprise products. In addition to React.js and Rails, we're doing React-Native iOS and Android apps!
8
8
 
9
9
  Whether you have a new project or need help on an existing project, feel free to contact me directly at [justin@shakacode.com](mailto:justin@shakacode.com) and thanks in advance for any referrals!
10
10
 
@@ -12,6 +12,18 @@ Your support keeps this project going.
12
12
 
13
13
  (Want to become a contributor? [Contact us](mailto:contact@shakacode.com) for an Slack team invite! Also, see ["easy" issues](https://github.com/shakacode/react_on_rails/labels/easy) and [issues for the full tutorial](https://github.com/shakacode/react-webpack-rails-tutorial/issues?q=is%3Aissue+is%3Aopen+label%3Aeasy).)
14
14
 
15
+ # Articles
16
+ * [React on Rails, 2000+ 🌟 Stars](https://medium.com/shakacode/react-on-rails-2000-stars-32ff5cfacfbf#.6gmfb2gpy)
17
+ * [The React on Rails Doctrine](https://medium.com/@railsonmaui/the-react-on-rails-doctrine-3c59a778c724)
18
+
19
+ # Videos
20
+
21
+ ### [React On Rails Tutorial Series](https://www.youtube.com/playlist?list=PL5VAKH-U1M6dj84BApfUtvBjvF-0-JfEU)
22
+
23
+ 1. [History and Motivation](https://youtu.be/F4oymbUHvoY)
24
+ 2. [Basic Tutorial Walkthrough](https://youtu.be/_bjScw60FBk)
25
+ 3. [Code Walkthrough](https://youtu.be/McQ9UM-_ocQ)
26
+
15
27
  # NEWS
16
28
  * 2016-08-27: We now have a [Documentation Gitbook](https://shakacode.gitbooks.io/react-on-rails/content/) for improved readability & reference.
17
29
  * 2016-08-21: v6.1 ships with serveral new features and bug fixes. See the [Changelog](CHANGELOG.md).
@@ -430,7 +442,7 @@ csrfToken = ReactOnRails.authenticityToken();
430
442
  header = ReactOnRails.authenticityHeaders(otherHeader);
431
443
  ```
432
444
 
433
- If you are using [jquery-ujs](https://github.com/rails/jquery-ujs) for AJAX calls, than these helpers are not needed because the [jquery-ujs](https://github.com/rails/jquery-ujs) library updates header automatically, see [jquery-ujs documentation](https://robots.thoughtbot.com/a-tour-of-rails-jquery-ujs#cross-site-request-forgery-protection).
445
+ If you are using [jquery-ujs](https://github.com/rails/jquery-ujs) for AJAX calls, then these helpers are not needed because the [jquery-ujs](https://github.com/rails/jquery-ujs) library updates header automatically, see [jquery-ujs documentation](https://robots.thoughtbot.com/a-tour-of-rails-jquery-ujs#cross-site-request-forgery-protection).
434
446
 
435
447
  ## React Router
436
448
  [React Router](https://github.com/reactjs/react-router) is supported, including server side rendering! See:
@@ -483,7 +495,7 @@ Node.js can be used as the backend for server-side rendering instead of [execJS]
483
495
  + [Ruby API](docs/api/ruby-api.md)
484
496
  + [Setting up Hot Reloading during Rails Development, API docs](docs/api/ruby-api-hot-reload-view-helpers.md)
485
497
 
486
- + **[CONTRIBUTING](CONTRIBUTING.MD)**
498
+ + **[CONTRIBUTING](CONTRIBUTING.md)**
487
499
  + [Generator Testing](docs/contributor-info/generator-testing.md)
488
500
  + [Linting](docs/contributor-info/linters.md)
489
501
  + [Releasing](docs/contributor-info/releasing.md)
@@ -493,9 +505,10 @@ Node.js can be used as the backend for server-side rendering instead of [execJS]
493
505
  + [Changelog](CHANGELOG.md)
494
506
  + [Projects](PROJECTS.md)
495
507
  + [Shaka Code Style](docs/coding-style/style.md)
496
- + [React on Rails, Slides](http://www.slideshare.net/justingordon/react-on-rails-v4032)
508
+ + [React on Rails, Slides](http://www.slideshare.net/justingordon/react-on-rails-v61)
497
509
  + [Code of Conduct](docs/misc/code_of_conduct.md)
498
510
  + [The React on Rails Doctrine](https://medium.com/@railsonmaui/the-react-on-rails-doctrine-3c59a778c724)
511
+ + [React on Rails, 2000+ 🌟 Stars](https://medium.com/shakacode/react-on-rails-2000-stars-32ff5cfacfbf#.6gmfb2gpy)
499
512
 
500
513
  ## Demos
501
514
  + [www.reactrails.com](http://www.reactrails.com) with the source at [shakacode/react-webpack-rails-tutorial](https://github.com/shakacode/react-webpack-rails-tutorial/).
@@ -534,9 +547,9 @@ We owe much gratitude to the work of the [react-rails gem](https://github.com/re
534
547
 
535
548
  ---
536
549
 
537
- Aloha from Justin Gordon ([bio](http://www.railsonmaui.com/about)) and the [ShakaCode](http://www.shakacode.com) Team! We're actively looking for new projects. If you like **React on Rails**, please consider contacting me at [justin@shakacode.com](mailto:justin@shakacode.com) if we could potentially help you in any way. Besides consulting on bigger projects, [ShakaCode](http://www.shakacode.com) is doing Skype plus Slack/Github based coaching for React on Rails. [Click here](http://www.shakacode.com/work/index.html) for more information.
550
+ Aloha from Justin Gordon ([bio](http://www.railsonmaui.com/about)) and the [ShakaCode](http://www.shakacode.com) Team! We're actively looking for new projects involving React, React-Native, and Rails. Please contact me at [justin@shakacode.com](mailto:justin@shakacode.com) if we could potentially help you in any way. Besides consulting on bigger projects, [ShakaCode](http://www.shakacode.com) is doing Skype plus Slack/Github based coaching for React on Rails. [Click here](http://www.shakacode.com/work/index.html) for more information.
538
551
 
539
- We're offering a free half-hour project consultation, on anything from React on Rails to any aspect of web application development for both consumer and enterprise products. In addition to React.js and Rails, we're doing react-native iOS and Android apps!
552
+ We're offering a free half-hour project consultation, on anything from React on Rails to any aspect of web application development for both consumer and enterprise products. In addition to React.js and Rails, we're doing React-Native iOS and Android apps!
540
553
 
541
554
  Whether you have a new project or need help on an existing project, feel free to contact me directly at [justin@shakacode.com](mailto:justin@shakacode.com) and thanks in advance for any referrals!
542
555
 
@@ -11,7 +11,7 @@ We'll use a Webpack Dev server on port 3500 to provide the assets to Rails, rath
11
11
 
12
12
  `Procfile.static` provides an alternative that uses "static" assets, similar to a production deployment.
13
13
 
14
- The secret sauce is in the [app/views/layouts/application.html.erb](../../spec/dummy/app/views/layouts/application.html.erb) where it uses view helpes to configure the correct assets to load, being either the "hot" assets or the "static" assets.
14
+ The secret sauce is in the [app/views/layouts/application.html.erb](../../spec/dummy/app/views/layouts/application.html.erb) where it uses view helps to configure the correct assets to load, being either the "hot" assets or the "static" assets.
15
15
 
16
16
  ## Places to Configure (Files to Examine)
17
17
 
@@ -1,7 +1,8 @@
1
1
  # Using React Router
2
- React on Rails supports the use of React Router. Client-side code doesn't need any special configuration for the React on Rails gem. Implement React Router how you normally would.
3
2
 
4
- However, when attempting to use server-rendering, it is necessary to take steps that prevent rendering when there is a router error or redirect. In these cases, the client code should return an object containing the `error` and a `redirectLocation` instead of the React component. The `react_component` helper method in your Rails view will automatically detect that there was an error/redirect and handle it accordingly.
3
+ React on Rails supports the use of React Router. Client-side code doesn't need any special configuration for the React on Rails gem. Implement React Router how you normally would. Note, you might want to avoid using Turbolinks as both Turbolinks and React-Router will be trying to handle the back and forward buttons. If you get this figured out, please do share with the community! Otherwise, you might have to tweak the basic settings for Turbolinks, and this may or may not be worth the effort.
4
+
5
+ When attempting to use server-rendering, it is necessary to take steps that prevent rendering when there is a router error or redirect. In these cases, the client code should return an object containing the `error` and a `redirectLocation` instead of the React component. The `react_component` helper method in your Rails view will automatically detect that there was an error/redirect and handle it accordingly.
5
6
 
6
7
  If you are working with the HelloWorldApp created by the react_on_rails generator, then the code below corresponds to the module in `client/app/bundles/HelloWorld/startup/HelloWorldApp.jsx`.
7
8
 
@@ -2,15 +2,23 @@
2
2
 
3
3
  * See [Turbolinks on Github](https://github.com/rails/turbolinks)
4
4
  * Currently support 2.5.x of Turbolinks and 5.0.0 of Turbolinks 5.
5
- * Turbolinks is currently included only via the Rails gem and the Rails manifest file rather than NPM. [Turbolinks Issue #658 ](https://github.com/rails/turbolinks/issues/658) discusses this.
5
+ * You may include Turbolinks either via npm (recommended) or via the gem.
6
6
 
7
7
  ## Why Turbolinks?
8
8
  As you switch between Rails HTML controller requests, you will only load the HTML and you will
9
9
  not reload JavaScript and stylesheets. This definitely can make an app perform better, even if
10
10
  the JavaScript and stylesheets are cached by the browser, as they will still require parsing.
11
11
 
12
+ ## Requirements for Using Turbolinks
13
+ 1. You are **not using [react-router](https://github.com/ReactTraining/react-router)** or you are prepared to deal with some potential issues with where react-router and Turbolinks overlaps.
14
+ 2. You are **using one JS and one CSS file** throughout your app. Otherwise, you will have to figure out how best to handle multiple JS and CSS files throughout the app given Turbolinks.
15
+
16
+ ## Why Not Turbolinks
17
+ 1. [react-router](https://github.com/ReactTraining/react-router) handles the back and forward buttons, as does TurboLinks. You *might* be able to make this work. *Please share your findings.*
18
+ 1. You want to do code splitting to minimize the JavaScript loaded.
19
+
12
20
  ### Install Checklist
13
- 1. Include the gem "turbolinks".
21
+ 1. Include turbolinks via npm as shown in the [react-webpack-rails-tutorial](https://github.com/shakacode/react-webpack-rails-tutorial/blob/8a6c8aa2e3b7ae5b08b0a9744fb3a63a2fe0f002/client/webpack.client.base.config.js#L22) or include the gem "turbolinks".
14
22
  1. Included the proper "track" tags when you include the javascript and stylesheet:
15
23
  ```erb
16
24
  <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => 'reload' %>
@@ -21,7 +29,6 @@ the JavaScript and stylesheets are cached by the browser, as they will still req
21
29
  ```javascript
22
30
  //= require turbolinks
23
31
  ```
24
- Note, in the future, we will change to installing this via npm.
25
32
 
26
33
  ## Turbolinks 5
27
34
  Turbolinks 5 is now being supported. React on Rails will automatically detect which version of Turbolinks you are using and use the correct event handlers.
@@ -1,5 +1,5 @@
1
1
  // HelloWorldWidget is an arbitrary name for any "dumb" component. We do not recommend suffixing
2
- // all your dump component names with Widget.
2
+ // all your dumb component names with Widget.
3
3
 
4
4
  import React, { PropTypes } from 'react';
5
5
 
@@ -57,30 +57,35 @@ module ReactOnRails
57
57
  # directory with a digest, then the files are essentially "double-digested" and the CSS
58
58
  # references from webpack's CSS would be invalid. The fix is to symlink the double-digested
59
59
  # file back to the original digested name, and make a similar symlink for the gz version.
60
- if @symlink_non_digested_assets_regex
61
- manifest_glob = Dir.glob(@assets_path.join(".sprockets-manifest-*.json")) +
62
- Dir.glob(@assets_path.join("manifest-*.json"))
63
- if manifest_glob.empty?
64
- puts "Warning: React On Rails: expected to find .sprockets-manifest-*.json or manifest-*.json "\
65
- "at #{@assets_path}, but found none. Canceling symlinking tasks."
66
- return -1
67
- end
68
- manifest_path = manifest_glob.first
69
- manifest_data = JSON.load(File.new(manifest_path))
70
-
71
- # We realize that we're copying other Rails assets that match the regexp, but this just
72
- # means that we'd be exposing the original, undigested names.
73
- manifest_data["assets"].each do |original_filename, rails_digested_filename|
74
- # TODO: we should remove any original_filename that is NOT in the webpack deploy folder.
75
- next unless original_filename =~ @symlink_non_digested_assets_regex
76
- # We're symlinking from the digested filename back to the original filename which has
77
- # already been symlinked by Webpack
78
- symlink_file(rails_digested_filename, original_filename)
79
-
80
- # We want the gz ones as well if they exist
81
- if File.exist?(@assets_path.join("#{rails_digested_filename}.gz"))
82
- symlink_file("#{rails_digested_filename}.gz", "#{original_filename}.gz")
83
- end
60
+ return unless @symlink_non_digested_assets_regex
61
+ manifest_glob = Dir.glob(@assets_path.join(".sprockets-manifest-*.json")) +
62
+ Dir.glob(@assets_path.join("manifest-*.json")) +
63
+ Dir.glob(@assets_path.join("manifest.yml"))
64
+ if manifest_glob.empty?
65
+ puts "Warning: React On Rails: expected to find .sprockets-manifest-*.json, manifest-*.json "\
66
+ "or manifest.yml at #{@assets_path}, but found none. Canceling symlinking tasks."
67
+ return -1
68
+ end
69
+ manifest_path = manifest_glob.first
70
+ manifest_file = File.new(manifest_path)
71
+ manifest_data = if File.extname(manifest_file) == ".json"
72
+ JSON.load(manifest_file)["assets"]
73
+ else
74
+ YAML.load(manifest_file)
75
+ end
76
+
77
+ # We realize that we're copying other Rails assets that match the regexp, but this just
78
+ # means that we'd be exposing the original, undigested names.
79
+ manifest_data.each do |original_filename, rails_digested_filename|
80
+ # TODO: we should remove any original_filename that is NOT in the webpack deploy folder.
81
+ next unless original_filename =~ @symlink_non_digested_assets_regex
82
+ # We're symlinking from the digested filename back to the original filename which has
83
+ # already been symlinked by Webpack
84
+ symlink_file(rails_digested_filename, original_filename)
85
+
86
+ # We want the gz ones as well if they exist
87
+ if File.exist?(@assets_path.join("#{rails_digested_filename}.gz"))
88
+ symlink_file("#{rails_digested_filename}.gz", "#{original_filename}.gz")
84
89
  end
85
90
  end
86
91
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ReactOnRails
3
- VERSION = "6.1.1".freeze
3
+ VERSION = "6.1.2".freeze
4
4
  end
@@ -1,42 +1,42 @@
1
1
  {
2
2
  "name": "react-on-rails",
3
- "version": "6.1.1",
3
+ "version": "6.1.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": {
7
7
  "doc": "docs"
8
8
  },
9
9
  "devDependencies": {
10
- "babel-cli": "^6.6.5",
11
- "babel-core": "^6.7.4",
12
- "babel-loader": "^6.2.4",
10
+ "babel-cli": "^6.16.0",
11
+ "babel-core": "^6.17.0",
12
+ "babel-loader": "^6.2.5",
13
13
  "babel-plugin-react-transform": "^2.0.2",
14
- "babel-plugin-transform-flow-strip-types": "^6.8.0",
15
- "babel-plugin-transform-runtime": "^6.6.0",
16
- "babel-preset-es2015": "^6.6.0",
17
- "babel-preset-react": "^6.5.0",
18
- "babel-preset-stage-0": "^6.5.0",
19
- "babel-runtime": "^6.6.1",
14
+ "babel-plugin-transform-flow-strip-types": "^6.14.0",
15
+ "babel-plugin-transform-runtime": "^6.15.0",
16
+ "babel-preset-es2015": "^6.16.0",
17
+ "babel-preset-react": "^6.16.0",
18
+ "babel-preset-stage-0": "^6.16.0",
19
+ "babel-runtime": "^6.11.6",
20
20
  "babel-tape-runner": "^2.0.1",
21
- "babel-types": "^6.7.2",
22
- "babelify": "^7.2.0",
23
- "blue-tape": "^0.2.0",
24
- "eslint": "^3.3.1",
21
+ "babel-types": "^6.16.0",
22
+ "babelify": "^7.3.0",
23
+ "blue-tape": "^1.0.0",
24
+ "eslint": "^3.8.1",
25
25
  "eslint-config-shakacode": "^6.0.0",
26
- "eslint-plugin-import": "^1.13.0",
27
- "eslint-plugin-jsx-a11y": "^2.1.0",
28
- "eslint-plugin-react": "^6.1.2",
29
- "flow-bin": "^0.30.0",
26
+ "eslint-plugin-import": "^2.0.1",
27
+ "eslint-plugin-jsx-a11y": "^2.2.3",
28
+ "eslint-plugin-react": "^6.4.1",
29
+ "flow-bin": "^0.33.0",
30
30
  "jscs": "^2.11.0",
31
- "jsdom": "^8.2.0",
32
- "react": "^15.0.0",
33
- "react-dom": "^15.0.0",
31
+ "jsdom": "^9.8.0",
32
+ "react": "^15.3.2",
33
+ "react-dom": "^15.3.2",
34
34
  "react-transform-hmr": "^1.0.4",
35
- "redux": "^3.3.1",
36
- "release-it": "^2.3.1",
35
+ "redux": "^3.6.0",
36
+ "release-it": "^2.4.3",
37
37
  "tap-spec": "^4.1.1",
38
- "tape": "^4.5.1",
39
- "webpack": "^1.12.14"
38
+ "tape": "^4.6.2",
39
+ "webpack": "^1.13.2"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": ">= 0.14",
@@ -47,7 +47,7 @@
47
47
  "node_package/lib"
48
48
  ],
49
49
  "scripts": {
50
- "test": "babel-tape-runner node_package/tests/*.js | tap-spec",
50
+ "test": "babel-tape-runner -r node_package/tests/helpers/test_helper.js node_package/tests/*.js | tap-spec",
51
51
  "clean": "rm -rf node_package/lib",
52
52
  "prepublish": "npm run build",
53
53
  "babel": "babel --out-dir node_package/lib node_package/src",
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: 6.1.1
4
+ version: 6.1.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: 2016-09-10 00:00:00.000000000 Z
11
+ date: 2016-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool
@@ -460,7 +460,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
460
460
  version: '0'
461
461
  requirements: []
462
462
  rubyforge_project:
463
- rubygems_version: 2.6.1
463
+ rubygems_version: 2.5.1
464
464
  signing_key:
465
465
  specification_version: 4
466
466
  summary: Rails with react server rendering with webpack.