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