activerecord-nulldb-adapter 1.2.1 → 1.2.2

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: d96aa93ee94ff8e5066079bc5a1109013411dae9daa1e9b4ad3006c376cde011
4
- data.tar.gz: 95f8ba73a83564f08990b90e21caa482dc486f9435092c91eff452b6a376c663
3
+ metadata.gz: 362c222232d5331728d98e021e3c50edfa6c894dbd426c961e1ab2dcc4c446f9
4
+ data.tar.gz: a76583e24059ad2afc217763f88de1ee045927e5cece249248aa6dcfc4a52909
5
5
  SHA512:
6
- metadata.gz: 8a69a0503e3b4b5a2fc57359c76f7227f22663575af4cb3c786da9a0cea42164b91f5009307733e2aacf420bf32e2be105c9f9ed12bfd06c8fd1604de247c6f7
7
- data.tar.gz: c6ac3b7d961fc2cb68279201987cbeb9143d79bdc66a62984f1df97fa4cf04f295c136192e3d0c4ccd7e8da91784cd884438b11aad5001f9fade65294fb61444
6
+ metadata.gz: 0730a4c5844c907419096363525915ff2dc329a6f26c7d8af0a47d970fee34e090b5f75a079dc4029f4c36da8192e5ea49dff709b0cbd90a9db62c51d67be1f7
7
+ data.tar.gz: c82b23c72c7c361ae3eb8f375033f6bcc07350f684d2414cc2d1925d75079c3d2babd76ef2e7522903aafcf72d3f52ab1c201ec4497ea69c75bd134c85d427de
@@ -8,52 +8,26 @@ jobs:
8
8
  gemfile:
9
9
  [
10
10
  activerecord_6.1,
11
- activerecord_7.0,
12
- activerecord_7.1,
13
11
  activerecord_7.2,
14
- activerecord_8.0,
15
12
  activerecord_8.1,
16
13
  activerecord_master,
17
14
  ]
18
- ruby: ["2.7", "3.0", "3.1", "3.2", "3.3", "3.4", "jruby-9.4", "jruby-10"]
15
+ ruby: ["3.3", "3.4", "jruby-9.4", "jruby-10"]
19
16
  exclude:
20
17
  - ruby: "3.4"
21
18
  gemfile: "activerecord_6.1"
22
19
  - ruby: "3.4"
23
20
  gemfile: "activerecord_7.0"
24
- - ruby: "jruby-9.4"
25
- gemfile: "activerecord_7.1"
26
21
  - ruby: "3.4"
27
22
  gemfile: "activerecord_7.1"
28
- - ruby: "2.7"
29
- gemfile: "activerecord_7.2"
30
- - ruby: "3.0"
31
- gemfile: "activerecord_7.2"
32
23
  - ruby: "jruby-9.4"
33
- gemfile: "activerecord_8.0"
34
- - ruby: "2.7"
35
- gemfile: "activerecord_8.0"
36
- - ruby: "3.0"
37
- gemfile: "activerecord_8.0"
38
- - ruby: "3.1"
24
+ gemfile: "activerecord_7.1"
25
+ - ruby: "jruby-9.4"
39
26
  gemfile: "activerecord_8.0"
40
27
  - ruby: "jruby-9.4"
41
28
  gemfile: "activerecord_8.1"
42
- - ruby: "2.7"
43
- gemfile: "activerecord_8.1"
44
- - ruby: "3.0"
45
- gemfile: "activerecord_8.1"
46
- - ruby: "3.1"
47
- gemfile: "activerecord_8.1"
48
29
  - ruby: "jruby-9.4"
49
30
  gemfile: "activerecord_master"
50
- - ruby: "2.7"
51
- gemfile: "activerecord_master"
52
- - ruby: "3.0"
53
- gemfile: "activerecord_master"
54
- - ruby: "3.1"
55
- gemfile: "activerecord_master"
56
-
57
31
  runs-on: ubuntu-latest
58
32
  env:
59
33
  BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
data/CHANGES.md CHANGED
@@ -1,6 +1,10 @@
1
1
  Unreleased
2
2
  ----------
3
3
 
4
+ 1.2.2 (2025-12-02)
5
+
6
+ - Add `timestamptz`, `tstzrange`, `create_schema` #144
7
+
4
8
  1.2.1 (2025-12-02)
5
9
 
6
10
  - Add `exclusion_constraint` #142
@@ -64,6 +64,10 @@ class ActiveRecord::ConnectionAdapters::NullDBAdapter < ActiveRecord::Connection
64
64
  true
65
65
  end
66
66
 
67
+ def create_schema(*args)
68
+ # NOOP
69
+ end
70
+
67
71
  def create_table(table_name, options = {})
68
72
  table_definition = new_table_definition(self, table_name, options.delete(:temporary), options)
69
73
 
@@ -10,6 +10,8 @@ class ActiveRecord::ConnectionAdapters::NullDBAdapter
10
10
  alias_method :serial, :integer
11
11
  alias_method :bigserial, :integer
12
12
  alias_method :inet, :string
13
+ alias_method :timestamptz, :string
14
+ alias_method :tstzrange, :string
13
15
  alias_method :jsonb, :json if method_defined? :json
14
16
  alias_method :hstore, :json
15
17
 
@@ -1,3 +1,3 @@
1
1
  module NullDB
2
- VERSION = "1.2.1"
2
+ VERSION = "1.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-nulldb-adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Avdi Grimm