expressir 0.2.13-x86-mingw32 → 0.2.14-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/expressir/express_exp/2.4/express_parser.so +0 -0
- data/lib/expressir/express_exp/2.5/express_parser.so +0 -0
- data/lib/expressir/express_exp/2.6/express_parser.so +0 -0
- data/lib/expressir/express_exp/2.7/express_parser.so +0 -0
- data/lib/expressir/express_exp/3.0/express_parser.so +0 -0
- data/lib/expressir/express_exp/parser.rb +2 -0
- data/lib/expressir/model/schema.rb +4 -0
- data/lib/expressir/version.rb +1 -1
- data/spec/expressir/express_exp/parser/multiple_spec.rb +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9ddbd589572fcc4cf02788157ed8809dded863b417feeb215580291747cdf41
|
4
|
+
data.tar.gz: 86294882d7d0b31cd323b6e2d49ecc52bf608b9d977dd4ff4748d7591724ba83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7038b77b5fcca40ad973afca72fb947c508b47833b986e95d369bbfeec7b79aa47a361630c9199c7db24955dfd3bf4b2e65f08a5f88849db44e2e7d938f636ce
|
7
|
+
data.tar.gz: e906a2087eb8fe3e6ec10414bce937ab0e3198f5618072c47a7abea4a6ab4dc75d727cfd394631af515a9a5c37496ee80d160e843a50c3ff6582dcf4045048fc
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,6 +1,8 @@
|
|
1
1
|
module Expressir
|
2
2
|
module Model
|
3
3
|
class Schema < ModelElement
|
4
|
+
attr_accessor :file
|
5
|
+
|
4
6
|
include Identifier
|
5
7
|
|
6
8
|
attr_accessor :head_source
|
@@ -16,6 +18,8 @@ module Expressir
|
|
16
18
|
attr_accessor :rules
|
17
19
|
|
18
20
|
def initialize(options = {})
|
21
|
+
@file = options[:file]
|
22
|
+
|
19
23
|
@id = options[:id]
|
20
24
|
@remarks = options.fetch(:remarks, [])
|
21
25
|
@source = options[:source]
|
data/lib/expressir/version.rb
CHANGED
@@ -8,10 +8,15 @@ RSpec.describe Expressir::ExpressExp::Parser do
|
|
8
8
|
|
9
9
|
schemas = repo.schemas
|
10
10
|
expect(schemas.count).to eq(5)
|
11
|
+
expect(schemas[0].file).to eq(sample_files[0])
|
11
12
|
expect(schemas[0].id).to eq("syntax_schema")
|
13
|
+
expect(schemas[1].file).to eq(sample_files[1])
|
12
14
|
expect(schemas[1].id).to eq("remark_schema")
|
15
|
+
expect(schemas[2].file).to eq(sample_files[2])
|
13
16
|
expect(schemas[2].id).to eq("entity_schema")
|
17
|
+
expect(schemas[3].file).to eq(sample_files[2])
|
14
18
|
expect(schemas[3].id).to eq("version_entity_schema")
|
19
|
+
expect(schemas[4].file).to eq(sample_files[2])
|
15
20
|
expect(schemas[4].id).to eq("version_interface_entity_schema")
|
16
21
|
end
|
17
22
|
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: 0.2.
|
4
|
+
version: 0.2.14
|
5
5
|
platform: x86-mingw32
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|