tamashii-mfrc522 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/mfrc522.rb +2 -4
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 440eac7bf93b99e1fdcca04eadc90bb01f325b49
4
- data.tar.gz: 25602072e19601347e17e7b58e30f7919ae35628
3
+ metadata.gz: 86d683ddb3f6d7926aa1279741bbd1e66040efe7
4
+ data.tar.gz: 6317e3e0b40f42a3019cadf5e9126387dfb3d547
5
5
  SHA512:
6
- metadata.gz: 3e476988e2fcd4bfa7c501ffa37132711b52c0af1a15cb39ca45257e181934e718dcccfe6ac892be8ed01ec8cfeee6495afab514c4181be6775da4c3f2cd3cb2
7
- data.tar.gz: 88575cc6eb0330cba4bdfa7776e8bdde6da11693a03c9963c9bd838c900ca57924a5595169c08feaaf845cbecea48d4faa2514666f2ad6527f95dfacd09ca467
6
+ metadata.gz: 1181daf6160c77aa71f21bdbe30711f4b469c6046a73750b0a97570364039c94c98b1ad155af22d2697979265e77620dd1325e60187fa5583a21c7b14abe3e0e
7
+ data.tar.gz: 4d1852cd71db1cdee106e1d8004522c33c52ba9639083db660add8f7602667000a28fd8b8563273139959e2b5339e3cb31020053d83a4843232fff32b31bb23c
@@ -15,8 +15,6 @@ require 'mifare/ultralight'
15
15
  require 'mifare/ultralight_c'
16
16
  require 'mifare/des_fire'
17
17
 
18
- include PiPiper
19
-
20
18
  class MFRC522
21
19
 
22
20
  # PICC commands used by the PCD to manage communication with several PICCs (ISO 14443-3, Type A, section 6.4)
@@ -497,7 +495,7 @@ class MFRC522
497
495
  output = 0
498
496
  PiPiper::Spi.begin do |spi|
499
497
  spi.chip_select_active_low(true)
500
- spi.bit_order Spi::MSBFIRST
498
+ spi.bit_order PiPiper::Spi::MSBFIRST
501
499
  spi.clock @spi_spd
502
500
 
503
501
  spi.chip_select(@spi_chip) do
@@ -512,7 +510,7 @@ class MFRC522
512
510
  def write_spi(reg, values)
513
511
  PiPiper::Spi.begin do |spi|
514
512
  spi.chip_select_active_low(true)
515
- spi.bit_order Spi::MSBFIRST
513
+ spi.bit_order PiPiper::Spi::MSBFIRST
516
514
  spi.clock @spi_spd
517
515
 
518
516
  spi.chip_select(@spi_chip) do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tamashii-mfrc522
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - atitan
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-07-02 00:00:00.000000000 Z
12
+ date: 2017-09-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pi_piper
@@ -49,7 +49,7 @@ files:
49
49
  - lib/mifare/ultralight.rb
50
50
  - lib/mifare/ultralight_c.rb
51
51
  - lib/picc.rb
52
- homepage: https://github.com/lctseng/MFRC522_Ruby
52
+ homepage: https://github.com/tamashii-io/MFRC522_Ruby
53
53
  licenses:
54
54
  - MIT
55
55
  metadata: {}