expressir 2.4.27 → 2.4.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21251a5eb0797c8c1b07addadc48ce7713cf3b2313146c49884d13883a5a8ded
4
- data.tar.gz: 59738ed09a2b43539aad1c9a89b2758cb93dbf797eb0949b733034ddb42884ca
3
+ metadata.gz: 45dd9d5d13614ca549340d534defb9a674a5fca35a9f3b16f5ef345b73e263eb
4
+ data.tar.gz: f5a14e8e4cb49ebebe7823d9015de7296459735b3f8ea06edc3494e072b0877f
5
5
  SHA512:
6
- metadata.gz: f9661fcf32f7a645278e6370d591f9a482aee15f20f1a053a1e122271d849c1480e141dd7a0834d1efe468553aa97979da658166d6333c978263df1675777268
7
- data.tar.gz: 84f1ea10a5dc45414abe0603a6d0492d8a27826412c986d765a129d2878ef163aa5ca6f3eb65c42be5a74616a08b1fb033e6f4420c1c38821f289820bd6deaac
6
+ metadata.gz: d46d905d2f0ca978c614cba3574a398fa38809f38296930115905b9e97cf1e223e8b0882c1c7431e026dc97015579f7e820f067173da4645ede0be33a00c6842
7
+ data.tar.gz: bc103128faa28cbaafdb27a61117431c9b17d77913b4dcc038db64638b815f19be7e90c4366ca45ef378196f360445296244cd40c435997038280d776de94dd1
@@ -161,8 +161,13 @@ module Expressir
161
161
 
162
162
  repository = build_repository(all_exp_files, skip_references: skip_references)
163
163
  if set_path && !skip_references && !File.exist?(set_path) &&
164
- core_set_available? && !all_exp_files.include?(nil)
165
- write_compiled_set(set_path, files, all_exp_files, root_path)
164
+ !all_exp_files.include?(nil)
165
+ if core_set_available?
166
+ write_compiled_set(set_path, files, all_exp_files, root_path)
167
+ else
168
+ warn "expressir: compiled-set write to #{set_path} skipped: " \
169
+ "the expressir-core native extension is unavailable"
170
+ end
166
171
  end
167
172
  if set_path && !skip_references && File.exist?(set_path)
168
173
  files = all_exp_files.compact
@@ -247,7 +252,6 @@ module Expressir
247
252
  def self.core_set_available?
248
253
  Core::NATIVE_AVAILABLE && ::Expressir::Core.const_defined?(:Set, false)
249
254
  end
250
- private_class_method :core_set_available?
251
255
 
252
256
  # Concurrent core-path parse: workers compile in the background
253
257
  # while this thread hydrates, attaches remarks, and reports
@@ -3,6 +3,6 @@ module Expressir
3
3
  # autoload it (Ruby autoload only works for module/class constants, not
4
4
  # for string constants like `Expressir::VERSION`).
5
5
  module Version
6
- VERSION = "2.4.27".freeze
6
+ VERSION = "2.4.28".freeze
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: expressir
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.27
4
+ version: 2.4.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-09-29 00:00:00.000000000 Z
11
+ date: 2026-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rb_sys