posxml_parser 2.8.5 → 2.8.6

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
  SHA1:
3
- metadata.gz: e9754c6eca0217ce0b27c1de09887eea997e7cf6
4
- data.tar.gz: f8d95e050bfe5b90e496ab216eb768f3a7bb1087
3
+ metadata.gz: cbb623fb6e1875b3ecf68fd33ddfc6f5038fe762
4
+ data.tar.gz: 2a649c53956a7c75b429e6b8133167e483f0cbb1
5
5
  SHA512:
6
- metadata.gz: d6b57923075ee5225b1f0d86e106594b974e9f8a81f817035435c9b962d86ba32f5eecb5a823e7b7fa160c357ce701cde3413a74c740c178cc3ea0a8e53ea38e
7
- data.tar.gz: 5d646cc09db75cc6a68d77d74d4d4b4eb4b999e01ef66a7c48ff267dd530d9bb6660bef76528a649468b1df0fefb94c8dca5d72dc957dc4dfb00e407b4ff2012
6
+ metadata.gz: 9c8211e89c37151914dcbaf0e009e042aabb5118a8b14b37ad54065ca5b70674ead20bd74c3634c6704a08fe4938d939b396a6d8ffc3e0eabddf971d3e6097a2
7
+ data.tar.gz: c3451ff44eaf78f2a8f72b010c0ffb9dffb678e083ffb878fdddff47f50f3c088dce0ae4a3e23ac617cec6e8072067904a927fdc8e2344d72eaa68c8d6edb80c
@@ -1,5 +1,10 @@
1
1
  # Posxml Parser
2
2
 
3
+ ### 2.8.6 - 2018-11-22
4
+
5
+ - Fix parseticket xsd;
6
+ - Improve VariableTypeError message to highlight type.
7
+
3
8
  ### 2.8.5 - 2018-10-09
4
9
 
5
10
  - Fresh cache variable in ruby execution.
@@ -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="menssage" type="xs:string" use="required">
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
@@ -1,5 +1,5 @@
1
1
 
2
2
  module PosxmlParser
3
- VERSION = "2.8.5"
3
+ VERSION = "2.8.6"
4
4
  end
5
5
 
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.5
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-10-10 00:00:00.000000000 Z
11
+ date: 2018-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler