acts_as_list 0.9.18 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.github/FUNDING.yml +3 -0
- data/.travis.yml +14 -40
- data/Appraisals +23 -33
- data/CHANGELOG.md +393 -351
- data/Gemfile +6 -5
- data/README.md +104 -7
- data/Rakefile +1 -1
- data/acts_as_list.gemspec +12 -13
- data/gemfiles/rails_4_2.gemfile +6 -7
- data/gemfiles/rails_5_0.gemfile +4 -6
- data/gemfiles/rails_5_1.gemfile +4 -6
- data/gemfiles/rails_5_2.gemfile +4 -6
- data/gemfiles/rails_6_0.gemfile +31 -0
- data/gemfiles/rails_6_1.gemfile +31 -0
- data/lib/acts_as_list/active_record/acts/list.rb +48 -49
- data/lib/acts_as_list/active_record/acts/no_update.rb +14 -4
- data/lib/acts_as_list/active_record/acts/position_column_method_definer.rb +1 -1
- data/lib/acts_as_list/active_record/acts/scope_method_definer.rb +8 -5
- data/lib/acts_as_list/active_record/acts/sequential_updates_method_definer.rb +1 -1
- data/lib/acts_as_list/version.rb +1 -1
- data/test/helper.rb +17 -10
- data/test/shared_list.rb +14 -4
- data/test/shared_list_sub.rb +1 -1
- data/test/test_list.rb +59 -56
- data/test/test_no_update_for_extra_classes.rb +30 -5
- data/test/test_no_update_for_scope_destruction.rb +2 -7
- data/test/test_no_update_for_subclasses.rb +3 -3
- data/test/test_scope_with_user_defined_foreign_key.rb +42 -0
- metadata +17 -15
- data/gemfiles/rails_3_2.gemfile +0 -34
- data/gemfiles/rails_4_1.gemfile +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: cfe49b92bf1cb2d1fe15c55eacacf23c5355368a193b0d5fe5c3d279280fc79b
|
4
|
+
data.tar.gz: 71a11063d260b88cbbe59b4dd66c9475d4aa8fc7bdead764af44bd372ab3d753
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8559b0028cb19c2872d6a16bc9b78bcf720a3d1571a9ba8373b4c7a0e1594dc1d0325afa45b7225666291c77183eaf42dc32eba64614006ed341586adbdbb1bf
|
7
|
+
data.tar.gz: 90173182d8b93c012b70c64b0981fc5ff3599342c61c454e61455ebce03d23100b9af1432eff979bd18325f2f3873e6e4997f8b2fb31308be752494fdd0b358b
|
data/.github/FUNDING.yml
ADDED
data/.travis.yml
CHANGED
@@ -1,58 +1,32 @@
|
|
1
1
|
language: ruby
|
2
2
|
cache: bundler
|
3
|
-
# Explicit usage of containerized builds, should provide faster feedback
|
4
|
-
# see https://docs.travis-ci.com/user/workers/container-based-infrastructure/
|
5
|
-
# and https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments
|
6
3
|
sudo: false
|
7
|
-
before_install:
|
8
|
-
- gem install bundler -v 1.16.1
|
9
4
|
before_script:
|
5
|
+
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
|
6
|
+
- gem install bundler -v '< 2'
|
10
7
|
- mysql -e 'create database acts_as_list;'
|
11
8
|
- psql -c 'create database acts_as_list;' -U postgres
|
12
9
|
rvm:
|
13
|
-
-
|
14
|
-
- 2.
|
15
|
-
- 2.
|
16
|
-
|
17
|
-
-
|
18
|
-
-
|
19
|
-
- 2.5.0
|
10
|
+
- 2.4.7
|
11
|
+
- 2.5.6
|
12
|
+
- 2.6.4
|
13
|
+
services:
|
14
|
+
- mysql
|
15
|
+
- postgresql
|
20
16
|
env:
|
21
17
|
- DB=sqlite
|
22
18
|
- DB=mysql
|
23
19
|
- DB=postgresql
|
24
20
|
gemfile:
|
25
|
-
- gemfiles/rails_3_2.gemfile
|
26
|
-
- gemfiles/rails_4_1.gemfile
|
27
21
|
- gemfiles/rails_4_2.gemfile
|
28
22
|
- gemfiles/rails_5_0.gemfile
|
29
23
|
- gemfiles/rails_5_1.gemfile
|
30
24
|
- gemfiles/rails_5_2.gemfile
|
25
|
+
- gemfiles/rails_6_0.gemfile
|
26
|
+
- gemfiles/rails_6_1.gemfile
|
31
27
|
matrix:
|
32
28
|
exclude:
|
33
|
-
- rvm:
|
34
|
-
gemfile: gemfiles/
|
35
|
-
- rvm:
|
36
|
-
gemfile: gemfiles/
|
37
|
-
- rvm: 1.9.3
|
38
|
-
gemfile: gemfiles/rails_5_2.gemfile
|
39
|
-
- rvm: 2.0.0
|
40
|
-
gemfile: gemfiles/rails_5_0.gemfile
|
41
|
-
- rvm: 2.0.0
|
42
|
-
gemfile: gemfiles/rails_5_1.gemfile
|
43
|
-
- rvm: 2.0.0
|
44
|
-
gemfile: gemfiles/rails_5_2.gemfile
|
45
|
-
- rvm: 2.1.10
|
46
|
-
gemfile: gemfiles/rails_5_0.gemfile
|
47
|
-
- rvm: 2.1.10
|
48
|
-
gemfile: gemfiles/rails_5_1.gemfile
|
49
|
-
- rvm: 2.1.10
|
50
|
-
gemfile: gemfiles/rails_5_2.gemfile
|
51
|
-
- rvm: 2.4.3
|
52
|
-
gemfile: gemfiles/rails_3_2.gemfile
|
53
|
-
- rvm: 2.4.3
|
54
|
-
gemfile: gemfiles/rails_4_1.gemfile
|
55
|
-
- rvm: 2.5.0
|
56
|
-
gemfile: gemfiles/rails_3_2.gemfile
|
57
|
-
- rvm: 2.5.0
|
58
|
-
gemfile: gemfiles/rails_4_1.gemfile
|
29
|
+
- rvm: 2.4.7
|
30
|
+
gemfile: gemfiles/rails_6_0.gemfile
|
31
|
+
- rvm: 2.4.7
|
32
|
+
gemfile: gemfiles/rails_6_1.gemfile
|
data/Appraisals
CHANGED
@@ -1,50 +1,40 @@
|
|
1
|
-
appraise "rails-
|
1
|
+
appraise "rails-4-2" do
|
2
2
|
group :mysql do
|
3
|
-
gem "mysql2", "~> 0.
|
4
|
-
end
|
5
|
-
gem "activerecord", "~> 3.2.22.2"
|
6
|
-
gem "rake", "~> 12.2.0", platforms: [:ruby_19]
|
7
|
-
group :test do
|
8
|
-
gem "after_commit_exception_notification"
|
3
|
+
gem "mysql2", "~> 0.4.0"
|
9
4
|
end
|
10
|
-
|
11
|
-
|
12
|
-
appraise "rails-4-1" do
|
13
|
-
group :mysql do
|
14
|
-
gem "mysql2", "~> 0.3.21", platforms: [:ruby]
|
5
|
+
group :postgresql do
|
6
|
+
gem "pg", "~> 0.18.4"
|
15
7
|
end
|
16
|
-
gem "activerecord", "~> 4.1.16"
|
17
|
-
gem "rake", "~> 12.2.0", platforms: [:ruby_19]
|
18
8
|
group :test do
|
19
|
-
gem "
|
9
|
+
gem "test_after_commit", "~> 0.4.2"
|
20
10
|
end
|
21
|
-
|
22
|
-
|
23
|
-
appraise "rails-4-2" do
|
24
|
-
group :mysql do
|
25
|
-
gem "mysql2", "~> 0.4.10", platforms: [:ruby]
|
11
|
+
group :sqlite do
|
12
|
+
gem "sqlite3", "~> 1.3.13"
|
26
13
|
end
|
27
|
-
|
28
|
-
gem "
|
14
|
+
|
15
|
+
gem "activerecord", "~> 4.2.0"
|
29
16
|
end
|
30
17
|
|
31
18
|
appraise "rails-5-0" do
|
32
|
-
group :
|
33
|
-
gem "
|
19
|
+
group :sqlite do
|
20
|
+
gem "sqlite3", "~> 1.3.13"
|
34
21
|
end
|
35
|
-
|
22
|
+
|
23
|
+
gem "activerecord", "~> 5.0.0"
|
36
24
|
end
|
37
25
|
|
38
26
|
appraise "rails-5-1" do
|
39
|
-
|
40
|
-
gem "mysql2", "~> 0.4.10", platforms: [:ruby]
|
41
|
-
end
|
42
|
-
gem "activerecord", "~> 5.1.4"
|
27
|
+
gem "activerecord", "~> 5.1.0"
|
43
28
|
end
|
44
29
|
|
45
30
|
appraise "rails-5-2" do
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
31
|
+
gem "activerecord", "~> 5.2.0"
|
32
|
+
end
|
33
|
+
|
34
|
+
appraise "rails-6-0" do
|
35
|
+
gem "activerecord", "~> 6.0.0"
|
36
|
+
end
|
37
|
+
|
38
|
+
appraise "rails-6-1" do
|
39
|
+
gem "activerecord", "6.1.0.rc1"
|
50
40
|
end
|
data/CHANGELOG.md
CHANGED
@@ -4,9 +4,51 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
-
##
|
7
|
+
## Unreleased
|
8
|
+
|
9
|
+
## v1.0.3 - 2020-12-24
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
- Silence deprecation warnings in Rails 6 [\#384](https://github.com/brendon/acts_as_list/pull/384) ([h-lame])
|
13
|
+
- Add explicit requirement of ActiveSupport::Inflector [\#387](https://github.com/brendon/acts_as_list/pull/387) ([rdvdijk])
|
14
|
+
|
15
|
+
## v1.0.2 - 2020-09-14
|
16
|
+
|
17
|
+
### Fixed
|
18
|
+
- Get foreign key from reflections when possible [\#383](https://github.com/brendon/acts_as_list/pull/383) ([jefftsang])
|
19
|
+
|
20
|
+
### Removed
|
21
|
+
- gemspec: Drop defunct `rubyforge_project` directive [\#373](https://github.com/brendon/acts_as_list/pull/373) ([olleolleolle])
|
22
|
+
|
23
|
+
[olleolleolle]: https://github.com/olleolleolle
|
24
|
+
[jefftsang]: https://github.com/jefftsang
|
25
|
+
|
26
|
+
## v1.0.1 - 2020-02-27
|
27
|
+
|
28
|
+
### Fixed
|
29
|
+
- Invert order when incrementing to circumvent unique index violations (#368)
|
30
|
+
|
31
|
+
## [v1.0.0](https://github.com/swanandp/acts_as_list/tree/v1.0.0) - 2019-09-26
|
32
|
+
[Full Changelog](https://github.com/swanandp/acts_as_list/compare/v0.9.19...v1.0.0)
|
33
|
+
### Removed
|
34
|
+
- **BREAKING CHANGE**: Support for Rails 3.2 > 4.1 has been removed. 0.9.19 is the last version that supports
|
35
|
+
these Rails versions
|
36
|
+
|
37
|
+
### Added
|
38
|
+
- Added *Troubleshooting Database Deadlock Errors* section to `README.md`
|
39
|
+
- Added support for Rails 6.0 in testing
|
40
|
+
- Various README fixes
|
41
|
+
- A new method called `current_position` now exists and returns the integer position of the item it's
|
42
|
+
called on, or `nil` if the position isn't set.
|
43
|
+
|
44
|
+
## [v0.9.19](https://github.com/swanandp/acts_as_list/tree/v0.9.19) - 2019-03-12
|
45
|
+
[Full Changelog](https://github.com/swanandp/acts_as_list/compare/v0.9.18...v0.9.19)
|
46
|
+
### Added
|
47
|
+
- Allow `acts_as_list_no_update` blocks to be nested [@conorbdaly](https://github.com/conorbdaly)
|
48
|
+
|
49
|
+
## [v0.9.18](https://github.com/swanandp/acts_as_list/tree/v0.9.18) - 2019-03-08
|
50
|
+
[Full Changelog](https://github.com/swanandp/acts_as_list/compare/v0.9.17...v0.9.18)
|
8
51
|
|
9
|
-
## [0.9.18] - 2019-03-08
|
10
52
|
### Added
|
11
53
|
- Added additional gemspec metadata [@boone](https://github.com/boone)
|
12
54
|
- Add gem version badge to README [@joshuapinter](https://github.com/joshuapinter)
|
@@ -18,588 +60,588 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
18
60
|
### Fixed
|
19
61
|
- Fix sqlite3 gem pinning breaking tests
|
20
62
|
|
21
|
-
## [v0.9.17](https://github.com/
|
22
|
-
[Full Changelog](https://github.com/
|
63
|
+
## [v0.9.17](https://github.com/brendon/acts_as_list/tree/v0.9.17) (2018-10-29)
|
64
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.16...v0.9.17)
|
23
65
|
|
24
66
|
**Closed issues:**
|
25
67
|
|
26
|
-
- Inconsistent behavior [\#330](https://github.com/
|
27
|
-
- Using `top\_of\_list` set to 1 and setting a record to index 0 triggers a `PG::UniqueViolation` [\#322](https://github.com/
|
68
|
+
- Inconsistent behavior [\#330](https://github.com/brendon/acts_as_list/issues/330)
|
69
|
+
- Using `top\_of\_list` set to 1 and setting a record to index 0 triggers a `PG::UniqueViolation` [\#322](https://github.com/brendon/acts_as_list/issues/322)
|
28
70
|
|
29
71
|
**Merged pull requests:**
|
30
72
|
|
31
|
-
- Feature/add exception to wrong position [\#323](https://github.com/
|
32
|
-
- Methods move\_to\_bottom and move\_to\_top should not fail when there are unique constraints [\#320](https://github.com/
|
73
|
+
- Feature/add exception to wrong position [\#323](https://github.com/brendon/acts_as_list/pull/323) ([TheNeikos](https://github.com/TheNeikos))
|
74
|
+
- Methods move\_to\_bottom and move\_to\_top should not fail when there are unique constraints [\#320](https://github.com/brendon/acts_as_list/pull/320) ([faucct](https://github.com/faucct))
|
33
75
|
|
34
|
-
## [v0.9.16](https://github.com/
|
35
|
-
[Full Changelog](https://github.com/
|
76
|
+
## [v0.9.16](https://github.com/brendon/acts_as_list/tree/v0.9.16) (2018-08-30)
|
77
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.15...v0.9.16)
|
36
78
|
|
37
79
|
**Closed issues:**
|
38
80
|
|
39
|
-
- Re-ordering at specific position [\#318](https://github.com/
|
40
|
-
- `no\_update` is not applied to subclasses [\#314](https://github.com/
|
41
|
-
- NoMethodError: undefined method `acts\_as\_list' [\#303](https://github.com/
|
42
|
-
- Cannot create item at position 0 [\#297](https://github.com/
|
81
|
+
- Re-ordering at specific position [\#318](https://github.com/brendon/acts_as_list/issues/318)
|
82
|
+
- `no\_update` is not applied to subclasses [\#314](https://github.com/brendon/acts_as_list/issues/314)
|
83
|
+
- NoMethodError: undefined method `acts\_as\_list' [\#303](https://github.com/brendon/acts_as_list/issues/303)
|
84
|
+
- Cannot create item at position 0 [\#297](https://github.com/brendon/acts_as_list/issues/297)
|
43
85
|
|
44
86
|
**Merged pull requests:**
|
45
87
|
|
46
|
-
- Unscope `select` to avoid PG::UndefinedFunction [\#283](https://github.com/
|
88
|
+
- Unscope `select` to avoid PG::UndefinedFunction [\#283](https://github.com/brendon/acts_as_list/pull/283) ([donv](https://github.com/donv))
|
47
89
|
|
48
|
-
## [v0.9.15](https://github.com/
|
49
|
-
[Full Changelog](https://github.com/
|
90
|
+
## [v0.9.15](https://github.com/brendon/acts_as_list/tree/v0.9.15) (2018-06-11)
|
91
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.14...v0.9.15)
|
50
92
|
|
51
93
|
**Merged pull requests:**
|
52
94
|
|
53
|
-
- Fix \#314: `no\_update` is not applied to subclasses [\#315](https://github.com/
|
95
|
+
- Fix \#314: `no\_update` is not applied to subclasses [\#315](https://github.com/brendon/acts_as_list/pull/315) ([YoranBrondsema](https://github.com/YoranBrondsema))
|
54
96
|
|
55
|
-
## [v0.9.14](https://github.com/
|
56
|
-
[Full Changelog](https://github.com/
|
97
|
+
## [v0.9.14](https://github.com/brendon/acts_as_list/tree/v0.9.14) (2018-06-05)
|
98
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.13...v0.9.14)
|
57
99
|
|
58
100
|
**Closed issues:**
|
59
101
|
|
60
|
-
- `insert\_at` saves invalid ActiveRecord objects [\#311](https://github.com/
|
102
|
+
- `insert\_at` saves invalid ActiveRecord objects [\#311](https://github.com/brendon/acts_as_list/issues/311)
|
61
103
|
|
62
104
|
**Merged pull requests:**
|
63
105
|
|
64
|
-
- \#311 Don't insert invalid ActiveRecord objects [\#312](https://github.com/
|
106
|
+
- \#311 Don't insert invalid ActiveRecord objects [\#312](https://github.com/brendon/acts_as_list/pull/312) ([seanabrahams](https://github.com/seanabrahams))
|
65
107
|
|
66
|
-
## [v0.9.13](https://github.com/
|
67
|
-
[Full Changelog](https://github.com/
|
108
|
+
## [v0.9.13](https://github.com/brendon/acts_as_list/tree/v0.9.13) (2018-06-05)
|
109
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.12...v0.9.13)
|
68
110
|
|
69
111
|
**Merged pull requests:**
|
70
112
|
|
71
|
-
- Fix unique index constraint failure on item destroy [\#313](https://github.com/
|
113
|
+
- Fix unique index constraint failure on item destroy [\#313](https://github.com/brendon/acts_as_list/pull/313) ([yjukaku](https://github.com/yjukaku))
|
72
114
|
|
73
|
-
## [v0.9.12](https://github.com/
|
74
|
-
[Full Changelog](https://github.com/
|
115
|
+
## [v0.9.12](https://github.com/brendon/acts_as_list/tree/v0.9.12) (2018-05-02)
|
116
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.11...v0.9.12)
|
75
117
|
|
76
118
|
**Closed issues:**
|
77
119
|
|
78
|
-
- acts\_as\_list methods on has\_many through [\#308](https://github.com/
|
79
|
-
- Travis badge [\#307](https://github.com/
|
80
|
-
- Unscoping breaks STI subclasses, but is soon to be fixed in Rails [\#291](https://github.com/
|
81
|
-
- Refactor string eval for scope\_condition [\#227](https://github.com/
|
120
|
+
- acts\_as\_list methods on has\_many through [\#308](https://github.com/brendon/acts_as_list/issues/308)
|
121
|
+
- Travis badge [\#307](https://github.com/brendon/acts_as_list/issues/307)
|
122
|
+
- Unscoping breaks STI subclasses, but is soon to be fixed in Rails [\#291](https://github.com/brendon/acts_as_list/issues/291)
|
123
|
+
- Refactor string eval for scope\_condition [\#227](https://github.com/brendon/acts_as_list/issues/227)
|
82
124
|
|
83
125
|
**Merged pull requests:**
|
84
126
|
|
85
|
-
- mocha/minitest, not mocha/mini\_test now. [\#310](https://github.com/
|
127
|
+
- mocha/minitest, not mocha/mini\_test now. [\#310](https://github.com/brendon/acts_as_list/pull/310) ([jmarkbrooks](https://github.com/jmarkbrooks))
|
86
128
|
|
87
|
-
## [v0.9.11](https://github.com/
|
88
|
-
[Full Changelog](https://github.com/
|
129
|
+
## [v0.9.11](https://github.com/brendon/acts_as_list/tree/v0.9.11) (2018-03-19)
|
130
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.10...v0.9.11)
|
89
131
|
|
90
132
|
**Closed issues:**
|
91
133
|
|
92
|
-
- Setting `position: nil` on update returns `Column 'position' cannot be null` instead of putting the item at the start or the end of the list, like it does on create. [\#302](https://github.com/
|
93
|
-
- Switching to Semaphore [\#301](https://github.com/
|
94
|
-
- Dropping jruby support [\#300](https://github.com/
|
95
|
-
- Rails 5.2.0 [\#299](https://github.com/
|
96
|
-
- Cannot update record position when scoped to enum [\#298](https://github.com/
|
97
|
-
- `add\_new\_at: :top` does not work [\#296](https://github.com/
|
98
|
-
- remove\_from\_list causing "wrong number of arguments \(given 2, expected 0..1\)" [\#293](https://github.com/
|
99
|
-
- Passing raw strings to reorder deprecated in Rails 5.2 [\#290](https://github.com/
|
134
|
+
- Setting `position: nil` on update returns `Column 'position' cannot be null` instead of putting the item at the start or the end of the list, like it does on create. [\#302](https://github.com/brendon/acts_as_list/issues/302)
|
135
|
+
- Switching to Semaphore [\#301](https://github.com/brendon/acts_as_list/issues/301)
|
136
|
+
- Dropping jruby support [\#300](https://github.com/brendon/acts_as_list/issues/300)
|
137
|
+
- Rails 5.2.0 [\#299](https://github.com/brendon/acts_as_list/issues/299)
|
138
|
+
- Cannot update record position when scoped to enum [\#298](https://github.com/brendon/acts_as_list/issues/298)
|
139
|
+
- `add\_new\_at: :top` does not work [\#296](https://github.com/brendon/acts_as_list/issues/296)
|
140
|
+
- remove\_from\_list causing "wrong number of arguments \(given 2, expected 0..1\)" [\#293](https://github.com/brendon/acts_as_list/issues/293)
|
141
|
+
- Passing raw strings to reorder deprecated in Rails 5.2 [\#290](https://github.com/brendon/acts_as_list/issues/290)
|
100
142
|
|
101
143
|
**Merged pull requests:**
|
102
144
|
|
103
|
-
- Fix Test Suite [\#306](https://github.com/
|
104
|
-
- Add frozen\_string\_literal pragma to ruby files [\#305](https://github.com/
|
105
|
-
- Use symbols instead of SQL strings for reorder \(for Rails 5.2\) [\#294](https://github.com/
|
145
|
+
- Fix Test Suite [\#306](https://github.com/brendon/acts_as_list/pull/306) ([brendon](https://github.com/brendon))
|
146
|
+
- Add frozen\_string\_literal pragma to ruby files [\#305](https://github.com/brendon/acts_as_list/pull/305) ([krzysiek1507](https://github.com/krzysiek1507))
|
147
|
+
- Use symbols instead of SQL strings for reorder \(for Rails 5.2\) [\#294](https://github.com/brendon/acts_as_list/pull/294) ([jhawthorn](https://github.com/jhawthorn))
|
106
148
|
|
107
|
-
## [v0.9.10](https://github.com/
|
108
|
-
[Full Changelog](https://github.com/
|
149
|
+
## [v0.9.10](https://github.com/brendon/acts_as_list/tree/v0.9.10) (2017-11-19)
|
150
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.9...v0.9.10)
|
109
151
|
|
110
152
|
**Closed issues:**
|
111
153
|
|
112
|
-
- Make insert\_at respect position when creating a new record [\#287](https://github.com/
|
113
|
-
- Why does acts\_as\_list override rails validation on it's own field? [\#269](https://github.com/
|
154
|
+
- Make insert\_at respect position when creating a new record [\#287](https://github.com/brendon/acts_as_list/issues/287)
|
155
|
+
- Why does acts\_as\_list override rails validation on it's own field? [\#269](https://github.com/brendon/acts_as_list/issues/269)
|
114
156
|
|
115
157
|
**Merged pull requests:**
|
116
158
|
|
117
|
-
- Change error classes parents [\#288](https://github.com/
|
159
|
+
- Change error classes parents [\#288](https://github.com/brendon/acts_as_list/pull/288) ([alexander-lazarov](https://github.com/alexander-lazarov))
|
118
160
|
|
119
|
-
## [v0.9.9](https://github.com/
|
120
|
-
[Full Changelog](https://github.com/
|
161
|
+
## [v0.9.9](https://github.com/brendon/acts_as_list/tree/v0.9.9) (2017-10-03)
|
162
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.8...v0.9.9)
|
121
163
|
|
122
164
|
**Merged pull requests:**
|
123
165
|
|
124
|
-
- Added fixed values option for scope array [\#286](https://github.com/
|
166
|
+
- Added fixed values option for scope array [\#286](https://github.com/brendon/acts_as_list/pull/286) ([smoyth](https://github.com/smoyth))
|
125
167
|
|
126
|
-
## [v0.9.8](https://github.com/
|
127
|
-
[Full Changelog](https://github.com/
|
168
|
+
## [v0.9.8](https://github.com/brendon/acts_as_list/tree/v0.9.8) (2017-09-28)
|
169
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.7...v0.9.8)
|
128
170
|
|
129
171
|
**Closed issues:**
|
130
172
|
|
131
|
-
- Deadlocking in update\_positions count query [\#285](https://github.com/
|
132
|
-
- Updating the position fails uniqueness constraint. [\#275](https://github.com/
|
173
|
+
- Deadlocking in update\_positions count query [\#285](https://github.com/brendon/acts_as_list/issues/285)
|
174
|
+
- Updating the position fails uniqueness constraint. [\#275](https://github.com/brendon/acts_as_list/issues/275)
|
133
175
|
|
134
|
-
## [v0.9.7](https://github.com/
|
135
|
-
[Full Changelog](https://github.com/
|
176
|
+
## [v0.9.7](https://github.com/brendon/acts_as_list/tree/v0.9.7) (2017-07-06)
|
177
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.6...v0.9.7)
|
136
178
|
|
137
|
-
## [v0.9.6](https://github.com/
|
138
|
-
[Full Changelog](https://github.com/
|
179
|
+
## [v0.9.6](https://github.com/brendon/acts_as_list/tree/v0.9.6) (2017-07-05)
|
180
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.5...v0.9.6)
|
139
181
|
|
140
182
|
**Closed issues:**
|
141
183
|
|
142
|
-
- undefined method `+' for nil:NilClass [\#278](https://github.com/
|
143
|
-
- Enum does not scope correctly [\#277](https://github.com/
|
144
|
-
- Can we don't use remove\_from\_list when destroy a lot objects? [\#276](https://github.com/
|
145
|
-
- The NoUpdate code rely's on AS::Concern [\#273](https://github.com/
|
146
|
-
- ActiveRecord associations are no longer required \(even though belongs\_to\_required\_by\_default == true\) [\#268](https://github.com/
|
147
|
-
- Unique constraint violation on move\_higher, move\_lower, destroy [\#267](https://github.com/
|
184
|
+
- undefined method `+' for nil:NilClass [\#278](https://github.com/brendon/acts_as_list/issues/278)
|
185
|
+
- Enum does not scope correctly [\#277](https://github.com/brendon/acts_as_list/issues/277)
|
186
|
+
- Can we don't use remove\_from\_list when destroy a lot objects? [\#276](https://github.com/brendon/acts_as_list/issues/276)
|
187
|
+
- The NoUpdate code rely's on AS::Concern [\#273](https://github.com/brendon/acts_as_list/issues/273)
|
188
|
+
- ActiveRecord associations are no longer required \(even though belongs\_to\_required\_by\_default == true\) [\#268](https://github.com/brendon/acts_as_list/issues/268)
|
189
|
+
- Unique constraint violation on move\_higher, move\_lower, destroy [\#267](https://github.com/brendon/acts_as_list/issues/267)
|
148
190
|
|
149
191
|
**Merged pull requests:**
|
150
192
|
|
151
|
-
- Fix Fixnum deprecation warnings. [\#282](https://github.com/
|
152
|
-
- Fix update to scope that was defined with an enum [\#281](https://github.com/
|
153
|
-
- Refactor update\_all\_with\_touch [\#279](https://github.com/
|
154
|
-
- Remove AS::Concern from NoUpdate [\#274](https://github.com/
|
155
|
-
- Use `ActiveSupport.on\_load` to hook into ActiveRecord [\#272](https://github.com/
|
193
|
+
- Fix Fixnum deprecation warnings. [\#282](https://github.com/brendon/acts_as_list/pull/282) ([patrickdavey](https://github.com/patrickdavey))
|
194
|
+
- Fix update to scope that was defined with an enum [\#281](https://github.com/brendon/acts_as_list/pull/281) ([scottmalone](https://github.com/scottmalone))
|
195
|
+
- Refactor update\_all\_with\_touch [\#279](https://github.com/brendon/acts_as_list/pull/279) ([ledestin](https://github.com/ledestin))
|
196
|
+
- Remove AS::Concern from NoUpdate [\#274](https://github.com/brendon/acts_as_list/pull/274) ([brendon](https://github.com/brendon))
|
197
|
+
- Use `ActiveSupport.on\_load` to hook into ActiveRecord [\#272](https://github.com/brendon/acts_as_list/pull/272) ([brendon](https://github.com/brendon))
|
156
198
|
|
157
|
-
## [v0.9.5](https://github.com/
|
158
|
-
[Full Changelog](https://github.com/
|
199
|
+
## [v0.9.5](https://github.com/brendon/acts_as_list/tree/v0.9.5) (2017-04-04)
|
200
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.4...v0.9.5)
|
159
201
|
|
160
202
|
**Closed issues:**
|
161
203
|
|
162
|
-
- acts\_as\_list\_class.maximum\(position\_column\) is causing the entire table to lock [\#264](https://github.com/
|
163
|
-
- Be more precise with unscope-ing [\#263](https://github.com/
|
204
|
+
- acts\_as\_list\_class.maximum\(position\_column\) is causing the entire table to lock [\#264](https://github.com/brendon/acts_as_list/issues/264)
|
205
|
+
- Be more precise with unscope-ing [\#263](https://github.com/brendon/acts_as_list/issues/263)
|
164
206
|
|
165
207
|
**Merged pull requests:**
|
166
208
|
|
167
|
-
- Use bottom\_position\_in\_list instead of the highest value in the table [\#266](https://github.com/
|
168
|
-
- Be more surgical about unscoping [\#265](https://github.com/
|
209
|
+
- Use bottom\_position\_in\_list instead of the highest value in the table [\#266](https://github.com/brendon/acts_as_list/pull/266) ([brendon](https://github.com/brendon))
|
210
|
+
- Be more surgical about unscoping [\#265](https://github.com/brendon/acts_as_list/pull/265) ([brendon](https://github.com/brendon))
|
169
211
|
|
170
|
-
## [v0.9.4](https://github.com/
|
171
|
-
[Full Changelog](https://github.com/
|
212
|
+
## [v0.9.4](https://github.com/brendon/acts_as_list/tree/v0.9.4) (2017-03-16)
|
213
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.3...v0.9.4)
|
172
214
|
|
173
215
|
**Merged pull requests:**
|
174
216
|
|
175
|
-
- Optimize first? and last? instance methods. [\#262](https://github.com/
|
217
|
+
- Optimize first? and last? instance methods. [\#262](https://github.com/brendon/acts_as_list/pull/262) ([marshall-lee](https://github.com/marshall-lee))
|
176
218
|
|
177
|
-
## [v0.9.3](https://github.com/
|
178
|
-
[Full Changelog](https://github.com/
|
219
|
+
## [v0.9.3](https://github.com/brendon/acts_as_list/tree/v0.9.3) (2017-03-14)
|
220
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.2...v0.9.3)
|
179
221
|
|
180
222
|
**Closed issues:**
|
181
223
|
|
182
|
-
- Rails 5.1.0.beta1 deprecation [\#257](https://github.com/
|
183
|
-
- Move item X after item Y [\#256](https://github.com/
|
184
|
-
- Is there way to specify the position when creating a resource? [\#255](https://github.com/
|
224
|
+
- Rails 5.1.0.beta1 deprecation [\#257](https://github.com/brendon/acts_as_list/issues/257)
|
225
|
+
- Move item X after item Y [\#256](https://github.com/brendon/acts_as_list/issues/256)
|
226
|
+
- Is there way to specify the position when creating a resource? [\#255](https://github.com/brendon/acts_as_list/issues/255)
|
185
227
|
|
186
228
|
**Merged pull requests:**
|
187
229
|
|
188
|
-
- Don't update a child destroyed via relation [\#261](https://github.com/
|
189
|
-
- No update list for collection classes [\#260](https://github.com/
|
190
|
-
- Fix deprecation introduced in ActiveRecord 5.1.0.beta1. Closes \#257 [\#259](https://github.com/
|
191
|
-
- Refactor column definer module [\#258](https://github.com/
|
230
|
+
- Don't update a child destroyed via relation [\#261](https://github.com/brendon/acts_as_list/pull/261) ([brendon](https://github.com/brendon))
|
231
|
+
- No update list for collection classes [\#260](https://github.com/brendon/acts_as_list/pull/260) ([IlkhamGaysin](https://github.com/IlkhamGaysin))
|
232
|
+
- Fix deprecation introduced in ActiveRecord 5.1.0.beta1. Closes \#257 [\#259](https://github.com/brendon/acts_as_list/pull/259) ([CvX](https://github.com/CvX))
|
233
|
+
- Refactor column definer module [\#258](https://github.com/brendon/acts_as_list/pull/258) ([ledestin](https://github.com/ledestin))
|
192
234
|
|
193
|
-
## [v0.9.2](https://github.com/
|
194
|
-
[Full Changelog](https://github.com/
|
235
|
+
## [v0.9.2](https://github.com/brendon/acts_as_list/tree/v0.9.2) (2017-02-07)
|
236
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.1...v0.9.2)
|
195
237
|
|
196
238
|
**Closed issues:**
|
197
239
|
|
198
|
-
- Getting invalid input syntax for uuid [\#253](https://github.com/
|
240
|
+
- Getting invalid input syntax for uuid [\#253](https://github.com/brendon/acts_as_list/issues/253)
|
199
241
|
|
200
|
-
## [v0.9.1](https://github.com/
|
201
|
-
[Full Changelog](https://github.com/
|
242
|
+
## [v0.9.1](https://github.com/brendon/acts_as_list/tree/v0.9.1) (2017-01-26)
|
243
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.9.0...v0.9.1)
|
202
244
|
|
203
245
|
**Closed issues:**
|
204
246
|
|
205
|
-
- DEPRECATION WARNING on rails 5.0 as of acts\_as\_list 0.9 [\#251](https://github.com/
|
206
|
-
- highter\_items returns items with the same position value [\#247](https://github.com/
|
207
|
-
- Broken with unique constraint on position [\#245](https://github.com/
|
247
|
+
- DEPRECATION WARNING on rails 5.0 as of acts\_as\_list 0.9 [\#251](https://github.com/brendon/acts_as_list/issues/251)
|
248
|
+
- highter\_items returns items with the same position value [\#247](https://github.com/brendon/acts_as_list/issues/247)
|
249
|
+
- Broken with unique constraint on position [\#245](https://github.com/brendon/acts_as_list/issues/245)
|
208
250
|
|
209
251
|
**Merged pull requests:**
|
210
252
|
|
211
|
-
- fixes \#251 table\_exists? deprecation warning with Rails 5.0 [\#252](https://github.com/
|
253
|
+
- fixes \#251 table\_exists? deprecation warning with Rails 5.0 [\#252](https://github.com/brendon/acts_as_list/pull/252) ([zharikovpro](https://github.com/zharikovpro))
|
212
254
|
|
213
|
-
## [v0.9.0](https://github.com/
|
214
|
-
[Full Changelog](https://github.com/
|
255
|
+
## [v0.9.0](https://github.com/brendon/acts_as_list/tree/v0.9.0) (2017-01-23)
|
256
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.8.2...v0.9.0)
|
215
257
|
|
216
258
|
**Closed issues:**
|
217
259
|
|
218
|
-
- warning: too many arguments for format string [\#239](https://github.com/
|
219
|
-
- Broken tests related to time comparison [\#238](https://github.com/
|
220
|
-
- Shuffling positions is halting the callback chain [\#234](https://github.com/
|
221
|
-
- Reorder positions [\#233](https://github.com/
|
222
|
-
- Tests break when upgrading from 0.7.2 to 0.7.4 [\#228](https://github.com/
|
223
|
-
- RE \#221 needing a test [\#226](https://github.com/
|
224
|
-
- Adding to existing model with data and methods don't work [\#209](https://github.com/
|
225
|
-
- Position is set incorrectly when circular dependencies exist [\#153](https://github.com/
|
226
|
-
|
227
|
-
**Merged pull requests:**
|
228
|
-
|
229
|
-
- Revert "Updates documentation with valid string interpolation syntax" [\#250](https://github.com/
|
230
|
-
- Updates documentation with valid string interpolation syntax [\#249](https://github.com/
|
231
|
-
- Comply to tests warnings [\#248](https://github.com/
|
232
|
-
- insert\_at respects unique not null check \(\>= 0\) db constraints [\#246](https://github.com/
|
233
|
-
- acts\_as\_list\_no\_update [\#244](https://github.com/
|
234
|
-
- Update README.md [\#243](https://github.com/
|
235
|
-
- Fixed tests to prevent warning: too many arguments for format string [\#242](https://github.com/
|
236
|
-
- Be explicit about ordering when mapping :pos [\#241](https://github.com/
|
237
|
-
- Improve load method [\#240](https://github.com/
|
238
|
-
- Fix non regular sequence movement [\#237](https://github.com/
|
239
|
-
- Add travis config for testing against multiple databases [\#236](https://github.com/
|
240
|
-
- Extract modules [\#229](https://github.com/
|
241
|
-
|
242
|
-
## [v0.8.2](https://github.com/
|
243
|
-
[Full Changelog](https://github.com/
|
260
|
+
- warning: too many arguments for format string [\#239](https://github.com/brendon/acts_as_list/issues/239)
|
261
|
+
- Broken tests related to time comparison [\#238](https://github.com/brendon/acts_as_list/issues/238)
|
262
|
+
- Shuffling positions is halting the callback chain [\#234](https://github.com/brendon/acts_as_list/issues/234)
|
263
|
+
- Reorder positions [\#233](https://github.com/brendon/acts_as_list/issues/233)
|
264
|
+
- Tests break when upgrading from 0.7.2 to 0.7.4 [\#228](https://github.com/brendon/acts_as_list/issues/228)
|
265
|
+
- RE \#221 needing a test [\#226](https://github.com/brendon/acts_as_list/issues/226)
|
266
|
+
- Adding to existing model with data and methods don't work [\#209](https://github.com/brendon/acts_as_list/issues/209)
|
267
|
+
- Position is set incorrectly when circular dependencies exist [\#153](https://github.com/brendon/acts_as_list/issues/153)
|
268
|
+
|
269
|
+
**Merged pull requests:**
|
270
|
+
|
271
|
+
- Revert "Updates documentation with valid string interpolation syntax" [\#250](https://github.com/brendon/acts_as_list/pull/250) ([brendon](https://github.com/brendon))
|
272
|
+
- Updates documentation with valid string interpolation syntax [\#249](https://github.com/brendon/acts_as_list/pull/249) ([naveedkakal](https://github.com/naveedkakal))
|
273
|
+
- Comply to tests warnings [\#248](https://github.com/brendon/acts_as_list/pull/248) ([randoum](https://github.com/randoum))
|
274
|
+
- insert\_at respects unique not null check \(\>= 0\) db constraints [\#246](https://github.com/brendon/acts_as_list/pull/246) ([zharikovpro](https://github.com/zharikovpro))
|
275
|
+
- acts\_as\_list\_no\_update [\#244](https://github.com/brendon/acts_as_list/pull/244) ([randoum](https://github.com/randoum))
|
276
|
+
- Update README.md [\#243](https://github.com/brendon/acts_as_list/pull/243) ([rahuldstiwari](https://github.com/rahuldstiwari))
|
277
|
+
- Fixed tests to prevent warning: too many arguments for format string [\#242](https://github.com/brendon/acts_as_list/pull/242) ([brendon](https://github.com/brendon))
|
278
|
+
- Be explicit about ordering when mapping :pos [\#241](https://github.com/brendon/acts_as_list/pull/241) ([brendon](https://github.com/brendon))
|
279
|
+
- Improve load method [\#240](https://github.com/brendon/acts_as_list/pull/240) ([brendon](https://github.com/brendon))
|
280
|
+
- Fix non regular sequence movement [\#237](https://github.com/brendon/acts_as_list/pull/237) ([tiagotex](https://github.com/tiagotex))
|
281
|
+
- Add travis config for testing against multiple databases [\#236](https://github.com/brendon/acts_as_list/pull/236) ([fschwahn](https://github.com/fschwahn))
|
282
|
+
- Extract modules [\#229](https://github.com/brendon/acts_as_list/pull/229) ([ledestin](https://github.com/ledestin))
|
283
|
+
|
284
|
+
## [v0.8.2](https://github.com/brendon/acts_as_list/tree/v0.8.2) (2016-09-23)
|
285
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.8.1...v0.8.2)
|
244
286
|
|
245
287
|
**Closed issues:**
|
246
288
|
|
247
|
-
- We're a repo now, no longer a fork attached to rails/acts\_as\_list [\#232](https://github.com/
|
248
|
-
- Break away from rails/acts\_as\_list [\#224](https://github.com/
|
249
|
-
- Problem when inserting straight at top of list [\#109](https://github.com/
|
289
|
+
- We're a repo now, no longer a fork attached to rails/acts\_as\_list [\#232](https://github.com/brendon/acts_as_list/issues/232)
|
290
|
+
- Break away from rails/acts\_as\_list [\#224](https://github.com/brendon/acts_as_list/issues/224)
|
291
|
+
- Problem when inserting straight at top of list [\#109](https://github.com/brendon/acts_as_list/issues/109)
|
250
292
|
|
251
293
|
**Merged pull requests:**
|
252
294
|
|
253
|
-
- Show items with same position in higher and lower items [\#231](https://github.com/
|
254
|
-
- fix setting position when previous position was nil [\#230](https://github.com/
|
295
|
+
- Show items with same position in higher and lower items [\#231](https://github.com/brendon/acts_as_list/pull/231) ([jpalumickas](https://github.com/jpalumickas))
|
296
|
+
- fix setting position when previous position was nil [\#230](https://github.com/brendon/acts_as_list/pull/230) ([StoneFrog](https://github.com/StoneFrog))
|
255
297
|
|
256
|
-
## [v0.8.1](https://github.com/
|
257
|
-
[Full Changelog](https://github.com/
|
298
|
+
## [v0.8.1](https://github.com/brendon/acts_as_list/tree/v0.8.1) (2016-09-06)
|
299
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.8.0...v0.8.1)
|
258
300
|
|
259
301
|
**Closed issues:**
|
260
302
|
|
261
|
-
- Rubinius Intermittent testing error [\#218](https://github.com/
|
262
|
-
- ActiveRecord dependency causes rake assets:compile to fail without access to a database [\#84](https://github.com/
|
303
|
+
- Rubinius Intermittent testing error [\#218](https://github.com/brendon/acts_as_list/issues/218)
|
304
|
+
- ActiveRecord dependency causes rake assets:compile to fail without access to a database [\#84](https://github.com/brendon/acts_as_list/issues/84)
|
263
305
|
|
264
306
|
**Merged pull requests:**
|
265
307
|
|
266
|
-
- Refactor class\_eval with string into class\_eval with block [\#215](https://github.com/
|
308
|
+
- Refactor class\_eval with string into class\_eval with block [\#215](https://github.com/brendon/acts_as_list/pull/215) ([rdvdijk](https://github.com/rdvdijk))
|
267
309
|
|
268
|
-
## [v0.8.0](https://github.com/
|
269
|
-
[Full Changelog](https://github.com/
|
310
|
+
## [v0.8.0](https://github.com/brendon/acts_as_list/tree/v0.8.0) (2016-08-23)
|
311
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.7.7...v0.8.0)
|
270
312
|
|
271
313
|
**Closed issues:**
|
272
314
|
|
273
|
-
- Behavior with DB default seems unclear [\#219](https://github.com/
|
315
|
+
- Behavior with DB default seems unclear [\#219](https://github.com/brendon/acts_as_list/issues/219)
|
274
316
|
|
275
317
|
**Merged pull requests:**
|
276
318
|
|
277
|
-
- No longer a need specify additional rbx gems [\#225](https://github.com/
|
278
|
-
- Fix position when no serial positions [\#223](https://github.com/
|
279
|
-
- Bug: Specifying a position with add\_new\_at: :top fails to insert at that position [\#220](https://github.com/
|
319
|
+
- No longer a need specify additional rbx gems [\#225](https://github.com/brendon/acts_as_list/pull/225) ([brendon](https://github.com/brendon))
|
320
|
+
- Fix position when no serial positions [\#223](https://github.com/brendon/acts_as_list/pull/223) ([jpalumickas](https://github.com/jpalumickas))
|
321
|
+
- Bug: Specifying a position with add\_new\_at: :top fails to insert at that position [\#220](https://github.com/brendon/acts_as_list/pull/220) ([brendon](https://github.com/brendon))
|
280
322
|
|
281
|
-
## [v0.7.7](https://github.com/
|
282
|
-
[Full Changelog](https://github.com/
|
323
|
+
## [v0.7.7](https://github.com/brendon/acts_as_list/tree/v0.7.7) (2016-08-18)
|
324
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.7.6...v0.7.7)
|
283
325
|
|
284
326
|
**Closed issues:**
|
285
327
|
|
286
|
-
- Issue after upgrading to 0.7.5: No connection pool with id primary found. [\#214](https://github.com/
|
287
|
-
- Changing scope is inconsistent based on add\_new\_at [\#138](https://github.com/
|
288
|
-
- Duplicate positions and lost items [\#76](https://github.com/
|
328
|
+
- Issue after upgrading to 0.7.5: No connection pool with id primary found. [\#214](https://github.com/brendon/acts_as_list/issues/214)
|
329
|
+
- Changing scope is inconsistent based on add\_new\_at [\#138](https://github.com/brendon/acts_as_list/issues/138)
|
330
|
+
- Duplicate positions and lost items [\#76](https://github.com/brendon/acts_as_list/issues/76)
|
289
331
|
|
290
332
|
**Merged pull requests:**
|
291
333
|
|
292
|
-
- Add quoted table names to some columns [\#221](https://github.com/
|
293
|
-
- Appraisals cleanup [\#217](https://github.com/
|
294
|
-
- Fix insert\_at\_position in race condition [\#195](https://github.com/
|
334
|
+
- Add quoted table names to some columns [\#221](https://github.com/brendon/acts_as_list/pull/221) ([jpalumickas](https://github.com/jpalumickas))
|
335
|
+
- Appraisals cleanup [\#217](https://github.com/brendon/acts_as_list/pull/217) ([brendon](https://github.com/brendon))
|
336
|
+
- Fix insert\_at\_position in race condition [\#195](https://github.com/brendon/acts_as_list/pull/195) ([danielross](https://github.com/danielross))
|
295
337
|
|
296
|
-
## [v0.7.6](https://github.com/
|
297
|
-
[Full Changelog](https://github.com/
|
338
|
+
## [v0.7.6](https://github.com/brendon/acts_as_list/tree/v0.7.6) (2016-07-15)
|
339
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.7.5...v0.7.6)
|
298
340
|
|
299
341
|
**Closed issues:**
|
300
342
|
|
301
|
-
- add\_new\_at nil with scope causes NoMethodError [\#211](https://github.com/
|
343
|
+
- add\_new\_at nil with scope causes NoMethodError [\#211](https://github.com/brendon/acts_as_list/issues/211)
|
302
344
|
|
303
345
|
**Merged pull requests:**
|
304
346
|
|
305
|
-
- Add class method acts\_as\_list\_top as reader for configured top\_of\_list [\#213](https://github.com/
|
306
|
-
- Bugfix/add new at nil on scope change [\#212](https://github.com/
|
347
|
+
- Add class method acts\_as\_list\_top as reader for configured top\_of\_list [\#213](https://github.com/brendon/acts_as_list/pull/213) ([krzysiek1507](https://github.com/krzysiek1507))
|
348
|
+
- Bugfix/add new at nil on scope change [\#212](https://github.com/brendon/acts_as_list/pull/212) ([greatghoul](https://github.com/greatghoul))
|
307
349
|
|
308
|
-
## [v0.7.5](https://github.com/
|
309
|
-
[Full Changelog](https://github.com/
|
350
|
+
## [v0.7.5](https://github.com/brendon/acts_as_list/tree/v0.7.5) (2016-06-30)
|
351
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.7.4...v0.7.5)
|
310
352
|
|
311
353
|
**Implemented enhancements:**
|
312
354
|
|
313
|
-
- Touch when reordering [\#173](https://github.com/
|
355
|
+
- Touch when reordering [\#173](https://github.com/brendon/acts_as_list/pull/173) ([botandrose](https://github.com/botandrose))
|
314
356
|
|
315
357
|
**Closed issues:**
|
316
358
|
|
317
|
-
- Exception raised when calling destroy "NameError - instance variable @scope\_changed not defined:" [\#206](https://github.com/
|
318
|
-
- Undefined instance variable @scope\_changed since 0.7.3 [\#199](https://github.com/
|
319
|
-
- Reordering large lists is slow [\#198](https://github.com/
|
320
|
-
- Reparenting child leaves gap in source list in rails 5 [\#194](https://github.com/
|
321
|
-
- Support rails 5 ? [\#186](https://github.com/
|
322
|
-
- I get a NoMethodError: undefined method `acts\_as\_list' when trying to include acts\_as\_list [\#176](https://github.com/
|
323
|
-
- Phenomenon of mysterious value of the position is skipped by one [\#166](https://github.com/
|
324
|
-
- Model.find being called twice with acts\_as\_list on destroy [\#161](https://github.com/
|
325
|
-
- `scope\_changed?` problem with acts\_as\_paranoid [\#158](https://github.com/
|
326
|
-
- Inconsistent behaviour between Symbol and Array scopes [\#155](https://github.com/
|
327
|
-
- insert\_at doesn't seem to be working in ActiveRecord callback \(Rails 4.2\) [\#150](https://github.com/
|
328
|
-
- Project Documentation link redirects to expired domain [\#149](https://github.com/
|
329
|
-
- Problem when updating an position of array of AR objects. [\#137](https://github.com/
|
330
|
-
- Unexpected behaviour when inserting consecutive items with default positions [\#124](https://github.com/
|
331
|
-
- self.reload prone to error [\#122](https://github.com/
|
332
|
-
- Rails 3.0.x in\_list causes the return of default\_scope [\#120](https://github.com/
|
333
|
-
- Relationships with dependency:destroy cause ActiveRecord::RecordNotFound [\#118](https://github.com/
|
334
|
-
- Using insert\_at with values with type String [\#117](https://github.com/
|
335
|
-
- Batch setting of position [\#112](https://github.com/
|
336
|
-
- position: 0 now makes model pushed to top? [\#110](https://github.com/
|
337
|
-
- Create element in default position [\#103](https://github.com/
|
338
|
-
- Enhancement: Expose scope object [\#97](https://github.com/
|
339
|
-
- Shuffle list [\#96](https://github.com/
|
340
|
-
- Creating an item with a nil scope should not add it to the list [\#92](https://github.com/
|
341
|
-
- Performance Improvements [\#88](https://github.com/
|
342
|
-
- has\_many :through or has\_many\_and\_belongs\_to\_many support [\#86](https://github.com/
|
343
|
-
- move\_higher/move\_lower vs move\_to\_top/move\_to\_bottom act differently when item is already at top or bottom [\#77](https://github.com/
|
344
|
-
- Limiting the list size [\#61](https://github.com/
|
345
|
-
- Adding multiple creates strange ordering [\#55](https://github.com/
|
346
|
-
- Feature: sort [\#26](https://github.com/
|
347
|
-
|
348
|
-
**Merged pull requests:**
|
349
|
-
|
350
|
-
- Fix position when no serial positions [\#208](https://github.com/
|
351
|
-
- Removed duplicated assignment [\#207](https://github.com/
|
352
|
-
- Quote all identifiers [\#205](https://github.com/
|
353
|
-
- Start testing Rails 5 [\#203](https://github.com/
|
354
|
-
- Lock! the record before destroying [\#201](https://github.com/
|
355
|
-
- Fix ambiguous column error when joining some relations [\#180](https://github.com/
|
356
|
-
|
357
|
-
## [v0.7.4](https://github.com/
|
358
|
-
[Full Changelog](https://github.com/
|
359
|
+
- Exception raised when calling destroy "NameError - instance variable @scope\_changed not defined:" [\#206](https://github.com/brendon/acts_as_list/issues/206)
|
360
|
+
- Undefined instance variable @scope\_changed since 0.7.3 [\#199](https://github.com/brendon/acts_as_list/issues/199)
|
361
|
+
- Reordering large lists is slow [\#198](https://github.com/brendon/acts_as_list/issues/198)
|
362
|
+
- Reparenting child leaves gap in source list in rails 5 [\#194](https://github.com/brendon/acts_as_list/issues/194)
|
363
|
+
- Support rails 5 ? [\#186](https://github.com/brendon/acts_as_list/issues/186)
|
364
|
+
- I get a NoMethodError: undefined method `acts\_as\_list' when trying to include acts\_as\_list [\#176](https://github.com/brendon/acts_as_list/issues/176)
|
365
|
+
- Phenomenon of mysterious value of the position is skipped by one [\#166](https://github.com/brendon/acts_as_list/issues/166)
|
366
|
+
- Model.find being called twice with acts\_as\_list on destroy [\#161](https://github.com/brendon/acts_as_list/issues/161)
|
367
|
+
- `scope\_changed?` problem with acts\_as\_paranoid [\#158](https://github.com/brendon/acts_as_list/issues/158)
|
368
|
+
- Inconsistent behaviour between Symbol and Array scopes [\#155](https://github.com/brendon/acts_as_list/issues/155)
|
369
|
+
- insert\_at doesn't seem to be working in ActiveRecord callback \(Rails 4.2\) [\#150](https://github.com/brendon/acts_as_list/issues/150)
|
370
|
+
- Project Documentation link redirects to expired domain [\#149](https://github.com/brendon/acts_as_list/issues/149)
|
371
|
+
- Problem when updating an position of array of AR objects. [\#137](https://github.com/brendon/acts_as_list/issues/137)
|
372
|
+
- Unexpected behaviour when inserting consecutive items with default positions [\#124](https://github.com/brendon/acts_as_list/issues/124)
|
373
|
+
- self.reload prone to error [\#122](https://github.com/brendon/acts_as_list/issues/122)
|
374
|
+
- Rails 3.0.x in\_list causes the return of default\_scope [\#120](https://github.com/brendon/acts_as_list/issues/120)
|
375
|
+
- Relationships with dependency:destroy cause ActiveRecord::RecordNotFound [\#118](https://github.com/brendon/acts_as_list/issues/118)
|
376
|
+
- Using insert\_at with values with type String [\#117](https://github.com/brendon/acts_as_list/issues/117)
|
377
|
+
- Batch setting of position [\#112](https://github.com/brendon/acts_as_list/issues/112)
|
378
|
+
- position: 0 now makes model pushed to top? [\#110](https://github.com/brendon/acts_as_list/issues/110)
|
379
|
+
- Create element in default position [\#103](https://github.com/brendon/acts_as_list/issues/103)
|
380
|
+
- Enhancement: Expose scope object [\#97](https://github.com/brendon/acts_as_list/issues/97)
|
381
|
+
- Shuffle list [\#96](https://github.com/brendon/acts_as_list/issues/96)
|
382
|
+
- Creating an item with a nil scope should not add it to the list [\#92](https://github.com/brendon/acts_as_list/issues/92)
|
383
|
+
- Performance Improvements [\#88](https://github.com/brendon/acts_as_list/issues/88)
|
384
|
+
- has\_many :through or has\_many\_and\_belongs\_to\_many support [\#86](https://github.com/brendon/acts_as_list/issues/86)
|
385
|
+
- move\_higher/move\_lower vs move\_to\_top/move\_to\_bottom act differently when item is already at top or bottom [\#77](https://github.com/brendon/acts_as_list/issues/77)
|
386
|
+
- Limiting the list size [\#61](https://github.com/brendon/acts_as_list/issues/61)
|
387
|
+
- Adding multiple creates strange ordering [\#55](https://github.com/brendon/acts_as_list/issues/55)
|
388
|
+
- Feature: sort [\#26](https://github.com/brendon/acts_as_list/issues/26)
|
389
|
+
|
390
|
+
**Merged pull requests:**
|
391
|
+
|
392
|
+
- Fix position when no serial positions [\#208](https://github.com/brendon/acts_as_list/pull/208) ([PoslinskiNet](https://github.com/PoslinskiNet))
|
393
|
+
- Removed duplicated assignment [\#207](https://github.com/brendon/acts_as_list/pull/207) ([shunwen](https://github.com/shunwen))
|
394
|
+
- Quote all identifiers [\#205](https://github.com/brendon/acts_as_list/pull/205) ([fabn](https://github.com/fabn))
|
395
|
+
- Start testing Rails 5 [\#203](https://github.com/brendon/acts_as_list/pull/203) ([brendon](https://github.com/brendon))
|
396
|
+
- Lock! the record before destroying [\#201](https://github.com/brendon/acts_as_list/pull/201) ([brendon](https://github.com/brendon))
|
397
|
+
- Fix ambiguous column error when joining some relations [\#180](https://github.com/brendon/acts_as_list/pull/180) ([natw](https://github.com/natw))
|
398
|
+
|
399
|
+
## [v0.7.4](https://github.com/brendon/acts_as_list/tree/v0.7.4) (2016-04-15)
|
400
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.7.3...v0.7.4)
|
359
401
|
|
360
402
|
**Closed issues:**
|
361
403
|
|
362
|
-
- Releasing a new gem version [\#196](https://github.com/
|
404
|
+
- Releasing a new gem version [\#196](https://github.com/brendon/acts_as_list/issues/196)
|
363
405
|
|
364
406
|
**Merged pull requests:**
|
365
407
|
|
366
|
-
- Fix scope changed [\#200](https://github.com/
|
408
|
+
- Fix scope changed [\#200](https://github.com/brendon/acts_as_list/pull/200) ([brendon](https://github.com/brendon))
|
367
409
|
|
368
|
-
## [v0.7.3](https://github.com/
|
369
|
-
[Full Changelog](https://github.com/
|
410
|
+
## [v0.7.3](https://github.com/brendon/acts_as_list/tree/v0.7.3) (2016-04-14)
|
411
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/v0.7.2...v0.7.3)
|
370
412
|
|
371
|
-
## [v0.7.2](https://github.com/
|
372
|
-
[Full Changelog](https://github.com/
|
413
|
+
## [v0.7.2](https://github.com/brendon/acts_as_list/tree/v0.7.2) (2016-04-01)
|
414
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/0.7.2...v0.7.2)
|
373
415
|
|
374
416
|
**Closed issues:**
|
375
417
|
|
376
|
-
- DEPRECATION WARNING: Passing string to define callback on Rails 5 beta 3 [\#191](https://github.com/
|
377
|
-
- Why is `add\_to\_list\_bottom` private? [\#187](https://github.com/
|
378
|
-
- Ordering of children when there are two possible parent models. [\#172](https://github.com/
|
379
|
-
- Fix the jruby and rbx builds [\#169](https://github.com/
|
380
|
-
- Unable to run tests [\#162](https://github.com/
|
381
|
-
- shuffle\_positions\_on\_intermediate\_items is creating problems [\#134](https://github.com/
|
382
|
-
- introduce Changelog file to quickly track changes [\#68](https://github.com/
|
383
|
-
- Mongoid support? [\#52](https://github.com/
|
418
|
+
- DEPRECATION WARNING: Passing string to define callback on Rails 5 beta 3 [\#191](https://github.com/brendon/acts_as_list/issues/191)
|
419
|
+
- Why is `add\_to\_list\_bottom` private? [\#187](https://github.com/brendon/acts_as_list/issues/187)
|
420
|
+
- Ordering of children when there are two possible parent models. [\#172](https://github.com/brendon/acts_as_list/issues/172)
|
421
|
+
- Fix the jruby and rbx builds [\#169](https://github.com/brendon/acts_as_list/issues/169)
|
422
|
+
- Unable to run tests [\#162](https://github.com/brendon/acts_as_list/issues/162)
|
423
|
+
- shuffle\_positions\_on\_intermediate\_items is creating problems [\#134](https://github.com/brendon/acts_as_list/issues/134)
|
424
|
+
- introduce Changelog file to quickly track changes [\#68](https://github.com/brendon/acts_as_list/issues/68)
|
425
|
+
- Mongoid support? [\#52](https://github.com/brendon/acts_as_list/issues/52)
|
384
426
|
|
385
427
|
**Merged pull requests:**
|
386
428
|
|
387
|
-
- Add filename/line number to class\_eval call [\#193](https://github.com/
|
388
|
-
- Use a symbol as a string to define callback [\#192](https://github.com/
|
389
|
-
- Pin changelog generator to a working version [\#190](https://github.com/
|
390
|
-
- Fix bug, position is recomputed when object saved [\#188](https://github.com/
|
391
|
-
- Update bundler before running tests, fixes test run on travis [\#179](https://github.com/
|
392
|
-
- Changelog generator, closes \#68 [\#177](https://github.com/
|
393
|
-
- Updating README example [\#175](https://github.com/
|
394
|
-
- Adds description about various options available with the acts\_as\_list method [\#168](https://github.com/
|
395
|
-
- Small changes to DRY up list.rb [\#163](https://github.com/
|
396
|
-
- Only swap changed attributes which are persistable, i.e. are DB columns. [\#152](https://github.com/
|
429
|
+
- Add filename/line number to class\_eval call [\#193](https://github.com/brendon/acts_as_list/pull/193) ([hfwang](https://github.com/hfwang))
|
430
|
+
- Use a symbol as a string to define callback [\#192](https://github.com/brendon/acts_as_list/pull/192) ([brendon](https://github.com/brendon))
|
431
|
+
- Pin changelog generator to a working version [\#190](https://github.com/brendon/acts_as_list/pull/190) ([fabn](https://github.com/fabn))
|
432
|
+
- Fix bug, position is recomputed when object saved [\#188](https://github.com/brendon/acts_as_list/pull/188) ([chrisortman](https://github.com/chrisortman))
|
433
|
+
- Update bundler before running tests, fixes test run on travis [\#179](https://github.com/brendon/acts_as_list/pull/179) ([fabn](https://github.com/fabn))
|
434
|
+
- Changelog generator, closes \#68 [\#177](https://github.com/brendon/acts_as_list/pull/177) ([fabn](https://github.com/fabn))
|
435
|
+
- Updating README example [\#175](https://github.com/brendon/acts_as_list/pull/175) ([ryanbillings](https://github.com/ryanbillings))
|
436
|
+
- Adds description about various options available with the acts\_as\_list method [\#168](https://github.com/brendon/acts_as_list/pull/168) ([udit7590](https://github.com/udit7590))
|
437
|
+
- Small changes to DRY up list.rb [\#163](https://github.com/brendon/acts_as_list/pull/163) ([Albin-Willman](https://github.com/Albin-Willman))
|
438
|
+
- Only swap changed attributes which are persistable, i.e. are DB columns. [\#152](https://github.com/brendon/acts_as_list/pull/152) ([ludwigschubert](https://github.com/ludwigschubert))
|
397
439
|
|
398
|
-
## [0.7.2](https://github.com/
|
399
|
-
[Full Changelog](https://github.com/
|
440
|
+
## [0.7.2](https://github.com/brendon/acts_as_list/tree/0.7.2) (2015-05-06)
|
441
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/0.7.1...0.7.2)
|
400
442
|
|
401
|
-
## [0.7.1](https://github.com/
|
402
|
-
[Full Changelog](https://github.com/
|
443
|
+
## [0.7.1](https://github.com/brendon/acts_as_list/tree/0.7.1) (2015-05-06)
|
444
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/0.7.0...0.7.1)
|
403
445
|
|
404
446
|
**Merged pull requests:**
|
405
447
|
|
406
|
-
- Update README.md [\#159](https://github.com/
|
448
|
+
- Update README.md [\#159](https://github.com/brendon/acts_as_list/pull/159) ([tibastral](https://github.com/tibastral))
|
407
449
|
|
408
|
-
## [0.7.0](https://github.com/
|
409
|
-
[Full Changelog](https://github.com/
|
450
|
+
## [0.7.0](https://github.com/brendon/acts_as_list/tree/0.7.0) (2015-05-01)
|
451
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/0.6.0...0.7.0)
|
410
452
|
|
411
453
|
**Closed issues:**
|
412
454
|
|
413
|
-
- Problem with reordering scoped list items [\#154](https://github.com/
|
414
|
-
- Can no longer load acts\_as\_list in isolation if Rails is installed [\#145](https://github.com/
|
455
|
+
- Problem with reordering scoped list items [\#154](https://github.com/brendon/acts_as_list/issues/154)
|
456
|
+
- Can no longer load acts\_as\_list in isolation if Rails is installed [\#145](https://github.com/brendon/acts_as_list/issues/145)
|
415
457
|
|
416
458
|
**Merged pull requests:**
|
417
459
|
|
418
|
-
- Fix regression with using acts\_as\_list on base classes [\#147](https://github.com/
|
419
|
-
- Don't require rails when loading [\#146](https://github.com/
|
460
|
+
- Fix regression with using acts\_as\_list on base classes [\#147](https://github.com/brendon/acts_as_list/pull/147) ([botandrose](https://github.com/botandrose))
|
461
|
+
- Don't require rails when loading [\#146](https://github.com/brendon/acts_as_list/pull/146) ([botandrose](https://github.com/botandrose))
|
420
462
|
|
421
|
-
## [0.6.0](https://github.com/
|
422
|
-
[Full Changelog](https://github.com/
|
463
|
+
## [0.6.0](https://github.com/brendon/acts_as_list/tree/0.6.0) (2014-12-24)
|
464
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/0.5.0...0.6.0)
|
423
465
|
|
424
466
|
**Closed issues:**
|
425
467
|
|
426
|
-
- Deprecation Warning: sanitize\_sql\_hash\_for\_conditions is deprecated and will be removed in Rails 5.0 [\#143](https://github.com/
|
427
|
-
- Release a new gem version [\#136](https://github.com/
|
468
|
+
- Deprecation Warning: sanitize\_sql\_hash\_for\_conditions is deprecated and will be removed in Rails 5.0 [\#143](https://github.com/brendon/acts_as_list/issues/143)
|
469
|
+
- Release a new gem version [\#136](https://github.com/brendon/acts_as_list/issues/136)
|
428
470
|
|
429
471
|
**Merged pull requests:**
|
430
472
|
|
431
|
-
- Fix sanitize\_sql\_hash\_for\_conditions deprecation warning in Rails 4.2 [\#140](https://github.com/
|
432
|
-
- Simpler method to find the subclass name [\#139](https://github.com/
|
433
|
-
- Rails4 enum column support [\#130](https://github.com/
|
434
|
-
- use eval for determing the self.class.name useful when this is used in an abstract class [\#123](https://github.com/
|
473
|
+
- Fix sanitize\_sql\_hash\_for\_conditions deprecation warning in Rails 4.2 [\#140](https://github.com/brendon/acts_as_list/pull/140) ([eagletmt](https://github.com/eagletmt))
|
474
|
+
- Simpler method to find the subclass name [\#139](https://github.com/brendon/acts_as_list/pull/139) ([brendon](https://github.com/brendon))
|
475
|
+
- Rails4 enum column support [\#130](https://github.com/brendon/acts_as_list/pull/130) ([arunagw](https://github.com/arunagw))
|
476
|
+
- use eval for determing the self.class.name useful when this is used in an abstract class [\#123](https://github.com/brendon/acts_as_list/pull/123) ([flarik](https://github.com/flarik))
|
435
477
|
|
436
|
-
## [0.5.0](https://github.com/
|
437
|
-
[Full Changelog](https://github.com/
|
478
|
+
## [0.5.0](https://github.com/brendon/acts_as_list/tree/0.5.0) (2014-10-31)
|
479
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/0.4.0...0.5.0)
|
438
480
|
|
439
481
|
**Closed issues:**
|
440
482
|
|
441
|
-
- I want to have my existing records works like list [\#133](https://github.com/
|
442
|
-
- Add Support For Multiple Indexes [\#127](https://github.com/
|
443
|
-
- changing parent\_id does not update item positions [\#126](https://github.com/
|
444
|
-
- How to exclude objects to be positioned? [\#125](https://github.com/
|
445
|
-
- Scope for Polymorphic association + ManyToMany [\#106](https://github.com/
|
446
|
-
- Bug when use \#insert\_at on an invalid ActiveRecord object [\#99](https://github.com/
|
447
|
-
- has\_many :through with acts as list [\#95](https://github.com/
|
448
|
-
- Update position when scope changes [\#19](https://github.com/
|
483
|
+
- I want to have my existing records works like list [\#133](https://github.com/brendon/acts_as_list/issues/133)
|
484
|
+
- Add Support For Multiple Indexes [\#127](https://github.com/brendon/acts_as_list/issues/127)
|
485
|
+
- changing parent\_id does not update item positions [\#126](https://github.com/brendon/acts_as_list/issues/126)
|
486
|
+
- How to exclude objects to be positioned? [\#125](https://github.com/brendon/acts_as_list/issues/125)
|
487
|
+
- Scope for Polymorphic association + ManyToMany [\#106](https://github.com/brendon/acts_as_list/issues/106)
|
488
|
+
- Bug when use \#insert\_at on an invalid ActiveRecord object [\#99](https://github.com/brendon/acts_as_list/issues/99)
|
489
|
+
- has\_many :through with acts as list [\#95](https://github.com/brendon/acts_as_list/issues/95)
|
490
|
+
- Update position when scope changes [\#19](https://github.com/brendon/acts_as_list/issues/19)
|
449
491
|
|
450
492
|
**Merged pull requests:**
|
451
493
|
|
452
|
-
- Cast column default value to int before comparing with position column [\#129](https://github.com/
|
453
|
-
- Fix travis builds for rbx [\#128](https://github.com/
|
454
|
-
- Use unscoped blocks instead of chaining [\#121](https://github.com/
|
455
|
-
- Make acts\_as\_list more compatible with BINARY column [\#116](https://github.com/
|
456
|
-
- Added help notes on non-association scopes [\#115](https://github.com/
|
457
|
-
- Let AR::Base properly lazy-loaded if Railtie is available [\#114](https://github.com/
|
494
|
+
- Cast column default value to int before comparing with position column [\#129](https://github.com/brendon/acts_as_list/pull/129) ([wioux](https://github.com/wioux))
|
495
|
+
- Fix travis builds for rbx [\#128](https://github.com/brendon/acts_as_list/pull/128) ([meineerde](https://github.com/meineerde))
|
496
|
+
- Use unscoped blocks instead of chaining [\#121](https://github.com/brendon/acts_as_list/pull/121) ([brendon](https://github.com/brendon))
|
497
|
+
- Make acts\_as\_list more compatible with BINARY column [\#116](https://github.com/brendon/acts_as_list/pull/116) ([sikachu](https://github.com/sikachu))
|
498
|
+
- Added help notes on non-association scopes [\#115](https://github.com/brendon/acts_as_list/pull/115) ([VorontsovIE](https://github.com/VorontsovIE))
|
499
|
+
- Let AR::Base properly lazy-loaded if Railtie is available [\#114](https://github.com/brendon/acts_as_list/pull/114) ([amatsuda](https://github.com/amatsuda))
|
458
500
|
|
459
|
-
## [0.4.0](https://github.com/
|
460
|
-
[Full Changelog](https://github.com/
|
501
|
+
## [0.4.0](https://github.com/brendon/acts_as_list/tree/0.4.0) (2014-02-22)
|
502
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/0.3.0...0.4.0)
|
461
503
|
|
462
504
|
**Closed issues:**
|
463
505
|
|
464
|
-
- insert\_at creates gaps [\#108](https://github.com/
|
465
|
-
- move\_lower and move\_higher not working returning nil [\#57](https://github.com/
|
466
|
-
- Mass-assignment issue with 0.1.8 [\#50](https://github.com/
|
467
|
-
- validates error [\#49](https://github.com/
|
468
|
-
- Ability to move multiple at once [\#40](https://github.com/
|
469
|
-
- Duplicates created when using accepts\_nested\_attributes\_for [\#29](https://github.com/
|
506
|
+
- insert\_at creates gaps [\#108](https://github.com/brendon/acts_as_list/issues/108)
|
507
|
+
- move\_lower and move\_higher not working returning nil [\#57](https://github.com/brendon/acts_as_list/issues/57)
|
508
|
+
- Mass-assignment issue with 0.1.8 [\#50](https://github.com/brendon/acts_as_list/issues/50)
|
509
|
+
- validates error [\#49](https://github.com/brendon/acts_as_list/issues/49)
|
510
|
+
- Ability to move multiple at once [\#40](https://github.com/brendon/acts_as_list/issues/40)
|
511
|
+
- Duplicates created when using accepts\_nested\_attributes\_for [\#29](https://github.com/brendon/acts_as_list/issues/29)
|
470
512
|
|
471
513
|
**Merged pull requests:**
|
472
514
|
|
473
|
-
- Update README [\#107](https://github.com/
|
474
|
-
- Add license info: license file and gemspec [\#105](https://github.com/
|
475
|
-
- Fix top position when position is lower than top position [\#104](https://github.com/
|
476
|
-
- Get specs running under Rails 4.1.0.beta1 [\#101](https://github.com/
|
477
|
-
- Add support for JRuby and Rubinius specs [\#100](https://github.com/
|
478
|
-
- Use the correct syntax for conditions in Rails 4 on the readme. [\#94](https://github.com/
|
479
|
-
- Adds `required\_ruby\_version` to gemspec [\#90](https://github.com/
|
515
|
+
- Update README [\#107](https://github.com/brendon/acts_as_list/pull/107) ([Senjai](https://github.com/Senjai))
|
516
|
+
- Add license info: license file and gemspec [\#105](https://github.com/brendon/acts_as_list/pull/105) ([chulkilee](https://github.com/chulkilee))
|
517
|
+
- Fix top position when position is lower than top position [\#104](https://github.com/brendon/acts_as_list/pull/104) ([csaura](https://github.com/csaura))
|
518
|
+
- Get specs running under Rails 4.1.0.beta1 [\#101](https://github.com/brendon/acts_as_list/pull/101) ([petergoldstein](https://github.com/petergoldstein))
|
519
|
+
- Add support for JRuby and Rubinius specs [\#100](https://github.com/brendon/acts_as_list/pull/100) ([petergoldstein](https://github.com/petergoldstein))
|
520
|
+
- Use the correct syntax for conditions in Rails 4 on the readme. [\#94](https://github.com/brendon/acts_as_list/pull/94) ([gotjosh](https://github.com/gotjosh))
|
521
|
+
- Adds `required\_ruby\_version` to gemspec [\#90](https://github.com/brendon/acts_as_list/pull/90) ([tvdeyen](https://github.com/tvdeyen))
|
480
522
|
|
481
|
-
## [0.3.0](https://github.com/
|
482
|
-
[Full Changelog](https://github.com/
|
523
|
+
## [0.3.0](https://github.com/brendon/acts_as_list/tree/0.3.0) (2013-08-02)
|
524
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/0.2.0...0.3.0)
|
483
525
|
|
484
526
|
**Closed issues:**
|
485
527
|
|
486
|
-
- act\_as\_list didn't install with bundle install [\#83](https://github.com/
|
487
|
-
- Cannot update to version 0.1.7 [\#48](https://github.com/
|
488
|
-
- when position is null all new items get inserted in position 1 [\#41](https://github.com/
|
528
|
+
- act\_as\_list didn't install with bundle install [\#83](https://github.com/brendon/acts_as_list/issues/83)
|
529
|
+
- Cannot update to version 0.1.7 [\#48](https://github.com/brendon/acts_as_list/issues/48)
|
530
|
+
- when position is null all new items get inserted in position 1 [\#41](https://github.com/brendon/acts_as_list/issues/41)
|
489
531
|
|
490
532
|
**Merged pull requests:**
|
491
533
|
|
492
|
-
- Test against activerecord v3 and v4 [\#82](https://github.com/
|
493
|
-
- Fix check\_scope to work on lists with array scopes [\#81](https://github.com/
|
494
|
-
- Rails4 compatibility [\#80](https://github.com/
|
495
|
-
- Add tests for moving within scope and add method: move\_within\_scope [\#79](https://github.com/
|
496
|
-
- Option to not automatically add items to the list [\#72](https://github.com/
|
534
|
+
- Test against activerecord v3 and v4 [\#82](https://github.com/brendon/acts_as_list/pull/82) ([sanemat](https://github.com/sanemat))
|
535
|
+
- Fix check\_scope to work on lists with array scopes [\#81](https://github.com/brendon/acts_as_list/pull/81) ([conzett](https://github.com/conzett))
|
536
|
+
- Rails4 compatibility [\#80](https://github.com/brendon/acts_as_list/pull/80) ([philippfranke](https://github.com/philippfranke))
|
537
|
+
- Add tests for moving within scope and add method: move\_within\_scope [\#79](https://github.com/brendon/acts_as_list/pull/79) ([philippfranke](https://github.com/philippfranke))
|
538
|
+
- Option to not automatically add items to the list [\#72](https://github.com/brendon/acts_as_list/pull/72) ([forrest](https://github.com/forrest))
|
497
539
|
|
498
|
-
## [0.2.0](https://github.com/
|
499
|
-
[Full Changelog](https://github.com/
|
540
|
+
## [0.2.0](https://github.com/brendon/acts_as_list/tree/0.2.0) (2013-02-28)
|
541
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/0.1.9...0.2.0)
|
500
542
|
|
501
543
|
**Merged pull requests:**
|
502
544
|
|
503
|
-
- Fix update\_all deprecation warnings in Rails 4.0.0.beta1 [\#73](https://github.com/
|
504
|
-
- Add quotes to Id in SQL requests [\#69](https://github.com/
|
505
|
-
- Update position when scope changes [\#67](https://github.com/
|
506
|
-
- add and categorize public instance methods in readme; add misc notes to ... [\#66](https://github.com/
|
507
|
-
- Updates \#bottom\_item .find syntax to \>= Rails 3 compatible syntax. [\#65](https://github.com/
|
508
|
-
- add GitHub Flavored Markdown to README [\#63](https://github.com/
|
545
|
+
- Fix update\_all deprecation warnings in Rails 4.0.0.beta1 [\#73](https://github.com/brendon/acts_as_list/pull/73) ([soffes](https://github.com/soffes))
|
546
|
+
- Add quotes to Id in SQL requests [\#69](https://github.com/brendon/acts_as_list/pull/69) ([noefroidevaux](https://github.com/noefroidevaux))
|
547
|
+
- Update position when scope changes [\#67](https://github.com/brendon/acts_as_list/pull/67) ([philippfranke](https://github.com/philippfranke))
|
548
|
+
- add and categorize public instance methods in readme; add misc notes to ... [\#66](https://github.com/brendon/acts_as_list/pull/66) ([barelyknown](https://github.com/barelyknown))
|
549
|
+
- Updates \#bottom\_item .find syntax to \>= Rails 3 compatible syntax. [\#65](https://github.com/brendon/acts_as_list/pull/65) ([tvdeyen](https://github.com/tvdeyen))
|
550
|
+
- add GitHub Flavored Markdown to README [\#63](https://github.com/brendon/acts_as_list/pull/63) ([phlipper](https://github.com/phlipper))
|
509
551
|
|
510
|
-
## [0.1.9](https://github.com/
|
511
|
-
[Full Changelog](https://github.com/
|
552
|
+
## [0.1.9](https://github.com/brendon/acts_as_list/tree/0.1.9) (2012-12-04)
|
553
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/0.1.8...0.1.9)
|
512
554
|
|
513
555
|
**Closed issues:**
|
514
556
|
|
515
|
-
- Mysql2 error [\#54](https://github.com/
|
516
|
-
- Use alternative column name? [\#53](https://github.com/
|
557
|
+
- Mysql2 error [\#54](https://github.com/brendon/acts_as_list/issues/54)
|
558
|
+
- Use alternative column name? [\#53](https://github.com/brendon/acts_as_list/issues/53)
|
517
559
|
|
518
560
|
**Merged pull requests:**
|
519
561
|
|
520
|
-
- attr-accessible can be damaging, is not always necessary. [\#60](https://github.com/
|
521
|
-
- More reliable lower/higher item detection [\#59](https://github.com/
|
522
|
-
- Instructions for using an array with scope [\#58](https://github.com/
|
523
|
-
- Attr accessible patch, should solve \#50 [\#51](https://github.com/
|
524
|
-
- support accepts\_nested\_attributes\_for multi-destroy [\#46](https://github.com/
|
562
|
+
- attr-accessible can be damaging, is not always necessary. [\#60](https://github.com/brendon/acts_as_list/pull/60) ([graemeworthy](https://github.com/graemeworthy))
|
563
|
+
- More reliable lower/higher item detection [\#59](https://github.com/brendon/acts_as_list/pull/59) ([miks](https://github.com/miks))
|
564
|
+
- Instructions for using an array with scope [\#58](https://github.com/brendon/acts_as_list/pull/58) ([zukowski](https://github.com/zukowski))
|
565
|
+
- Attr accessible patch, should solve \#50 [\#51](https://github.com/brendon/acts_as_list/pull/51) ([fabn](https://github.com/fabn))
|
566
|
+
- support accepts\_nested\_attributes\_for multi-destroy [\#46](https://github.com/brendon/acts_as_list/pull/46) ([saberma](https://github.com/saberma))
|
525
567
|
|
526
|
-
## [0.1.8](https://github.com/
|
527
|
-
[Full Changelog](https://github.com/
|
568
|
+
## [0.1.8](https://github.com/brendon/acts_as_list/tree/0.1.8) (2012-08-09)
|
569
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/0.1.7...0.1.8)
|
528
570
|
|
529
|
-
## [0.1.7](https://github.com/
|
530
|
-
[Full Changelog](https://github.com/
|
571
|
+
## [0.1.7](https://github.com/brendon/acts_as_list/tree/0.1.7) (2012-08-09)
|
572
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/0.1.6...0.1.7)
|
531
573
|
|
532
574
|
**Closed issues:**
|
533
575
|
|
534
|
-
- Remove use of update\_attribute [\#44](https://github.com/
|
535
|
-
- Order is reversed when adding multiple rows at once [\#34](https://github.com/
|
576
|
+
- Remove use of update\_attribute [\#44](https://github.com/brendon/acts_as_list/issues/44)
|
577
|
+
- Order is reversed when adding multiple rows at once [\#34](https://github.com/brendon/acts_as_list/issues/34)
|
536
578
|
|
537
579
|
**Merged pull requests:**
|
538
580
|
|
539
|
-
- Fixed issue with update\_positions that wasn't taking 'scope\_condition' into account [\#47](https://github.com/
|
540
|
-
- Replaced usage of update\_attribute with update\_attribute! [\#45](https://github.com/
|
541
|
-
- use self.class.primary\_key instead of id in shuffle\_positions\_on\_intermediate\_items [\#42](https://github.com/
|
542
|
-
- initialize gem [\#39](https://github.com/
|
543
|
-
- Added ability to set item positions directly \(e.g. In a form\) [\#38](https://github.com/
|
544
|
-
- Prevent SQL error when position\_column is not unique [\#37](https://github.com/
|
545
|
-
- Add installation instructions to README.md [\#35](https://github.com/
|
581
|
+
- Fixed issue with update\_positions that wasn't taking 'scope\_condition' into account [\#47](https://github.com/brendon/acts_as_list/pull/47) ([bastien](https://github.com/bastien))
|
582
|
+
- Replaced usage of update\_attribute with update\_attribute! [\#45](https://github.com/brendon/acts_as_list/pull/45) ([kevmoo](https://github.com/kevmoo))
|
583
|
+
- use self.class.primary\_key instead of id in shuffle\_positions\_on\_intermediate\_items [\#42](https://github.com/brendon/acts_as_list/pull/42) ([servercrunch](https://github.com/servercrunch))
|
584
|
+
- initialize gem [\#39](https://github.com/brendon/acts_as_list/pull/39) ([megatux](https://github.com/megatux))
|
585
|
+
- Added ability to set item positions directly \(e.g. In a form\) [\#38](https://github.com/brendon/acts_as_list/pull/38) ([dubroe](https://github.com/dubroe))
|
586
|
+
- Prevent SQL error when position\_column is not unique [\#37](https://github.com/brendon/acts_as_list/pull/37) ([hinrik](https://github.com/hinrik))
|
587
|
+
- Add installation instructions to README.md [\#35](https://github.com/brendon/acts_as_list/pull/35) ([mark-rushakoff](https://github.com/mark-rushakoff))
|
546
588
|
|
547
|
-
## [0.1.6](https://github.com/
|
548
|
-
[Full Changelog](https://github.com/
|
589
|
+
## [0.1.6](https://github.com/brendon/acts_as_list/tree/0.1.6) (2012-04-19)
|
590
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/0.1.5...0.1.6)
|
549
591
|
|
550
592
|
**Closed issues:**
|
551
593
|
|
552
|
-
- eval mistakenly resolved the module path [\#32](https://github.com/
|
553
|
-
- Duplicated positions when creating parent and children from scratch in 0.1.5 [\#31](https://github.com/
|
554
|
-
- add info about v0.1.5 require Rails 3 [\#28](https://github.com/
|
555
|
-
- position not updated with move\_higher or move\_lover [\#23](https://github.com/
|
594
|
+
- eval mistakenly resolved the module path [\#32](https://github.com/brendon/acts_as_list/issues/32)
|
595
|
+
- Duplicated positions when creating parent and children from scratch in 0.1.5 [\#31](https://github.com/brendon/acts_as_list/issues/31)
|
596
|
+
- add info about v0.1.5 require Rails 3 [\#28](https://github.com/brendon/acts_as_list/issues/28)
|
597
|
+
- position not updated with move\_higher or move\_lover [\#23](https://github.com/brendon/acts_as_list/issues/23)
|
556
598
|
|
557
599
|
**Merged pull requests:**
|
558
600
|
|
559
|
-
- update ActiveRecord class eval to support ActiveSupport on\_load [\#33](https://github.com/
|
560
|
-
- Add :add\_new\_at option [\#30](https://github.com/
|
601
|
+
- update ActiveRecord class eval to support ActiveSupport on\_load [\#33](https://github.com/brendon/acts_as_list/pull/33) ([mergulhao](https://github.com/mergulhao))
|
602
|
+
- Add :add\_new\_at option [\#30](https://github.com/brendon/acts_as_list/pull/30) ([mjbellantoni](https://github.com/mjbellantoni))
|
561
603
|
|
562
|
-
## [0.1.5](https://github.com/
|
563
|
-
[Full Changelog](https://github.com/
|
604
|
+
## [0.1.5](https://github.com/brendon/acts_as_list/tree/0.1.5) (2012-02-24)
|
605
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/0.1.4...0.1.5)
|
564
606
|
|
565
607
|
**Closed issues:**
|
566
608
|
|
567
|
-
- increment\_positions\_on\_lower\_items called twice on insert\_at with new item [\#21](https://github.com/
|
568
|
-
- Change bundler dependency from ~\>1.0.0 to ~\>1.0 [\#20](https://github.com/
|
569
|
-
- decrement\_positions\_on\_lower\_items method [\#17](https://github.com/
|
570
|
-
- New gem release [\#16](https://github.com/
|
571
|
-
- acts\_as\_list :scope =\> "doesnt\_seem\_to\_work" [\#12](https://github.com/
|
572
|
-
- don't work perfectly with default\_scope [\#11](https://github.com/
|
573
|
-
- MySQL: Position column MUST NOT have default [\#10](https://github.com/
|
574
|
-
- insert\_at fails on postgresql w/ non-null constraint on postion\_column [\#8](https://github.com/
|
609
|
+
- increment\_positions\_on\_lower\_items called twice on insert\_at with new item [\#21](https://github.com/brendon/acts_as_list/issues/21)
|
610
|
+
- Change bundler dependency from ~\>1.0.0 to ~\>1.0 [\#20](https://github.com/brendon/acts_as_list/issues/20)
|
611
|
+
- decrement\_positions\_on\_lower\_items method [\#17](https://github.com/brendon/acts_as_list/issues/17)
|
612
|
+
- New gem release [\#16](https://github.com/brendon/acts_as_list/issues/16)
|
613
|
+
- acts\_as\_list :scope =\> "doesnt\_seem\_to\_work" [\#12](https://github.com/brendon/acts_as_list/issues/12)
|
614
|
+
- don't work perfectly with default\_scope [\#11](https://github.com/brendon/acts_as_list/issues/11)
|
615
|
+
- MySQL: Position column MUST NOT have default [\#10](https://github.com/brendon/acts_as_list/issues/10)
|
616
|
+
- insert\_at fails on postgresql w/ non-null constraint on postion\_column [\#8](https://github.com/brendon/acts_as_list/issues/8)
|
575
617
|
|
576
618
|
**Merged pull requests:**
|
577
619
|
|
578
|
-
- Efficiency improvement for insert\_at when repositioning an existing item [\#27](https://github.com/
|
579
|
-
- Use before validate instead of before create [\#25](https://github.com/
|
580
|
-
- Massive test refactorings. [\#24](https://github.com/
|
581
|
-
- Silent migrations to reduce test noise. [\#22](https://github.com/
|
582
|
-
- Should decrement lower items after the item has been destroyed to avoid unique key conflicts. [\#18](https://github.com/
|
583
|
-
- Fix spelling and grammer [\#15](https://github.com/
|
584
|
-
- store\_at\_0 should yank item from the list then decrement items to avoid r [\#14](https://github.com/
|
585
|
-
- Support default\_scope ordering by calling .unscoped [\#13](https://github.com/
|
620
|
+
- Efficiency improvement for insert\_at when repositioning an existing item [\#27](https://github.com/brendon/acts_as_list/pull/27) ([bradediger](https://github.com/bradediger))
|
621
|
+
- Use before validate instead of before create [\#25](https://github.com/brendon/acts_as_list/pull/25) ([webervin](https://github.com/webervin))
|
622
|
+
- Massive test refactorings. [\#24](https://github.com/brendon/acts_as_list/pull/24) ([splattael](https://github.com/splattael))
|
623
|
+
- Silent migrations to reduce test noise. [\#22](https://github.com/brendon/acts_as_list/pull/22) ([splattael](https://github.com/splattael))
|
624
|
+
- Should decrement lower items after the item has been destroyed to avoid unique key conflicts. [\#18](https://github.com/brendon/acts_as_list/pull/18) ([aepstein](https://github.com/aepstein))
|
625
|
+
- Fix spelling and grammer [\#15](https://github.com/brendon/acts_as_list/pull/15) ([tmiller](https://github.com/tmiller))
|
626
|
+
- store\_at\_0 should yank item from the list then decrement items to avoid r [\#14](https://github.com/brendon/acts_as_list/pull/14) ([aepstein](https://github.com/aepstein))
|
627
|
+
- Support default\_scope ordering by calling .unscoped [\#13](https://github.com/brendon/acts_as_list/pull/13) ([tanordheim](https://github.com/tanordheim))
|
586
628
|
|
587
|
-
## [0.1.4](https://github.com/
|
588
|
-
[Full Changelog](https://github.com/
|
629
|
+
## [0.1.4](https://github.com/brendon/acts_as_list/tree/0.1.4) (2011-07-27)
|
630
|
+
[Full Changelog](https://github.com/brendon/acts_as_list/compare/0.1.3...0.1.4)
|
589
631
|
|
590
632
|
**Merged pull requests:**
|
591
633
|
|
592
|
-
- Fix sqlite3 dependency [\#7](https://github.com/
|
634
|
+
- Fix sqlite3 dependency [\#7](https://github.com/brendon/acts_as_list/pull/7) ([joneslee85](https://github.com/joneslee85))
|
593
635
|
|
594
|
-
## [0.1.3](https://github.com/
|
636
|
+
## [0.1.3](https://github.com/brendon/acts_as_list/tree/0.1.3) (2011-06-10)
|
595
637
|
**Closed issues:**
|
596
638
|
|
597
|
-
- Graph like behaviour [\#5](https://github.com/
|
598
|
-
- Updated Gem? [\#4](https://github.com/
|
639
|
+
- Graph like behaviour [\#5](https://github.com/brendon/acts_as_list/issues/5)
|
640
|
+
- Updated Gem? [\#4](https://github.com/brendon/acts_as_list/issues/4)
|
599
641
|
|
600
642
|
**Merged pull requests:**
|
601
643
|
|
602
|
-
- Converted into a gem... plus some slight refactors [\#6](https://github.com/
|
603
|
-
- Fixed test issue for test\_injection: expected SQL was reversed. [\#3](https://github.com/
|
604
|
-
- Added an option to set the top of the position [\#2](https://github.com/
|
605
|
-
- minor change to acts\_as\_list's callbacks [\#1](https://github.com/
|
644
|
+
- Converted into a gem... plus some slight refactors [\#6](https://github.com/brendon/acts_as_list/pull/6) ([chaffeqa](https://github.com/chaffeqa))
|
645
|
+
- Fixed test issue for test\_injection: expected SQL was reversed. [\#3](https://github.com/brendon/acts_as_list/pull/3) ([afriqs](https://github.com/afriqs))
|
646
|
+
- Added an option to set the top of the position [\#2](https://github.com/brendon/acts_as_list/pull/2) ([danielcooper](https://github.com/danielcooper))
|
647
|
+
- minor change to acts\_as\_list's callbacks [\#1](https://github.com/brendon/acts_as_list/pull/1) ([tiegz](https://github.com/tiegz))
|