xapian_db 1.3.14 → 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/lib/xapian_db/railtie.rb +2 -2
- metadata +2 -2
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/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-
|
11
|
+
date: 2024-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: daemons
|