Skip to content

Commit

Permalink
rails5 upgrade - update react_on_rails
Browse files Browse the repository at this point in the history
  • Loading branch information
valdis committed Jun 20, 2017
1 parent 398d47b commit e2f3ccf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.9
7.8
5 changes: 3 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"repository": "sharetribe/sharetribe",
"license": "MIT",
"engines": {
"node": "6.9"
"node": "7.8",
"npm": "4.4.4"
},
"scripts": {
"ensure-node-version": "check-node-version --package",
Expand Down Expand Up @@ -63,7 +64,7 @@
"react-addons-shallow-compare": "15.4.1",
"react-dates": "4.1.0",
"react-dom": "15.4.1",
"react-on-rails": "6.1.1",
"react-on-rails": "6.9.3",
"react-redux": "4.4.6",
"redux": "3.6.0",
"redux-thunk": "2.1.0",
Expand Down
3 changes: 0 additions & 3 deletions config/initializers/react_on_rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ def self.custom_context(view_context)
################################################################################
# MISCELLANEOUS OPTIONS
################################################################################
# Default is false, enable if your content security policy doesn't include `style-src: 'unsafe-inline'`
config.skip_display_none = false

# This allows you to add additional values to the Rails Context. Implement one static method
# called `custom_context(view_context)` and return a Hash.
config.rendering_extension = RailsContextExtension
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"repository": "sharetribe/sharetribe",
"license": "MIT",
"engines": {
"node": "6.9"
"node": "7.8"
},
"scripts": {
"postinstall": "cd client && npm install",
Expand Down

0 comments on commit e2f3ccf

Please sign in to comment.