react_on_rails 3.0.5 → 3.0.6

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: adbd35b7df61b8be0b99d5150855836e9b0b970b
4
- data.tar.gz: 9f6ec4926737f149b83f96a80b7474c4f894061a
3
+ metadata.gz: 5957258eac9feb1ceb153281ac4c4675f51cdf33
4
+ data.tar.gz: 403c21f1a5e6c898130fcebc552b03a98fe52422
5
5
  SHA512:
6
- metadata.gz: afdd17ef0e2c01d15396228cbeb554eca60b6d0bf12df03075e578911aa4b46788e61421cf0e2e44052558647b50b7273ba33ed0e44ebe038bec0339165024a0
7
- data.tar.gz: e5e324a3e5702a6d534a7e8bffd74f304242d580e63521004001e4efabd6f345fe1665b88ca26128534c673db688a5e0779819216b4c0d96221f7a0e51ce8084
6
+ metadata.gz: 814f7d546c1b4f9d76b84f0f5c385599e431724c6b9b1e191e51afb0cbcc0063186559b6f565e282b6f15153a08899744b13c5be42245e593a92e6e00a251efc
7
+ data.tar.gz: bb9c0eb29e8213664365558ad5a8cf2c006e7dad86e2660174cf53e13666747007d95596b16699fff39a532a8c66c64827e6729e7ec44bcc67eb7c835073310f
@@ -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
+ ## [3.0.6] - 2016-03-01
8
+ ##### Fixed
9
+ - Improved errors when registered store is not found. See [#301](https://github.com/shakacode/react_on_rails/pull/301) by [justin808](https://github.com/justin808).
10
+
7
11
  ## [3.0.5] - 2016-02-26
8
12
  ##### Fixed
9
13
  - Fixed error in linters rake file for generator. See [#299](https://github.com/shakacode/react_on_rails/pull/299) by [mpugach](https://github.com/mpugach).
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
- [![Build Status](https://travis-ci.org/shakacode/react_on_rails.svg?branch=master)](https://travis-ci.org/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) [![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)
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
4
 
5
- * Just added a [Projects page](PROJECTS.md). Please submit a PR with your project!
6
- * 3.0.5 shipped on Friday, 2/26/2016. Please see the [Changelog](CHANGELOG.md) for details, and let us know if you see any issues! [Migration steps from 1.x](https://github.com/shakacode/react_on_rails/blob/master/CHANGELOG.md#migration-steps-v1-to-v2). [Migration steps from 2.x](https://github.com/shakacode/react_on_rails/blob/master/CHANGELOG.md#migration-steps-v2-to-v3).
7
- * [RubyGems](https://rubygems.org/gems/react_on_rails/versions/3.0.0.rc.2), `gem "react_on_rails", "~> 3.0.0-rc.2"`
8
- * [NPM](https://www.npmjs.com/package/react-on-rails), `npm i --save react-on-rails@3.0.0-rc.2`
5
+ * 2016-02-28: We added a [Projects page](PROJECTS.md). Please edit the page 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. [jbhatab](https://github.com/jbhatab) is leading an effort to ease the onboarding process for newbies with simpler project generators. See [#245](https://github.com/shakacode/react_on_rails/issues/245).
6
+ * 3.0.6 shipped on Tuesday, 2016-03-01. Please see the [Changelog](CHANGELOG.md) for details, and let us know if you see any issues! [Migration steps from 1.x](https://github.com/shakacode/react_on_rails/blob/master/CHANGELOG.md#migration-steps-v1-to-v2). [Migration steps from 2.x](https://github.com/shakacode/react_on_rails/blob/master/CHANGELOG.md#migration-steps-v2-to-v3).
7
+ * [RubyGems](https://rubygems.org/gems/react_on_rails/)
8
+ * [NPM](https://www.npmjs.com/package/react-on-rails)
9
9
  * 3.0.0 Highlights:
10
10
  1. Support for ensuring JavaScript is current when running tests.
11
11
  2. Support for multiple React components with one Redux store. So you can have a header React component and different body React components talking to the same Redux store!
@@ -1,3 +1,3 @@
1
1
  # Babel
2
2
 
3
- As of React on Rails 2.0, we recommend Babel 6. If you want to stick with Babel 5 for a bit, see [Issue #238](https://github.com/shakacode/react_on_rails/issues/238).
3
+ As of React on Rails 2.0, we recommend Babel 6 and at least node version 5.5. If you want to stick with Babel 5 for a bit, see [Issue #238](https://github.com/shakacode/react_on_rails/issues/238).
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module ReactOnRails
3
- VERSION = "3.0.5".freeze
3
+ VERSION = "3.0.6".freeze
4
4
  end
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-on-rails",
3
- "version": "3.0.5",
3
+ "version": "3.0.6",
4
4
  "description": "react-on-rails JavaScript for react_on_rails Ruby gem",
5
5
  "main": "node_package/lib/ReactOnRails.js",
6
6
  "directories": {
@@ -26,12 +26,13 @@
26
26
  "eslint-config-shakacode": "1.0.0",
27
27
  "eslint-plugin-babel": "^3.0.0",
28
28
  "eslint-plugin-react": "^3.16.1",
29
- "jsdom": "^8.0.2",
30
29
  "jscs": "^2.9.0",
30
+ "jsdom": "^8.0.2",
31
31
  "react": "^0.14.7",
32
32
  "react-dom": "^0.14.7",
33
33
  "react-transform-hmr": "^1.0.1",
34
34
  "redux": "^3.3.1",
35
+ "release-it": "^2.3.1",
35
36
  "tap-spec": "^4.1.1",
36
37
  "tape": "^4.4.0",
37
38
  "webpack": "^1.12.12"
@@ -11,15 +11,14 @@ It will be automatically converted to a valid npm semver by the rake task
11
11
  for the node package version. This only makes a difference for pre-release
12
12
  versions such as `3.0.0.beta.1` (npm version would be `3.0.0-beta.1`).
13
13
 
14
- This task will also globally install gem-release (ruby gem) and
15
- release-it (node package) unless you specify skip installing tools.
14
+ This task depends on the gem-release (ruby gem) and release-it (node package)
15
+ which are installed via `bundle install` and `npm install`
16
16
 
17
17
  1st argument: The new version in rubygem format (no dashes). Pass no argument to
18
18
  automatically perform a patch version bump.
19
19
  2nd argument: Perform a dry run by passing 'true' as a second argument.
20
- 3rd argument: Skip installing tools by passing 'false' as a third argument (default is true).
21
20
 
22
- Example: `rake release[2.1.0,false,false]`")
21
+ Example: `rake release[2.1.0,false]`")
23
22
 
24
23
  task :release, [:gem_version, :dry_run, :tools_install] do |_t, args|
25
24
  class MessageHandler
@@ -47,7 +46,7 @@ task :release, [:gem_version, :dry_run, :tools_install] do |_t, args|
47
46
  Rake::Task["examples:clobber"].invoke
48
47
 
49
48
  # See https://github.com/svenfuchs/gem-release
50
- sh_in_dir(gem_root, "gem install gem-release") if should_install_tools
49
+ sh_in_dir(gem_root, "git pull --rebase")
51
50
  sh_in_dir(gem_root, "gem bump --no-commit #{gem_version.strip.empty? ? '' : %(--version #{gem_version})}")
52
51
 
53
52
  # Update dummy app's Gemfile.lock
@@ -56,11 +55,8 @@ task :release, [:gem_version, :dry_run, :tools_install] do |_t, args|
56
55
  # Stage changes so far
57
56
  sh_in_dir(gem_root, "git add .")
58
57
 
59
- # See https://www.npmjs.com/package/release-it
60
- sh %(npm install release-it -g) if should_install_tools
61
-
62
58
  # Will bump the npm version, commit, tag the commit, push to repo, and release on npm
63
- release_it_command = "release-it --non-interactive --npm.publish"
59
+ release_it_command = "$(npm bin)/release-it --non-interactive --npm.publish"
64
60
  release_it_command << " --dry-run --verbose" if is_dry_run
65
61
  release_it_command << " #{npm_version}" unless npm_version.strip.empty?
66
62
  sh_in_dir(gem_root, release_it_command)
@@ -39,4 +39,5 @@ Gem::Specification.new do |s|
39
39
  s.add_development_dependency "pry-rescue"
40
40
  s.add_development_dependency "binding_of_caller"
41
41
  s.add_development_dependency "awesome_print"
42
+ s.add_development_dependency "gem-release"
42
43
  end
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: 3.0.5
4
+ version: 3.0.6
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-02-27 00:00:00.000000000 Z
11
+ date: 2016-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool
@@ -276,6 +276,20 @@ dependencies:
276
276
  - - ">="
277
277
  - !ruby/object:Gem::Version
278
278
  version: '0'
279
+ - !ruby/object:Gem::Dependency
280
+ name: gem-release
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - ">="
284
+ - !ruby/object:Gem::Version
285
+ version: '0'
286
+ type: :development
287
+ prerelease: false
288
+ version_requirements: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - ">="
291
+ - !ruby/object:Gem::Version
292
+ version: '0'
279
293
  description: See README.md
280
294
  email:
281
295
  - justin@shakacode.com