dht-sensor-ffi 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: afa01bbaf4ac1f3140c5284f3b867697218fef7debcc0eb6c853c35268c82194
4
- data.tar.gz: 7be56d2508caf4101a56fad6f61d4d6c3c3f7ea10cd1b69213b7918a3d272c62
3
+ metadata.gz: 21ee32b93d693aa0e4840554e4ff528e2a22d2906c59415bb0d72f20c900c656
4
+ data.tar.gz: b05d65f22352c90898937c03b5e1778cc130380c1b50b47e6e2c9b922f916662
5
5
  SHA512:
6
- metadata.gz: 83dc527d879e5d26d0456a3de6e5cf9139b73166b90d11e66e1ab5a86d38517216c8e2a6b1fdb3a3bad9a1d1612cb32ef09a4883de5080c773d01c367716ecf4
7
- data.tar.gz: 34f1e206ce12d39dfe43c85b123ad0df2d5fe46ffe67f820ac95367e4c3264fb2fc7ca78431690bdb20f1913e7c8d2788b48c7f560cc943b46c7beee2333e174
6
+ metadata.gz: 2b48ca90cc82a0be800e282d3204125ace1fe0664707973f36f781b924fc18a06c262edc1d3b23b025c279a4b70871a368c2a6c14f0244f28555ded9b188b6ac
7
+ data.tar.gz: 6a01a1e4da7fc716cc1b4fd7be3076a1148306caedc08428f0d6b02a2ce7af45f0b16e5cd56a90912f68e6ff778d620a86b9554e27c923f4d2c181af2d91e075
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -2,12 +2,12 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: dht-sensor-ffi 0.3.0 ruby lib
5
+ # stub: dht-sensor-ffi 0.3.1 ruby lib
6
6
  # stub: ext/extconf.rb
7
7
 
8
8
  Gem::Specification.new do |s|
9
9
  s.name = "dht-sensor-ffi".freeze
10
- s.version = "0.3.0"
10
+ s.version = "0.3.1"
11
11
 
12
12
  s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
13
13
  s.require_paths = ["lib".freeze]
@@ -10,7 +10,6 @@ module DhtSensor
10
10
  end
11
11
 
12
12
  def temperature_f
13
- return 0 if @temperature == 0
14
13
  (@temperature * 9/5) + 32
15
14
  end
16
15
  alias_method :temp_f, :temperature_f
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dht-sensor-ffi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chetan Sarva