ruby_i2c 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +11 -1
- data/lib/ruby_i2c/version.rb +1 -1
- data/ruby_i2c.gemspec +1 -1
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA1:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: b363cccb364157ee5cc3d97115561dee41e48c59
         | 
| 4 | 
            +
              data.tar.gz: fd8422203ffe6f51dca3dc7023416d10e06521fe
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 679eef78134c30c3cb3cea54f7d271d68f6b035bf8e910b46e29ddf857e6bcf50e082f8af752618244c89ce9bb6822deda045580248d29aef609525ac037c525
         | 
| 7 | 
            +
              data.tar.gz: 16a327e8738f686ad2ddb8a0e27bbaa0ad4f0b9eb970ae0f66b42162d96745218e0a762cf49ec786d3fbe175511a4c76b322a3717ded5bf0b96d4c7065ff6058
         | 
    
        data/README.md
    CHANGED
    
    | @@ -25,7 +25,17 @@ Or install it yourself as: | |
| 25 25 |  | 
| 26 26 | 
             
            ## Usage
         | 
| 27 27 |  | 
| 28 | 
            -
             | 
| 28 | 
            +
            This library supports the Silicon Labs si70xx chip (for now, pull requests encouraged)
         | 
| 29 | 
            +
             | 
| 30 | 
            +
            ```
         | 
| 31 | 
            +
            irb(main):001:0> s = RubyI2C::Device::SI70XX.new
         | 
| 32 | 
            +
            => #<RubyI2C::Device::SI70XX:0x56b9a058 @adapter=#<RubyI2C::Adapter::UnixDevice:0x56ae57d0 @slave_addr=1795, @device_file="/dev/i2c-1", @mutex=#<Thread::Mutex:0x56ad7fb8>>, @address=64>
         | 
| 33 | 
            +
             | 
| 34 | 
            +
            irb(main):002:0> s.relative_humidity
         | 
| 35 | 
            +
            => 57
         | 
| 36 | 
            +
            irb(main):003:0> s.temperature
         | 
| 37 | 
            +
            => 22.176728515624994
         | 
| 38 | 
            +
            ```
         | 
| 29 39 |  | 
| 30 40 | 
             
            ## Development
         | 
| 31 41 |  | 
    
        data/lib/ruby_i2c/version.rb
    CHANGED
    
    
    
        data/ruby_i2c.gemspec
    CHANGED
    
    | @@ -11,7 +11,7 @@ Gem::Specification.new do |spec| | |
| 11 11 |  | 
| 12 12 | 
             
              spec.summary       = %q{YA Ruby i2c library}
         | 
| 13 13 | 
             
              spec.description   = %q{Yet another ruby i2c library}
         | 
| 14 | 
            -
              spec.homepage      = "https://github.com/brundage/ | 
| 14 | 
            +
              spec.homepage      = "https://github.com/brundage/ruby-i2c"
         | 
| 15 15 |  | 
| 16 16 | 
             
              spec.require_paths = ["lib"]
         | 
| 17 17 |  | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: ruby_i2c
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.1. | 
| 4 | 
            +
              version: 0.1.3
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Dean Brundage
         | 
| @@ -85,7 +85,7 @@ files: | |
| 85 85 | 
             
            - lib/ruby_i2c/device/si70xx.rb
         | 
| 86 86 | 
             
            - lib/ruby_i2c/version.rb
         | 
| 87 87 | 
             
            - ruby_i2c.gemspec
         | 
| 88 | 
            -
            homepage: https://github.com/brundage/ | 
| 88 | 
            +
            homepage: https://github.com/brundage/ruby-i2c
         | 
| 89 89 | 
             
            licenses: []
         | 
| 90 90 | 
             
            metadata: {}
         | 
| 91 91 | 
             
            post_install_message: 
         |