react_on_rails 1.2.0.rc1 → 1.2.0

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: 0cb4379ac90c02126dfcab3c5be352db3e02d2c0
4
- data.tar.gz: f0f2baf8c27160f8dcc7ad6d877935734ebff3c9
3
+ metadata.gz: 102287ba671bcd37a5948928601903f706b1017b
4
+ data.tar.gz: 13f8a42e457069851953178bcaeeaf4003065118
5
5
  SHA512:
6
- metadata.gz: 02f567c3a9f6b4712d8d9ca2671596ca63cadaf427b7272445aa2aa2aaebcb2558d267f4f3e1c3da3a84208a57d016a2666d9d0bfba21cc2e33d3cb84b1f4aec
7
- data.tar.gz: f0ff60e1e71582b805071affe7c91d8139f50ef0976587d446f8fd1dd08ea370d497ebb766380e3cc6723d01d677d11f4a5685a500a7a4f164aeb88c865fa454
6
+ metadata.gz: 75f6de77b0d5a4ae690db159b6789a996b3b9fee9df70ca10e1ef48c97ff5da4674a9f01841dacc21d36553c689f8a523e993ed7c9551cc0d49ce443a8ac304b
7
+ data.tar.gz: e0af7357b30fb68c08796f6358858434ffbd8e04b2695ea1fa702905c8ad15e367188817070e1359cacdd639a5fc8244b312f3fcf31ab72a837e5f5c277a253d
@@ -0,0 +1,34 @@
1
+ # Change Log
2
+ All notable changes to this project will be documented in this file. Items under `Unreleased` is upcoming features that will be out in next version.
3
+
4
+ ## [Unreleased]
5
+ ### Added
6
+ - Support `--skip-bootstrap` or `-b` option for generator.
7
+ - Create examples tasks to test generated example apps.
8
+
9
+ ### Fixed
10
+ - Fix non-server rendering configuration issues.
11
+ - Fix application.js incorrect overwritten issue.
12
+ - Fix Gemfile dependencies.
13
+ - Fix several generator issues.
14
+
15
+ ### Removed
16
+ - Remove templates/client folder.
17
+
18
+ ## [1.1.1] - 2015-11-28
19
+ ### Added
20
+ - Support for React Router.
21
+ - Error and redirect handling.
22
+ - Turbolinks support.
23
+
24
+ ### Fixed
25
+ - Fix several generator related issues.
26
+
27
+ ### Deprecated
28
+ - Nothing.
29
+
30
+ ### Removed
31
+ - Nothing.
32
+
33
+ [Unreleased]: https://github.com/shakacode/react_on_rails/compare/v1.0.0...HEAD
34
+ [1.1.1]: https://github.com/shakacode/react_on_rails/compare/v1.0.0...v1.1.1
data/Gemfile CHANGED
@@ -3,68 +3,36 @@ source "https://rubygems.org"
3
3
  # Specify your gem"s dependencies in react_on_rails.gemspec
4
4
  gemspec
5
5
 
6
- # Bundle edge Rails instead: gem "rails", github: "rails/rails"
7
- gem "rails", "4.2.5"
8
- # Use sqlite3 as the database for Active Record
9
- gem "sqlite3"
10
- # Use SCSS for stylesheets
11
- gem "sass-rails", "~> 5.0"
12
- # Use Uglifier as compressor for JavaScript assets
13
- gem "uglifier", ">= 2.7.2"
14
- # Use CoffeeScript for .coffee assets and views
6
+ # The following gems are dependencies of the gem's dummy/example apps, not the gem itself.
7
+ # They must be defined here because of the way Travis CI works, in that it will only
8
+ # bundle install from a single Gemfile. Therefore, all gems that we will need for any dummy/example
9
+ # app have to be manually added to this file.
10
+ gem "awesome_print"
11
+ gem "bootstrap-sass"
12
+ gem "capybara"
13
+ gem "capybara-screenshot"
14
+ gem "chromedriver-helper"
15
15
  gem "coffee-rails", "~> 4.1.0"
16
- # See https://github.com/rails/execjs#readme for more supported runtimes
17
- # gem "therubyracer", platforms: :ruby
18
-
19
- # Use jquery as the JavaScript library
20
- gem "jquery-rails"
21
- # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
22
- gem "turbolinks"
23
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
24
16
  gem "jbuilder", "~> 2.0"
25
- # bundle exec rake doc:rails generates the API under doc/api.
17
+ gem "jquery-rails"
18
+ gem "launchy"
19
+ gem "pry"
20
+ gem "pry-byebug"
21
+ gem "pry-doc"
22
+ gem "pry-rails"
23
+ gem "pry-rescue"
24
+ gem "pry-stack_explorer"
25
+ gem "rails", "4.2.5"
26
+ gem "rspec-rails"
27
+ gem "rubocop", require: false
28
+ gem "ruby-lint", require: false
29
+ gem "sass-rails", "~> 5.0"
30
+ gem "scss_lint", require: false
26
31
  gem "sdoc", "~> 0.4.0", group: :doc
27
-
28
- # Use ActiveModel has_secure_password
29
- # gem "bcrypt", "~> 3.1.7"
30
-
31
- # Use Unicorn as the app server
32
- # gem "unicorn"
33
-
34
- # Use Capistrano for deployment
35
- # gem "capistrano-rails", group: :development
36
-
32
+ gem "selenium-webdriver"
33
+ gem "spring"
34
+ gem "sqlite3"
37
35
  gem "therubyracer"
38
-
39
- group :development, :test do
40
- # Call "byebug" anywhere in the code to stop execution and get a debugger console
41
- gem "pry"
42
- gem "pry-doc"
43
- gem "pry-rails"
44
- gem "pry-stack_explorer"
45
- gem "pry-rescue"
46
- gem "pry-byebug"
47
- gem "awesome_print"
48
- gem "rubocop", require: false
49
- gem "ruby-lint", require: false
50
- gem "scss_lint", require: false
51
-
52
- # Access an IRB console on exception pages or by using <%= console %> in views
53
- gem "web-console", "~> 2.0"
54
-
55
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
56
- gem "spring"
57
- end
58
-
59
- gem "bootstrap-sass"
60
-
61
- group :test do
62
- gem "rspec-rails"
63
- gem "coveralls", require: false
64
- gem "capybara"
65
- gem "capybara-screenshot"
66
- gem "selenium-webdriver"
67
- gem "chromedriver-helper"
68
- gem "launchy"
69
- gem "generator_spec"
70
- end
36
+ gem "turbolinks"
37
+ gem "uglifier", ">= 2.7.2"
38
+ gem "web-console", "~> 2.0"
data/README.md CHANGED
@@ -6,7 +6,7 @@ React on Rails integrates Facebook's [React](https://github.com/facebook/react)
6
6
  Be sure to see the [React Webpack Rails Tutorial Code](https://github.com/shakacode/react-webpack-rails-tutorial) along with the live example at [www.reactrails.com](http://www.reactrails.com).
7
7
 
8
8
  ## Including your React Component in your Rails Views
9
- Please see [Getting Started](#getting-started) for how to set up your Rails project for React on Rails if you have not already done so.
9
+ Please see [Getting Started](#getting-started) for how to set up your Rails project for React on Rails to understand how `react_on_rails` can see your ReactComponents.
10
10
 
11
11
  + *Normal Mode (React component will be rendered on client):*
12
12
 
@@ -329,6 +329,7 @@ As you add more routes to your front-end application, you will need to make the
329
329
  + [Server Rendering Tips](docs/additional_reading/server_rendering_tips.md)
330
330
  + [Tips](docs/additional_reading/tips.md)
331
331
  + [Webpack Configuration](docs/additional_reading/webpack.md)
332
+ + [Webpack Cookbook](https://christianalfoni.github.io/react-webpack-cookbook/index.html)
332
333
 
333
334
  ## Contributing
334
335
  Bug reports and pull requests are welcome. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to our version of the [Contributor Covenant](contributor-covenant.org) code of conduct (see [CODE OF CONDUCT](docs/code_of_conduct.md)).
@@ -341,15 +342,9 @@ The gem is available as open source under the terms of the [MIT License](docs/LI
341
342
  ## Authors
342
343
  [The Shaka Code team!](http://www.shakacode.com/about/)
343
344
 
344
- 1. [Justin Gordon](https://github.com/justin808/)
345
- 2. [Samnang Chhun](https://github.com/samnang)
346
- 3. [Alex Fedoseev](https://github.com/alexfedoseev)
347
- 4. [Rob Wise](https://github.com/robwise)
348
- 5. [Blaine Hatab](https://github.com/jbhatab)
349
- 6. [Roger Studner](https://github.com/rstudner)
350
- 7. [Aaron Van Bokhoven](https://github.com/aaronvb)
345
+ The project started with [Justin Gordon](https://github.com/justin808/) pairing with [Samnang Chhun](https://github.com/samnang) to figure out how to do server rendering with Webpack plus Rails. [Alex Fedoseev](https://github.com/alexfedoseev) then joined in. [Rob Wise](https://github.com/robwise), [Aaron Van Bokhoven](https://github.com/aaronvb), and [Andy Wang](https://github.com/yorzi) did the bulk of the generators.
351
346
 
352
- And based on the work of the [react-rails gem](https://github.com/reactjs/react-rails)
347
+ We owe much gratitude to the work of the [react-rails gem](https://github.com/reactjs/react-rails). We've also been inspired by the [react_webpack_rails gem](https://github.com/netguru/react_webpack_rails).
353
348
 
354
349
  ## About [ShakaCode](http://www.shakacode.com/)
355
350
 
@@ -1,3 +1,3 @@
1
1
  module ReactOnRails
2
- VERSION = "1.2.0.rc1"
2
+ VERSION = "1.2.0"
3
3
  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: 1.2.0.rc1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Gordon
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-12-07 00:00:00.000000000 Z
11
+ date: 2015-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -140,6 +140,7 @@ files:
140
140
  - ".rubocop.yml"
141
141
  - ".scss-lint.yml"
142
142
  - ".travis.yml"
143
+ - CHANGELOG.md
143
144
  - Dockerfile_tests
144
145
  - Gemfile
145
146
  - README.md
@@ -262,12 +263,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
262
263
  version: '0'
263
264
  required_rubygems_version: !ruby/object:Gem::Requirement
264
265
  requirements:
265
- - - ">"
266
+ - - ">="
266
267
  - !ruby/object:Gem::Version
267
- version: 1.3.1
268
+ version: '0'
268
269
  requirements: []
269
270
  rubyforge_project:
270
- rubygems_version: 2.5.0
271
+ rubygems_version: 2.4.5.1
271
272
  signing_key:
272
273
  specification_version: 4
273
274
  summary: Rails with react server rendering with webpack.