rails_failover 0.7.3 → 0.8.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: 6568f67088bad641f6ca7c96f477713d59baeee1992b2acba1e6db9568d55cce
4
- data.tar.gz: 3978f5d594cb5efb953d937bd95a9e8778ec2c1caa0b35903889e246b55c872a
3
+ metadata.gz: 146164de9729fe33317969e8d3ca2c5c79980e947f93dfd32b6673a1a95061a6
4
+ data.tar.gz: d3e6eb2cee6bcf663115e72c9e62d62e3f869753549fdcff55381ca4405842c1
5
5
  SHA512:
6
- metadata.gz: dae66bec185b1254788bcd3ef7a60c638105077803358408a3275cd7f5fa6e928706e525c7cf3f9f051e74241e5ee0da9e5e390729fc4b7c624fb4f2f23a5b26
7
- data.tar.gz: cfc083e71f1514cdb7a884693cb077c09bf28372a46ee9fd51eab45bfbb4528a0909f67ae2be434c0ba51761562e8cfe06c3ecf251259c7ec83c44a302ab5d77
6
+ metadata.gz: 1554851137a5251f524574f7d0120924910ad3dc755ad336e9c29c7404cf515d79dad9cb538f06b4084363d919f37586f412f5702fb92a2c85678bd161349fd3
7
+ data.tar.gz: 0f2a72692577a2be3d961da51be3ba150b7e7311fbe2932b062443d2a10dba6014e04268be105a815ab08169b542aa0d3a26dbe36611f036eecdc7a17bb527ac
@@ -5,8 +5,7 @@ on:
5
5
  push:
6
6
  branches:
7
7
  - master
8
- tags:
9
- - v*
8
+ - main
10
9
 
11
10
  jobs:
12
11
  build:
@@ -18,22 +17,19 @@ jobs:
18
17
  strategy:
19
18
  fail-fast: false
20
19
  matrix:
21
- ruby:
22
- - 2.6
23
- - 2.7
24
- build_types: ["LINT", "REDIS", "ACTIVERECORD"]
25
- exclude:
26
- - ruby: 2.6
20
+ ruby: ["2.6", "2.7", "3.0", "3.1"]
21
+ build_types: ["REDIS", "ACTIVERECORD"]
22
+ include:
23
+ - ruby: "3.1"
27
24
  build_types: "LINT"
28
25
 
29
26
  steps:
30
- - uses: actions/checkout@v1
27
+ - uses: actions/checkout@v2
31
28
 
32
29
  - name: Setup ruby
33
- uses: actions/setup-ruby@v1
30
+ uses: ruby/setup-ruby@v1
34
31
  with:
35
32
  ruby-version: ${{ matrix.ruby }}
36
- architecture: 'x64'
37
33
 
38
34
  - name: Setup bundler
39
35
  run: gem install bundler
@@ -68,7 +64,7 @@ jobs:
68
64
  if: env.BUILD_TYPE == 'ACTIVERECORD'
69
65
 
70
66
  publish:
71
- if: contains(github.ref, 'refs/tags/v')
67
+ if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
72
68
  needs: build
73
69
  runs-on: ubuntu-latest
74
70
 
@@ -76,6 +72,8 @@ jobs:
76
72
  - uses: actions/checkout@v2
77
73
 
78
74
  - name: Release Gem
79
- uses: CvX/publish-rubygems-action@main
75
+ uses: discourse/publish-rubygems-action@v2
80
76
  env:
81
- RUBYGEMS_API_KEY: ${{secrets.RUBYGEMS_API_KEY}}
77
+ RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
78
+ GIT_EMAIL: team@discourse.org
79
+ GIT_NAME: discoursebot
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.8.0] - 2022-01-17
10
+
11
+ - FEATURE: Compatibility with Rails 7.0+
12
+
9
13
  ## [0.7.3] - 2021-04-15
10
14
 
11
15
  - FEATURE: Compatibility with Rails 6.1
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsFailover
4
- VERSION = "0.7.3"
4
+ VERSION = "0.8.0"
5
5
  end
@@ -22,8 +22,8 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ["lib"]
24
24
 
25
- spec.add_dependency "activerecord", "~> 6.0"
26
- spec.add_dependency "railties", "~> 6.0"
25
+ spec.add_dependency "activerecord", "> 6.0", "< 7.1"
26
+ spec.add_dependency "railties", "> 6.0", "< 7.1"
27
27
 
28
28
  spec.add_dependency "concurrent-ruby"
29
29
  end
metadata CHANGED
@@ -1,43 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_failover
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alan Tan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-15 00:00:00.000000000 Z
11
+ date: 2022-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '6.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '7.1'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">"
25
28
  - !ruby/object:Gem::Version
26
29
  version: '6.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '7.1'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: railties
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - "~>"
37
+ - - ">"
32
38
  - !ruby/object:Gem::Version
33
39
  version: '6.0'
40
+ - - "<"
41
+ - !ruby/object:Gem::Version
42
+ version: '7.1'
34
43
  type: :runtime
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
38
- - - "~>"
47
+ - - ">"
39
48
  - !ruby/object:Gem::Version
40
49
  version: '6.0'
50
+ - - "<"
51
+ - !ruby/object:Gem::Version
52
+ version: '7.1'
41
53
  - !ruby/object:Gem::Dependency
42
54
  name: concurrent-ruby
43
55
  requirement: !ruby/object:Gem::Requirement
@@ -105,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
117
  - !ruby/object:Gem::Version
106
118
  version: '0'
107
119
  requirements: []
108
- rubygems_version: 3.0.3
120
+ rubygems_version: 3.1.6
109
121
  signing_key:
110
122
  specification_version: 4
111
123
  summary: Failover for ActiveRecord and Redis