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 +4 -4
- data/.github/workflows/ci.yml +12 -14
- data/CHANGELOG.md +4 -0
- data/lib/rails_failover/version.rb +1 -1
- data/rails_failover.gemspec +2 -2
- metadata +19 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 146164de9729fe33317969e8d3ca2c5c79980e947f93dfd32b6673a1a95061a6
|
4
|
+
data.tar.gz: d3e6eb2cee6bcf663115e72c9e62d62e3f869753549fdcff55381ca4405842c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1554851137a5251f524574f7d0120924910ad3dc755ad336e9c29c7404cf515d79dad9cb538f06b4084363d919f37586f412f5702fb92a2c85678bd161349fd3
|
7
|
+
data.tar.gz: 0f2a72692577a2be3d961da51be3ba150b7e7311fbe2932b062443d2a10dba6014e04268be105a815ab08169b542aa0d3a26dbe36611f036eecdc7a17bb527ac
|
data/.github/workflows/ci.yml
CHANGED
@@ -5,8 +5,7 @@ on:
|
|
5
5
|
push:
|
6
6
|
branches:
|
7
7
|
- master
|
8
|
-
|
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
|
-
|
23
|
-
|
24
|
-
|
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@
|
27
|
+
- uses: actions/checkout@v2
|
31
28
|
|
32
29
|
- name: Setup ruby
|
33
|
-
uses:
|
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:
|
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:
|
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
data/rails_failover.gemspec
CHANGED
@@ -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", "
|
26
|
-
spec.add_dependency "railties", "
|
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.
|
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:
|
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.
|
120
|
+
rubygems_version: 3.1.6
|
109
121
|
signing_key:
|
110
122
|
specification_version: 4
|
111
123
|
summary: Failover for ActiveRecord and Redis
|