pg_ltree 1.2.0 → 1.2.2

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: 3fc753393675a6420b4d3cadf359ee0e45581f57ff6995f936c61318870ec0d7
4
+ data.tar.gz: 17202d5ea4257c93ef4e23e312cb746918c824a2526ca999d575155b83e91131
5
5
  SHA512:
6
- metadata.gz: 6e6742bfcefacebf4124b782c96b1f4b4ada81da57f41f25ebb2dd2eaed7f5f15b32011fc1f8facda0e5648b6b279b604786216ddd1baf6254bec53be6c1ff5b
7
- data.tar.gz: 62739b19de39ea1df10d1cd62ea48b981d103b2b54b149ab06f918157637f07f798a9a247811ab4e68b884bee2c85b1e1d15089fce30ec213e69a61bda74cfef
6
+ metadata.gz: 9d837030edb4dc67a86e6d6c1f0e00b5427e47b168271a8dbba4a2757e67e760baba76f4330166c6c2192ff5835f4443f3e3b68db4a13f4034ab6f59b38d94a8
7
+ data.tar.gz: 27a230060b03672493973c882fd99999ace128a9d564058b9ed51c793aefdf4a8ac324d12c3f96c37376d3e89da2d5a4107482080db474f571f84628c509e205
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.2".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.2
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: 2024-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '5.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '8.0'
22
+ version: '9.0'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '5.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '8.0'
32
+ version: '9.0'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: pg
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -126,14 +126,14 @@ dependencies:
126
126
  requirements:
127
127
  - - "~>"
128
128
  - !ruby/object:Gem::Version
129
- version: '2.4'
129
+ version: '2.5'
130
130
  type: :development
131
131
  prerelease: false
132
132
  version_requirements: !ruby/object:Gem::Requirement
133
133
  requirements:
134
134
  - - "~>"
135
135
  - !ruby/object:Gem::Version
136
- version: '2.4'
136
+ version: '2.5'
137
137
  - !ruby/object:Gem::Dependency
138
138
  name: rspec
139
139
  requirement: !ruby/object:Gem::Requirement
@@ -188,14 +188,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
188
188
  requirements:
189
189
  - - ">="
190
190
  - !ruby/object:Gem::Version
191
- version: 2.0.0
191
+ version: 2.7.0
192
192
  required_rubygems_version: !ruby/object:Gem::Requirement
193
193
  requirements:
194
194
  - - ">="
195
195
  - !ruby/object:Gem::Version
196
196
  version: '0'
197
197
  requirements: []
198
- rubygems_version: 3.1.6
198
+ rubygems_version: 3.5.17
199
199
  signing_key:
200
200
  specification_version: 4
201
201
  summary: Organize ActiveRecord model into a tree structure using PostgreSQL LTree