posxml_parser 2.8.5 → 2.8.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/RELEASE_NOTES.md +5 -0
- data/lib/posxml_compiler/en_xsd.rb +1 -1
- data/lib/posxml_compiler/variable.rb +3 -3
- data/lib/posxml_parser/version.rb +1 -1
- 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: cbb623fb6e1875b3ecf68fd33ddfc6f5038fe762
|
|
4
|
+
data.tar.gz: 2a649c53956a7c75b429e6b8133167e483f0cbb1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9c8211e89c37151914dcbaf0e009e042aabb5118a8b14b37ad54065ca5b70674ead20bd74c3634c6704a08fe4938d939b396a6d8ffc3e0eabddf971d3e6097a2
|
|
7
|
+
data.tar.gz: c3451ff44eaf78f2a8f72b010c0ffb9dffb678e083ffb878fdddff47f50f3c088dce0ae4a3e23ac617cec6e8072067904a927fdc8e2344d72eaa68c8d6edb80c
|
data/RELEASE_NOTES.md
CHANGED
|
@@ -3990,7 +3990,7 @@ x3: 99x99 pixels (can be used on the printer)
|
|
|
3990
3990
|
<xs:documentation>string (Ticket not parsed).</xs:documentation>
|
|
3991
3991
|
</xs:annotation>
|
|
3992
3992
|
</xs:attribute>
|
|
3993
|
-
<xs:attribute name="
|
|
3993
|
+
<xs:attribute name="message" type="xs:string" use="required">
|
|
3994
3994
|
<xs:annotation>
|
|
3995
3995
|
<xs:documentation>string (Message not parsed).</xs:documentation>
|
|
3996
3996
|
</xs:annotation>
|
|
@@ -33,11 +33,11 @@ module PosxmlCompiler
|
|
|
33
33
|
when :string_or_integer # match everything is ok
|
|
34
34
|
when nil # not defined yet, it's ok for now
|
|
35
35
|
when :string
|
|
36
|
-
raise PosxmlCompiler::VariableTypeError.new("Wrong argument type #{variable_struct[:type]} for instruction #{instruction}, parameter #{parameter_name} (expected #{type})")
|
|
36
|
+
raise PosxmlCompiler::VariableTypeError.new("Wrong argument type '#{variable_struct[:type]}' for instruction #{instruction}, parameter #{parameter_name} (expected type '#{type}')")
|
|
37
37
|
when :integer
|
|
38
|
-
raise PosxmlCompiler::VariableTypeError.new("Wrong argument type #{variable_struct[:type]} for instruction #{instruction}, parameter #{parameter_name} (expected #{type})")
|
|
38
|
+
raise PosxmlCompiler::VariableTypeError.new("Wrong argument type '#{variable_struct[:type]}' for instruction #{instruction}, parameter #{parameter_name} (expected type '#{type}')")
|
|
39
39
|
else
|
|
40
|
-
raise PosxmlCompiler::VariableTypeError.new("Wrong argument type #{variable_struct[:type]} for instruction #{instruction}, parameter #{parameter_name} (expected #{type})")
|
|
40
|
+
raise PosxmlCompiler::VariableTypeError.new("Wrong argument type '#{variable_struct[:type]}' for instruction #{instruction}, parameter #{parameter_name} (expected type '#{type}')")
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
return true
|
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.8.
|
|
4
|
+
version: 2.8.6
|
|
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-11-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|