acts_as_removable 3.1.1 → 3.3.0
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/.github/workflows/workflow.yml +28 -0
- data/.rubocop.yml +3 -3
- data/Changelog.md +16 -0
- data/LICENSE +1 -1
- data/acts_as_removable.gemspec +4 -2
- data/gemfiles/{rails52 → rails70} +1 -1
- data/gemfiles/{rails60 → rails71} +1 -1
- data/lib/acts_as_removable/version.rb +1 -1
- metadata +18 -18
- 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: 7cb58c4d09dba978cebf979f833982311c20c34075de26b6557ea06c2c366e4a
|
4
|
+
data.tar.gz: d13b53940e224fc3b229ca79009111aa807b497205eed038c0372db419e47b30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b750f3782d87d03689904f519899b1451370ba56f7ee01977996cf34fff967e03a848a002a08451a38816c2dd29e54f5258f15d48a0b4cc003d20b0fe68ddeb
|
7
|
+
data.tar.gz: 2aabd76952a3c67c58acd3ad1f745471aedda1843c5723eb73f2d715526598dfecf66e40c9523b7d2dd2981d7fea2c4c5f11ca8342b194a0e5dea9b733980351
|
@@ -0,0 +1,28 @@
|
|
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.7, 3.0, 3.1, 3.2]
|
11
|
+
gemfile:
|
12
|
+
- rails61
|
13
|
+
- rails70
|
14
|
+
- rails71
|
15
|
+
exclude:
|
16
|
+
- ruby: 3.2
|
17
|
+
gemfile:
|
18
|
+
- rails61
|
19
|
+
|
20
|
+
|
21
|
+
steps:
|
22
|
+
- uses: actions/checkout@v4
|
23
|
+
- uses: ruby/setup-ruby@v1
|
24
|
+
with:
|
25
|
+
ruby-version: ${{ matrix.ruby }}
|
26
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
27
|
+
- name: Run tests
|
28
|
+
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.7
|
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,22 @@ Changelog
|
|
3
3
|
|
4
4
|
#### Unreleased
|
5
5
|
|
6
|
+
#### 3.3.0 (2023-10-11)
|
7
|
+
* Support for Rails 7.1
|
8
|
+
* Require Ruby >= 2.7.0
|
9
|
+
* Require Rails >= 6.1
|
10
|
+
* Test against Ruby 3.1 + 3.2
|
11
|
+
* Update Actions config
|
12
|
+
* Update copyright year
|
13
|
+
|
14
|
+
#### 3.2.0 (2021-12-16)
|
15
|
+
* Support for Rails 7.0
|
16
|
+
* (Update travis config) -> see below
|
17
|
+
* Replace Travis CI with github actions
|
18
|
+
* Require Ruby >= 2.6.0
|
19
|
+
* Fix renamed rubocop cops
|
20
|
+
* Update copyright year
|
21
|
+
|
6
22
|
#### 3.1.1 (2021-01-08)
|
7
23
|
* Add workaround for new argument handling in ruby 3
|
8
24
|
|
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.7.0'
|
24
|
+
|
25
|
+
spec.add_dependency 'activerecord', '>= 6.1', '< 7.2'
|
26
|
+
spec.add_dependency 'activesupport', '>= 6.1', '< 7.2'
|
25
27
|
|
26
28
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
27
29
|
spec.add_development_dependency 'rake'
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
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.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Schwab
|
8
8
|
- Erik-B. Ernst
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-10-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -17,40 +17,40 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: '
|
20
|
+
version: '6.1'
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '
|
23
|
+
version: '7.2'
|
24
24
|
type: :runtime
|
25
25
|
prerelease: false
|
26
26
|
version_requirements: !ruby/object:Gem::Requirement
|
27
27
|
requirements:
|
28
28
|
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: '
|
30
|
+
version: '6.1'
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '7.2'
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: activesupport
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '6.1'
|
41
41
|
- - "<"
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: '
|
43
|
+
version: '7.2'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
46
|
version_requirements: !ruby/object:Gem::Requirement
|
47
47
|
requirements:
|
48
48
|
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: '
|
50
|
+
version: '6.1'
|
51
51
|
- - "<"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '7.2'
|
54
54
|
- !ruby/object:Gem::Dependency
|
55
55
|
name: bundler
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,18 +143,18 @@ 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
|
152
152
|
- README.md
|
153
153
|
- Rakefile
|
154
154
|
- acts_as_removable.gemspec
|
155
|
-
- gemfiles/rails52
|
156
|
-
- gemfiles/rails60
|
157
155
|
- gemfiles/rails61
|
156
|
+
- gemfiles/rails70
|
157
|
+
- gemfiles/rails71
|
158
158
|
- lib/acts_as_removable.rb
|
159
159
|
- lib/acts_as_removable/version.rb
|
160
160
|
- spec/acts_as_removable_spec.rb
|
@@ -163,7 +163,7 @@ homepage: https://github.com/SICSoftwareGmbH/acts_as_removable
|
|
163
163
|
licenses:
|
164
164
|
- MIT
|
165
165
|
metadata: {}
|
166
|
-
post_install_message:
|
166
|
+
post_install_message:
|
167
167
|
rdoc_options: []
|
168
168
|
require_paths:
|
169
169
|
- lib
|
@@ -171,15 +171,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
171
171
|
requirements:
|
172
172
|
- - ">="
|
173
173
|
- !ruby/object:Gem::Version
|
174
|
-
version:
|
174
|
+
version: 2.7.0
|
175
175
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
176
|
requirements:
|
177
177
|
- - ">="
|
178
178
|
- !ruby/object:Gem::Version
|
179
179
|
version: '0'
|
180
180
|
requirements: []
|
181
|
-
rubygems_version: 3.
|
182
|
-
signing_key:
|
181
|
+
rubygems_version: 3.3.26
|
182
|
+
signing_key:
|
183
183
|
specification_version: 4
|
184
184
|
summary: Simplifies handling of pseudo removed records.
|
185
185
|
test_files:
|
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'
|