-
Notifications
You must be signed in to change notification settings - Fork 8
/
ruby-nfc.gemspec
44 lines (40 loc) · 1.37 KB
/
ruby-nfc.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Gem::Specification.new do |s|
s.name = 'ruby-nfc'
s.version = '1.6'
s.date = '2018-12-28'
s.summary = "Provides NFC functionality for Ruby"
s.description = <<-EOF
This gem is built on top of libnfc and libfreefare using ffi and supports:
* Reading and writing Mifare Classic and Ultralight tags
* Android HCE / Blackberry VTE emulated tags
* Dual-interface smart cards like MasterCard PayPass or Visa payWave
EOF
s.authors = ["Maxim Chechel"]
s.email = '[email protected]'
s.files = [
"./lib/ruby-nfc.rb",
"./lib/ruby-nfc/nfc.rb",
"./lib/ruby-nfc/tags/mifare/classic.rb",
"./lib/ruby-nfc/tags/mifare/tag.rb",
"./lib/ruby-nfc/tags/mifare/ultralight.rb",
"./lib/ruby-nfc/tags/isodep.rb",
"./lib/ruby-nfc/tags/tag.rb",
"./lib/ruby-nfc/reader.rb",
"./lib/ruby-nfc/libnfc.rb",
"./lib/ruby-nfc/apdu/apdu.rb",
"./lib/ruby-nfc/apdu/request.rb",
"./lib/ruby-nfc/apdu/response.rb",
"./LICENSE"
]
s.homepage = 'https://github.com/hexdigest/ruby-nfc'
s.license = 'MIT'
s.requirements << 'libnfc, v1.7.x'
s.requirements << 'libfreefare'
s.add_runtime_dependency 'ffi', '~> 1'
s.add_development_dependency 'minitest', '~> 0'
s.post_install_message = <<-EOS
Don't forget to install libnfc and libfreefare
see installation instructions here:
https://github.com/hexdigest/ruby-nfc
EOS
end