summaryrefslogtreecommitdiff
path: root/v1/get-temps.rb.bak
diff options
context:
space:
mode:
Diffstat (limited to 'v1/get-temps.rb.bak')
-rwxr-xr-xv1/get-temps.rb.bak16
1 files changed, 0 insertions, 16 deletions
diff --git a/v1/get-temps.rb.bak b/v1/get-temps.rb.bak
deleted file mode 100755
index ac24051..0000000
--- a/v1/get-temps.rb.bak
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/env ruby
-
-while line = STDIN.gets
- a = line.split
- d = {}
- a.each { |i|
- name, val = i.split("::")
- if name == "temperature"
- d["temperature"] = val
- end
- if name == "device_id"
- d["dev"] = val
- end
- }
- puts d.to_s
-end