acts_as_removable 3.1.1 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 40034410cd08fcf4834c5887a8f376acc3a014eed7e2d3d97337f96008c72084
4
- data.tar.gz: 1374f4b5cd4da3d0acb5127cdeed92993bfe726e383ffc7f99fef1bc6b4a6634
3
+ metadata.gz: 7cb58c4d09dba978cebf979f833982311c20c34075de26b6557ea06c2c366e4a
4
+ data.tar.gz: d13b53940e224fc3b229ca79009111aa807b497205eed038c0372db419e47b30
5
5
  SHA512:
6
- metadata.gz: f8836c4e7faeb99e54f04c6d021b9d06848557d73b9f7d61c3a5cf6e069a771867a4c29b753bea462fbd16c0094000df48dcc2ccd0757f3b5beb50abacddae38
7
- data.tar.gz: e615ea16131b0e0584366a89c23a644b2066068cf4d49fdd0c32685ee3a0b3ae5da13d2b318ad7dcee1c49e79ed7ebcc3ffef2950ac9edd90c205073b1ccb7de
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.4
5
+ TargetRubyVersion: 2.7
6
6
 
7
- Layout/AlignHash:
7
+ Layout/HashAlignment:
8
8
  EnforcedHashRocketStyle: table
9
9
  EnforcedColonStyle: table
10
10
 
11
- Metrics/LineLength:
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
@@ -1,4 +1,4 @@
1
- Copyright (c) 2019 SIC! Software GmbH
1
+ Copyright (c) 2023 SIC! Software GmbH
2
2
 
3
3
  MIT License
4
4
 
@@ -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.add_dependency 'activerecord', '>= 5.0', '< 6.2'
24
- spec.add_dependency 'activesupport', '>= 5.0', '< 6.2'
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'
@@ -4,4 +4,4 @@ source 'https://rubygems.org'
4
4
  gemspec path: '..'
5
5
 
6
6
 
7
- gem 'railties', '~> 5.2'
7
+ gem 'railties', '~> 7.0'
@@ -4,4 +4,4 @@ source 'https://rubygems.org'
4
4
  gemspec path: '..'
5
5
 
6
6
 
7
- gem 'railties', '~> 6.0'
7
+ gem 'railties', '~> 7.1'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ActsAsRemovable
4
- VERSION = '3.1.1'
4
+ VERSION = '3.3.0'
5
5
  end
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.1.1
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: 2021-01-08 00:00:00.000000000 Z
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: '5.0'
20
+ version: '6.1'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '6.2'
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: '5.0'
30
+ version: '6.1'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '6.2'
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: '5.0'
40
+ version: '6.1'
41
41
  - - "<"
42
42
  - !ruby/object:Gem::Version
43
- version: '6.2'
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: '5.0'
50
+ version: '6.1'
51
51
  - - "<"
52
52
  - !ruby/object:Gem::Version
53
- version: '6.2'
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: '0'
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.2.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'