Skip to content

Commit 10e767a

Browse files
authored
Merge pull request #1015 from BookOfGreg/prep-for-2.6.1
Prep for 2.6.1
2 parents b1a6cc0 + a8f6a6d commit 10e767a

File tree

250 files changed

+22533
-32937
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+22533
-32937
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
*.gem
2-
Gemfile.lock
32
*.log
43
test/*/tmp
54
test/*/public/packs
6-
gemfiles/*.lock
75
*.swp
86
/vendor/react
97
**/node_modules

.travis.yml

Lines changed: 11 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -7,57 +7,37 @@ cache:
77
bundler: true
88
yarn: true
99
rvm:
10-
- 2.6.2
11-
- 2.5.3
12-
- 2.3.8
10+
- 2.7.0
11+
- 2.6.5
12+
- 2.5.7
1313
- jruby-9.1.9.0
1414

1515
gemfile:
1616
# These have webpacker:
17-
- gemfiles/rails_4.2_sprockets_4.gemfile
18-
- gemfiles/rails_5_no_sprockets_webpacker_1_1.gemfile
19-
- gemfiles/rails_5_no_sprockets_webpacker_1_x.gemfile
20-
- gemfiles/rails_5_no_sprockets_webpacker_2.gemfile
21-
- gemfiles/rails_5_no_sprockets_webpacker_3.gemfile
17+
- gemfiles/rails_5.2_no_sprockets.gemfile
2218
- gemfiles/rails_5.2_no_sprockets_webpacker_3.gemfile
2319
- gemfiles/rails_5.2_no_sprockets_webpacker_4.gemfile
2420
# These don't have webpacker:
25-
- gemfiles/rails_4.2_sprockets_2.gemfile
26-
- gemfiles/rails_4.2_sprockets_3.gemfile
27-
- gemfiles/rails_5_no_sprockets.gemfile
28-
- gemfiles/rails_5.1_sprockets_4.gemfile
21+
- gemfiles/rails_5.2_sprockets_3.gemfile
2922
- gemfiles/rails_5.2_sprockets_4.gemfile
3023

3124
matrix:
3225
fast_finish: true
3326
exclude:
3427
# Oldest rails does not run on ruby 2.6
35-
- rvm: 2.6.2
36-
gemfile: gemfiles/rails_4.2_sprockets_4.gemfile
37-
- rvm: 2.6.2
38-
gemfile: gemfiles/rails_4.2_sprockets_3.gemfile
39-
- rvm: 2.6.2
40-
gemfile: gemfiles/rails_4.2_sprockets_2.gemfile
41-
- rvm: 2.5.3
42-
- rvm: 2.3.8
28+
- rvm: 2.6.5
29+
- rvm: 2.5.7
4330
- rvm: jruby-9.1.9.0
4431

4532
include:
46-
# Oldest rails does not run on ruby 2.6
47-
- rvm: 2.5.3
48-
gemfile: gemfiles/rails_4.2_sprockets_4.gemfile
49-
- rvm: 2.5.3
50-
gemfile: gemfiles/rails_4.2_sprockets_3.gemfile
51-
- rvm: 2.5.3
52-
gemfile: gemfiles/rails_4.2_sprockets_2.gemfile
5333
# Newest gemfiles for universal testing
54-
- rvm: 2.5.3
34+
- rvm: 2.6.5
5535
gemfile: gemfiles/rails_5.2_no_sprockets_webpacker_4.gemfile
56-
- rvm: 2.5.3
36+
- rvm: 2.6.5
5737
gemfile: gemfiles/rails_5.2_sprockets_4.gemfile
58-
- rvm: 2.3.8
38+
- rvm: 2.5.7
5939
gemfile: gemfiles/rails_5.2_no_sprockets_webpacker_4.gemfile
60-
- rvm: 2.3.8
40+
- rvm: 2.5.7
6141
gemfile: gemfiles/rails_5.2_sprockets_4.gemfile
6242
- rvm: jruby-9.1.9.0
6343
gemfile: gemfiles/rails_5.2_no_sprockets_webpacker_4.gemfile

Appraisals

Lines changed: 12 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,92 +1,37 @@
11
appraise 'rails-5.2-sprockets_4' do
2-
gem 'rails', '~> 5.2.0'
2+
gem 'rails', '~> 5.2.x'
33
gem 'sprockets', '~> 4.0.x'
44
gem 'turbolinks', '~> 5'
5-
end
6-
7-
appraise 'rails-5.2_no_sprockets_webpacker_3' do
8-
gem 'rails', '~> 5.2.0'
9-
gem 'webpacker', '~> 3.0'
105
gem 'mini_racer', :platforms => :mri
116
gem 'therubyrhino', :platforms => :jruby
127
end
138

14-
appraise 'rails-5.2_no_sprockets_webpacker_4' do
15-
gem 'rails', '~> 5.2.0'
16-
gem 'webpacker', '~> 4.0'
9+
appraise 'rails-5.2-sprockets_3' do
10+
gem 'rails', '~> 5.2.x'
11+
gem 'sprockets', '~> 3.5'
12+
gem 'turbolinks', '~> 5'
1713
gem 'mini_racer', :platforms => :mri
1814
gem 'therubyrhino', :platforms => :jruby
1915
end
2016

21-
appraise 'rails-5.1-sprockets_4' do
22-
gem 'rails', '~> 5.1.0'
23-
gem 'sprockets', '~> 4.0.x'
24-
gem 'turbolinks', '~> 5.0.0'
25-
end
26-
27-
# no_sprockets is a magical name from sprockets_helper.rb in test to
28-
# load in certain tests or not.
29-
appraise 'rails-5_no_sprockets_webpacker_3' do
30-
gem 'rails', '~> 5.0.0'
17+
appraise 'rails-5.2_no_sprockets_webpacker_3' do
18+
gem 'rails', '~> 5.2.x'
3119
gem 'webpacker', '~> 3.0'
32-
# This ExecJS backend provides stateful context
33-
# which the default nodejs backend does not
34-
gem 'mini_racer', :platforms => :mri
35-
gem 'therubyrhino', :platforms => :jruby
36-
end
37-
38-
appraise 'rails-5_no_sprockets_webpacker_2' do
39-
gem 'rails', '~> 5.0.0'
40-
gem 'webpacker', '~> 2.0'
41-
# This ExecJS backend provides stateful context
42-
# which the default nodejs backend does not
4320
gem 'mini_racer', :platforms => :mri
4421
gem 'therubyrhino', :platforms => :jruby
4522
end
4623

47-
appraise 'rails-5_no_sprockets_webpacker_1_x' do
48-
gem 'rails', '~> 5.0.0'
49-
gem 'webpacker', '~> 1.2'
50-
# This ExecJS backend provides stateful context
51-
# which the default nodejs backend does not
52-
gem 'mini_racer', :platforms => :mri
53-
gem 'therubyrhino', :platforms => :jruby
54-
end
55-
56-
appraise 'rails-5_no_sprockets_webpacker_1_1' do
57-
gem 'rails', '~> 5.0.0'
58-
gem 'webpacker', '~> 1.1.0'
59-
# This ExecJS backend provides stateful context
60-
# which the default nodejs backend does not
24+
appraise 'rails-5.2_no_sprockets_webpacker_4' do
25+
gem 'rails', '~> 5.2.x'
26+
gem 'webpacker', '~> 4.0'
6127
gem 'mini_racer', :platforms => :mri
6228
gem 'therubyrhino', :platforms => :jruby
6329
end
6430

65-
appraise 'rails-5-no_sprockets' do
31+
appraise 'rails-5.2-no_sprockets' do
6632
# Appraisal adds `turbolinks` to this gemfile because it is
6733
# present in `./Gemfile`.
6834
# But it causes this gemfile to break, so it must be removed
6935
# from `./gemfiles/rails_5_no_sprockets.gemfile` manually.
70-
gem 'rails', '~> 5.0.0'
71-
end
72-
73-
appraise 'rails-4.2-sprockets_4' do
74-
gem 'rails', '~> 4.2.1'
75-
gem 'sprockets', '~> 4.0.x'
76-
gem 'turbolinks', '~> 2.5.0'
77-
# This ExecJS backend provides stateful context
78-
# which the default nodejs backend does not
79-
gem 'mini_racer', :platforms => :mri
80-
end
81-
82-
appraise 'rails-4.2-sprockets_3' do
83-
gem 'rails', '~> 4.2.1'
84-
gem 'sprockets', '~> 3.5'
85-
gem 'turbolinks', '~> 2.5.0'
86-
end
87-
88-
appraise 'rails-4.2-sprockets_2' do
89-
gem 'rails', '~> 4.2.1'
90-
gem 'sprockets', '~> 2.12'
91-
gem 'turbolinks'
36+
gem 'rails', '~> 5.2.x'
9237
end

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,26 @@
88

99
#### Bug Fixes
1010

11+
## 2.6.1
12+
13+
#### Breaking Changes
14+
15+
#### New Features
16+
17+
- React 16.9.0
18+
- Sprockets users get React_UJS 2.6.1
19+
20+
#### Deprecation
21+
22+
- Removed tests for Rails 3, 4, 5.0
23+
- Removed tests for Sprockets 2
24+
- Removed tests for Webpacker 1.1, 2
25+
26+
#### Bug Fixes
27+
28+
- React_UJS 2.6.1 still complies with ES5 #1027 #1026 #1016
29+
- Support RubyGems pattern for Alpha releases when detecting sprockets version #1047
30+
1131
## 2.6.0
1232

1333
#### Breaking Changes

CONTRIBUTING.md

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

33
🎉 Thanks for taking the time to contribute! 🎉
44

5-
With 2 Million+ downloads of the react-rails Gem and another 100k+ downloads of react_ujs on NPM, you're helping the biggest React + Rails community!
5+
With 5 Million+ downloads of the react-rails Gem and another 2 Million+ downloads of react_ujs on NPM, you're helping the biggest React + Rails community!
66

77
What follows is a set of guidelines for contributing to React-Rails, inside the [react-js Organization](https://github.com/reactjs), part of the wider [React Community](https://reactcommunity.org/)
88

0 commit comments

Comments
 (0)