standalone_migrations 7.2.0 → 8.0.0

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: 9a9d8d0731f1f191ffebb727646434c44a2580abb0237e93e1dcc9e1f1b71370
4
- data.tar.gz: 034312e050a785f8274c3d4ca58300a4816aa2396bd93c2db57a2c7c691e9e99
3
+ metadata.gz: ac2fe806b31860018c566e565d2722af5c2bf4306e7b95442b384c88aa42ada4
4
+ data.tar.gz: 3350502759620bef918e67b32655d84b5322e9d5cb6da16b7370a5f344d9dd63
5
5
  SHA512:
6
- metadata.gz: e77623590939b5788ea62f5086a8463c1ce1d521ddb7a64fd58baa4a4b45b7c539330d1bd9472bf0a3d11fda1bd9db95ce9b218e720150370176760f36c01d40
7
- data.tar.gz: 0becb7d7dc2cc8c0a992d5960d172a7b8f4d4fb5695f030da5f850ebc4cf0488ff439079cc1bac1d4afac1e1a76d5788dd28d08536cd103ea473003f8edbb10d
6
+ metadata.gz: e6207de2b4a9ab7ffbf8b30f24ba67b1abf334ca814d3443c809b5dfe9487360c229161fafb5aa532596c18b40b145e35decfea8dc6036f676eb6d185e9dd6c7
7
+ data.tar.gz: 93da90ef81eae3318d3e99ccffb1651d81d1874a61c764b7ce89b2aa8717dacaf97ac58e3e16bbf10f854d6890ca4f991f9a0bb19b902ea15a99fdb0ce170ba9
@@ -16,17 +16,25 @@ jobs:
16
16
  - '2.7'
17
17
  - '3.0'
18
18
  - '3.1'
19
+ - '3.2'
19
20
  activerecord:
20
21
  - '6.0'
21
22
  - '6.1'
22
23
  - '7.0'
23
24
  - '7.1'
24
25
  - '7.2'
26
+ - '8.0'
25
27
  exclude:
26
28
  - activerecord: '7.2'
27
29
  ruby: '2.7'
28
30
  - activerecord: '7.2'
29
31
  ruby: '3.0'
32
+ - activerecord: '8.0'
33
+ ruby: '2.7'
34
+ - activerecord: '8.0'
35
+ ruby: '3.0'
36
+ - activerecord: '8.0'
37
+ ruby: '3.1'
30
38
 
31
39
  name: Ruby ${{ matrix.ruby }} / ActiveRecord ${{ matrix.activerecord }}
32
40
  env:
data/Gemfile CHANGED
@@ -1,12 +1,24 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  gem 'rake', '>= 10.0'
4
- gem 'activerecord', ENV['AR'] ? ENV['AR'].split(",") : [">= 6.0.0", "< 8.0"]
5
- gem 'railties', ENV['AR'] ? ENV['AR'].split(",") : [">= 6.0.0", "< 8.0"]
4
+ gem 'activerecord', ENV['AR'] ? ENV['AR'].split(",") : [">= 6.0.0", "< 8.1"]
5
+ gem 'railties', ENV['AR'] ? ENV['AR'].split(",") : [">= 6.0.0", "< 8.1"]
6
6
  gem 'nokogiri', "~> 1.14"
7
7
 
8
+ def sqlite3_version
9
+ return "< 1.7" unless ENV["AR"]
10
+
11
+ ar_version = ENV['AR'].split(",").last.match(/\d+\.\d+/)[0]
12
+
13
+ case Gem::Version.new(ar_version)
14
+ # Active Record 8.x requires sqlite3 >= 2.1
15
+ when Gem::Version.new("8.0").. then ">= 2.1"
16
+ else "< 1.7"
17
+ end
18
+ end
19
+
8
20
  group :dev do
9
- gem 'sqlite3', '< 1.7'
21
+ gem 'sqlite3', sqlite3_version
10
22
  gem 'rspec', '>= 2.99.0'
11
23
  gem 'jeweler'
12
24
  end
data/README.markdown CHANGED
@@ -284,3 +284,4 @@ Contributors
284
284
  - [Sarah Ridge](https://github.com/smridge)
285
285
  - [John Bachir](https://jjb.cc)
286
286
  - [Pysis](https://github.com/Pysis868)
287
+ - [Charlton Trezevant](https://github.com/chtzvt)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 7.2.0
1
+ 8.0.0
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: standalone_migrations 7.2.0 ruby lib
5
+ # stub: standalone_migrations 8.0.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "standalone_migrations".freeze
9
- s.version = "7.2.0"
9
+ s.version = "8.0.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib".freeze]
13
13
  s.authors = ["Todd Huss".freeze, "Michael Grosser".freeze]
14
- s.date = "2024-09-13"
14
+ s.date = "2025-01-15"
15
15
  s.email = "thuss@gabrito.com".freeze
16
16
  s.extra_rdoc_files = [
17
17
  "LICENSE",
@@ -66,13 +66,13 @@ Gem::Specification.new do |s|
66
66
 
67
67
  if s.respond_to? :add_runtime_dependency then
68
68
  s.add_runtime_dependency(%q<rake>.freeze, [">= 10.0"])
69
- s.add_runtime_dependency(%q<activerecord>.freeze, [">= 6.0.0", "< 8.0"])
70
- s.add_runtime_dependency(%q<railties>.freeze, [">= 6.0.0", "< 8.0"])
69
+ s.add_runtime_dependency(%q<activerecord>.freeze, [">= 6.0.0", "< 8.1"])
70
+ s.add_runtime_dependency(%q<railties>.freeze, [">= 6.0.0", "< 8.1"])
71
71
  s.add_runtime_dependency(%q<nokogiri>.freeze, ["~> 1.14"])
72
72
  else
73
73
  s.add_dependency(%q<rake>.freeze, [">= 10.0"])
74
- s.add_dependency(%q<activerecord>.freeze, [">= 6.0.0", "< 8.0"])
75
- s.add_dependency(%q<railties>.freeze, [">= 6.0.0", "< 8.0"])
74
+ s.add_dependency(%q<activerecord>.freeze, [">= 6.0.0", "< 8.1"])
75
+ s.add_dependency(%q<railties>.freeze, [">= 6.0.0", "< 8.1"])
76
76
  s.add_dependency(%q<nokogiri>.freeze, ["~> 1.14"])
77
77
  end
78
78
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standalone_migrations
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.2.0
4
+ version: 8.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Todd Huss
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-09-13 00:00:00.000000000 Z
12
+ date: 2025-01-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: 6.0.0
35
35
  - - "<"
36
36
  - !ruby/object:Gem::Version
37
- version: '8.0'
37
+ version: '8.1'
38
38
  type: :runtime
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: 6.0.0
45
45
  - - "<"
46
46
  - !ruby/object:Gem::Version
47
- version: '8.0'
47
+ version: '8.1'
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: railties
50
50
  requirement: !ruby/object:Gem::Requirement
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 6.0.0
55
55
  - - "<"
56
56
  - !ruby/object:Gem::Version
57
- version: '8.0'
57
+ version: '8.1'
58
58
  type: :runtime
59
59
  prerelease: false
60
60
  version_requirements: !ruby/object:Gem::Requirement
@@ -64,7 +64,7 @@ dependencies:
64
64
  version: 6.0.0
65
65
  - - "<"
66
66
  - !ruby/object:Gem::Version
67
- version: '8.0'
67
+ version: '8.1'
68
68
  - !ruby/object:Gem::Dependency
69
69
  name: nokogiri
70
70
  requirement: !ruby/object:Gem::Requirement