expressir 2.4.25 → 2.4.26
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 +4 -4
- data/Gemfile +1 -1
- data/Rakefile +19 -6
- data/expressir.gemspec +1 -1
- data/ext/expressir_core/extconf.rb +6 -6
- data/lib/expressir/version.rb +1 -1
- data/lib/tasks/verify_remarks.rake +9 -2
- data/rakelib/native.rake +8 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 51179b5984b4c7c9f6f02e1b306c31e8f9b1b7ec420f7923b4b96957601244a1
|
|
4
|
+
data.tar.gz: 15b0e981214636104b47fa472f69736612f192907783adf894160b1517288f03
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 44a3da19b7db2986d8b841641366254f1b365e09803d881a753ab946562dddf75513a8107dff8201bc457848535726d47ebc85f32faa37a70841f048803f5c5d
|
|
7
|
+
data.tar.gz: 8da0ff1bdc5742383defcae54413bb201faed4b26a8a9c7c50c5aa194a02b1d5fb6ae8e8015aa51a4090bcb4347ff6978aad4aacd1951f86d358357d5e2b4398
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
|
@@ -1,19 +1,32 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require "bundler/gem_tasks"
|
|
4
|
-
require "rspec/core/rake_task"
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
# Dev-tool tasks are optional: the rake-compiler-dock bundle carries
|
|
6
|
+
# production dependencies only, and cross-gem builds must still load
|
|
7
|
+
# the Rakefile.
|
|
8
|
+
begin
|
|
9
|
+
require "rspec/core/rake_task"
|
|
7
10
|
|
|
8
|
-
|
|
11
|
+
RSpec::Core::RakeTask.new(:spec)
|
|
12
|
+
rescue LoadError
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
begin
|
|
16
|
+
require "rubocop/rake_task"
|
|
9
17
|
|
|
10
|
-
RuboCop::RakeTask.new
|
|
18
|
+
RuboCop::RakeTask.new
|
|
19
|
+
rescue LoadError
|
|
20
|
+
end
|
|
11
21
|
|
|
12
22
|
task default: %i[spec rubocop]
|
|
13
23
|
|
|
14
|
-
|
|
24
|
+
begin
|
|
25
|
+
require "yard"
|
|
15
26
|
|
|
16
|
-
YARD::Rake::YardocTask.new
|
|
27
|
+
YARD::Rake::YardocTask.new
|
|
28
|
+
rescue LoadError
|
|
29
|
+
end
|
|
17
30
|
|
|
18
31
|
Dir.glob(File.expand_path("lib/tasks/*.rake", __dir__)).each { |task| load task }
|
|
19
32
|
|
data/expressir.gemspec
CHANGED
|
@@ -42,7 +42,7 @@ Gem::Specification.new do |spec|
|
|
|
42
42
|
spec.add_dependency "benchmark-ips"
|
|
43
43
|
spec.add_dependency "csv"
|
|
44
44
|
spec.add_dependency "liquid"
|
|
45
|
-
spec.add_dependency "lutaml-model", "~> 0.8.
|
|
45
|
+
spec.add_dependency "lutaml-model", "~> 0.8.76"
|
|
46
46
|
spec.add_dependency "moxml"
|
|
47
47
|
spec.add_dependency "nokogiri"
|
|
48
48
|
spec.add_dependency "paint"
|
|
@@ -21,13 +21,13 @@ if RUBY_ENGINE != "ruby" || ENV["EXPRESSIR_CORE"] == "0"
|
|
|
21
21
|
exit 0
|
|
22
22
|
end
|
|
23
23
|
|
|
24
|
-
# Windows rubies are mingw-built while rustup defaults to the msvc
|
|
25
|
-
# toolchain; rb-sys cannot bridge the two, so skip there too (windows
|
|
26
|
-
# installs fall back to the pure-Ruby parser).
|
|
27
24
|
# Local mingw rubies pair with an msvc-default cargo and cannot build;
|
|
28
|
-
# cross-
|
|
29
|
-
#
|
|
30
|
-
|
|
25
|
+
# cross-build environments (rake-compiler sets RUBY_CC_VERSION there —
|
|
26
|
+
# extconf runs under the cross mingw ruby) carry the coherent gnu
|
|
27
|
+
# toolchain and MUST build: the prebuilt platform gems come from them.
|
|
28
|
+
# EXPRESSIR_CORE_FORCE=1 remains the manual override.
|
|
29
|
+
if RUBY_PLATFORM.include?("mingw") && ENV["EXPRESSIR_CORE_FORCE"] != "1" &&
|
|
30
|
+
!ENV.key?("RUBY_CC_VERSION")
|
|
31
31
|
write_noop_makefile
|
|
32
32
|
warn "expressir: skipping the Rust core extension on mingw (msvc " \
|
|
33
33
|
"toolchain mismatch)"
|
data/lib/expressir/version.rb
CHANGED
|
@@ -4,6 +4,13 @@
|
|
|
4
4
|
# production-scale checks (`:production_scale` tag; see spec_helper's
|
|
5
5
|
# filter), which the default suite excludes: they parse a full-size
|
|
6
6
|
# schema and cost about a minute.
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
#
|
|
8
|
+
# Guarded: rake-compiler-dock's bundle carries production dependencies
|
|
9
|
+
# only, and cross-gem rake invocations must still load the task files.
|
|
10
|
+
if defined?(RSpec)
|
|
11
|
+
RSpec::Core::RakeTask.new(:"verify:remarks") do |task|
|
|
12
|
+
task.rspec_opts = "--tag production_scale"
|
|
13
|
+
end
|
|
14
|
+
else
|
|
15
|
+
warn "verify_remarks: rspec not available — task not defined"
|
|
9
16
|
end
|
data/rakelib/native.rake
CHANGED
|
@@ -35,8 +35,14 @@ begin
|
|
|
35
35
|
"ext/expressir_core/target/#{triple}/release/libexpressir_core.{so,dylib}"].first
|
|
36
36
|
raise "binding artifact not found for #{plat} (#{triple})" unless art
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
# core.rb requires "expressir/expressir_core", so the staged file
|
|
39
|
+
# must sit at the canonical Ruby extension path/name — cargo's
|
|
40
|
+
# lib- prefixed or .dll/.dylib-suffixed names are renamed to
|
|
41
|
+
# expressir_core.so (Ruby's require accepts .so on every target:
|
|
42
|
+
# DLEXT on linux/windows, DLEXT2 on darwin).
|
|
43
|
+
dest = "lib/expressir/expressir_core.so"
|
|
44
|
+
cp art, dest
|
|
45
|
+
spec.files << dest
|
|
40
46
|
end
|
|
41
47
|
end
|
|
42
48
|
rescue LoadError
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: expressir
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.4.
|
|
4
|
+
version: 2.4.26
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
@@ -100,14 +100,14 @@ dependencies:
|
|
|
100
100
|
requirements:
|
|
101
101
|
- - "~>"
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: 0.8.
|
|
103
|
+
version: 0.8.76
|
|
104
104
|
type: :runtime
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
108
|
- - "~>"
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: 0.8.
|
|
110
|
+
version: 0.8.76
|
|
111
111
|
- !ruby/object:Gem::Dependency
|
|
112
112
|
name: moxml
|
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|