react_on_rails 6.3.4 → 6.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +6 -1
- data/README.md +7 -5
- data/Rakefile +7 -3
- data/lib/generators/react_on_rails/base_generator.rb +0 -1
- data/lib/generators/react_on_rails/react_no_redux_generator.rb +6 -0
- data/lib/generators/react_on_rails/react_with_redux_generator.rb +2 -1
- data/lib/generators/react_on_rails/templates/base/base/client/package.json.tt +17 -17
- data/lib/generators/react_on_rails/templates/base/base/package.json.tt +2 -2
- data/lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/components/HelloWorld.jsx +28 -0
- data/lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/startup/{HelloWorldApp.jsx.tt → HelloWorldApp.jsx} +0 -1
- data/lib/react_on_rails/version.rb +1 -1
- data/npm-shrinkwrap.json +2626 -2926
- data/package.json +3 -3
- data/rakelib/run_rspec.rake +7 -2
- metadata +4 -3
data/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-on-rails",
|
3
|
-
"version": "6.3.
|
3
|
+
"version": "6.3.5",
|
4
4
|
"description": "react-on-rails JavaScript for react_on_rails Ruby gem",
|
5
5
|
"main": "node_package/lib/ReactOnRails.js",
|
6
6
|
"directories": {
|
@@ -24,7 +24,7 @@
|
|
24
24
|
"eslint": "^3.12.2",
|
25
25
|
"eslint-config-shakacode": "^13.2.1",
|
26
26
|
"eslint-plugin-import": "^2.2.0",
|
27
|
-
"eslint-plugin-jsx-a11y": "^
|
27
|
+
"eslint-plugin-jsx-a11y": "^3.0.2",
|
28
28
|
"eslint-plugin-react": "^6.8.0",
|
29
29
|
"flow-bin": "^0.37.4",
|
30
30
|
"jsdom": "^9.9.1",
|
@@ -32,7 +32,7 @@
|
|
32
32
|
"react-dom": "^15.4.1",
|
33
33
|
"react-transform-hmr": "^1.0.4",
|
34
34
|
"redux": "^3.6.0",
|
35
|
-
"release-it": "^2.5.
|
35
|
+
"release-it": "^2.5.3",
|
36
36
|
"tap-spec": "^4.1.1",
|
37
37
|
"tape": "^4.6.3",
|
38
38
|
"webpack": "^1.14.0"
|
data/rakelib/run_rspec.rake
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
|
1
|
+
if ENV["USE_COVERALLS"] == "TRUE"
|
2
|
+
require "coveralls/rake/task"
|
3
|
+
end
|
4
|
+
|
2
5
|
require "pathname"
|
3
6
|
|
4
7
|
require_relative "task_helpers"
|
@@ -54,7 +57,9 @@ namespace :run_rspec do
|
|
54
57
|
sh %(COVERAGE=true rspec spec/empty_spec.rb)
|
55
58
|
end
|
56
59
|
|
57
|
-
|
60
|
+
if ENV["USE_COVERALLS"] == "TRUE"
|
61
|
+
Coveralls::RakeTask.new
|
62
|
+
end
|
58
63
|
|
59
64
|
desc "run all tests no examples"
|
60
65
|
task all_but_examples: [:gem, :dummy, :dummy_no_turbolinks, :dummy_turbolinks_5, :empty, :js_tests] do
|
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.3.
|
4
|
+
version: 6.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Gordon
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|
@@ -395,10 +395,11 @@ files:
|
|
395
395
|
- lib/generators/react_on_rails/templates/node/base/client/node/package.json
|
396
396
|
- lib/generators/react_on_rails/templates/node/base/client/node/server.js
|
397
397
|
- lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/actions/helloWorldActionCreators.jsx
|
398
|
+
- lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/components/HelloWorld.jsx
|
398
399
|
- lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/constants/helloWorldConstants.jsx
|
399
400
|
- lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/containers/HelloWorldContainer.jsx
|
400
401
|
- lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/reducers/helloWorldReducer.jsx
|
401
|
-
- lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/startup/HelloWorldApp.jsx
|
402
|
+
- lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/startup/HelloWorldApp.jsx
|
402
403
|
- lib/generators/react_on_rails/templates/redux/base/client/app/bundles/HelloWorld/store/helloWorldStore.jsx
|
403
404
|
- lib/react_on_rails.rb
|
404
405
|
- lib/react_on_rails/assets_precompile.rb
|