expressir 1.2.1 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.cross_rubies +3 -0
- data/.github/workflows/release.yml +1 -0
- data/.gitmodules +1 -1
- data/expressir.gemspec +2 -2
- data/ext/express-parser/express_parser.cpp +3 -1
- data/ext/express-parser/extconf.rb +2 -1
- data/lib/expressir/version.rb +1 -1
- data/rakelib/cross-ruby.rake +10 -2
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed22396a4091ea7d3a8566db42a74806abfc53fae2af66bdac4c2a0dc76080cb
|
4
|
+
data.tar.gz: 15b525668cbd513ec35e17e3ff73971923db791ecb1bab098a9d085440b8daf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2629d400d4d0892e79a3ae66693ae737b01d9234a585ee2ec40bc9be6a15c7de8c28698fefc6d9b78f65d50d730435e74fd3b4ac52b5d573a7b927931ffa4bf
|
7
|
+
data.tar.gz: 8956af3892298332b0f4c8b27ca2bbaf1132f199dc6216d7a66f35fcee3d13ad429ff514bc6fecd97acf4b11e0f07547359f335b4f3389b13014b89d83650129
|
data/.cross_rubies
CHANGED
@@ -2,17 +2,20 @@
|
|
2
2
|
3.1.0:x86_64-w64-mingw32
|
3
3
|
3.1.0:i686-linux-gnu
|
4
4
|
3.1.0:x86_64-linux-gnu
|
5
|
+
3.1.0:aarch64-linux-gnu
|
5
6
|
3.1.0:x86_64-darwin
|
6
7
|
3.1.0:arm64-darwin
|
7
8
|
3.0.0:i686-w64-mingw32
|
8
9
|
3.0.0:x86_64-w64-mingw32
|
9
10
|
3.0.0:i686-linux-gnu
|
10
11
|
3.0.0:x86_64-linux-gnu
|
12
|
+
3.0.0:aarch64-linux-gnu
|
11
13
|
3.0.0:x86_64-darwin
|
12
14
|
3.0.0:arm64-darwin
|
13
15
|
2.7.0:i686-w64-mingw32
|
14
16
|
2.7.0:x86_64-w64-mingw32
|
15
17
|
2.7.0:i686-linux-gnu
|
16
18
|
2.7.0:x86_64-linux-gnu
|
19
|
+
2.7.0:aarch64-linux-gnu
|
17
20
|
2.7.0:x86_64-darwin
|
18
21
|
2.7.0:arm64-darwin
|
data/.gitmodules
CHANGED
data/expressir.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.authors = ["Ribose Inc."]
|
9
9
|
spec.email = ["open.source@ribose.com'"]
|
10
10
|
|
11
|
-
spec.summary = "ISO EXPRESS parser
|
12
|
-
spec.description = "
|
11
|
+
spec.summary = "ISO EXPRESS parser and tools in Ruby."
|
12
|
+
spec.description = "Expressir (“EXPRESS in Ruby”) is a Ruby parser for EXPRESS and a set of Ruby tools for accessing ISO EXPRESS data models."
|
13
13
|
spec.homepage = "https://github.com/lutaml/expressir"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
@@ -25,6 +25,8 @@ using namespace std;
|
|
25
25
|
using namespace Rice;
|
26
26
|
using namespace antlr4;
|
27
27
|
|
28
|
+
Module rb_mExpressParser;
|
29
|
+
|
28
30
|
Class rb_cAttributeRefContext;
|
29
31
|
Class rb_cAttributeIdContext;
|
30
32
|
Class rb_cConstantRefContext;
|
@@ -18134,7 +18136,7 @@ Object ContextProxy::wrapParseTree(tree::ParseTree* node) {
|
|
18134
18136
|
|
18135
18137
|
extern "C"
|
18136
18138
|
void Init_express_parser() {
|
18137
|
-
|
18139
|
+
rb_mExpressParser = define_module("ExpressParser");
|
18138
18140
|
|
18139
18141
|
rb_cToken = define_class_under<Token>(rb_mExpressParser, "Token")
|
18140
18142
|
.define_method("text", &Token::getText)
|
@@ -40,7 +40,8 @@ if cross_build
|
|
40
40
|
# workaround for LoadError: 127: The specified procedure could not be found.
|
41
41
|
$DLDFLAGS << " -static -static-libgcc -static-libstdc++"
|
42
42
|
elsif RbConfig::CONFIG['target_os'] =~ /darwin/
|
43
|
-
$CXXFLAGS << " -mmacosx-version-min=10.14 -Wno-register"
|
43
|
+
$CXXFLAGS << " -mmacosx-version-min=10.14 -Wno-register -fno-c++-static-destructors"
|
44
|
+
$DLDFLAGS << " -mmacosx-version-min=10.14"
|
44
45
|
end
|
45
46
|
else
|
46
47
|
require 'mkmf-rice'
|
data/lib/expressir/version.rb
CHANGED
data/rakelib/cross-ruby.rake
CHANGED
@@ -44,6 +44,8 @@ CrossRuby = Struct.new(:version, :host) do
|
|
44
44
|
"x86-mingw32"
|
45
45
|
when /\Ax86_64.*linux/
|
46
46
|
"x86_64-linux"
|
47
|
+
when /\A(arm64|aarch64).*linux/
|
48
|
+
"aarch64-linux"
|
47
49
|
when /\Ai[3-6]86.*linux/
|
48
50
|
"x86-linux"
|
49
51
|
when /\Ax86_64-darwin/
|
@@ -63,6 +65,8 @@ CrossRuby = Struct.new(:version, :host) do
|
|
63
65
|
"i686-w64-mingw32-"
|
64
66
|
when "x86_64-linux"
|
65
67
|
"x86_64-redhat-linux-"
|
68
|
+
when "aarch64-linux"
|
69
|
+
"aarch64-redhat-linux-"
|
66
70
|
when "x86-linux"
|
67
71
|
"i686-redhat-linux-"
|
68
72
|
when /x86_64.*darwin/
|
@@ -82,6 +86,8 @@ CrossRuby = Struct.new(:version, :host) do
|
|
82
86
|
"pei-i386"
|
83
87
|
when "x86_64-linux"
|
84
88
|
"elf64-x86-64"
|
89
|
+
when "aarch64-linux"
|
90
|
+
"elf64-arm64"
|
85
91
|
when "x86-linux"
|
86
92
|
"elf32-i386"
|
87
93
|
when "x86_64-darwin"
|
@@ -245,12 +251,14 @@ def gem_builder(plat)
|
|
245
251
|
end
|
246
252
|
|
247
253
|
namespace "gem" do
|
254
|
+
REDHAT_PREREQ = "sudo yum install -y git"
|
255
|
+
UBUNTU_PREREQ = "sudo apt-get update -y && sudo apt-get install -y automake autoconf libtool build-essential"
|
248
256
|
CROSS_RUBIES.find_all { |cr| cr.windows? || cr.linux? || cr.darwin? }.map(&:platform).uniq.each do |plat|
|
249
257
|
pre_req = case plat
|
250
258
|
when /\linux/
|
251
|
-
"
|
259
|
+
"if [[ $(awk -F= '/^NAME/{print $2}' /etc/os-release) == '\"Ubuntu\"' ]]; then #{UBUNTU_PREREQ}; else #{REDHAT_PREREQ}; fi"
|
252
260
|
else
|
253
|
-
"
|
261
|
+
"#{UBUNTU_PREREQ}"
|
254
262
|
end
|
255
263
|
desc "build native gem for #{plat} platform"
|
256
264
|
task plat do
|
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: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -192,7 +192,8 @@ dependencies:
|
|
192
192
|
- - "~>"
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: 1.7.0
|
195
|
-
description:
|
195
|
+
description: Expressir (“EXPRESS in Ruby”) is a Ruby parser for EXPRESS and a set
|
196
|
+
of Ruby tools for accessing ISO EXPRESS data models.
|
196
197
|
email:
|
197
198
|
- open.source@ribose.com'
|
198
199
|
executables:
|
@@ -742,8 +743,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
742
743
|
- !ruby/object:Gem::Version
|
743
744
|
version: '0'
|
744
745
|
requirements: []
|
745
|
-
rubygems_version: 3.2.
|
746
|
+
rubygems_version: 3.2.33
|
746
747
|
signing_key:
|
747
748
|
specification_version: 4
|
748
|
-
summary: ISO EXPRESS parser
|
749
|
+
summary: ISO EXPRESS parser and tools in Ruby.
|
749
750
|
test_files: []
|