bleib 0.0.14 → 0.0.15

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: b8dd30747f77195d48b5d390b46264289b8e1c49fa20c59e3282ac6713a79494
4
- data.tar.gz: bcbe6b32bd69c06463525f6c3b08567fdfc532e8763b4c715a9932e81ee1bad5
3
+ metadata.gz: 3e1f9c38f0f6a8e80404b67b52fc01cc7d43c6d57d5baf6c383b0320e0c4c3d3
4
+ data.tar.gz: 3eafe905d3cd65ba687e45e6bdaa2b342be55941a398cdcedd9654ba2fcc38a2
5
5
  SHA512:
6
- metadata.gz: add4d3ffa793ad2f0799fd54858fc282c59534ebb4d91ea0206053e1bbc939b84422ebb6c1eba12ccaa68d5f6b5ddf8123791e98b07d375a62c56e5430cd7af8
7
- data.tar.gz: e78186dc2516bd072864ada0ce45d5c545882aaa34050a5cf15c0f610dfa712d590e1ddcf1c096123790b95123a669619e990859aabc8e1413a450fe54e0265f
6
+ metadata.gz: 2ff7f0d01d721a956b04872eeaabd2194f816ac8e97617388212818357b6398d1f727321b4c47b79ea0e1f7fe5f5f5c81752a3197264158b9dfd462be52788bf
7
+ data.tar.gz: 3e40efa8504edc316b56a99d9cacdeb629d0a5e4c42fbd0d08ae656452072bf079791d1c3eb7faae228ba532115990e3d2052fbc50e50cdc6778e8a9253b9836
@@ -56,7 +56,13 @@ module Bleib
56
56
 
57
57
  def check_migrations!
58
58
  check_wagon_migrations! if wagons_gem?
59
- ActiveRecord::Migration.check_pending!
59
+
60
+ # https://apidock.com/rails/v7.1.3.4/ActiveRecord/Migration/check_pending
61
+ if Rails::VERSION::MAJOR < 7 || (Rails::VERSION::MAJOR == 7 && Rails::VERSION::MINOR.zero?)
62
+ ActiveRecord::Migration.check_pending!
63
+ else
64
+ ActiveRecord::Migration.check_all_pending!
65
+ end
60
66
  end
61
67
 
62
68
  def check_wagon_migrations!
data/lib/bleib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bleib
4
- VERSION = '0.0.14'
4
+ VERSION = '0.0.15'
5
5
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bleib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puzzle ITC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-18 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2024-12-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  description: Intended for use in containerized setups where another component takes
14
28
  care of migrating the database.
15
29
  email: viehweger@puzzle.ch
@@ -44,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
44
58
  - !ruby/object:Gem::Version
45
59
  version: '0'
46
60
  requirements: []
47
- rubygems_version: 3.5.10
61
+ rubygems_version: 3.5.22
48
62
  signing_key:
49
63
  specification_version: 4
50
64
  summary: Use a rake task to wait on database and migrations.