xapian_db 1.3.13 → 1.3.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/xapian_db/document_blueprint.rb +1 -1
- data/lib/xapian_db/railtie.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 459c9c1af18dbeb3f1b98cd0b109b5479cc27721b6225ca2745b1748f4c1cbe3
|
4
|
+
data.tar.gz: 0fee3c89fb1116f464dda50d4676ac8ad9044351a7e5b0af9be7f18eaaf1d196
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acc76a37fffe1496bdb7eda7f2314069ac41dd2dff265625ea3219f309f0dfa8867ebba9b1c64f2b0e03c0eadec3dec8b87e6e28494771c58d0516c47719bacb
|
7
|
+
data.tar.gz: e52ec69e7e6dc2554db1ab57dd4de93d2f218aa8875b5a3f18e903cad6f6d83cd10bdd069f53f01da637380c25994de22f701221c3e4da5bcc6a7e8d794a7a46
|
data/CHANGELOG.md
CHANGED
@@ -164,7 +164,7 @@ module XapianDb
|
|
164
164
|
end
|
165
165
|
|
166
166
|
# Needed to add class helper methods to indexed pure ruby classes
|
167
|
-
if
|
167
|
+
if Object.const_defined?(klass_name) && Object.const_get(klass_name).is_a?(Class)
|
168
168
|
blueprint._adapter.add_class_helper_methods_to XapianDb::Utilities.constantize(klass_name)
|
169
169
|
end
|
170
170
|
end
|
data/lib/xapian_db/railtie.rb
CHANGED
@@ -31,9 +31,9 @@ module XapianDb
|
|
31
31
|
config_file_path = "#{Rails.root}/config/xapian_db.yml"
|
32
32
|
if File.exist?(config_file_path)
|
33
33
|
db_config = if YAML.respond_to?(:unsafe_load_file) # Psych 4.0 way
|
34
|
-
YAML.
|
34
|
+
YAML.unsafe_load(ERB.new(File.read(config_file_path)).result)
|
35
35
|
else
|
36
|
-
YAML.
|
36
|
+
YAML.safe_load(ERB.new(File.read(config_file_path)).result, aliases: true)
|
37
37
|
end
|
38
38
|
env_config = db_config[Rails.env]
|
39
39
|
env_config ? configure_from(env_config) : configure_defaults
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xapian_db
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gernot Kogler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: daemons
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.4.
|
145
|
+
version: 1.4.22
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - '='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.4.
|
152
|
+
version: 1.4.22
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: pry-rails
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -260,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
260
|
- !ruby/object:Gem::Version
|
261
261
|
version: 1.3.6
|
262
262
|
requirements: []
|
263
|
-
rubygems_version: 3.
|
263
|
+
rubygems_version: 3.4.19
|
264
264
|
signing_key:
|
265
265
|
specification_version: 4
|
266
266
|
summary: Ruby library to use a Xapian db as a key/value store with high performance
|