Skip to content

Commit 44d9b43

Browse files
committed
prep 6.5.0, add ar 5.1 appraisal
1 parent c27057c commit 44d9b43

File tree

5 files changed

+21
-18
lines changed

5 files changed

+21
-18
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ language: ruby
44
rvm:
55
- 2.4.0
66
- 2.3.3
7-
- 2.2.6
7+
- 2.2.7
88
# these haven't been passing for a while:
99
# - jruby-head
1010
# - rbx
1111

1212
gemfile:
13-
- gemfiles/activerecord_4.2.gemfile
14-
- gemfiles/activerecord_5.0_foreigner.gemfile
13+
- gemfiles/activerecord_5.1.gemfile
1514
- gemfiles/activerecord_5.0.gemfile
15+
- gemfiles/activerecord_4.2.gemfile
1616
- gemfiles/activerecord_edge.gemfile
1717

1818
env:

Appraisals

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11

22
appraise 'activerecord-4.2' do
33
gem 'activerecord', '~> 4.2.0'
4-
5-
platforms :ruby, :rbx do
6-
gem 'mysql2', '~> 0.3.20'
7-
end
84
end
95

10-
appraise 'activerecord-5.0-foreigner' do
6+
appraise 'activerecord-5.0' do
117
gem 'activerecord', '~> 5.0.0'
12-
gem 'foreigner'
138
end
149

15-
appraise 'activerecord-5.0' do
16-
gem 'activerecord', '~> 5.0.0'
10+
appraise 'activerecord-5.1' do
11+
gem 'activerecord', '~> 5.1.0'
1712
end
1813

1914
appraise 'activerecord-edge' do

CHANGELOG.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,18 @@
22

33
### 6.5.0
44

5-
* Merged [PR 258](https://github.com/mceachen/closure_tree/pull/258) which improves hierarchy maintenance with large trees.
6-
Thanks, [Nikolay Bekirov](https://github.com/nbekirov)!
5+
Closure Tree is now tested against Rails 5.1, just passed 50 contributors and
6+
1000 stars on github! 🎉!
7+
8+
* ActiveSupport 5.1 deprecation warnings were addressed in [PR
9+
262](https://github.com/mceachen/closure_tree/pull/262). Thanks, [Charles
10+
Pence](https://github.com/cpence)!
11+
* Merged [PR 258](https://github.com/mceachen/closure_tree/pull/258) which
12+
improves hierarchy maintenance with large trees. Thanks, [Nikolay
13+
Bekirov](https://github.com/nbekirov)!
14+
* A database connection was leaked at startup, fixed in [PR
15+
263](https://github.com/mceachen/closure_tree/pull/263). Thanks, [Andrey
16+
Novikov](https://github.com/Envek)!
717

818
### 6.4.0
919

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ closure_tree has some great features:
2727
* 2 SQL INSERTs on node creation
2828
* 3 SQL INSERT/UPDATEs on node reparenting
2929
* __Support for [concurrency](#concurrency)__ (using [with_advisory_lock](https://github.com/mceachen/with_advisory_lock))
30-
* __Support for ActiveRecord 4.2 and 5.0__
31-
* __Support for Ruby 2.2 and 2.3__
30+
* __Tested against ActiveRecord 4.2, 5.0, and 5.1, with Ruby 2.2 and 2.3__
3231
* Support for reparenting children (and all their descendants)
3332
* Support for [single-table inheritance (STI)](#sti) within the hierarchy
3433
* ```find_or_create_by_path``` for [building out heterogeneous hierarchies quickly and conveniently](#find_or_create_by_path)
@@ -629,7 +628,7 @@ end
629628
Closure tree is [tested under every valid combination](http://travis-ci.org/#!/mceachen/closure_tree) of
630629

631630
* Ruby 2.2, 2.3
632-
* ActiveRecord 4.2 and 5.0
631+
* ActiveRecord 4.2, 5.0, and 5.1
633632
* PostgreSQL, MySQL, and SQLite. Concurrency tests are only run with MySQL and PostgreSQL.
634633

635634
Assuming you're using [rbenv](https://github.com/sstephenson/rbenv), you can use ```tests.sh``` to

gemfiles/activerecord_5.0_foreigner.gemfile renamed to gemfiles/activerecord_5.1.gemfile

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

33
source "https://rubygems.org"
44

5-
gem "activerecord", "~> 5.0.0"
6-
gem "foreigner"
5+
gem "activerecord", "~> 5.1.0"
76

87
platforms :ruby, :rbx do
98
gem "mysql2"

0 commit comments

Comments
 (0)