posxml_parser 2.8.6 → 2.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/RELEASE_NOTES.md +8 -0
- data/lib/posxml_compiler/en_xsd.rb +31 -4
- data/lib/posxml_compiler/parser.rb +1 -0
- data/lib/posxml_compiler/xsd_parser.rb +1 -1
- data/lib/posxml_parser/version.rb +1 -1
- data/out/posxml_parser/main.mrb +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9d6ca14921757616f43430fa87e52c8cd810ae7
|
4
|
+
data.tar.gz: 39c6df0ccfe1c8754e0214de8d0ee500d35fa5ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a01ce162d8659cf64d0e8de152be92c996f6407615edbeac808122ca357844ba417832ff4157e62e8b8d5039e2dbf03e1df880d8cb813e08c67d2bbd6ef2054
|
7
|
+
data.tar.gz: 22727fb98285baef3a5ac264c52f0586b2f56ed55b7d3c40b3135e3c9a45f94f747b750f3eb0396e4c9f0e1fe63a2f279bdef502d5c33fd495b6b02f32f76e1a
|
data/Gemfile.lock
CHANGED
data/RELEASE_NOTES.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Posxml Parser
|
2
2
|
|
3
|
+
### 2.9.0 - 2018-11-13
|
4
|
+
|
5
|
+
- Fix network.cloudwalkhandshake variable type declaration;
|
6
|
+
- Fix integer type check at posxml compilation, support camelcase declarations;
|
7
|
+
- Update test xsd from PosxmlParser version;
|
8
|
+
- Fix instruction not found check to instruction with parameters;
|
9
|
+
- Supporr to system.getlog instruction compilation.
|
10
|
+
|
3
11
|
### 2.8.6 - 2018-11-22
|
4
12
|
|
5
13
|
- Fix parseticket xsd;
|
@@ -1793,6 +1793,18 @@ In case of sucess in this function, the content of the 'child' node will be copi
|
|
1793
1793
|
<xs:documentation>Add a tag in a ISO 20022 Payment message</xs:documentation>
|
1794
1794
|
</xs:annotation>
|
1795
1795
|
</xs:element>
|
1796
|
+
<xs:element name="system.getlog" type="system.getlog">
|
1797
|
+
<xs:annotation>
|
1798
|
+
<!-- ordem dos parametros -->
|
1799
|
+
<xs:appinfo>logfilename,zipfilename,variablereturn</xs:appinfo>
|
1800
|
+
<!-- bytecode;tem parametros;declaracao ou chamada de funcao;declaracao de variavel; (startelement) -->
|
1801
|
+
<xs:appinfo>\xa9;true;false;false</xs:appinfo>
|
1802
|
+
<!-- bytecode;tem parametros;declaracao ou chamada de funcao;declaracao de variavel; (endelement) -->
|
1803
|
+
<xs:appinfo>
|
1804
|
+
</xs:appinfo>
|
1805
|
+
<xs:documentation>Get a log file and prepare a buffer to upload to cloudwalk</xs:documentation>
|
1806
|
+
</xs:annotation>
|
1807
|
+
</xs:element>
|
1796
1808
|
</xs:choice>
|
1797
1809
|
</xs:group>
|
1798
1810
|
<xs:complexType name="display">
|
@@ -3104,10 +3116,7 @@ In case of sucess in this function, the content of the 'child' node will be copi
|
|
3104
3116
|
<xs:sequence />
|
3105
3117
|
<xs:attribute name="variablereturn" type="xs:string" use="required">
|
3106
3118
|
<xs:annotation>
|
3107
|
-
<xs:documentation>Variable which will store the result of the operation, where:
|
3108
|
-
1: Success.
|
3109
|
-
0: Failed.(integer).
|
3110
|
-
</xs:documentation>
|
3119
|
+
<xs:documentation>Variable which will store the result of the operation, where: 1: Success. 0: Failed.(integer). </xs:documentation>
|
3111
3120
|
</xs:annotation>
|
3112
3121
|
</xs:attribute>
|
3113
3122
|
</xs:complexType>
|
@@ -4301,6 +4310,24 @@ x3: 99x99 pixels (can be used on the printer)
|
|
4301
4310
|
</xs:annotation>
|
4302
4311
|
</xs:attribute>
|
4303
4312
|
</xs:complexType>
|
4313
|
+
<xs:complexType name="system.getlog">
|
4314
|
+
<xs:sequence />
|
4315
|
+
<xs:attribute name="logfilename" type="xs:string" use="required">
|
4316
|
+
<xs:annotation>
|
4317
|
+
<xs:documentation>String (name of the log file)</xs:documentation>
|
4318
|
+
</xs:annotation>
|
4319
|
+
</xs:attribute>
|
4320
|
+
<xs:attribute name="zipfilename" type="xs:string" use="required">
|
4321
|
+
<xs:annotation>
|
4322
|
+
<xs:documentation>String (name of the zip file)</xs:documentation>
|
4323
|
+
</xs:annotation>
|
4324
|
+
</xs:attribute>
|
4325
|
+
<xs:attribute name="variablereturn" type="xs:string" use="required">
|
4326
|
+
<xs:annotation>
|
4327
|
+
<xs:documentation>Integer (operation result; 1: buffer is ready for upload; <=0: Error)</xs:documentation>
|
4328
|
+
</xs:annotation>
|
4329
|
+
</xs:attribute>
|
4330
|
+
</xs:complexType>
|
4304
4331
|
</xs:schema>
|
4305
4332
|
EOF
|
4306
4333
|
end
|
@@ -140,6 +140,7 @@ module PosxmlCompiler
|
|
140
140
|
# "function", {"name" => {:original => "dosomething", :value => "1", :type => :string}})
|
141
141
|
#
|
142
142
|
def parse_references(name, parameters)
|
143
|
+
raise InstructionNotFoundError.new("Instruction #{name.inspect} not found") unless xsd.find(name)
|
143
144
|
parameters.each do |param_name, value|
|
144
145
|
parameters[param_name] = self.variables.get(name, param_name, value)
|
145
146
|
end
|
data/out/posxml_parser/main.mrb
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: posxml_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CloudWalk Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|