react_on_rails 6.0.0 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/README.md +2 -2
- data/lib/react_on_rails/version.rb +1 -1
- data/lib/tasks/assets.rake +8 -3
- data/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 967812778b65639f68d1810de89eeea208051956
|
4
|
+
data.tar.gz: b381f38e7949050933cdfe949225b50cc3e36aea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
5
|
-
* [
|
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
|
|
data/lib/tasks/assets.rake
CHANGED
@@ -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
|
-
|
28
|
-
|
29
|
-
|
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
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.
|
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-
|
11
|
+
date: 2016-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|