funky-emv 2.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 +7 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +42 -0
- data/README.md +11 -0
- data/RELEASE_NOTES.md +385 -0
- data/Rakefile +14 -0
- data/funky-emv.gemspec +27 -0
- data/lib/version.rb +4 -0
- metadata +95 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ba67ed6bdb09e5f7e384dafaabeee5fa00d878aa62769d1de10dfa1e010946a1
|
4
|
+
data.tar.gz: a8d85e933921aa292d378ea7c1d085b1e9e915ce10dab7e26a7ae69804271926
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 696608ee32277efa1f21e5dd81f8684a5ac7f0917a4397e895f5dc247e2a63e98226893840673fae6f9f7028a257e221848b066bec7be47d35db0762db739dcf
|
7
|
+
data.tar.gz: 99aeba0c2145177bef503fb3b841862ac29e9ffc3d46108df8bcd856b568c83d1eeda6b85ac75d74f5389823dad7a57693ca09b5632a553a5bebc5418d7b1d2a
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
funky-emv (2.0.0)
|
5
|
+
funky-tlv (~> 0.2)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
archive-zip (0.12.0)
|
11
|
+
io-like (~> 0.3.0)
|
12
|
+
cloudwalk (2.0.0)
|
13
|
+
bundler
|
14
|
+
rake
|
15
|
+
cloudwalk_handshake (1.16.0)
|
16
|
+
funky-simplehttp (~> 0.6)
|
17
|
+
da_funk (4.0.0)
|
18
|
+
archive-zip (~> 0.5)
|
19
|
+
bundler
|
20
|
+
cloudwalk_handshake
|
21
|
+
funky-emv
|
22
|
+
posxml_parser
|
23
|
+
rake
|
24
|
+
funky-simplehttp (0.6.0)
|
25
|
+
funky-tlv (0.2.3)
|
26
|
+
io-like (0.3.1)
|
27
|
+
posxml_parser (2.26.0)
|
28
|
+
funky-emv (~> 1)
|
29
|
+
rake (10.5.0)
|
30
|
+
|
31
|
+
PLATFORMS
|
32
|
+
ruby
|
33
|
+
|
34
|
+
DEPENDENCIES
|
35
|
+
bundler (~> 2.0)
|
36
|
+
cloudwalk
|
37
|
+
da_funk (~> 4)
|
38
|
+
funky-emv!
|
39
|
+
rake (~> 10.0)
|
40
|
+
|
41
|
+
BUNDLED WITH
|
42
|
+
2.1.4
|
data/README.md
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
# Funky-emv
|
2
|
+
|
3
|
+
Funky library responsible for implement the interface between any EMV Kernel, like BC(Biblioteca compartilhada) and PAX.
|
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
|
data/RELEASE_NOTES.md
ADDED
@@ -0,0 +1,385 @@
|
|
1
|
+
# Funky-emv
|
2
|
+
|
3
|
+
### 2.0.0 - 2020-07-22
|
4
|
+
|
5
|
+
- Update cloudwalk (2.0.0) mruby 2.1.0;
|
6
|
+
|
7
|
+
### 1.4.1 - 2020-06-22
|
8
|
+
|
9
|
+
- return from select if timeout value was set on mruby-emv;
|
10
|
+
|
11
|
+
### 1.4.0 - 2020-06-17
|
12
|
+
|
13
|
+
- Implemented start_check_event and check_event to check for card and keyboard events;
|
14
|
+
- Fixed bug on check_event, it wasn't considering when operator was pressing CANCEL.
|
15
|
+
|
16
|
+
### 1.3.1 - 2020-06-15
|
17
|
+
|
18
|
+
- Replace emv_wait to emv_processing image display.
|
19
|
+
|
20
|
+
### 1.3.0 - 2020-06-01
|
21
|
+
|
22
|
+
- Check nil? and empty? on credit and debit appplications;
|
23
|
+
- Implemented Device::EMVRow#ctls?;
|
24
|
+
- Added support to retrieve applications that have contactless support.
|
25
|
+
|
26
|
+
### 1.2.2 - 2019-12-18
|
27
|
+
|
28
|
+
- Fixed tags size calculation on EmvSharedLibrary#merge_tags
|
29
|
+
|
30
|
+
### 1.2.1 - 2019-07-06
|
31
|
+
|
32
|
+
- Fixed issue with magnetic card swiped, shared library is not returning magnetic stripe data
|
33
|
+
|
34
|
+
### 1.2.0 - 2019-06-25
|
35
|
+
|
36
|
+
- Implement pre selection of credit and debit applications.
|
37
|
+
|
38
|
+
### 1.1.0 - 2019-06-18
|
39
|
+
|
40
|
+
- Support to load information from Json on init_data structure;
|
41
|
+
- Support to build custom parameters on EmvTransaction.params.
|
42
|
+
|
43
|
+
### 1.0.0 - 2019-06-18
|
44
|
+
|
45
|
+
- Support CTLS emv table;
|
46
|
+
- Support CTLS operation;
|
47
|
+
- Added CTLS attribute in init_info structure;
|
48
|
+
|
49
|
+
### 0.26.0 - 2019-06-06
|
50
|
+
|
51
|
+
- Refactoring json parameters use on EmvTransaction::open to support emv parameters share between ruby applications;
|
52
|
+
- Store selection result in init_info struct as result key.
|
53
|
+
|
54
|
+
### 0.25.0 - 2019-05-29
|
55
|
+
|
56
|
+
- Replaced waiting to emv_wait;
|
57
|
+
- Fix tag 4F removal on EmvSharedLibrary.
|
58
|
+
|
59
|
+
### 0.24.0 - 2019-05-22
|
60
|
+
|
61
|
+
- Support backup emv_acquirer_aid load;
|
62
|
+
- Implement EmvTransaction::boot to open, clean and load tables;
|
63
|
+
- Implement EmvTransaction::reboot to close and open handle;
|
64
|
+
- Implement EmvTransaction::set_initial_data to define time operation.
|
65
|
+
|
66
|
+
### 0.23.5 - 2019-05-10
|
67
|
+
|
68
|
+
- Fix acquirer_id addition at EmvSharedLibrary.
|
69
|
+
|
70
|
+
### 0.23.4 - 2019-05-07
|
71
|
+
|
72
|
+
- Fix possible format error at acquirer id on EmvSharedLibrary.
|
73
|
+
|
74
|
+
### 0.23.3 - 2019-04-16
|
75
|
+
|
76
|
+
- Bug fix setup return (integer type needed) when pax.
|
77
|
+
|
78
|
+
### 0.23.2 - 2019-04-16
|
79
|
+
|
80
|
+
- Remove unnecessary usleep during pin entry.
|
81
|
+
|
82
|
+
### 0.23.1 - 2019-04-15
|
83
|
+
|
84
|
+
- Fix image corruption adopting a wait time between input display at FunkyEmv::UI::display.
|
85
|
+
|
86
|
+
### 0.23.0 - 2019-04-09
|
87
|
+
|
88
|
+
- EmvSharedLibrary: Reduce timeout on process loop getc;
|
89
|
+
- EmvSharedLibrary: display waiting image after go on chip;
|
90
|
+
- Support icc detection to PAX EmvSharedLibrary devices;
|
91
|
+
- Always EmvSharedLibrary to EmvTransaction.
|
92
|
+
|
93
|
+
### 0.22.0 - 2019-03-27
|
94
|
+
|
95
|
+
- Refactoring displays and wait screen timeout to speed up transaction flow.
|
96
|
+
|
97
|
+
### 0.21.0 - 2019-03-14
|
98
|
+
|
99
|
+
- Support custom selection image.
|
100
|
+
|
101
|
+
### 0.20.2 - 2019-02-05
|
102
|
+
|
103
|
+
- Bug fix blanked screen before pin entry on PAX.
|
104
|
+
|
105
|
+
### 0.20.1 - 2018-10-10
|
106
|
+
|
107
|
+
- Refactoring EmvSharedLibrary to check tag 4F after 9F06 at go on chip process to return AID.
|
108
|
+
|
109
|
+
### 0.20.0 - 2018-10-03
|
110
|
+
|
111
|
+
- Add FunkyEmv Ui to display remove card message on Shared Library interface.
|
112
|
+
|
113
|
+
### 0.19.0 - 2018-09-21
|
114
|
+
|
115
|
+
- Removed skeleton test and move table file test to shared.
|
116
|
+
- Update cloudwalk (1.11.2).
|
117
|
+
- Add tag 06 to default list.
|
118
|
+
- Fix runtime int division error on finish tag calculation.
|
119
|
+
- Implement EMV DOL parser and validation.
|
120
|
+
|
121
|
+
### 0.18.1 - 2018-09-18
|
122
|
+
|
123
|
+
- Fix EmvSharedLibrary finish tags len.
|
124
|
+
|
125
|
+
### 0.18.0 - 2018-09-17
|
126
|
+
|
127
|
+
- Refactoring SharedLibrary prints adopting Device::Display and only printing Notification when not dealing with ingenico terminals.
|
128
|
+
- Fix ShreadLibrary process input string adjusting with 0 padding.
|
129
|
+
- Fix finish and process input tags len.
|
130
|
+
- Add adjust to ingenico terminals at SharedLibrary:
|
131
|
+
- Remove mandatory tags
|
132
|
+
- Replace ddol and tdol values during load tables
|
133
|
+
|
134
|
+
### 0.17.2 - 2018-08-09
|
135
|
+
|
136
|
+
- Add sleep before call pin methods to avoid problems on display and memory location of PAX EMV Kernel.
|
137
|
+
|
138
|
+
### 0.17.1 - 2018-07-02
|
139
|
+
|
140
|
+
- Set rgb 0,0,0 when font.dat doesn’t exists at Pax.
|
141
|
+
|
142
|
+
### 0.17.0 - 2018-05-18
|
143
|
+
|
144
|
+
- Implement cvm parse and refactoring some debugs.
|
145
|
+
- PAX: Bug fix verify_cupher_pin return.
|
146
|
+
- PAX: Expect ERR_PED_NO_KEY(-3801) to dukpn pin block exec.
|
147
|
+
|
148
|
+
### 0.16.2 - 2018-01-26
|
149
|
+
|
150
|
+
- Return PPCOMP_ERRPIN when PAX::Pinpad::ERR_PED_GROUP_IDX_ERR during pin dukpt input.
|
151
|
+
|
152
|
+
### 0.16.1 - 2018-01-18
|
153
|
+
|
154
|
+
- Fix get pin plain (offline) variable return the variable wasn’t being checked.
|
155
|
+
- Return shared library value to PAX user cancel return.
|
156
|
+
|
157
|
+
### 0.16.0 - 2018-01-16
|
158
|
+
|
159
|
+
- Only display emv remove card message if card still present.
|
160
|
+
- Implement class responsible to perform Ui and add support to display image for pin entry and remove card.
|
161
|
+
|
162
|
+
### 0.15.0 - 2018-01-04
|
163
|
+
|
164
|
+
- Replace Device::ParamsDat for DaFunk::ParamsDat.
|
165
|
+
- Replace Device::Helper for DaFunk::Helper (da_funk 1.0.0).
|
166
|
+
|
167
|
+
### 0.14.0 - 2017-11-28
|
168
|
+
|
169
|
+
- Implement custom RGB for pins input on PAX.
|
170
|
+
|
171
|
+
### 0.13.0 - 2017-10-30
|
172
|
+
|
173
|
+
- Check ICC RSP6985 at process transaction on pax flow.
|
174
|
+
|
175
|
+
### 0.12.0 - 2017-10-23
|
176
|
+
|
177
|
+
- Refactoring selection menu to avoid the same label.
|
178
|
+
|
179
|
+
### 0.11.0 - 2017-10-10
|
180
|
+
|
181
|
+
- Implement Row#accurate_aid to support length check.
|
182
|
+
- Fix aid row comparison checking length on all situations.
|
183
|
+
|
184
|
+
### 0.10.0 - 2017-09-26
|
185
|
+
|
186
|
+
- Check emv_application_name_table for application label display.
|
187
|
+
|
188
|
+
### 0.9.1 - 2017-09-06
|
189
|
+
|
190
|
+
- Fix string memory leak at application name display.
|
191
|
+
|
192
|
+
### 0.9.0 - 2017-09-06
|
193
|
+
|
194
|
+
- Add sleep time after application name display.
|
195
|
+
- Check params dat flag emv_application_name_table to show application name from table.
|
196
|
+
|
197
|
+
### 0.8.0 - 2017-08-10
|
198
|
+
|
199
|
+
- Support to ICC_CMD_ERR on EmvPax.
|
200
|
+
- Remove application version debug.
|
201
|
+
- Change Funky-EMV license.
|
202
|
+
|
203
|
+
### 0.7.0 - 2017-08-02
|
204
|
+
|
205
|
+
- Get AID from table row on SharedLibrary during the init.
|
206
|
+
- Get tag 9F06 to set AID when EMVShared library.
|
207
|
+
- Get tag 9F06 to set AID when EMVPax.
|
208
|
+
- Send aid from 9f06 if isn’t necessary to delete tag too.
|
209
|
+
- Remove EmvSharedLibrary.go_on_chip_tlv_result debugs.
|
210
|
+
- Fix EmvPax.get_aid_tlv getting the correct tags (4F and 9F12).
|
211
|
+
|
212
|
+
### 0.6.0 - 2017-07-19
|
213
|
+
|
214
|
+
- Fix finish tags generation.
|
215
|
+
|
216
|
+
### 0.5.9 - 2017-07-13
|
217
|
+
|
218
|
+
- Remove extra “F” when get tag 5A(PAN).
|
219
|
+
|
220
|
+
### 0.5.8 - 2017-06-01
|
221
|
+
|
222
|
+
- Add check to tlv content before finish transaction script process.
|
223
|
+
|
224
|
+
### 0.5.7 - 2017-03-29
|
225
|
+
|
226
|
+
- Refactoring emv_pax kernel to BC errors to support PPCOMP_ERRFALBACK.
|
227
|
+
|
228
|
+
### 0.5.6 - 2017-01-16
|
229
|
+
|
230
|
+
- Define EmvTransaction.opened as false when close is called to fix Gertec second transaction.
|
231
|
+
|
232
|
+
### 0.5.5 - 2016-12-30
|
233
|
+
|
234
|
+
- Check if block is given on get_pin_block to check attempts.
|
235
|
+
- Fix I18n entry, emv_pin_locked by emv_pin_blocked.
|
236
|
+
- Refactoring get_pin_block callback during attempts check for offline pin.
|
237
|
+
- Implement version check based in the card application read.
|
238
|
+
- [PAX] Refactoring timeout error check in select_loop.
|
239
|
+
|
240
|
+
### 0.5.4 - 2016-12-27
|
241
|
+
- Refactoring decision[“RETURN”] check after start_transaction to avoid return wrong value.
|
242
|
+
- Do not open EmvTransaction if already open.
|
243
|
+
- Fix read attempts process during read smart card.
|
244
|
+
- Return PPCOMP_CARDINVALIDAT instead of PPCOMP_CARDBLOCKED if ICC_BLOCK during app selection(smartcard read).
|
245
|
+
|
246
|
+
### 0.5.3 - 2016-12-26
|
247
|
+
- Bug fix on PAN conversion on DUKPT process.
|
248
|
+
- Bug fix on block and ksn conversion on DUKPT process.
|
249
|
+
- Bug fix on EMV generate_tags process.
|
250
|
+
|
251
|
+
### 0.5.2 - 2016-12-19
|
252
|
+
- Bug fix process floor limit at EmvSharedLibrary.
|
253
|
+
|
254
|
+
### 0.5.1 - 2016-12-15
|
255
|
+
- Added emv_pin_locked message.
|
256
|
+
- EMVPax - Added logic to display a message when the PIN try limit was exceeded, it's required on ADVT 22 test case.
|
257
|
+
- EMVPax - Added logic to display a message when the PIN try limit was exceeded, it's required on ADVT 21 test case.
|
258
|
+
|
259
|
+
### 0.5.0 - 2016-12-15
|
260
|
+
- Replace icc.detected by self.decteted at EmvPax and force use internal abstraction.
|
261
|
+
- Refactor timestamp set in SharedLibrary table initialisation.
|
262
|
+
- Refactor select process (get_card) to abort transaction if any problem and avoid error 10(INVALCALL) on next call.
|
263
|
+
- Print label is not necessary in SharedLIbrary.
|
264
|
+
- Abort transaction EMVSharedLibrary.process if any problem.
|
265
|
+
- Refactor all input parse in EMVSharedLibrary.
|
266
|
+
- Add CTLS entry for ProcessInfo in EMVSharedLibrary.
|
267
|
+
- EMVSharedLibrary became more stable.
|
268
|
+
|
269
|
+
### 0.4.6 - 2016-12-01
|
270
|
+
- Bug fix forgot to initialize table.
|
271
|
+
|
272
|
+
### 0.4.5 - 2016-11-29
|
273
|
+
- Bug fix typo processing initialization input.
|
274
|
+
- Send the smart card detection responsibility to EMV platform classes.
|
275
|
+
- Bug fix load table sending the correct timestamp.
|
276
|
+
|
277
|
+
### 0.4.4 - 2016-11-24
|
278
|
+
- Refactoring EmvSharedLibrary class supporting entire EMV flow.
|
279
|
+
- Replace Platform call by Device.
|
280
|
+
- Call Device::EMV.init instead of Device::EMV.open on EmvSharedLibrary setup process, which support open.
|
281
|
+
- Bug fix check if PAX class to use shared library.
|
282
|
+
|
283
|
+
### 0.4.3 - 2016-11-04
|
284
|
+
- Bug fix select_loop when it returns ICC_CMD_ERR for the first time.
|
285
|
+
|
286
|
+
### 0.4.2 - 2016-10-06
|
287
|
+
- Always delete all keys before insert the selected ones.
|
288
|
+
- Implement the check of cyrillic char during application label display.
|
289
|
+
- Bug fix treat user cancel during application selection.
|
290
|
+
|
291
|
+
### 0.4.1 - 2016-10-06
|
292
|
+
- Displat tag 0x50 if tag 9F12 is empty at selection.
|
293
|
+
- Bug fix return unless scheme fond in EmvRow parse.
|
294
|
+
- Bug fix create hash before check tlv in finish.
|
295
|
+
|
296
|
+
### 0.4.0 - 2016-10-03
|
297
|
+
- Fix script processing sending to TLV command only what EMVCompleteTrans require.
|
298
|
+
- Change POS Entry for 0x04.
|
299
|
+
- Display clear after get_pin functions.
|
300
|
+
- Replace 0x9C(Transaction Type) from EMV_PAYMENT(0x40) EMV_GOODS&EMV_CASH (0x00)
|
301
|
+
- Implement InitData.localtion_mode.
|
302
|
+
- Add EmvTransaction.to_json/from_json methods to serialise and deserialise data and info structures.
|
303
|
+
- Add refund to process_data.
|
304
|
+
- Delete and load pki’s keys on every transaction.
|
305
|
+
- Set tlv 0x8A from self.finish_data.auth_resp_code at EmvPax.finish
|
306
|
+
- Remove ICC Application Usage Control definition.
|
307
|
+
- Do not generate tags map in load time, but pre define in ruby to improve performance.
|
308
|
+
- Refactoring lines and row to display application label.
|
309
|
+
- Add EmvRow#string
|
310
|
+
- Support to start EmvStruct with pre defined values.
|
311
|
+
- Bug fix doesn’t call set_tlv for amount_other if the value is 0.
|
312
|
+
- Refactoring all returns at EmvPax to use values from biblioteca compartilhada.
|
313
|
+
- Return PPCOMP_TABERR if problem to load any table row.
|
314
|
+
- Review timeouts and commentaries at pin block callbacks.
|
315
|
+
- Refactoring selection block using menu function from helper and return values from constants of PAX::EMV.
|
316
|
+
- Delete pkis before read tables.
|
317
|
+
- Use random to generate Unpredictable Number.
|
318
|
+
- Indent emv_pax.rb.
|
319
|
+
- Review get_pin_block clear and message display.
|
320
|
+
- Clear display after print :emv_not_accept.
|
321
|
+
- Add 200 milliseconds sleep time before call any get pin function to fix display problems.
|
322
|
+
- Replace application label tag from 0x50 to 0x9F12.
|
323
|
+
|
324
|
+
### 0.3.2 - 2016-09-08
|
325
|
+
- Remove da_funk from gemspec.
|
326
|
+
|
327
|
+
### 0.3.1 - 2016-09-06
|
328
|
+
- Refactoring pin enter to show incorrect pin message correctly.
|
329
|
+
|
330
|
+
### 0.3.0 - 2016-09-06
|
331
|
+
- Return row index on Pax Initialize interface.
|
332
|
+
- Refactoring commentaries and returns to posxml posxml interface.
|
333
|
+
- Turn funky-tlv and da_funk a dependency for dev and prod.
|
334
|
+
- Add emv_not_accept and emv_select_application i18n.
|
335
|
+
- Add PPCOMP returns to EmvPax.
|
336
|
+
- Add configuration process to change PAX custom select block.
|
337
|
+
- Separate read tables(emv_acquirer_aids) and load tables(PAX SDK Load).
|
338
|
+
- Call Device::PAX.init on EmvPax#initialize only.
|
339
|
+
- Remove EmvPAx#set_tag comentaries.
|
340
|
+
- Refactoring debugs in EmvPax.
|
341
|
+
- Add external_number_len, cardholder_name_len and application_label_len on EmvTransaction::InitData class.
|
342
|
+
- Add EmvTransaction.table= method.
|
343
|
+
- Support hardware parameter on EmvTransaction.open to load or not EMV hardware.
|
344
|
+
- EmvTransaction.open configure EMV class on Device form adapter.
|
345
|
+
- Call super on EmvTransaction methods.
|
346
|
+
- Refactoring app selection to support defined timeout.
|
347
|
+
- Remove debugs from load tables.
|
348
|
+
- Remove money input from process.
|
349
|
+
- Refactoring env structure set’s and get’s.
|
350
|
+
- Refactoring pax env finish method.
|
351
|
+
- Remove dynamically EMV class definition, now the responsibility belongs to mruby-pax.
|
352
|
+
- Remove host_decision and process_decision from EmvTransaction, we should use emv structures.
|
353
|
+
- Refactoring selection to follow shared library returns.
|
354
|
+
- Remove commentaries.
|
355
|
+
- Sent amount other to PAX::EMV.start_transaction.
|
356
|
+
- Refactoring PAX::EMV.finish setting TLV values from finish_data, and fix Device::EMV typo.
|
357
|
+
- Indent EmvTransaction.
|
358
|
+
- Refactoring EMVRow to check if keys include in the scheme and avoid exception.
|
359
|
+
- Include DaFunk::Helper in EmvPax.
|
360
|
+
- Implement EmvTransaction#opened?.
|
361
|
+
- Refactoring EmvPax#set_date packing only 6 bytes and parsing time using sprintf.
|
362
|
+
- Replace Struct use by EMVStruct to avoid memory leak.
|
363
|
+
- Add I18n for pin scenarios.
|
364
|
+
- Return EMV_CARDAPPNAV instead of EMV_NOAPPLIC when application no found in EmvPax selection.
|
365
|
+
- Review all commentaries in EmvPax.
|
366
|
+
- Add pin callback customization for get_pin_block, get_pin_plain and get_pin_dukpt.
|
367
|
+
- Set self.process_info.offline_pin and self.process_info.online_pin as default “0”.
|
368
|
+
- Implement EmvPax#amount_to_money converting value for currency based on transaction_currency_code.
|
369
|
+
- Check AC of start_transaction response.
|
370
|
+
- Support to ARQC in EmvPax#check_ac.
|
371
|
+
- Review pack/unpack action sending the total size, instead of use * and avoid possible memory leak.
|
372
|
+
- Refactoring EmvPax#finish:
|
373
|
+
- Refactoring tlv and script receive, process and response.
|
374
|
+
- Support to debug TSI.
|
375
|
+
- Refactoring commentaries.
|
376
|
+
- Call Display.clear before print remove card.
|
377
|
+
- Debug application label and row label.
|
378
|
+
|
379
|
+
### 0.2.0 - 2016-06-30
|
380
|
+
|
381
|
+
- Support PAX D200 interface.
|
382
|
+
|
383
|
+
### 0.1.0 - 2016-06-29
|
384
|
+
|
385
|
+
- First version.
|
data/Rakefile
ADDED
data/funky-emv.gemspec
ADDED
@@ -0,0 +1,27 @@
|
|
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 = "MIT"
|
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", "~> 2.0"
|
24
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
25
|
+
spec.add_dependency "funky-tlv", "~> 0.2"
|
26
|
+
end
|
27
|
+
|
data/lib/version.rb
ADDED
metadata
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: funky-emv
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Thiago Scalone
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-07-22 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: '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: funky-tlv
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.2'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.2'
|
55
|
+
description: Library responsible for implement the interface between EMV embedded
|
56
|
+
sdk.
|
57
|
+
email:
|
58
|
+
- thiago@cloudwalk.io
|
59
|
+
executables: []
|
60
|
+
extensions: []
|
61
|
+
extra_rdoc_files: []
|
62
|
+
files:
|
63
|
+
- ".gitignore"
|
64
|
+
- Gemfile
|
65
|
+
- Gemfile.lock
|
66
|
+
- README.md
|
67
|
+
- RELEASE_NOTES.md
|
68
|
+
- Rakefile
|
69
|
+
- funky-emv.gemspec
|
70
|
+
- lib/version.rb
|
71
|
+
- out/funky-emv/main.mrb
|
72
|
+
homepage: http://cloudwalk.io
|
73
|
+
licenses:
|
74
|
+
- MIT
|
75
|
+
metadata: {}
|
76
|
+
post_install_message:
|
77
|
+
rdoc_options: []
|
78
|
+
require_paths:
|
79
|
+
- lib
|
80
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: 1.9.3
|
85
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
requirements: []
|
91
|
+
rubygems_version: 3.0.0
|
92
|
+
signing_key:
|
93
|
+
specification_version: 4
|
94
|
+
summary: DaFunk EMV Library
|
95
|
+
test_files: []
|