fx 0.11.0 → 0.12.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
2
  SHA256:
3
- metadata.gz: a1b25361cfa43280f81e493a4eb518864862dad321878048282ce8f9daad6e1a
4
- data.tar.gz: ce20ce6b1bb9031b420e78b83ecf23416d50ca44668cf15e0951142e32a0c75e
3
+ metadata.gz: e55ba81a671beb4b89a67e2421ac1c93100cab371b32ebbb308a588db0df7f2a
4
+ data.tar.gz: 8ff2a5d68f921822dee6c797f80722cc202aadc34d00de55e8754500cc498299
5
5
  SHA512:
6
- metadata.gz: 2e8d5db85fb283586a9d713cdffb6fc50604e85498eeb2c16ac8f63708fabe01a29e03b4157b32f84fe061d4bedb996f4e44db90f5d53d2b655c730352c7c101
7
- data.tar.gz: 70e6670c67e267f383fa7ed3001350fa3c6548d4bf6183625ee10bf1a5c53cfa5c87cbd9bf231b196524f206d96bf638ba16f6b9020f20803f4ae85685fbf44a
6
+ metadata.gz: 75051bba3585dbbaa3077e3b81ff39f2e403bbb71bae02407f59be10b072b1b15c1b715c56d7fda28a1d891acb275cacfe38540a83c924aaf64a21c18a4a46aa
7
+ data.tar.gz: cba9c7339f05f35de4fc81ae0ceeed2b7b849814468159641889d39cf9e1b706bb3979b4980929f2385c2fb688ca4dfb1e9bda754f0fa0d8fc18211b52749f91
@@ -15,8 +15,8 @@ jobs:
15
15
  fail-fast: false
16
16
  matrix:
17
17
  ruby: ["3.3", "4.0"]
18
- rails: ["7.2", "8.1"]
19
- postgres: ["14", "18"]
18
+ rails: ["8.1"]
19
+ postgres: ["15", "18"]
20
20
  include:
21
21
  - ruby: "4.0"
22
22
  rails: "main"
@@ -59,3 +59,12 @@ jobs:
59
59
 
60
60
  - name: Run tests
61
61
  run: bundle exec rake
62
+
63
+ ci:
64
+ name: CI
65
+ needs: [tests]
66
+ runs-on: ubuntu-latest
67
+ if: always()
68
+ steps:
69
+ - run: |
70
+ [[ "${{ needs.tests.result }}" == "success" ]] || exit 1
data/CHANGELOG.md CHANGED
@@ -5,6 +5,15 @@ changelog, see the [commits] for each version via the version links.
5
5
 
6
6
  [commits]: https://github.com/teoljungberg/fx/commits/master
7
7
 
8
+ ## [0.12.0]
9
+
10
+ [0.12.0]: https://github.com/teoljungberg/fx/compare/v0.11.0...v0.12.0
11
+
12
+ - Drop EOL Rails 7.2 and 8.0 (#216)
13
+ - Drop EOL PostgreSQL 14
14
+ - Internal refactorings / improvements
15
+ - Add CI summary job for branch protection (#215)
16
+
8
17
  ## [0.11.0]
9
18
 
10
19
  [0.11.0]: https://github.com/teoljungberg/fx/compare/v0.10.2...v0.11.0
data/README.md CHANGED
@@ -149,9 +149,9 @@ versions within their official maintenance windows.
149
149
 
150
150
  **Ruby:** 3.3+ ([maintenance branches])
151
151
 
152
- **Rails:** 7.2, 8.0, 8.1 ([maintenance policy])
152
+ **Rails:** 8.1 ([maintenance policy])
153
153
 
154
- **PostgreSQL:** 14, 15, 16, 17, 18 ([versioning policy])
154
+ **PostgreSQL:** 15, 16, 17, 18 ([versioning policy])
155
155
 
156
156
  When a version reaches end-of-life, support will be dropped in the next minor
157
157
  release of F(x). Older versions may continue to work but are not tested or
data/fx.gemspec CHANGED
@@ -24,8 +24,8 @@ Gem::Specification.new do |spec|
24
24
  spec.files = `git ls-files -z`.split("\x0")
25
25
  spec.require_paths = ["lib"]
26
26
 
27
- spec.add_dependency "activerecord", ">= 7.2"
28
- spec.add_dependency "railties", ">= 7.2"
27
+ spec.add_dependency "activerecord", ">= 8.1"
28
+ spec.add_dependency "railties", ">= 8.1"
29
29
 
30
30
  spec.required_ruby_version = ">= 3.3"
31
31
  end
data/lib/fx/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Fx
2
2
  # @api private
3
- VERSION = "0.11.0"
3
+ VERSION = "0.12.0"
4
4
  end
@@ -12,6 +12,6 @@ module Dummy
12
12
  config.eager_load = false
13
13
  config.active_support.deprecation = :stderr
14
14
 
15
- config.load_defaults 7.2
15
+ config.load_defaults 8.1
16
16
  end
17
17
  end
@@ -232,10 +232,6 @@ RSpec.describe Fx::SchemaDumper, :db do
232
232
  end
233
233
 
234
234
  def dump(connection:, stream:)
235
- if Rails.version >= "7.2"
236
- ActiveRecord::SchemaDumper.dump(connection.pool, stream)
237
- else
238
- ActiveRecord::SchemaDumper.dump(connection, stream)
239
- end
235
+ ActiveRecord::SchemaDumper.dump(connection.pool, stream)
240
236
  end
241
237
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Teo Ljungberg
@@ -15,28 +15,28 @@ dependencies:
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: '7.2'
18
+ version: '8.1'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - ">="
24
24
  - !ruby/object:Gem::Version
25
- version: '7.2'
25
+ version: '8.1'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: railties
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: '7.2'
32
+ version: '8.1'
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '7.2'
39
+ version: '8.1'
40
40
  description: |
41
41
  Adds methods to ActiveRecord::Migration to create and manage database functions
42
42
  and triggers in Rails
@@ -139,7 +139,7 @@ licenses:
139
139
  - MIT
140
140
  metadata:
141
141
  bug_tracker_uri: https://github.com/teoljungberg/fx/issues
142
- changelog_uri: https://github.com/teoljungberg/fx/blob/v0.11.0/CHANGELOG.md
142
+ changelog_uri: https://github.com/teoljungberg/fx/blob/v0.12.0/CHANGELOG.md
143
143
  homepage_uri: https://github.com/teoljungberg/fx
144
144
  source_code_uri: https://github.com/teoljungberg/fx
145
145
  rdoc_options: []