posxml_parser 0.13.1 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +3 -3
- data/RELEASE_NOTES.md +23 -0
- data/Rakefile +15 -1
- data/lib/posxml_parser/version.rb +1 -1
- data/out/posxml_parser/main.mrb +0 -0
- data/posxml_parser.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bceb342d0f42d9f50e10b02e76688f7c137844a
|
4
|
+
data.tar.gz: dd39125791540d1d9c06d538cfd97cfe1de10099
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c17476397c93667a313e810a9460662f56d4c39accb741c1009f687b58474f3b2e4f3e570759ee4b3c7ac6afe41635c8bf990835b66098c6a12afab38b3c009f
|
7
|
+
data.tar.gz: 3539f219155c49515aabc1bb0b66e256bd1773ee337ea863d5a4112f353211614f5e2a6fdc90a24a6f78dd502a1b5c3b51ac0c27e1f907a7332d764cbbe6d9bf
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
posxml_parser (0.
|
4
|
+
posxml_parser (0.14.0)
|
5
5
|
funky-emv (~> 0.3)
|
6
6
|
|
7
7
|
GEM
|
@@ -24,6 +24,6 @@ PLATFORMS
|
|
24
24
|
|
25
25
|
DEPENDENCIES
|
26
26
|
bundler (~> 1.7)
|
27
|
-
da_funk
|
27
|
+
da_funk
|
28
28
|
posxml_parser!
|
29
|
-
rake (~> 10
|
29
|
+
rake (~> 10)
|
data/RELEASE_NOTES.md
CHANGED
@@ -1,5 +1,28 @@
|
|
1
1
|
# Posxml Parser
|
2
2
|
|
3
|
+
### 0.14.0 - 2017-05-12
|
4
|
+
|
5
|
+
- Support POSXML Compilation.
|
6
|
+
- Add tests for posxml compilation.
|
7
|
+
- Refactoring xsd parse solving some bugs and add more details to each instruction, as order and parameters type.
|
8
|
+
- Check if name is given at PosxmlCompiler::Function#get.
|
9
|
+
- Refactoring all PosxmlCompiler based in jumps and tests scenarios:
|
10
|
+
- Add support to call function jumps.
|
11
|
+
- Add type of the jump.
|
12
|
+
- Properly check variable type.
|
13
|
+
- Improve xml line parse to support more than one instruction per line.
|
14
|
+
- Remove white space and some useless commentaries at posxml_compiler/parser.rb.
|
15
|
+
- Remove extra value manipulation for while jumps.
|
16
|
+
- Replace JumpPoint type FUNCTION_END for FUNCTION.
|
17
|
+
- Refactoring checking if a char check was already add to jumps. This check avoid extra addition.
|
18
|
+
- Add boot configuration flag.
|
19
|
+
- Change posxml xsd to avoid problems during the parser.
|
20
|
+
- Change xsd parser to receive the file content instead of read from file.
|
21
|
+
- Refactoring posxml_compiler parameters parser to check which char in a instruction line and avoid quotation marks parse problem.
|
22
|
+
- Rename PosxmlCompiler.compile parameter name.
|
23
|
+
- Check if xml compiled file has break alone.
|
24
|
+
- Add \n between parsed xml instructions at the same line.
|
25
|
+
|
3
26
|
### 0.13.1 - 2017-04-05
|
4
27
|
|
5
28
|
- Refactoring string.getvaluebykey to support new cases.
|
data/Rakefile
CHANGED
@@ -15,10 +15,24 @@ files = [
|
|
15
15
|
"lib/posxml_parser/posxml_setting.rb",
|
16
16
|
"lib/posxml_parser/emv.rb",
|
17
17
|
"lib/posxml_parser.rb",
|
18
|
-
"lib/posxml_interpreter.rb"
|
18
|
+
"lib/posxml_interpreter.rb",
|
19
|
+
"lib/posxml_compiler.rb",
|
20
|
+
"lib/posxml_compiler/xsd_parser.rb",
|
21
|
+
"lib/posxml_compiler/function.rb",
|
22
|
+
"lib/posxml_compiler/jump.rb",
|
23
|
+
"lib/posxml_compiler/jump_point.rb",
|
24
|
+
"lib/posxml_compiler/parser.rb",
|
25
|
+
"lib/posxml_compiler/posxml_compiler_error.rb",
|
26
|
+
"lib/posxml_compiler/string_size_error.rb",
|
27
|
+
"lib/posxml_compiler/variable.rb",
|
28
|
+
"lib/posxml_compiler/variable_limit_error.rb",
|
29
|
+
"lib/posxml_compiler/variable_name_error.rb",
|
30
|
+
"lib/posxml_compiler/variable_string_limit_error.rb",
|
31
|
+
"lib/posxml_compiler/variable_type_error.rb"
|
19
32
|
]
|
20
33
|
|
21
34
|
DaFunk::RakeTask.new do |t|
|
35
|
+
t.mruby = "mruby -b"
|
22
36
|
t.libs = FileList[files]
|
23
37
|
t.debug = false
|
24
38
|
FileUtils.rm_rf("./test/tmp")
|
data/out/posxml_parser/main.mrb
CHANGED
Binary file
|
data/posxml_parser.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
|
|
19
19
|
gem.require_paths = ["lib"]
|
20
20
|
|
21
21
|
gem.add_development_dependency "bundler", "~> 1.7"
|
22
|
-
gem.add_development_dependency "rake", "~> 10
|
22
|
+
gem.add_development_dependency "rake", "~> 10"
|
23
23
|
gem.add_dependency "funky-emv", "~> 0.3"
|
24
24
|
end
|
25
25
|
|
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: 0.
|
4
|
+
version: 0.14.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: 2017-
|
11
|
+
date: 2017-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '10
|
33
|
+
version: '10'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '10
|
40
|
+
version: '10'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: funky-emv
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|