funky-emv 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 2c79fff4b6c8a470ae93b58a5954aca988e5bb4c
4
+ data.tar.gz: de78b0ebd2291749b91568d8714d04f5cb686761
5
+ SHA512:
6
+ metadata.gz: 2014ea71a583f0bff37e8fef65294c69ab5494ced5c79d5ee0646e2cc3c35be99b218a1b3e3afbbb4cdabe643e6d4a0e5c13a5aae943d6d5243723105bd25a2b
7
+ data.tar.gz: adacb670b87ed63739af7488621ba5315880bc1c9935d614c9470cc29a28d05960df48af67e919d52578732873a6ec7554a892e2e762bce81bd549ad16b8d3a4
data/.gitignore ADDED
@@ -0,0 +1,7 @@
1
+ *.o
2
+ *.mrb
3
+ coverage/*
4
+ .bundle
5
+ stats
6
+ stats/*
7
+ out/*
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+ gemspec
3
+
data/Gemfile.lock ADDED
@@ -0,0 +1,29 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ funky-emv (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ cloudwalk_handshake (0.5.4)
10
+ da_funk (0.7.3)
11
+ bundler (~> 1.7)
12
+ cloudwalk_handshake (~> 0.5)
13
+ posxml_parser (~> 0.6)
14
+ rake (~> 10.4)
15
+ yard (~> 0.8)
16
+ funky-tlv (0.2.0)
17
+ posxml_parser (0.7.11)
18
+ rake (10.5.0)
19
+ yard (0.8.7.6)
20
+
21
+ PLATFORMS
22
+ ruby
23
+
24
+ DEPENDENCIES
25
+ bundler (~> 1.7)
26
+ da_funk (~> 0.7)
27
+ funky-emv!
28
+ funky-tlv (~> 0.2)
29
+ rake (~> 10.0)
data/README.md ADDED
@@ -0,0 +1,63 @@
1
+ # Walk App/Lib Skeleton for mruby
2
+
3
+ POC to CloudWalk gems and libs, pure ruby implementation.
4
+
5
+ This repo is expected to be used mainly by the CloudWalk's CLI tool at the point of creating new applications, but feel free to use it for your purposes.
6
+
7
+ ## What's inside?
8
+
9
+ - A small Ruby application that uses [da_funk](https://github.com/cloudwalkio/da_funk).
10
+ - Example test cases.
11
+ - All the scripts needed to make it work.
12
+
13
+ # Folders Structure
14
+
15
+ ```
16
+ lib/
17
+ main.rb # Simple example application
18
+ test/
19
+ integration/
20
+ skeleton_test.rb # Example of an integration test
21
+ unit/
22
+ skeleton_test.rb # Example of an unit test
23
+ test_helper.rb # A small file to help testing this app
24
+ test_run.rb # The file that says which tests are to be executed
25
+ ```
26
+
27
+ ## Setup
28
+
29
+ 1. Install Ruby(1.9.3 mruby compatible)
30
+ 2. Bundle `bundle install`
31
+
32
+ ## Running
33
+
34
+ Make sure you have either mruby or the CloudWalk CLI tool, then run `rake` to build the app, and one of the following commands to see it working, depending on your interests:
35
+
36
+ - `cloudwalk emulate`: to run the application in a graphical emulator in a separated window.
37
+ - `cloudwalk run`: to run the application in text mode in the same window.
38
+
39
+ ## Deploying
40
+
41
+ In case you're using this skeleton from a new application created by our CLI, your application will be deployed to our servers after `git push`. Be sure to add all the files you require and to test everything before pushing, otherwise the deploy will be rejected.
42
+
43
+ ## Test
44
+
45
+ 1. Ruby Environment `rake test`
46
+ 2. MRuby Environment `rake mtest`
47
+
48
+ ## Customizing the app
49
+
50
+ To customize the application, read our docs at <https://docs.cloudwalk.io/en/cli> or check [da_funk's source code](https://github.com/cloudwalkio/da_funk).
51
+
52
+ ## Contributing
53
+
54
+ 1. Fork it
55
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
56
+ 3. Commit your changes (`git commit -am 'Added some feature'`)
57
+ 4. Push to the branch (`git push origin my-new-feature`)
58
+ 5. Create new Pull Request
59
+
60
+ # License
61
+ under the MIT License:
62
+
63
+ * http://www.opensource.org/licenses/mit-license.php
data/RELEASE_NOTES.md ADDED
@@ -0,0 +1,5 @@
1
+ # DaFunk
2
+
3
+ ### 0.1.0 - 2016-06-29
4
+
5
+ - First version.
data/Rakefile ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env rake
2
+
3
+ require 'rake'
4
+ require 'fileutils'
5
+ require 'bundler/setup'
6
+
7
+ Bundler.require(:default)
8
+
9
+ DaFunk::RakeTask.new do |t|
10
+ t.mrbc = "cloudwalk compile"
11
+ t.mruby = "cloudwalk run"
12
+ end
13
+
data/funky-emv.gemspec ADDED
@@ -0,0 +1,28 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+
5
+ require 'version.rb'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = "funky-emv"
9
+ spec.version = FunkyEmv::VERSION
10
+ spec.authors = ["Thiago Scalone"]
11
+ spec.email = ["thiago@cloudwalk.io"]
12
+ spec.summary = "DaFunk EMV Library"
13
+ spec.description = "Library responsible for implement the interface between EMV embedded sdk."
14
+ spec.homepage = "http://cloudwalk.io"
15
+ spec.license = "Copyright (c) CloudWalk"
16
+
17
+ spec.files = %w(.gitignore Gemfile Gemfile.lock README.md RELEASE_NOTES.md Rakefile funky-emv.gemspec lib/version.rb out/funky-emv/main.mrb)
18
+ spec.executables = []
19
+ spec.test_files = spec.files.grep(%r{^(test)/})
20
+ spec.require_paths = ["lib"]
21
+ spec.required_ruby_version = '>= 1.9.3'
22
+
23
+ spec.add_development_dependency "bundler", "~> 1.7"
24
+ spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency "da_funk", "~> 0.7"
26
+ spec.add_development_dependency "funky-tlv", "~> 0.2"
27
+ end
28
+
data/lib/version.rb ADDED
@@ -0,0 +1,4 @@
1
+ class FunkyEmv
2
+ VERSION="0.1.0"
3
+ end
4
+
Binary file
metadata ADDED
@@ -0,0 +1,111 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: funky-emv
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Thiago Scalone
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-06-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: '1.7'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.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: '0.7'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '0.7'
55
+ - !ruby/object:Gem::Dependency
56
+ name: funky-tlv
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '0.2'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '0.2'
69
+ description: Library responsible for implement the interface between EMV embedded
70
+ sdk.
71
+ email:
72
+ - thiago@cloudwalk.io
73
+ executables: []
74
+ extensions: []
75
+ extra_rdoc_files: []
76
+ files:
77
+ - .gitignore
78
+ - Gemfile
79
+ - Gemfile.lock
80
+ - README.md
81
+ - RELEASE_NOTES.md
82
+ - Rakefile
83
+ - funky-emv.gemspec
84
+ - lib/version.rb
85
+ - out/funky-emv/main.mrb
86
+ homepage: http://cloudwalk.io
87
+ licenses:
88
+ - Copyright (c) CloudWalk
89
+ metadata: {}
90
+ post_install_message:
91
+ rdoc_options: []
92
+ require_paths:
93
+ - lib
94
+ required_ruby_version: !ruby/object:Gem::Requirement
95
+ requirements:
96
+ - - '>='
97
+ - !ruby/object:Gem::Version
98
+ version: 1.9.3
99
+ required_rubygems_version: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ requirements: []
105
+ rubyforge_project:
106
+ rubygems_version: 2.2.2
107
+ signing_key:
108
+ specification_version: 4
109
+ summary: DaFunk EMV Library
110
+ test_files: []
111
+ has_rdoc: