From 1be525d8ce2e738486e46936a2ea3345d79faa31 Mon Sep 17 00:00:00 2001 From: "Jack Chen (chendo)" Date: Sat, 29 Mar 2014 15:14:25 +1100 Subject: [PATCH] Prepare for 0.2.1 release --- README.md | 17 ++++++++++++++++- lib/lifx-http/version.rb | 2 +- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3e59e1a..fdbde35 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,11 @@ This is an **unofficial** JSON RESTful API service for controlling LIFX devices. This API adds some reliability that the [LIFX gem](https://github.com/LIFX/lifx-gem) does not include. +## Features + +* Mostly synchronous, apart from setting colour +* Supports MDNS + ## Requirements * Ruby 2.0+ @@ -22,7 +27,6 @@ This is an **unofficial** JSON RESTful API service for controlling LIFX devices. * Start a slow sunrise effect: * `curl -XPUT http://localhost:56780/lights/all/color?hue=35&saturation=0.37&brightness=0.65&duration=10m -d ''` - ## API * `selector` is either: @@ -48,6 +52,17 @@ To view documentation and play with the API, start the API server locally, then You should see something like this: ![Swagger screenshot](doc.png) +## Changelog + +#### 0.2.1 + +- Duration now supports minute and hour suffixes e.g. "12h" for 12 hours thanks to @Bluebie +- MDNS support! Enables easy discovery of a LIFX HTTP instance on the LAN. + +#### 0.2.0 + +- First gem release + ## License MIT. See [LICENSE](LICENSE) diff --git a/lib/lifx-http/version.rb b/lib/lifx-http/version.rb index f687b66..2b990d7 100644 --- a/lib/lifx-http/version.rb +++ b/lib/lifx-http/version.rb @@ -1,3 +1,3 @@ module LIFXHTTP - VERSION = "0.2.0" + VERSION = "0.2.1" end