infinitepay-report-pos 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +35 -0
- data/README.md +16 -0
- data/Rakefile +40 -0
- data/infinitepay_report_pos.gemspec +24 -0
- data/lib/version.rb +5 -0
- data/out/infinitepay-report-pos/main.mrb +0 -0
- metadata +94 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 86cc380d3d8900eaa5aa9e0a6b1686fc0ba89a4e02f9244cedc3157760f31efa
|
4
|
+
data.tar.gz: 7b35a9b89c3d408ac25f1ca58a426082c8ef74614041fedf32f9497feb1bae23
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e8c979e78a22f6b2d401b551d9c1f9c689fa1f117aa15e5ed9f638f344c9c5288a3e0869a213861244a5b8c7b7be12f195eb72528e029376cf8a657525f36143
|
7
|
+
data.tar.gz: ae3c44b2f649b6038282ffd9d9b05cceaf43a73d33709188bdf1b2749bea12255ed28885721542bb10b22f749e48341121371e737cf2125f55b58ab7e61032cb
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
GEM
|
2
|
+
remote: https://rubygems.org/
|
3
|
+
specs:
|
4
|
+
archive-zip (0.12.0)
|
5
|
+
io-like (~> 0.3.0)
|
6
|
+
cloudwalk (1.14.3)
|
7
|
+
bundler
|
8
|
+
rake
|
9
|
+
cloudwalk_handshake (1.8.1)
|
10
|
+
funky-simplehttp (~> 0.6)
|
11
|
+
da_funk (3.11.1)
|
12
|
+
archive-zip (~> 0.5)
|
13
|
+
bundler
|
14
|
+
cloudwalk_handshake
|
15
|
+
funky-emv
|
16
|
+
posxml_parser
|
17
|
+
rake
|
18
|
+
funky-emv (1.2.1)
|
19
|
+
funky-tlv (~> 0.2)
|
20
|
+
funky-simplehttp (0.6.0)
|
21
|
+
funky-tlv (0.2.3)
|
22
|
+
io-like (0.3.0)
|
23
|
+
posxml_parser (2.24.0)
|
24
|
+
funky-emv (~> 1)
|
25
|
+
rake (13.0.0)
|
26
|
+
|
27
|
+
PLATFORMS
|
28
|
+
ruby
|
29
|
+
|
30
|
+
DEPENDENCIES
|
31
|
+
cloudwalk
|
32
|
+
da_funk
|
33
|
+
|
34
|
+
BUNDLED WITH
|
35
|
+
2.0.2
|
data/README.md
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# CloudWalk Device Report
|
2
|
+
|
3
|
+
Generate reports to CloudWalk devices which runs Mruby Runtime.
|
4
|
+
|
5
|
+
## Contributing
|
6
|
+
|
7
|
+
1. Fork it
|
8
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
9
|
+
3. Commit your changes (`git commit -am 'Added some feature'`)
|
10
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
11
|
+
5. Create new Pull Request
|
12
|
+
|
13
|
+
# License
|
14
|
+
under the MIT License:
|
15
|
+
|
16
|
+
* http://www.opensource.org/licenses/mit-license.php
|
data/Rakefile
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
|
3
|
+
require 'rake'
|
4
|
+
require 'fileutils'
|
5
|
+
require 'bundler/setup'
|
6
|
+
|
7
|
+
Bundler.require(:default)
|
8
|
+
|
9
|
+
FILES = FileList[
|
10
|
+
"lib/infinitepay_report_util.rb",
|
11
|
+
"lib/infinitepay_report_pos.rb",
|
12
|
+
"lib/application_params.rb",
|
13
|
+
"lib/ui.rb",
|
14
|
+
"lib/admin_transaction_reversal/admin_transaction_reversal.rb",
|
15
|
+
"lib/cloudwalk_net_http_request/cloudwalk_net_http_request.rb"
|
16
|
+
]
|
17
|
+
|
18
|
+
DaFunk::RakeTask.new do |t|
|
19
|
+
t.debug = false
|
20
|
+
t.mrbc = "cloudwalk compile"
|
21
|
+
t.mruby = "cloudwalk run -b"
|
22
|
+
t.libs = FILES
|
23
|
+
end
|
24
|
+
|
25
|
+
desc "Generate infinitepay_report_pos gem to upload to RubyGems.org. "
|
26
|
+
task :gem do
|
27
|
+
puts "Be careful this action will delete and checkout lib/infinitepay_report_pos.rb"
|
28
|
+
input = ""
|
29
|
+
while (input != "y" && input != "n") do
|
30
|
+
puts "Are you sure? (Y/N)"
|
31
|
+
input = STDIN.gets.to_s.chomp.downcase
|
32
|
+
end
|
33
|
+
|
34
|
+
if input == "y"
|
35
|
+
sh "rake"
|
36
|
+
sh "rm -f lib/infinitepay_report_pos.rb"
|
37
|
+
sh "gem build infinitepay_report_pos.gemspec"
|
38
|
+
sh "git checkout -- lib/infinitepay_report_pos.rb"
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'version.rb'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "infinitepay-report-pos"
|
8
|
+
spec.version = InfinitepayReportPos.version
|
9
|
+
spec.authors = ["William Roberto"]
|
10
|
+
spec.email = ["william@cloudwalk.io"]
|
11
|
+
spec.summary = "Infinitepay Report POS"
|
12
|
+
spec.description = "Infinitepay Report POS generates report to devices which runs cloudwalk Mruby Runtime"
|
13
|
+
spec.homepage = "http://cloudwalk.io"
|
14
|
+
spec.license = "MIT"
|
15
|
+
spec.files = %w(.gitignore Gemfile Gemfile.lock README.md Rakefile infinitepay_report_pos.gemspec lib/version.rb out/infinitepay-report-pos/main.mrb)
|
16
|
+
spec.extensions = []
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
22
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
23
|
+
spec.add_dependency "da_funk", "~> 3.11"
|
24
|
+
end
|
data/lib/version.rb
ADDED
Binary file
|
metadata
ADDED
@@ -0,0 +1,94 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: infinitepay-report-pos
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- William Roberto
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-10-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '13.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '13.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: da_funk
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.11'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.11'
|
55
|
+
description: Infinitepay Report POS generates report to devices which runs cloudwalk
|
56
|
+
Mruby Runtime
|
57
|
+
email:
|
58
|
+
- william@cloudwalk.io
|
59
|
+
executables: []
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- ".gitignore"
|
64
|
+
- Gemfile
|
65
|
+
- Gemfile.lock
|
66
|
+
- README.md
|
67
|
+
- Rakefile
|
68
|
+
- infinitepay_report_pos.gemspec
|
69
|
+
- lib/version.rb
|
70
|
+
- out/infinitepay-report-pos/main.mrb
|
71
|
+
homepage: http://cloudwalk.io
|
72
|
+
licenses:
|
73
|
+
- MIT
|
74
|
+
metadata: {}
|
75
|
+
post_install_message:
|
76
|
+
rdoc_options: []
|
77
|
+
require_paths:
|
78
|
+
- lib
|
79
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
84
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
requirements: []
|
90
|
+
rubygems_version: 3.0.6
|
91
|
+
signing_key:
|
92
|
+
specification_version: 4
|
93
|
+
summary: Infinitepay Report POS
|
94
|
+
test_files: []
|