migration-lock-timeout 1.2.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.circleci/config.yml +6 -5
- data/.ruby-version +1 -1
- data/Appraisals +24 -0
- data/CHANGELOG.md +8 -0
- data/gemfiles/.bundle/config +2 -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_6.gemfile +7 -0
- data/gemfiles/activerecord_6_with_strong_migrations.gemfile +8 -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 +17 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
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,17 +1,41 @@
|
|
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"
|
23
|
+
end
|
24
|
+
|
25
|
+
appraise "activerecord-6" do
|
26
|
+
gem "activerecord", "6.0.0"
|
27
|
+
end
|
28
|
+
|
29
|
+
appraise "activerecord-6_with_strong_migrations" do
|
30
|
+
gem "activerecord", "6.0.0"
|
31
|
+
gem "strong_migrations", "0.2"
|
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"
|
17
41
|
end
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,14 @@ 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
|
+
|
11
|
+
## [1.3.0]
|
12
|
+
### Added
|
13
|
+
- Support for Rails 6
|
14
|
+
|
7
15
|
## [1.2.0]
|
8
16
|
### Added
|
9
17
|
- Support for using with the [strong_migrations](https://github.com/ankane/strong_migrations) gem
|
@@ -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:
|
@@ -137,10 +137,15 @@ files:
|
|
137
137
|
- Rakefile
|
138
138
|
- bin/console
|
139
139
|
- bin/setup
|
140
|
+
- gemfiles/.bundle/config
|
140
141
|
- gemfiles/activerecord_4.gemfile
|
141
142
|
- gemfiles/activerecord_4_with_strong_migrations.gemfile
|
142
143
|
- gemfiles/activerecord_5.gemfile
|
143
144
|
- gemfiles/activerecord_5_with_strong_migrations.gemfile
|
145
|
+
- gemfiles/activerecord_6.gemfile
|
146
|
+
- gemfiles/activerecord_6_with_strong_migrations.gemfile
|
147
|
+
- gemfiles/activerecord_7.gemfile
|
148
|
+
- gemfiles/activerecord_7_with_strong_migrations.gemfile
|
144
149
|
- lib/migration-lock-timeout.rb
|
145
150
|
- lib/migration_lock_timeout/config.rb
|
146
151
|
- lib/migration_lock_timeout/lock_manager.rb
|
@@ -153,7 +158,7 @@ licenses:
|
|
153
158
|
- MIT
|
154
159
|
metadata:
|
155
160
|
allowed_push_host: https://rubygems.org
|
156
|
-
post_install_message:
|
161
|
+
post_install_message:
|
157
162
|
rdoc_options: []
|
158
163
|
require_paths:
|
159
164
|
- lib
|
@@ -168,9 +173,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
173
|
- !ruby/object:Gem::Version
|
169
174
|
version: '0'
|
170
175
|
requirements: []
|
171
|
-
|
172
|
-
|
173
|
-
signing_key:
|
176
|
+
rubygems_version: 3.1.6
|
177
|
+
signing_key:
|
174
178
|
specification_version: 4
|
175
179
|
summary: Ruby gem that adds a lock timeout to Active Record migrations
|
176
180
|
test_files: []
|