posxml_parser 2.1.0 → 2.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1832f100013a8327eb5bc2af3938f37df654e8da
4
- data.tar.gz: f88056150a5fbd972ded5068594da963f2ae7531
3
+ metadata.gz: cf5103460e52045da0890fa3639a146fadfc3f3c
4
+ data.tar.gz: 704d05d0cdb9b1a245ee5ca8bef0db01490a1269
5
5
  SHA512:
6
- metadata.gz: b22ad44960174d80ca1c7e9bd22ccf578bd69770540c7ecd738971b34e85cf9b61e61711e44b7058cd6e1f5fd5ee3a9a5cc1336ddefb21676303fb8a8c419ac5
7
- data.tar.gz: 1667e63da3a8144d14e72665536bc8c24b7a2800573f789a6cc77dd7276afdedc9dbf40adbf39583e17701c2da2d61e38334b94e8f4e441a89cb38224090a2bf
6
+ metadata.gz: e6daba52f93de195f219ce232b78fd54998abbff9ee216885f190871267ed4672a551c5ba196017e5d092a760565a23dd29b656cd6a7889c4d76a67d46d0fe49
7
+ data.tar.gz: 7676f729dba1765cb98bf221e0f95841fdc3541d42620171c389650c39057700e6db4874ed3657b4f9291dc2dae03da45fd93e9071c539e2b18e3281a700faad
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- posxml_parser (2.1.0)
4
+ posxml_parser (2.1.1)
5
5
  funky-emv (~> 0.3)
6
6
 
7
7
  GEM
data/RELEASE_NOTES.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Posxml Parser
2
2
 
3
+ ### 2.1.1 - 2018-02-23
4
+
5
+ - Fix PosxmlCompiler en xsd to wait instruction.
6
+ - Do not validate parameters if instruction does not support it.
7
+
3
8
  ### 2.1.0 - 2018-02-22
4
9
 
5
10
  - PosxmlCompiler refactoring VariableTypeError message.
@@ -2050,7 +2050,7 @@ In case of sucess in this function, the content of the 'child' node will be copi
2050
2050
  </xs:complexType>
2051
2051
  <xs:complexType name="wait">
2052
2052
  <xs:sequence />
2053
- <xs:attribute type="xs:string" use="required" name="miliseconds">
2053
+ <xs:attribute name="miliseconds" type="xs:string" use="required">
2054
2054
  <xs:annotation>
2055
2055
  <xs:documentation>integer (Time that the instruction will wait)</xs:documentation>
2056
2056
  </xs:annotation>
@@ -49,6 +49,7 @@ module PosxmlCompiler
49
49
  end
50
50
 
51
51
  def parameters_validate(instruction_name, instruction, parameters)
52
+ return unless instruction[:parameters]
52
53
  parameters_valid = instruction[:parameters].keys
53
54
  parameters.each do |name, data|
54
55
  unless parameters_valid.include? name
@@ -1,5 +1,5 @@
1
1
 
2
2
  module PosxmlParser
3
- VERSION = "2.1.0"
3
+ VERSION = "2.1.1"
4
4
  end
5
5
 
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.1.0
4
+ version: 2.1.1
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-02-22 00:00:00.000000000 Z
11
+ date: 2018-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler