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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a29f75d11adde6b1e29a279ca708947892348e8cec46d5713a830c71c02b5885
4
- data.tar.gz: 4d466f487f8c9df855d6a3ba49a28201e7aad91ff9efec6c8aa7a827dd25e616
3
+ metadata.gz: 459c9c1af18dbeb3f1b98cd0b109b5479cc27721b6225ca2745b1748f4c1cbe3
4
+ data.tar.gz: 0fee3c89fb1116f464dda50d4676ac8ad9044351a7e5b0af9be7f18eaaf1d196
5
5
  SHA512:
6
- metadata.gz: a3ef99e32b11ea43b1d5147036ad9e52a9fa513a4298d3800f24534837d4cf8c3e7a950fb6cd90f7abd81e3837901926fbf9ec0d2a66afdcf5b1ba11cd29a143
7
- data.tar.gz: 30afda34bf9dfbcbf8d8f3838c8dd6971cacc19f8846ee5ec22a4fcdb70bb275e374e7e6f3c847e138cb30cc269b1b53289ba4737bc514b679305133415d230c
6
+ metadata.gz: acc76a37fffe1496bdb7eda7f2314069ac41dd2dff265625ea3219f309f0dfa8867ebba9b1c64f2b0e03c0eadec3dec8b87e6e28494771c58d0516c47719bacb
7
+ data.tar.gz: e52ec69e7e6dc2554db1ab57dd4de93d2f218aa8875b5a3f18e903cad6f6d83cd10bdd069f53f01da637380c25994de22f701221c3e4da5bcc6a7e8d794a7a46
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 1.3.14 (November 11th, 2024)
2
+
3
+ Changes:
4
+
5
+ - maintenance
6
+
1
7
  ## 1.3.13 (August 26th, 2024)
2
8
 
3
9
  Changes:
@@ -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 eval("defined?(#{klass_name}) && #{klass_name}.is_a?(Class)")
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
@@ -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.unsafe_load_file(config_file_path)
34
+ YAML.unsafe_load(ERB.new(File.read(config_file_path)).result)
35
35
  else
36
- YAML.load_file(config_file_path)
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.13
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-08-26 00:00:00.000000000 Z
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.17
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.17
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.3.14
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