expressir 1.2.10 → 1.2.11

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: b79076aac36b78a7fe98813df3e823d415f3187d764f37f127788a11b09c0d9d
4
- data.tar.gz: 3377cce3900cfba2b64706fdcd360f5d4b293858fb1ed6032db735dd87437837
3
+ metadata.gz: 8ec7a9f11da507f5309eb8c64ea54d894f0447d4958d3446ab7ddfd95298a868
4
+ data.tar.gz: bd9a4fe4c09e1d0ff10a425c6d44cc4f1536119ac63757d83012f960866bd556
5
5
  SHA512:
6
- metadata.gz: 2b893ab3be2df432d3e6b7a83faf09e64b30f2b289af52f92b1096a333b28d2ac57be7c58623b72a3640fd7e98238260b8f6c8a88cb89eea20e9272fbd56d9d0
7
- data.tar.gz: a461bc5dde0e042c419b2c1e126695ccf759a4b969c2f2a57c3c01e09d2cfdb3249db2973cc4d63c0c4c3911be9b9c1170ee198fa06ea5062225eebd30730eae
6
+ metadata.gz: 378b57f44c9ef0ba4ceeb7db3ba6cf097648bf3f96d421761eb2e055667937b4be16438f3e312872ca3d709a99fab8d127a09a486d23f0f9a68abe7843951914
7
+ data.tar.gz: ebbb6e72bbe206ca3dc577a7b884a9edf8a55d1bcfc0639c1dcf22248e6977a9dde6ab33370c624cba1dfe319ae0d9915b509732b04f4480ea92ae209328242b
@@ -69,7 +69,7 @@ jobs:
69
69
  id: cache
70
70
  with:
71
71
  path: lib/expressir/express/express_parser.*
72
- key: v4-${{ runner.os }}-${{ matrix.ruby }}-${{ hashFiles('ext/express-parser/extconf.rb', 'ext/express-parser/antlrgen/**', 'ext/express-parser/express_parser.cpp', '.git/modules/ext/express-parser/antlr4-upstream/HEAD') }}
72
+ key: v4-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('ext/express-parser/extconf.rb', 'ext/express-parser/antlrgen/**', 'ext/express-parser/express_parser.cpp', '.git/modules/ext/express-parser/antlr4-upstream/HEAD') }}
73
73
 
74
74
  - name: Build native extension
75
75
  if: steps.cache.outputs.cache-hit != 'true'
data/expressir.gemspec CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
 
31
31
  spec.extensions = File.join(*%w(ext express-parser extconf.rb))
32
32
 
33
- spec.add_runtime_dependency "rice", "~> 4.0.3"
33
+ spec.add_runtime_dependency "rice", "~> 4.1"
34
34
  spec.add_runtime_dependency "thor", "~> 1.0"
35
35
  spec.add_development_dependency "antlr4-native", "~> 2.1.0"
36
36
  spec.add_development_dependency "asciidoctor", "~> 2.0.13"
@@ -18136,7 +18136,7 @@ Object ContextProxy::wrapParseTree(tree::ParseTree* node) {
18136
18136
 
18137
18137
  class ParserProxyExt : public Object {
18138
18138
  public:
18139
- ParserProxyExt(Object self, string file) {
18139
+ ParserProxyExt(string file) {
18140
18140
  ifstream stream;
18141
18141
  stream.open(file);
18142
18142
  input = new ANTLRInputStream(stream);
@@ -18427,7 +18427,7 @@ void Init_express_parser() {
18427
18427
  .define_method("token_index", &TokenProxy::getTokenIndex);
18428
18428
 
18429
18429
  rb_cParserExt = define_class_under<ParserProxyExt>(rb_mExpressParser, "ParserExt")
18430
- .define_constructor(Constructor<ParserProxyExt, Object, string>())
18430
+ .define_constructor(Constructor<ParserProxyExt, string>())
18431
18431
  .define_method("syntax", &ParserProxyExt::syntax, Return().keepAlive())
18432
18432
  .define_method("tokens", &ParserProxyExt::getTokens)
18433
18433
  .define_method("visit", &ParserProxyExt::visit, Return().keepAlive());
@@ -41,8 +41,8 @@ if cross_build
41
41
  # workaround for LoadError: 127: The specified procedure could not be found.
42
42
  $DLDFLAGS << " -static-libgcc -static-libstdc++"
43
43
  when /darwin/
44
- $CXXFLAGS << " -mmacosx-version-min=10.14 -fno-c++-static-destructors"
45
- $DLDFLAGS << " -mmacosx-version-min=10.14"
44
+ $CXXFLAGS << " -mmacosx-version-min=10.15 -fno-c++-static-destructors"
45
+ $DLDFLAGS << " -mmacosx-version-min=10.15"
46
46
  end
47
47
  else
48
48
  require "mkmf-rice"
@@ -1,3 +1,3 @@
1
1
  module Expressir
2
- VERSION = "1.2.10".freeze
2
+ VERSION = "1.2.11".freeze
3
3
  end
@@ -48,7 +48,7 @@ def create_pp_class_definition(parser_source_lines)
48
48
 
49
49
  class ParserProxyExt : public Object {
50
50
  public:
51
- ParserProxyExt(Object self, string file) {
51
+ ParserProxyExt(string file) {
52
52
  ifstream stream;
53
53
  stream.open(file);
54
54
  input = new ANTLRInputStream(stream);
@@ -115,7 +115,7 @@ def create_class_api(parser_source_lines)
115
115
  .define_method("token_index", &TokenProxy::getTokenIndex);
116
116
 
117
117
  rb_cParserExt = define_class_under<ParserProxyExt>(rb_mExpressParser, "ParserExt")
118
- .define_constructor(Constructor<ParserProxyExt, Object, string>())
118
+ .define_constructor(Constructor<ParserProxyExt, string>())
119
119
  .define_method("syntax", &ParserProxyExt::syntax, Return().keepAlive())
120
120
  .define_method("tokens", &ParserProxyExt::getTokens)
121
121
  .define_method("visit", &ParserProxyExt::visit, Return().keepAlive());
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.10
4
+ version: 1.2.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-12-11 00:00:00.000000000 Z
11
+ date: 2023-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rice
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 4.0.3
19
+ version: '4.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 4.0.3
26
+ version: '4.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: thor
29
29
  requirement: !ruby/object:Gem::Requirement