milk_maid 0.2.5 → 0.2.6

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
  SHA1:
3
- metadata.gz: 165afa2f3eeda981b50ae3e5d3be28ed295d359e
4
- data.tar.gz: fb7371197a3861eabbb26eb583e81a3a8693f9f8
3
+ metadata.gz: dd2d77c4dbdfcf08762d1e7acddcb3ea46a76fd4
4
+ data.tar.gz: 00e9fe4d1ed44f96e34de1c2b9f81fb8b8bb832b
5
5
  SHA512:
6
- metadata.gz: c08dbf952b6ca23d617f468c7b7741c0d3bd93bc915d64696dbc9854c20ace2884cae32dacc6ee1a0ab4b5e9df487d7c009f93b52dde0e530d469253e9f0170c
7
- data.tar.gz: 0c305b294193c090830f0e0b8591fc084ee99b0fd176896ddc624fa002e9fb35784124f3cc00ac8045a7b308ec2114b69fe48d37a08219aa948ccdea5b054178
6
+ metadata.gz: 9cb4011fb7e71d73c084a21c599f4c9671f0640b9c64f7faa2e3e99929328b124b59b9d10e7775e62351016882aa160d473fcebe7734776d1e0d3cfe523fce7b
7
+ data.tar.gz: 88e6877282b63e8564a01a77642ec0f3d04da87cb6fbbdb3d37cb1c0a44c9971f4e645a73de07d2c30bac23c6a7f63fc2394d5363f5ff71819ec353a8b620e7f
@@ -11,12 +11,12 @@ module MilkMaid
11
11
  end
12
12
 
13
13
  def name
14
- return "No sensor attached" unless @sensor.display
14
+ return "No sensor attached" unless @sensor.name
15
15
  @sensor.name
16
16
  end
17
17
 
18
18
  def reading
19
- return "Reading: No sensor attached" unless @sensor.display
19
+ return "Reading: No sensor attached" unless @sensor.reading
20
20
  @sensor.reading
21
21
  end
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module MilkMaid
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,125 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: milk_maid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Newell
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2015-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: thor
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
- - - ">="
16
+ - - '>='
18
17
  - !ruby/object:Gem::Version
19
18
  version: '0'
20
- type: :runtime
19
+ name: thor
21
20
  prerelease: false
21
+ type: :runtime
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: w1temp
29
28
  requirement: !ruby/object:Gem::Requirement
30
29
  requirements:
31
- - - ">="
30
+ - - '>='
32
31
  - !ruby/object:Gem::Version
33
32
  version: '0'
34
- type: :runtime
33
+ name: w1temp
35
34
  prerelease: false
35
+ type: :runtime
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: parse-ruby-client
43
42
  requirement: !ruby/object:Gem::Requirement
44
43
  requirements:
45
- - - ">="
44
+ - - '>='
46
45
  - !ruby/object:Gem::Version
47
46
  version: '0'
48
- type: :runtime
47
+ name: parse-ruby-client
49
48
  prerelease: false
49
+ type: :runtime
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: firebase
57
56
  requirement: !ruby/object:Gem::Requirement
58
57
  requirements:
59
- - - ">="
58
+ - - '>='
60
59
  - !ruby/object:Gem::Version
61
60
  version: '0'
62
- type: :runtime
61
+ name: firebase
63
62
  prerelease: false
63
+ type: :runtime
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
- name: bundler
71
70
  requirement: !ruby/object:Gem::Requirement
72
71
  requirements:
73
- - - "~>"
72
+ - - ~>
74
73
  - !ruby/object:Gem::Version
75
74
  version: '1.10'
76
- type: :development
75
+ name: bundler
77
76
  prerelease: false
77
+ type: :development
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.10'
83
83
  - !ruby/object:Gem::Dependency
84
- name: rake
85
84
  requirement: !ruby/object:Gem::Requirement
86
85
  requirements:
87
- - - "~>"
86
+ - - ~>
88
87
  - !ruby/object:Gem::Version
89
88
  version: '10.0'
90
- type: :development
89
+ name: rake
91
90
  prerelease: false
91
+ type: :development
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - "~>"
94
+ - - ~>
95
95
  - !ruby/object:Gem::Version
96
96
  version: '10.0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: rspec
99
98
  requirement: !ruby/object:Gem::Requirement
100
99
  requirements:
101
- - - ">="
100
+ - - '>='
102
101
  - !ruby/object:Gem::Version
103
102
  version: '0'
104
- type: :development
103
+ name: rspec
105
104
  prerelease: false
105
+ type: :development
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: guard-rspec
113
112
  requirement: !ruby/object:Gem::Requirement
114
113
  requirements:
115
- - - ">="
114
+ - - '>='
116
115
  - !ruby/object:Gem::Version
117
116
  version: '0'
118
- type: :development
117
+ name: guard-rspec
119
118
  prerelease: false
119
+ type: :development
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ">="
122
+ - - '>='
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  description: Reads data from Raspberry PI sensor and posts to Firebase
@@ -130,10 +130,10 @@ executables:
130
130
  extensions: []
131
131
  extra_rdoc_files: []
132
132
  files:
133
- - ".gitignore"
134
- - ".rspec"
135
- - ".ruby-version"
136
- - ".travis.yml"
133
+ - .gitignore
134
+ - .rspec
135
+ - .ruby-version
136
+ - .travis.yml
137
137
  - Gemfile
138
138
  - README.md
139
139
  - Rakefile
@@ -150,28 +150,28 @@ files:
150
150
  - lib/milk_maid/temperature_sensor.rb
151
151
  - lib/milk_maid/version.rb
152
152
  - milk_maid.gemspec
153
- homepage:
153
+ homepage:
154
154
  licenses: []
155
155
  metadata:
156
156
  allowed_push_host: https://rubygems.org
157
- post_install_message:
157
+ post_install_message:
158
158
  rdoc_options: []
159
159
  require_paths:
160
160
  - lib
161
161
  required_ruby_version: !ruby/object:Gem::Requirement
162
162
  requirements:
163
- - - ">="
163
+ - - '>='
164
164
  - !ruby/object:Gem::Version
165
165
  version: '0'
166
166
  required_rubygems_version: !ruby/object:Gem::Requirement
167
167
  requirements:
168
- - - ">="
168
+ - - '>='
169
169
  - !ruby/object:Gem::Version
170
170
  version: '0'
171
171
  requirements: []
172
- rubyforge_project:
173
- rubygems_version: 2.4.6
174
- signing_key:
172
+ rubyforge_project:
173
+ rubygems_version: 2.4.8
174
+ signing_key:
175
175
  specification_version: 4
176
176
  summary: Reads data from Raspberry PI sensor and posts to Firebase
177
177
  test_files: []