pg_ltree 1.2.0 → 1.2.1

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: 10ef65e0c0c08d2f3670fb0c688eae0e549d40feded3b2c9e63db1109d50b6e2
4
- data.tar.gz: c50d76b1d9157dca93b1f49748718300f066b5799672d655aacda68917f48891
3
+ metadata.gz: 3d8c4f4847b427a162fe71f52c16679988a238e3aa46aeab3a434b33ca283c36
4
+ data.tar.gz: e5c1f6888f28d81946b669fe89909f0782795f8f5a103ba5bb631b49e1916efc
5
5
  SHA512:
6
- metadata.gz: 6e6742bfcefacebf4124b782c96b1f4b4ada81da57f41f25ebb2dd2eaed7f5f15b32011fc1f8facda0e5648b6b279b604786216ddd1baf6254bec53be6c1ff5b
7
- data.tar.gz: 62739b19de39ea1df10d1cd62ea48b981d103b2b54b149ab06f918157637f07f798a9a247811ab4e68b884bee2c85b1e1d15089fce30ec213e69a61bda74cfef
6
+ metadata.gz: 202fe4cf0e53dd5b913a5fc1f1e8f263b4e82aec77de9bfb0907a94bd7bb93faef52cb352ef8ae3560e3e8baf6714dc488db2156365652bb57e4643049ea4cf5
7
+ data.tar.gz: df3b6dd34d6aa13d228fde6523d1b06ad0eb02b092c47b754374b06143be48f234290ee1eeb01617e90a107c446742fece71213a64f32aec1a5343d2911a0c5c
data/lib/pg_ltree/base.rb CHANGED
@@ -28,6 +28,10 @@ module PgLtree
28
28
  send(:include, PgLtree::Callbacks)
29
29
  end
30
30
 
31
+ def ltree_options
32
+ @ltree_options || superclass.ltree_options
33
+ end
34
+
31
35
  def ltree_option_for(key)
32
36
  ltree_options[key]
33
37
  end
@@ -1,3 +1,3 @@
1
1
  module PgLtree
2
- VERSION = "1.2.0".freeze
2
+ VERSION = "1.2.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg_ltree
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Panamarenka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-11 00:00:00.000000000 Z
11
+ date: 2022-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  - !ruby/object:Gem::Version
196
196
  version: '0'
197
197
  requirements: []
198
- rubygems_version: 3.1.6
198
+ rubygems_version: 3.0.9
199
199
  signing_key:
200
200
  specification_version: 4
201
201
  summary: Organize ActiveRecord model into a tree structure using PostgreSQL LTree