migration-lock-timeout 1.3.0 → 1.4.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/.circleci/config.yml +6 -5
- data/.ruby-version +1 -1
- data/Appraisals +15 -0
- data/CHANGELOG.md +4 -0
- data/gemfiles/activerecord_4.gemfile +2 -0
- data/gemfiles/activerecord_4_with_strong_migrations.gemfile +2 -0
- data/gemfiles/activerecord_5.gemfile +1 -0
- data/gemfiles/activerecord_5_with_strong_migrations.gemfile +1 -0
- data/gemfiles/activerecord_7.gemfile +7 -0
- data/gemfiles/activerecord_7_with_strong_migrations.gemfile +8 -0
- data/lib/migration_lock_timeout/version.rb +1 -1
- data/migration-lock-timeout.gemspec +2 -2
- metadata +14 -13
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d977632b3898a8d9b0621fe5fd949baa78a34a7f80f5da64b0300137bbaa4e99
|
|
4
|
+
data.tar.gz: ac82abde1d14b82c587583d39f39d51f37590c722f97b33c84c6fe90fed884cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d70e023f19c3d74d49f4ac4458f7409b1742d68e93457d38173201a05e6e019b14b56fcb1288b9dbd9f3ef25ee93e2022aff4410bedf670e6e923e386d6e8e01
|
|
7
|
+
data.tar.gz: fc31edc45351ce308e961746883272197405ae0adbfa12bda2ed481d31b056220dab549e80f1f123f9f13b0420996edf3c173fd2f0c27f3d3363d2e4c8f92200
|
data/.circleci/config.yml
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
version: 2
|
|
1
|
+
version: 2.1
|
|
2
2
|
jobs:
|
|
3
3
|
build:
|
|
4
4
|
# working_directory: ~/appName
|
|
5
5
|
docker:
|
|
6
|
-
- image: ruby:2.
|
|
6
|
+
- image: cimg/ruby:2.7.7
|
|
7
7
|
environment:
|
|
8
8
|
PG_HOST: localhost
|
|
9
9
|
PG_USER: ubuntu
|
|
10
|
-
- image:
|
|
10
|
+
- image: cimg/postgres:15.1
|
|
11
11
|
environment:
|
|
12
12
|
POSTGRES_USER: ubuntu
|
|
13
13
|
POSTGRES_DB: circle_test
|
|
14
|
+
POSTGRES_PASSWORD: $POSTGRES_DB_PASSWORD
|
|
14
15
|
steps:
|
|
15
16
|
- checkout
|
|
16
17
|
- run:
|
|
@@ -22,7 +23,7 @@ jobs:
|
|
|
22
23
|
- run:
|
|
23
24
|
name: Run Appraisals Tests
|
|
24
25
|
environment:
|
|
25
|
-
POSTGRES_DB_DATABASE: circle_test
|
|
26
26
|
POSTGRES_DB_USERNAME: ubuntu
|
|
27
|
-
|
|
27
|
+
POSTGRES_DB_DATABASE: circle_test
|
|
28
|
+
POSTGRES_DB_PASSWORD: $POSTGRES_DB_PASSWORD
|
|
28
29
|
command: bundle exec appraisal rspec
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
2.
|
|
1
|
+
2.7.7
|
data/Appraisals
CHANGED
|
@@ -1,19 +1,25 @@
|
|
|
1
1
|
appraise "activerecord-4" do
|
|
2
2
|
gem "activerecord", "4.2.7.1"
|
|
3
|
+
gem "pg", "~> 0.21"
|
|
4
|
+
gem "bigdecimal", "1.3.5"
|
|
3
5
|
end
|
|
4
6
|
|
|
5
7
|
appraise "activerecord-4_with_strong_migrations" do
|
|
6
8
|
gem "activerecord", "4.2.7.1"
|
|
7
9
|
gem "strong_migrations", "0.2"
|
|
10
|
+
gem "pg", "~> 0.21"
|
|
11
|
+
gem "bigdecimal", "1.3.5"
|
|
8
12
|
end
|
|
9
13
|
|
|
10
14
|
appraise "activerecord-5" do
|
|
11
15
|
gem "activerecord", "5.0.0.1"
|
|
16
|
+
gem "pg", "~> 0.21"
|
|
12
17
|
end
|
|
13
18
|
|
|
14
19
|
appraise "activerecord-5_with_strong_migrations" do
|
|
15
20
|
gem "activerecord", "5.0.0.1"
|
|
16
21
|
gem "strong_migrations", "0.2"
|
|
22
|
+
gem "pg", "~> 0.21"
|
|
17
23
|
end
|
|
18
24
|
|
|
19
25
|
appraise "activerecord-6" do
|
|
@@ -24,3 +30,12 @@ appraise "activerecord-6_with_strong_migrations" do
|
|
|
24
30
|
gem "activerecord", "6.0.0"
|
|
25
31
|
gem "strong_migrations", "0.2"
|
|
26
32
|
end
|
|
33
|
+
|
|
34
|
+
appraise "activerecord-7" do
|
|
35
|
+
gem "activerecord", "7.0.0"
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
appraise "activerecord-7_with_strong_migrations" do
|
|
39
|
+
gem "activerecord", "7.0.0"
|
|
40
|
+
gem "strong_migrations"
|
|
41
|
+
end
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [1.4.0]
|
|
8
|
+
### Added
|
|
9
|
+
- Support for Rails 7
|
|
10
|
+
|
|
7
11
|
## [1.3.0]
|
|
8
12
|
### Added
|
|
9
13
|
- Support for Rails 6
|
|
@@ -29,10 +29,10 @@ Gem::Specification.new do |spec|
|
|
|
29
29
|
|
|
30
30
|
spec.add_development_dependency "appraisal"
|
|
31
31
|
spec.add_development_dependency "database_cleaner"
|
|
32
|
-
spec.add_development_dependency "pg", "
|
|
32
|
+
spec.add_development_dependency "pg", "~> 1.1"
|
|
33
33
|
spec.add_development_dependency "pry"
|
|
34
34
|
spec.add_development_dependency "rake", "~> 11.2.2"
|
|
35
35
|
spec.add_development_dependency "rspec", "~> 3.0"
|
|
36
36
|
|
|
37
|
-
spec.add_runtime_dependency "activerecord", ">= 4.0", "<
|
|
37
|
+
spec.add_runtime_dependency "activerecord", ">= 4.0", "< 8.0"
|
|
38
38
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: migration-lock-timeout
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brad Urani
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-02-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: appraisal
|
|
@@ -42,16 +42,16 @@ dependencies:
|
|
|
42
42
|
name: pg
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- - "
|
|
45
|
+
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '1.
|
|
47
|
+
version: '1.1'
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- - "
|
|
52
|
+
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '1.
|
|
54
|
+
version: '1.1'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: pry
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -103,7 +103,7 @@ dependencies:
|
|
|
103
103
|
version: '4.0'
|
|
104
104
|
- - "<"
|
|
105
105
|
- !ruby/object:Gem::Version
|
|
106
|
-
version: '
|
|
106
|
+
version: '8.0'
|
|
107
107
|
type: :runtime
|
|
108
108
|
prerelease: false
|
|
109
109
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -113,7 +113,7 @@ dependencies:
|
|
|
113
113
|
version: '4.0'
|
|
114
114
|
- - "<"
|
|
115
115
|
- !ruby/object:Gem::Version
|
|
116
|
-
version: '
|
|
116
|
+
version: '8.0'
|
|
117
117
|
description: Ruby gem that automatically adds a lock timeout to all Active Record
|
|
118
118
|
migrations
|
|
119
119
|
email:
|
|
@@ -144,6 +144,8 @@ files:
|
|
|
144
144
|
- gemfiles/activerecord_5_with_strong_migrations.gemfile
|
|
145
145
|
- gemfiles/activerecord_6.gemfile
|
|
146
146
|
- gemfiles/activerecord_6_with_strong_migrations.gemfile
|
|
147
|
+
- gemfiles/activerecord_7.gemfile
|
|
148
|
+
- gemfiles/activerecord_7_with_strong_migrations.gemfile
|
|
147
149
|
- lib/migration-lock-timeout.rb
|
|
148
150
|
- lib/migration_lock_timeout/config.rb
|
|
149
151
|
- lib/migration_lock_timeout/lock_manager.rb
|
|
@@ -156,7 +158,7 @@ licenses:
|
|
|
156
158
|
- MIT
|
|
157
159
|
metadata:
|
|
158
160
|
allowed_push_host: https://rubygems.org
|
|
159
|
-
post_install_message:
|
|
161
|
+
post_install_message:
|
|
160
162
|
rdoc_options: []
|
|
161
163
|
require_paths:
|
|
162
164
|
- lib
|
|
@@ -171,9 +173,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
171
173
|
- !ruby/object:Gem::Version
|
|
172
174
|
version: '0'
|
|
173
175
|
requirements: []
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
signing_key:
|
|
176
|
+
rubygems_version: 3.1.6
|
|
177
|
+
signing_key:
|
|
177
178
|
specification_version: 4
|
|
178
179
|
summary: Ruby gem that adds a lock timeout to Active Record migrations
|
|
179
180
|
test_files: []
|