expressir 2.1.1 → 2.1.3

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: 2ae2589e65c9c989edbabf98e4052772fd7abae7c221d00a091983e7f5525ef3
4
- data.tar.gz: d5b2682aacd2aa4bed76747876c2c8b2d4d1aed0e3f4bcc59b518404e9deae30
3
+ metadata.gz: 8748267e0eee4976d8920a39894eb6ecc70439b0c3b54acd224ec2b5511a8726
4
+ data.tar.gz: 06f7292f40061e983550ce9761585fe13dc33f2fa3aacda52f9310b6bd2e964c
5
5
  SHA512:
6
- metadata.gz: b28fcd1ecee58b9eb7b750731fa28d86866d77c18afdc8b5d3e4857d9816b5c3f92ec6bd38175519526c0add26973d31dbb664a332459f8fcaf5be4938beeffd
7
- data.tar.gz: 66633c6a8ab3bfa54d6934b53de31b9c9b040e200ad5537ec806160ccc26ad7c7e9ad9a60c84a27836b944ff96a724bd807a21f139394080e193bf71422402d9
6
+ metadata.gz: b714aac2b8a1ddf5561e45998d06a99b11dec2b45c0403984b4c4c4e245d4d8d39b4166e590d9a0d9e098da41ed6a13525386bc13bea9334e5fbce7295518d74
7
+ data.tar.gz: cef3bcbdf1329cd2a9c2f2aaba1c79f1038af1ffb62c8ee97efdf652dc1162aea3152e9348cc3d8c3472c333aeda93d1e438c097b368091cb3f34bdeaf5e580d
@@ -340,7 +340,7 @@ module Expressir
340
340
  rule(:simpleExpression) { (term >> (addLikeOp.as(:operator) >> term).as(:item).repeat.as(:rhs)).as(:simpleExpression) }
341
341
  rule(:simpleFactor) do
342
342
  (
343
- aggregateInitializer | entityConstructor | interval | queryExpression | simpleFactorExpression |
343
+ simpleFactorExpression | aggregateInitializer | entityConstructor | interval | queryExpression |
344
344
  simpleFactorUnaryExpression | enumerationReference
345
345
  ).as(:simpleFactor)
346
346
  end
@@ -85,6 +85,10 @@ module Expressir
85
85
  ::Expressir::Liquid::Declarations::ProcedureDrop.new(item)
86
86
  end
87
87
  end
88
+
89
+ def formatted
90
+ @model.to_s(no_remarks: true)
91
+ end
88
92
  end
89
93
  end
90
94
  end
@@ -1,3 +1,3 @@
1
1
  module Expressir
2
- VERSION = "2.1.1".freeze
2
+ VERSION = "2.1.3".freeze
3
3
  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.1.1
4
+ version: 2.1.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: 2024-11-28 00:00:00.000000000 Z
11
+ date: 2024-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: liquid