thermostat_robin_spruytte 0.0.0 → 0.0.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/thermostat +13 -0
  3. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d465237a2bb615073fda39e510cd2e280848f4f0b42a79150065d98a9c0d6b4
4
- data.tar.gz: 67f5d653b2ca32d978e4b085633f9b20f2a06b6e268bf113a4a52d0ea37ca7a3
3
+ metadata.gz: df7f99f9b3a224442ca1c906a8364ec139d820a961f2674600d91f38518d960d
4
+ data.tar.gz: c3c8fa5e3237360e263588840acd45197facf71c67d6792f2802bafab2816bfe
5
5
  SHA512:
6
- metadata.gz: 7bd74eda7413b903089d4298b901dcd4e30a70714bd7c8cc5d4ba569b306386a3fc2272f08d2fe834f132ff85bc8b079ebb1352127e67c36ecdf05c04e43698d
7
- data.tar.gz: 4ade38b43f64b76c374c44096659d92e65f35404c6944d062d5f88f02e3e3dda3ed48c1c6d4f997bf2c35f02026358f89c833c4980e84c556b524b0bdd0c5c65
6
+ metadata.gz: 6b1ba5e24fb6cd3366c154f7f318f6ec123faf8e7ce62b98757a8946a4518c284bae026e5a544451fd4c29dedb8e66da1d1fc8563618afc7865085e553d280bc
7
+ data.tar.gz: a712cea47a83511ffa08a5c5eb7fda46d78959213249b5331cdb1cb8b2fd58f627de4c802886de82756fe99b47f74c35bac8e87c02b25b624b15f4895cec833f
data/bin/thermostat ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'thermostat.rb'
4
+ require 'app.rb'
5
+
6
+ thermostat = Thermostat.new(temperature: ARGV[0].to_f)
7
+ app = App.new(
8
+ wanted_temperature: ARGV[1].to_f,
9
+ range: 1,
10
+ thermostat: thermostat,
11
+ update_speed: 0.1
12
+ )
13
+ app.run
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thermostat_robin_spruytte
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robin Spruytte
@@ -12,10 +12,12 @@ date: 2019-05-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: an aplication that tries to ceep the temperature arround a certain value
14
14
  email: robin.spruytte@student.vives.be
15
- executables: []
15
+ executables:
16
+ - thermostat
16
17
  extensions: []
17
18
  extra_rdoc_files: []
18
19
  files:
20
+ - bin/thermostat
19
21
  - lib/thermostat.rb
20
22
  homepage: http://rubygems.org/gems/thermostat_robin_spruytte
21
23
  licenses: