migration-lock-timeout 1.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1325d4e01b685b2b269015d7f9db368a4999e0bb
4
- data.tar.gz: 00acc2f8cad5b72dd237df217cfeb41b991fb2a5
2
+ SHA256:
3
+ metadata.gz: d977632b3898a8d9b0621fe5fd949baa78a34a7f80f5da64b0300137bbaa4e99
4
+ data.tar.gz: ac82abde1d14b82c587583d39f39d51f37590c722f97b33c84c6fe90fed884cf
5
5
  SHA512:
6
- metadata.gz: 6c5acacd2a2674efd06456150632b5830c69002b2cdc2902df9bef675657c2bb7f33c7af2365c38243c837b9f6084a6656ac18eece9b5242f2406709b9da68fd
7
- data.tar.gz: 1c41ff211a8a0569b10a605af00db656ff8b4f963434419b75c464df0353915ec5030974715bfa64fa6203f004600fd5d0860bcce6b2d2bf1dc3d56ca0b76bcf
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.3.3
6
+ - image: cimg/ruby:2.7.7
7
7
  environment:
8
8
  PG_HOST: localhost
9
9
  PG_USER: ubuntu
10
- - image: circleci/postgres:9.5-ram
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
- POSTGRES_DB_PASSWORD:
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.4.3
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
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_RETRY: "1"
@@ -3,5 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord", "4.2.7.1"
6
+ gem "pg", "~> 0.21"
7
+ gem "bigdecimal", "1.3.5"
6
8
 
7
9
  gemspec path: "../"
@@ -4,5 +4,7 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord", "4.2.7.1"
6
6
  gem "strong_migrations", "0.2"
7
+ gem "pg", "~> 0.21"
8
+ gem "bigdecimal", "1.3.5"
7
9
 
8
10
  gemspec path: "../"
@@ -3,5 +3,6 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord", "5.0.0.1"
6
+ gem "pg", "~> 0.21"
6
7
 
7
8
  gemspec path: "../"
@@ -4,5 +4,6 @@ source "https://rubygems.org"
4
4
 
5
5
  gem "activerecord", "5.0.0.1"
6
6
  gem "strong_migrations", "0.2"
7
+ gem "pg", "~> 0.21"
7
8
 
8
9
  gemspec path: "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "6.0.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "6.0.0"
6
+ gem "strong_migrations", "0.2"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "7.0.0"
6
+
7
+ gemspec path: "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activerecord", "7.0.0"
6
+ gem "strong_migrations"
7
+
8
+ gemspec path: "../"
@@ -1,3 +1,3 @@
1
1
  module MigrationLockTimeout
2
- VERSION = "1.2.0"
2
+ VERSION = "1.4.0"
3
3
  end
@@ -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", "< 1.0"
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", "< 6.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.2.0
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: 2018-06-28 00:00:00.000000000 Z
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.0'
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.0'
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: '6.0'
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: '6.0'
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
- rubyforge_project:
172
- rubygems_version: 2.6.14
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: []