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