activerecord-transactionable 2.0.5 → 3.0.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: 96137ce954d37b568395f503412d411d43a983236e48d6dcd58c83ac6d7a7a13
4
- data.tar.gz: 470cf29ae223a65b71236c80561c3805d551fe27b7108f5c0865f636b6efe822
3
+ metadata.gz: 23dd2012182b1767de176fbf2f5bd9225285b7bc5549ff479430ea62b5fe2a72
4
+ data.tar.gz: 794ce01d1a9d3d4b04259c316c3bfbfe3021552a6cd5721810461cfbc9129e89
5
5
  SHA512:
6
- metadata.gz: 2068ebe17f122c06ec41dadc5dac80a712306d630568c4c66ad0cf4b4c70f41ba2801fbdc363c34b061d0e7eeb5f3db06de67d476d92509693ba56904fed17e5
7
- data.tar.gz: f61cbc9aa98ca625538e45e5062198205d6d199710abd93da1092644d1d759184e7ed33eacf056dde08a6a6ba4561d9eaf8e640b4a4379ec753238fa09fbd0cf
6
+ metadata.gz: 9435ef3d0c5ca100c1a4fffa1b1d0c9c284b5965bb6aaf36b85da81116a4e7d5338394e52b48c09f709924fc6370e1115e074fcca400bfeec911885d4a2dcad4
7
+ data.tar.gz: 5a9b93e0897d9f5b384258d8ee8634cb10a99893db308deb61443649050a815f9dbc12db0ce0248d12545e366339d395096c96445637e14587a2b4426d707c75
@@ -21,9 +21,6 @@ jobs:
21
21
  matrix:
22
22
  ruby:
23
23
  - 2.5
24
- - 2.4
25
- - 2.3
26
- - 2.2
27
24
  runs-on: ubuntu-18.04
28
25
  continue-on-error: ${{ matrix.allow_failure || endsWith(matrix.ruby, 'head') }}
29
26
  steps:
data/README.md CHANGED
@@ -61,13 +61,13 @@ Or install it yourself as:
61
61
  ## Compatibility
62
62
 
63
63
  Targeted ruby compatibility is non-EOL versions of Ruby, currently 2.6, 2.7, and
64
- 3.0. Ruby is limited to 2.1+ in the gemspec, and when it changes there will be a major release.
65
- The `master` branch currently targets 2.0.x releases.
64
+ 3.0. Ruby is limited to 2.5+ in the gemspec, and when it changes there will be a major release.
65
+ The `master` branch currently targets 3.0.x releases.
66
66
 
67
67
  | Ruby OAuth Version | Maintenance Branch | Officially Supported Rubies | Unofficially Supported Rubies |
68
68
  |--------------------- | ------------------ | ------------------------------------------- | ----------------------------- |
69
- | 3.0.x | N/A | 2.7, 3.0, 3.1 | 2.6 |
70
- | 2.0.x | `master` | 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 3.0 | |
69
+ | 3.0.x | `master` | 2.6, 2.7, 3.0 | 2.5 |
70
+ | 2.0.x | `v2-maintenance` | 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 3.0 | |
71
71
 
72
72
  NOTE: 2.0.5 is anticipated as last release of the 2.x series.
73
73
 
@@ -19,19 +19,17 @@ Gem::Specification.new do |spec|
19
19
  spec.bindir = "exe"
20
20
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
21
  spec.require_paths = ["lib"]
22
- spec.required_ruby_version = ">= 2.1.0"
22
+ spec.required_ruby_version = ">= 2.5.0"
23
23
 
24
24
  ruby_version = Gem::Version.new(RUBY_VERSION)
25
25
  minimum_version = ->(version) { ruby_version >= Gem::Version.new(version) && RUBY_ENGINE == "ruby" }
26
26
  linting = minimum_version.call("2.6")
27
27
  coverage = minimum_version.call("2.6")
28
- good_sqlite_constraint = minimum_version.call("2.5")
29
- debug = minimum_version.call("2.4")
30
28
 
31
29
  spec.add_dependency "activemodel", ">= 4.0.0"
32
30
  spec.add_dependency "activerecord", ">= 4.0.0"
33
31
 
34
- spec.add_development_dependency "byebug", "~> 11.1" if debug
32
+ spec.add_development_dependency "byebug", "~> 11.1"
35
33
  spec.add_development_dependency "factory_bot", ">= 4.0"
36
34
  spec.add_development_dependency "rake", ">= 12.0"
37
35
  spec.add_development_dependency "rspec", "~> 3.10"
@@ -52,9 +50,6 @@ Gem::Specification.new do |spec|
52
50
  spec.add_development_dependency("simplecov", "~> 0.21")
53
51
  spec.add_development_dependency("simplecov-cobertura", "~> 1.4")
54
52
  end
55
- # sqlite version constraint: https://stackoverflow.com/a/54729071/213191
56
- # TODO: Relax and update the constraint when dropping support for <= activerecord 5.2.2
57
- # NOTE: Ruby 2.5+ will install Rails 6+
58
- spec.add_development_dependency "sqlite3", good_sqlite_constraint ? "~> 1" : "~> 1.3.6"
53
+ spec.add_development_dependency "sqlite3", "~> 1"
59
54
  spec.add_development_dependency "yard", ">= 0.9.20"
60
55
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Activerecord
4
4
  module Transactionable
5
- VERSION = "2.0.5"
5
+ VERSION = "3.0.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-transactionable
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
@@ -313,7 +313,6 @@ extra_rdoc_files: []
313
313
  files:
314
314
  - ".github/FUNDING.yml"
315
315
  - ".github/dependabot.yml"
316
- - ".github/workflows/eol.yml"
317
316
  - ".github/workflows/style.yml"
318
317
  - ".github/workflows/supported.yml"
319
318
  - ".github/workflows/unsupported.yml"
@@ -347,14 +346,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
347
346
  requirements:
348
347
  - - ">="
349
348
  - !ruby/object:Gem::Version
350
- version: 2.1.0
349
+ version: 2.5.0
351
350
  required_rubygems_version: !ruby/object:Gem::Requirement
352
351
  requirements:
353
352
  - - ">="
354
353
  - !ruby/object:Gem::Version
355
354
  version: '0'
356
355
  requirements: []
357
- rubygems_version: 3.1.6
356
+ rubygems_version: 3.0.3.1
358
357
  signing_key:
359
358
  specification_version: 4
360
359
  summary: Do ActiveRecord transactions the right way.
@@ -1,37 +0,0 @@
1
- name: Do Not Use These Rubies
2
-
3
- on:
4
- push:
5
- branches:
6
- - master
7
- - '*-maintenance'
8
- - '*-dev'
9
- tags:
10
- - '!*' # Do not execute on tags
11
- pull_request:
12
- branches:
13
- - '*'
14
-
15
- jobs:
16
- test:
17
- name: Specs - Ruby ${{ matrix.ruby }} ${{ matrix.name_extra || '' }}
18
- if: "!contains(github.event.commits[0].message, '[ci skip]') && !contains(github.event.commits[0].message, '[skip ci]')"
19
- strategy:
20
- fail-fast: false
21
- matrix:
22
- ruby:
23
- - 2.1
24
- runs-on: ubuntu-18.04
25
- continue-on-error: ${{ matrix.allow_failure || endsWith(matrix.ruby, 'head') }}
26
- steps:
27
- - name: Checkout
28
- uses: actions/checkout@v2
29
- - name: Install cURL Headers
30
- run: sudo apt-get install libcurl4-openssl-dev
31
- - name: Setup Ruby & Bundle
32
- uses: ruby/setup-ruby@v1
33
- with:
34
- ruby-version: ${{ matrix.ruby }}
35
- bundler-cache: true
36
- - name: Run tests
37
- run: bundle exec rake test