acts_as_list 1.0.3 → 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 +4 -4
- data/.travis.yml +28 -5
- data/CHANGELOG.md +5 -0
- data/Gemfile +1 -1
- data/gemfiles/rails_5_0.gemfile +1 -1
- data/gemfiles/rails_5_1.gemfile +1 -1
- data/gemfiles/rails_5_2.gemfile +1 -1
- data/gemfiles/rails_6_0.gemfile +1 -1
- data/gemfiles/rails_6_1.gemfile +1 -1
- data/lib/acts_as_list/version.rb +1 -1
- data/test/test_list.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
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/.travis.yml
CHANGED
@@ -7,9 +7,11 @@ before_script:
|
|
7
7
|
- mysql -e 'create database acts_as_list;'
|
8
8
|
- psql -c 'create database acts_as_list;' -U postgres
|
9
9
|
rvm:
|
10
|
-
- 2.4
|
11
|
-
- 2.5
|
12
|
-
- 2.6
|
10
|
+
- 2.4
|
11
|
+
- 2.5
|
12
|
+
- 2.6
|
13
|
+
- 2.7
|
14
|
+
- 3.0
|
13
15
|
services:
|
14
16
|
- mysql
|
15
17
|
- postgresql
|
@@ -26,7 +28,28 @@ gemfile:
|
|
26
28
|
- gemfiles/rails_6_1.gemfile
|
27
29
|
matrix:
|
28
30
|
exclude:
|
29
|
-
- rvm: 2.4
|
31
|
+
- rvm: 2.4
|
30
32
|
gemfile: gemfiles/rails_6_0.gemfile
|
31
|
-
- rvm: 2.4
|
33
|
+
- rvm: 2.4
|
32
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
|
44
|
+
gemfile: gemfiles/rails_5_0.gemfile
|
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
|
51
|
+
gemfile: gemfiles/rails_5_0.gemfile
|
52
|
+
- rvm: 3.0
|
53
|
+
gemfile: gemfiles/rails_5_1.gemfile
|
54
|
+
- rvm: 3.0
|
55
|
+
gemfile: gemfiles/rails_5_2.gemfile
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## Unreleased
|
8
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
|
+
|
9
14
|
## v1.0.3 - 2020-12-24
|
10
15
|
|
11
16
|
### Fixed
|
data/Gemfile
CHANGED
data/gemfiles/rails_5_0.gemfile
CHANGED
data/gemfiles/rails_5_1.gemfile
CHANGED
data/gemfiles/rails_5_2.gemfile
CHANGED
data/gemfiles/rails_6_0.gemfile
CHANGED
data/gemfiles/rails_6_1.gemfile
CHANGED
data/lib/acts_as_list/version.rb
CHANGED
data/test/test_list.rb
CHANGED
@@ -11,7 +11,7 @@ def setup_db(position_options = {})
|
|
11
11
|
|
12
12
|
# AR caches columns options like defaults etc. Clear them!
|
13
13
|
ActiveRecord::Base.connection.create_table :mixins do |t|
|
14
|
-
t.column :pos, :integer, position_options unless position_options[:positive] && sqlite
|
14
|
+
t.column :pos, :integer, **position_options unless position_options[:positive] && sqlite
|
15
15
|
t.column :active, :boolean, default: true
|
16
16
|
t.column :parent_id, :integer
|
17
17
|
t.column :parent_type, :string
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_list
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swanand Pagnis
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2021-04-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|