Skip to content

Commit 81f6314

Browse files
authored
Update wording (shakacode#396)
* Update wording * Update to 8.0.0 of React on Rails
1 parent 8f293af commit 81f6314

File tree

8 files changed

+18
-15
lines changed

8 files changed

+18
-15
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ gem "sdoc", group: :doc
3838
# Use Rails Html Sanitizer for HTML sanitization
3939
gem "rails-html-sanitizer"
4040

41-
gem "react_on_rails", "8.0.0.beta.3"
41+
gem "react_on_rails", "8.0.0"
4242

4343
gem "webpacker_lite", "2.0.4"
4444

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ GEM
200200
rb-inotify (0.9.8)
201201
ffi (>= 0.5.0)
202202
rdoc (4.3.0)
203-
react_on_rails (8.0.0.beta.3)
203+
react_on_rails (8.0.0)
204204
addressable
205205
connection_pool
206206
execjs (~> 2.5)
@@ -334,7 +334,7 @@ DEPENDENCIES
334334
rails (= 5.0.3)
335335
rails-html-sanitizer
336336
rainbow
337-
react_on_rails (= 8.0.0.beta.3)
337+
react_on_rails (= 8.0.0)
338338
redis
339339
rspec-rails (~> 3)
340340
rspec-retry

Procfile.dev

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1+
app: echo "Use Procfile.static or uncomment this file and help us get Hot Reloading to work again"
12
# Basic procfile for dev work.
23
# Development is faster if you pick one of the other Procfiles if you don't need
34
# the processes to create the test files. Thus, run the `Procfile.hot` one instead
45

56
# Development rails requires both rails and rails-assets
67
# (and rails-server-assets if server rendering)
7-
rails: REACT_ON_RAILS_ENV=HOT rails s -b 0.0.0.0
8+
# rails: REACT_ON_RAILS_ENV=HOT rails s -b 0.0.0.0
89

910
# Run the hot reload server for client development
10-
hot-assets: sh -c 'rm -rf public/webpack/development || true && bundle exec rake react_on_rails:locale && HOT_RAILS_PORT=3500 yarn run hot-assets'
11+
# hot-assets: sh -c 'rm -rf public/webpack/development || true && bundle exec rake react_on_rails:locale && HOT_RAILS_PORT=3500 yarn run hot-assets'
1112

1213
# Render static client assets
13-
rails-static-client-assets: sh -c 'yarn run build:dev:client'
14+
# rails-static-client-assets: sh -c 'yarn run build:dev:client'
1415

1516
# Render static client assets. Remove if not server rendering
16-
rails-static-server-assets: sh -c 'yarn run build:dev:server'
17+
# rails-static-server-assets: sh -c 'yarn run build:dev:server'

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ For more testimonials, see [Live Projects](https://github.com/shakacode/react_on
4141

4242
## NEWS
4343

44+
* Project migrated to [webpacker_lite](https://github.com/shakacode/react-webpack-rails-tutorial/pull/395) and React on Rails 8.0.0.
4445
* Action Cable was recently added in [PR #355](https://github.com/shakacode/react-webpack-rails-tutorial/pull/355). See [PR#360](https://github.com/shakacode/react-webpack-rails-tutorial/pull/360) for additional steps to make this work on Heroku. Note, you need to be running redis. We installed the free Heroku redis add-on.
4546
* We made a react-native client: [shakacode/reactrails-react-native-client](https://github.com/shakacode/reactrails-react-native-client/). If you want to hack on this with us, [email [email protected]](mailto:[email protected]).
4647
* We have [some other open PRs](https://github.com/shakacode/react-webpack-rails-tutorial/pulls) of things we may soon be incorporating, including localization and action cable! Stay tuned! If you have opinions of what should or should not get merged, get in touch with [[email protected]](mailto:[email protected]).
@@ -270,7 +271,7 @@ We're looking for great developers that want to work with Rails + React (and rea
270271

271272
---
272273

273-
Aloha from Justin Gordon ([bio](http://www.railsonmaui.com/about)) and the [ShakaCode](http://www.shakacode.com) Team! We're actively looking for new projects involving React, React-Native, and Rails. Please contact me at [[email protected]](mailto:[email protected]) if we could potentially help you in any way. Besides consulting on bigger projects, [ShakaCode](http://www.shakacode.com) is doing Skype plus Slack/Github based coaching for React on Rails. See our blog post [Can ShakaCode Help You?](https://blog.shakacode.com/can-shakacode-help-you-4a5b1e5a8a63#.jex6tg9w9) for more information.
274+
Aloha from Justin Gordon ([bio](http://www.railsonmaui.com/about)) and the [ShakaCode](http://www.shakacode.com) Team! We're actively looking for new projects involving React, React-Native, and Rails. Please contact me at [[email protected]](mailto:[email protected]) if we could potentially help you in any way. Besides consulting on bigger projects, [ShakaCode](http://www.shakacode.com) is doing Zoom.us plus Slack/Github based coaching for React on Rails. See our blog post [Can ShakaCode Help You?](https://blog.shakacode.com/can-shakacode-help-you-4a5b1e5a8a63#.jex6tg9w9) for more information.
274275

275276
We're offering a free half-hour project consultation, on anything from React on Rails to any aspect of web application development for both consumer and enterprise products. In addition to React.js and Rails, we're doing React-Native iOS and Android apps!
276277

app/views/pages/_header.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
</li>
3434
<li>
3535
<%= link_to "ShakaCode", "http://www.shakacode.com"%>
36-
is doing Skype plus Slack/Github based coaching for React on Rails.
36+
is doing support for React on Rails, including a private Slack channel, source code reviews, and pair programming sessions.
3737
<b><%= link_to "Click here", "http://www.shakacode.com/work/index.html" %></b> for more information.
3838
</li>
3939
</ul>

app/views/pages/index.html.erb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
"https://github.com/shakacode/react-webpack-rails-tutorial/" %> of using the <%= link_to "React on Rails gem", "https://github.com/shakacode/react_on_rails" %>
44
</h2>
55
<h3>Using <%= link_to "Ruby on Rails", "http://rubyonrails.org/" %> with
6+
<%= link_to "webpacker_lite", "https://github.com/shakacode/webpacker_lite" %> +
7+
<%= link_to "Action Cable", "http://guides.rubyonrails.org/action_cable_overview.html" %> +
68
<%= link_to "React", "http://facebook.github.io/react/" %> (Server rendering) +
79
<%= link_to "Redux", "https://github.com/reactjs/redux" %> +
8-
<%= link_to "React Router", "https://github.com/reactjs/react-router" %> +
9-
<%= link_to "react-router-redux" , "https://github.com/reactjs/react-router-redux" %>
10+
<%= link_to "React Router", "https://github.com/reactjs/react-router" %>
1011
</h3>
1112
<%= render "header" %>
1213

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"react-bootstrap": "^0.30.8",
8383
"react-dom": "^15.4.1",
8484
"react-intl": "^2.2.2",
85-
"react-on-rails": "^8.0.0-beta.3",
85+
"react-on-rails": "8.0.0",
8686
"react-redux": "^4.4.6",
8787
"react-router": "^3.0.0",
8888
"react-router-redux": "^4.0.7",

client/yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4642,9 +4642,9 @@ react-intl@^2.2.2:
46424642
intl-relativeformat "^1.3.0"
46434643
invariant "^2.1.1"
46444644

4645-
react-on-rails@^8.0.0-beta.3:
4646-
version "8.0.0-beta.3"
4647-
resolved "https://registry.yarnpkg.com/react-on-rails/-/react-on-rails-8.0.0-beta.3.tgz#6f173283654c186b28883e4f4bcf8ed7b34e12b8"
4645+
4646+
version "8.0.0"
4647+
resolved "https://registry.yarnpkg.com/react-on-rails/-/react-on-rails-8.0.0.tgz#97fda265cdc5e4cd4334ae7a7f2bacd85346161e"
46484648

46494649
react-overlays@^0.6.12:
46504650
version "0.6.12"

0 commit comments

Comments
 (0)