Skip to content

Commit 0152e91

Browse files
authored
Update React on Rails to v12 (#470)
* fix travis, update ruby version * update ruby version
1 parent bf07fd5 commit 0152e91

File tree

10 files changed

+4163
-2696
lines changed

10 files changed

+4163
-2696
lines changed

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
AllCops:
55
DisplayCopNames: true
6-
TargetRubyVersion: 2.2
6+
TargetRubyVersion: 2.7
77
Include:
88
- '**/Rakefile'
99
- '**/config.ru'

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
language: ruby
22

33
rvm:
4-
- 2.5.3
4+
- 2.7.1
55

66
services:
77
- docker
8+
- postgresql
89

910
notifications:
1011
slack: shakacode:YvfXbuFMcFAHt6ZjABIs0KET

Gemfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
# frozen_string_literal: true
2+
13
source "https://rubygems.org"
2-
ruby "2.5.3"
4+
ruby "2.7.1"
35

4-
gem "react_on_rails", "11.2.2"
6+
gem "react_on_rails", "12.0.0-beta.1"
57
gem "webpacker"
68

79
# Bundle edge Rails instead: gem "rails", github: "rails/rails"

0 commit comments

Comments
 (0)