posxml_parser 2.8.1 → 2.8.2

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: 75698368d9027886e4f0eb814f9dad2f189a9c4a
4
- data.tar.gz: 7058de9d31f7e90186c69bf9c92595cdd0edf4bc
3
+ metadata.gz: 481fb47fdabc33135d34f0ce7c9f0be8aa23b093
4
+ data.tar.gz: 01ed21102174f90de08f152afe59ef464172b191
5
5
  SHA512:
6
- metadata.gz: 413314bda102faa426cef8426a7f7b4f10626ac405dfcafe00895ef8a877b7d632c77146a2fc4769ee10314ade4c075bb8c3c57bbf25f4f86c9683178bd1749e
7
- data.tar.gz: 1adfcd2f7c148a9dc765acf2f8b46c5958b1f77b1d714b365ab5f0caa21cabedbceec860fdc82f3cd1d350ca134c65afcb007271066f734b7dc82c8cd5f82144
6
+ metadata.gz: a3643364e00bd22729c3e70fdbc82453b416929104477b5fb07f694b519654f31ed2b67bcabad601ccdd155532d3c55a39dd933aa2e17483815ebe060bea3aa0
7
+ data.tar.gz: c4337d0143c98e7e1ee5e3f21665c0b4bb50feabcf26e7cd30407b74ac6491237fd8921e4e8f0c7fce8f8487a78abc7a21302fa48600af0d402bff20d88f7941
@@ -1,5 +1,10 @@
1
1
  # Posxml Parser
2
2
 
3
+ ### 2.8.2 - 2018-09-04
4
+
5
+ - Fix multiple variable declaration without “!” syntax.
6
+ - Fix posxml_en wait instruction declaration.
7
+
3
8
  ### 2.8.1 - 2018-09-03
4
9
 
5
10
  - Fix ambiguous argument on instruction tests.
@@ -19,7 +19,7 @@ module PosxmlCompiler
19
19
  def check_itself!
20
20
  chars = (@number.to_s.size + 1) # \n separator between parameters
21
21
  # chars sizes already changed and propogate, so 1 char must not included
22
- chars -= 1 if changed?
22
+ chars -= 1 if changed?
23
23
  self.check_others(chars)
24
24
  end
25
25
 
@@ -210,7 +210,11 @@ module PosxmlCompiler
210
210
  format = "#{VARIABLE_REFERENCE}#{str1}.#{str2.insert(0, "&")})"
211
211
  end
212
212
  else
213
- format = "#{VARIABLE_REFERENCE}#{str1}.#{str2})"
213
+ if str2.include?("$") # no reference
214
+ format = "#{VARIABLE_REFERENCE}#{str1}.#{str2.insert(1, " ")})"
215
+ else
216
+ format = "#{VARIABLE_REFERENCE}#{str1}.#{str2.insert(0, " ")})"
217
+ end
214
218
  end
215
219
  end
216
220
 
@@ -1,5 +1,5 @@
1
1
 
2
2
  module PosxmlParser
3
- VERSION = "2.8.1"
3
+ VERSION = "2.8.2"
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.1
4
+ version: 2.8.2
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-09-03 00:00:00.000000000 Z
11
+ date: 2018-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler