Permalink
Browse files

updating bin file

  • Loading branch information...
1 parent 242f368 commit beada850c4d2e2c7b703bb7c9d579dd2cbb98257 @tenderlove committed Aug 8, 2009
Showing with 4 additions and 1 deletion.
  1. +1 −0 Rakefile
  2. +3 −1 bin/nfc
View
@@ -10,6 +10,7 @@ HOE = Hoe.spec('nfc') do
self.readme_file = 'README.rdoc'
self.history_file = 'CHANGELOG.rdoc'
self.extra_rdoc_files = FileList['*.rdoc']
+ self.spec_extras = { :extensions => ["ext/nfc/extconf.rb"] }
end
RET = Rake::ExtensionTask.new("nfc", HOE.spec) do |ext|
View
@@ -6,4 +6,6 @@ nfc = NFC.instance
puts "Connected to NFC reader: #{nfc.device.name}"
puts
-p nfc.find
+nfc.find do |tag|
+ p tag
+end

0 comments on commit beada85

Please sign in to comment.