acts_as_removable 3.1.1 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/workflow.yml +29 -0
- data/.rubocop.yml +3 -3
- data/Changelog.md +8 -0
- data/LICENSE +1 -1
- data/acts_as_removable.gemspec +4 -2
- data/gemfiles/rails70 +7 -0
- data/lib/acts_as_removable/version.rb +1 -1
- metadata +10 -9
- data/.travis.yml +0 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e90331337f2511a5fd68294c5c57097bc4327dc0e6a8e76d05ca6583ddcec9f2
|
4
|
+
data.tar.gz: 9308d8ca6f08d3e841fe9b8012b5997248901087f8ab9463593f132b7ade549c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69892a74121499b980b647603f7719b9278cb76861cc5a95b725f5b05dce6cdf9fcb41b1f5702fdda402b8fa7f8f165c4173e88ed8bc8fbebadf263f4c1d7600
|
7
|
+
data.tar.gz: 9676d149163d49dab74d9ba843817130b74b58554ff37cb5f6e89f12ce080f158fe66fff03dcd696eaad0210248c6d9db68780521809a23ebd08a7650ccfbc8b
|
@@ -0,0 +1,29 @@
|
|
1
|
+
name: atcs_as_removable specs
|
2
|
+
on: [push]
|
3
|
+
jobs:
|
4
|
+
rspec:
|
5
|
+
runs-on: ubuntu-latest
|
6
|
+
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
|
7
|
+
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}
|
8
|
+
strategy:
|
9
|
+
matrix:
|
10
|
+
ruby: [2.6, 2.7, 3.0]
|
11
|
+
gemfile:
|
12
|
+
- rails52
|
13
|
+
- rails60
|
14
|
+
- rails61
|
15
|
+
- rails70
|
16
|
+
exclude:
|
17
|
+
- ruby: 2.6
|
18
|
+
gemfile: rails70
|
19
|
+
- ruby: 3.0
|
20
|
+
gemfile: rails52
|
21
|
+
|
22
|
+
steps:
|
23
|
+
- uses: actions/checkout@v2
|
24
|
+
- uses: ruby/setup-ruby@v1
|
25
|
+
with:
|
26
|
+
ruby-version: ${{ matrix.ruby }}
|
27
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
28
|
+
- name: Run tests
|
29
|
+
run: bundle exec rake spec
|
data/.rubocop.yml
CHANGED
@@ -2,13 +2,13 @@ require:
|
|
2
2
|
- rubocop-performance
|
3
3
|
|
4
4
|
AllCops:
|
5
|
-
TargetRubyVersion: 2.
|
5
|
+
TargetRubyVersion: 2.6
|
6
6
|
|
7
|
-
Layout/
|
7
|
+
Layout/HashAlignment:
|
8
8
|
EnforcedHashRocketStyle: table
|
9
9
|
EnforcedColonStyle: table
|
10
10
|
|
11
|
-
|
11
|
+
Layout/LineLength:
|
12
12
|
Max: 120
|
13
13
|
|
14
14
|
Metrics/AbcSize:
|
data/Changelog.md
CHANGED
@@ -3,6 +3,14 @@ Changelog
|
|
3
3
|
|
4
4
|
#### Unreleased
|
5
5
|
|
6
|
+
#### 3.2.0 (2021-12-16)
|
7
|
+
* Support for Rails 7.0
|
8
|
+
* (Update travis config) -> see below
|
9
|
+
* Replace Travis CI with github actions
|
10
|
+
* Require Ruby >= 2.6.0
|
11
|
+
* Fix renamed rubocop cops
|
12
|
+
* Update copyright year
|
13
|
+
|
6
14
|
#### 3.1.1 (2021-01-08)
|
7
15
|
* Add workaround for new argument handling in ruby 3
|
8
16
|
|
data/LICENSE
CHANGED
data/acts_as_removable.gemspec
CHANGED
@@ -20,8 +20,10 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
21
21
|
spec.require_paths = ['lib']
|
22
22
|
|
23
|
-
spec.
|
24
|
-
|
23
|
+
spec.required_ruby_version = '>= 2.6.0'
|
24
|
+
|
25
|
+
spec.add_dependency 'activerecord', '>= 5.0', '< 7.1'
|
26
|
+
spec.add_dependency 'activesupport', '>= 5.0', '< 7.1'
|
25
27
|
|
26
28
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
27
29
|
spec.add_development_dependency 'rake'
|
data/gemfiles/rails70
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_removable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Schwab
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-
|
12
|
+
date: 2021-12-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
version: '5.0'
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '
|
23
|
+
version: '7.1'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -30,7 +30,7 @@ dependencies:
|
|
30
30
|
version: '5.0'
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '7.1'
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: activesupport
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
version: '5.0'
|
41
41
|
- - "<"
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: '
|
43
|
+
version: '7.1'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
46
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
version: '5.0'
|
51
51
|
- - "<"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '7.1'
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
55
|
name: bundler
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,9 +143,9 @@ executables: []
|
|
143
143
|
extensions: []
|
144
144
|
extra_rdoc_files: []
|
145
145
|
files:
|
146
|
+
- ".github/workflows/workflow.yml"
|
146
147
|
- ".gitignore"
|
147
148
|
- ".rubocop.yml"
|
148
|
-
- ".travis.yml"
|
149
149
|
- Changelog.md
|
150
150
|
- Gemfile
|
151
151
|
- LICENSE
|
@@ -155,6 +155,7 @@ files:
|
|
155
155
|
- gemfiles/rails52
|
156
156
|
- gemfiles/rails60
|
157
157
|
- gemfiles/rails61
|
158
|
+
- gemfiles/rails70
|
158
159
|
- lib/acts_as_removable.rb
|
159
160
|
- lib/acts_as_removable/version.rb
|
160
161
|
- spec/acts_as_removable_spec.rb
|
@@ -171,14 +172,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
171
172
|
requirements:
|
172
173
|
- - ">="
|
173
174
|
- !ruby/object:Gem::Version
|
174
|
-
version:
|
175
|
+
version: 2.6.0
|
175
176
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
177
|
requirements:
|
177
178
|
- - ">="
|
178
179
|
- !ruby/object:Gem::Version
|
179
180
|
version: '0'
|
180
181
|
requirements: []
|
181
|
-
rubygems_version: 3.2.
|
182
|
+
rubygems_version: 3.2.32
|
182
183
|
signing_key:
|
183
184
|
specification_version: 4
|
184
185
|
summary: Simplifies handling of pseudo removed records.
|
data/.travis.yml
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
sudo: false
|
2
|
-
|
3
|
-
language: ruby
|
4
|
-
|
5
|
-
rvm:
|
6
|
-
- 2.5.8
|
7
|
-
- 2.6.6
|
8
|
-
- 2.7.2
|
9
|
-
- 3.0.0
|
10
|
-
|
11
|
-
gemfile:
|
12
|
-
- gemfiles/rails52
|
13
|
-
- gemfiles/rails60
|
14
|
-
- gemfiles/rails61
|
15
|
-
|
16
|
-
matrix:
|
17
|
-
exclude:
|
18
|
-
- rvm: 2.5.8
|
19
|
-
gemfile: gemfiles/rails61
|
20
|
-
- rvm: 2.7.2
|
21
|
-
gemfile: gemfiles/rails52
|
22
|
-
- rvm: 3.0.0
|
23
|
-
gemfile: gemfiles/rails52
|
24
|
-
|
25
|
-
script: bundle exec rake spec
|
26
|
-
|
27
|
-
before_install:
|
28
|
-
- gem install bundler -v '~> 2.0'
|