react_on_rails 6.0.0 → 6.0.1

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
  SHA1:
3
- metadata.gz: 6ceea071c5632c70ad26d87600c7ea7dd142f454
4
- data.tar.gz: 91ebd4f95c6e312fc92b8d140a2050d06194f1a5
3
+ metadata.gz: 967812778b65639f68d1810de89eeea208051956
4
+ data.tar.gz: b381f38e7949050933cdfe949225b50cc3e36aea
5
5
  SHA512:
6
- metadata.gz: 9c655ee1d10a68374b04e9cabf1ed3072a613c57a54ca4dacd1981d4aace05290e80a8a6f57398e3fae50d90e26814008aead08b4e476a2863e996a02ac6e04e
7
- data.tar.gz: ab07331caf0543d415fa5ebddcbbe5e492307e5e4af4ca6fb4d49d6c3df830ba9af01fc164819ba2c14da3428668734cc6ec9806f18d64bf15ffc1d791ae9d4f
6
+ metadata.gz: c03cbc92260631d3a900550c4dc3fcaf08fea7d5c1a64c814312302d89d1e30ca1d383eba07de1293984db42ee7db6a1fe0f25a64c166d3d67e4d520ccd73153
7
+ data.tar.gz: 93783c96b1560377500c92bcfea758f7b350689682a8eb2354f8dafdfa3bdc568c90e7daefda48a31209d0ba187a086f7ea6eee6c4460854ee0cf430b4665def
data/CHANGELOG.md CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. Items under
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
  ## [Unreleased]
6
6
 
7
+ ## [6.0.1]
8
+ ##### Fixed
9
+ - Allow for older version of manifest.json for older versions of sprockets. See [Issue #435](https://github.com/shakacode/react_on_rails/issues/435). Fixed in [#436](https://github.com/shakacode/react_on_rails/pull/436) by [alleycat-at-git](https://github.com/alleycat-at-git).
10
+
7
11
  ## [6.0.0]
8
12
  ##### Breaking Changes
9
13
  - Added automatic compilation of assets at precompile is now done by ReactOnRails. Thus, you don't need to provide your own assets.rake file that does the precompilation.
@@ -332,7 +336,8 @@ Best done with Object destructing:
332
336
  ##### Fixed
333
337
  - Fix several generator related issues.
334
338
 
335
- [Unreleased]: https://github.com/shakacode/react_on_rails/compare/6.0.0...master
339
+ [Unreleased]: https://github.com/shakacode/react_on_rails/compare/6.0.1...master
340
+ [6.0.1]: https://github.com/shakacode/react_on_rails/compare/6.0.0...6.0.1
336
341
  [6.0.0]: https://github.com/shakacode/react_on_rails/compare/5.2.0...6.0.0
337
342
  [5.2.0]: https://github.com/shakacode/react_on_rails/compare/5.1.1...5.2.0
338
343
  [5.1.1]: https://github.com/shakacode/react_on_rails/compare/5.1.0...5.1.1
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  [![Build Status](https://travis-ci.org/shakacode/react_on_rails.svg?branch=master)](https://travis-ci.org/shakacode/react_on_rails) [![Dependency Status](https://gemnasium.com/shakacode/react_on_rails.svg)](https://gemnasium.com/shakacode/react_on_rails) [![Gem Version](https://badge.fury.io/rb/react_on_rails.svg)](https://badge.fury.io/rb/react_on_rails) [![npm version](https://badge.fury.io/js/react-on-rails.svg)](https://badge.fury.io/js/react-on-rails) [![Code Climate](https://codeclimate.com/github/shakacode/react_on_rails/badges/gpa.svg)](https://codeclimate.com/github/shakacode/react_on_rails) [![Coverage Status](https://coveralls.io/repos/shakacode/react_on_rails/badge.svg?branch=master&service=github)](https://coveralls.io/github/shakacode/react_on_rails?branch=master)
2
2
 
3
3
  # NEWS
4
- * 2016-05-11: 6.0.0-rc.1 Released! Simplified generator and install process! See the [CHANGELOG.md](./CHANGELOG.md) for details.
5
- * [New slides on React on Rails](http://www.slideshare.net/justingordon/react-on-rails-v4032).
4
+ * 2016-05-24: 6.0.0 Released! Simplified generator and install process! See the [CHANGELOG.md](./CHANGELOG.md) for details.
5
+ * 2016-03-18: [Slides on React on Rails](http://www.slideshare.net/justingordon/react-on-rails-v4032).
6
6
  * 2016-02-28: We added a [Projects page](./PROJECTS.md) and a [Kudos page](./KUDOS.md). Please edit the page and add your project or [email us](mailto:contact@shakacode.com) and we'll add you. We also love stars as it helps us attract new users and contributors. Also, see [Positive Feedback](https://github.com/shakacode/react_on_rails/issues/347) for screen grabs of nice comments!
7
7
  * *See [NEWS.md](NEWS.md) for more notes over time.*
8
8
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ReactOnRails
3
- VERSION = "6.0.0".freeze
3
+ VERSION = "6.0.1".freeze
4
4
  end
@@ -24,9 +24,14 @@ namespace :react_on_rails do
24
24
  desc "Creates non-digested symlinks for the assets in the public asset dir"
25
25
  task symlink_non_digested_assets: :"assets:environment" do
26
26
  if ReactOnRails.configuration.symlink_non_digested_assets_regex
27
- manifest_path = Dir.glob(ReactOnRails::assets_path
28
- .join(".sprockets-manifest-*.json"))
29
- .first
27
+ manifest_glob = Dir.glob(ReactOnRails::assets_path.join(".sprockets-manifest-*.json")) +
28
+ Dir.glob(ReactOnRails::assets_path.join("manifest-*.json"))
29
+ if manifest_glob.empty?
30
+ puts "Warning: React On Rails: expected to find .sprockets-manifest-*.json or manifest-*.json "\
31
+ "at #{ReactOnRails::assets_path}, but found none. Canceling symlinking tasks."
32
+ next
33
+ end
34
+ manifest_path = manifest_glob.first
30
35
  manifest_data = JSON.load(File.new(manifest_path))
31
36
 
32
37
  manifest_data["assets"].each do |logical_path, digested_path|
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-on-rails",
3
- "version": "6.0.0",
3
+ "version": "6.0.1",
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: 6.0.0
4
+ version: 6.0.1
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-05-25 00:00:00.000000000 Z
11
+ date: 2016-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool