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