funky-emv 0.2.0 → 0.3.0

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: 0801f6238e10fe61410a4ab6c6a058a254e8580d
4
- data.tar.gz: 68f984d9c527576f0dea46580692752bb315ccd8
3
+ metadata.gz: 99031a469adc44f0658915bd3a02afd39db3d193
4
+ data.tar.gz: 615081e03c21d63e11600ef4f5e2eb788f58f639
5
5
  SHA512:
6
- metadata.gz: 66e7dce70d8cce31d2a624aef486788f96adb48939f8b7aa7e678c4c5fe0a9a27ad132fad6a3a0b7bba202a1af3a32b37f0d1add89d2c479e74f76221c68ee66
7
- data.tar.gz: 5f656b62c58d103907c47468c19242590b29b2570cc43f70a4aefe5a7e0908507291a4a1655ee79cc6f8c1b2eebfe78c48cde54a26983e94482bb08b3b658b89
6
+ metadata.gz: f4bbb4ad4d40a76293cd04d0b15d52118c3ff90e4230826f1afc9417759d87dde3ee14ad0c76e49fc8ddd65199144f6acfc0c23e045a0b18b37a3667c7ab9161
7
+ data.tar.gz: 6154200cadc8c8b9e0c43010133b693b9206c1de12436c29373d8c25d94aa217b6ab178c6eb4193b2872c307ec362d5beaedec0d0ffaa22303e1a012d56d0bec
data/Gemfile.lock CHANGED
@@ -1,29 +1,29 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- funky-emv (0.2.0)
4
+ funky-emv (0.3.0)
5
+ da_funk (~> 0.7)
6
+ funky-tlv (~> 0.2)
5
7
 
6
8
  GEM
7
9
  remote: https://rubygems.org/
8
10
  specs:
9
- cloudwalk_handshake (0.5.4)
10
- da_funk (0.7.3)
11
+ cloudwalk_handshake (0.6.0)
12
+ da_funk (0.7.4)
11
13
  bundler (~> 1.7)
12
14
  cloudwalk_handshake (~> 0.5)
13
15
  posxml_parser (~> 0.6)
14
16
  rake (~> 10.4)
15
17
  yard (~> 0.8)
16
18
  funky-tlv (0.2.0)
17
- posxml_parser (0.7.11)
19
+ posxml_parser (0.9.0)
18
20
  rake (10.5.0)
19
- yard (0.8.7.6)
21
+ yard (0.9.5)
20
22
 
21
23
  PLATFORMS
22
24
  ruby
23
25
 
24
26
  DEPENDENCIES
25
27
  bundler (~> 1.7)
26
- da_funk (~> 0.7)
27
28
  funky-emv!
28
- funky-tlv (~> 0.2)
29
29
  rake (~> 10.0)
data/README.md CHANGED
@@ -1,53 +1,6 @@
1
- # Walk App/Lib Skeleton for mruby
1
+ # Funky-emv
2
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).
3
+ Funky library responsible for implement the interface between any EMV Kernel, like BC(Biblioteca compartilhada) and PAX.
51
4
 
52
5
  ## Contributing
53
6
 
@@ -56,8 +9,3 @@ To customize the application, read our docs at <https://docs.cloudwalk.io/en/cli
56
9
  3. Commit your changes (`git commit -am 'Added some feature'`)
57
10
  4. Push to the branch (`git push origin my-new-feature`)
58
11
  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 CHANGED
@@ -1,4 +1,53 @@
1
- # DaFunk
1
+ # Funky-emv
2
+
3
+ ### 0.3.0 - 2016-09-06
4
+ - Return row index on Pax Initialize interface.
5
+ - Refactoring commentaries and returns to posxml posxml interface.
6
+ - Turn funky-tlv and da_funk a dependency for dev and prod.
7
+ - Add emv_not_accept and emv_select_application i18n.
8
+ - Add PPCOMP returns to EmvPax.
9
+ - Add configuration process to change PAX custom select block.
10
+ - Separate read tables(emv_acquirer_aids) and load tables(PAX SDK Load).
11
+ - Call Device::PAX.init on EmvPax#initialize only.
12
+ - Remove EmvPAx#set_tag comentaries.
13
+ - Refactoring debugs in EmvPax.
14
+ - Add external_number_len, cardholder_name_len and application_label_len on EmvTransaction::InitData class.
15
+ - Add EmvTransaction.table= method.
16
+ - Support hardware parameter on EmvTransaction.open to load or not EMV hardware.
17
+ - EmvTransaction.open configure EMV class on Device form adapter.
18
+ - Call super on EmvTransaction methods.
19
+ - Refactoring app selection to support defined timeout.
20
+ - Remove debugs from load tables.
21
+ - Remove money input from process.
22
+ - Refactoring env structure set’s and get’s.
23
+ - Refactoring pax env finish method.
24
+ - Remove dynamically EMV class definition, now the responsibility belongs to mruby-pax.
25
+ - Remove host_decision and process_decision from EmvTransaction, we should use emv structures.
26
+ - Refactoring selection to follow shared library returns.
27
+ - Remove commentaries.
28
+ - Sent amount other to PAX::EMV.start_transaction.
29
+ - Refactoring PAX::EMV.finish setting TLV values from finish_data, and fix Device::EMV typo.
30
+ - Indent EmvTransaction.
31
+ - Refactoring EMVRow to check if keys include in the scheme and avoid exception.
32
+ - Include DaFunk::Helper in EmvPax.
33
+ - Implement EmvTransaction#opened?.
34
+ - Refactoring EmvPax#set_date packing only 6 bytes and parsing time using sprintf.
35
+ - Replace Struct use by EMVStruct to avoid memory leak.
36
+ - Add I18n for pin scenarios.
37
+ - Return EMV_CARDAPPNAV instead of EMV_NOAPPLIC when application no found in EmvPax selection.
38
+ - Review all commentaries in EmvPax.
39
+ - Add pin callback customization for get_pin_block, get_pin_plain and get_pin_dukpt.
40
+ - Set self.process_info.offline_pin and self.process_info.online_pin as default “0”.
41
+ - Implement EmvPax#amount_to_money converting value for currency based on transaction_currency_code.
42
+ - Check AC of start_transaction response.
43
+ - Support to ARQC in EmvPax#check_ac.
44
+ - Review pack/unpack action sending the total size, instead of use * and avoid possible memory leak.
45
+ - Refactoring EmvPax#finish:
46
+ - Refactoring tlv and script receive, process and response.
47
+ - Support to debug TSI.
48
+ - Refactoring commentaries.
49
+ - Call Display.clear before print remove card.
50
+ - Debug application label and row label.
2
51
 
3
52
  ### 0.2.0 - 2016-06-30
4
53
 
data/funky-emv.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.7"
24
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"
25
+ spec.add_dependency "da_funk", "~> 0.7"
26
+ spec.add_dependency "funky-tlv", "~> 0.2"
27
27
  end
28
28
 
data/lib/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  class FunkyEmv
2
- VERSION="0.2.0"
2
+ VERSION="0.3.0"
3
3
  end
4
4
 
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: funky-emv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thiago Scalone
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-30 00:00:00.000000000 Z
11
+ date: 2016-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -45,7 +45,7 @@ dependencies:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0.7'
48
- type: :development
48
+ type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
@@ -59,7 +59,7 @@ dependencies:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0.2'
62
- type: :development
62
+ type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
@@ -108,4 +108,3 @@ signing_key:
108
108
  specification_version: 4
109
109
  summary: DaFunk EMV Library
110
110
  test_files: []
111
- has_rdoc: