limitless-led 0.1.1 → 0.1.2

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: 2493a478e96a65a5874432d0c460c7c2fe93d701
4
- data.tar.gz: 168bc9cec555559dbd1865da74dbc7bef7e894f7
3
+ metadata.gz: 48c2cd7a441fa6090aac967fb2ba78b13d381e9a
4
+ data.tar.gz: 9e91be40af43bf636abecf70ea66d1fec72ae876
5
5
  SHA512:
6
- metadata.gz: 8c1804293d1663fd6c9d9440178dd19b44e0ad0cdcb7b6e8cbe185a5b667ca4b774b5391cfa404b8d6b3b06f959cd7632caf47fdd6bd8468f66cf722515bc8d0
7
- data.tar.gz: 07ce2abed795a7564a6f3bf066c30b8ac240b8359f791c9d5938f3474b009fed94fbd92ae55f5d8cb0a62dcc259746368db93c7621e15e471478b0de62d45807
6
+ metadata.gz: 3774e30806e61ee63d81082697c728ba0e91c2accd3f5897b30a8d87825c4b9b3b7cb4b3ae2d40c66fc71948edaee37f523bc61052f1153b1ca26a7e6cc07fcc
7
+ data.tar.gz: facbe2ab87bb30d3545171ee1f444f21134765a4aa822960435fa255753f9bc9931a8b2da44da8918b1aadd72ce435ffb11c382197ed40081f1001f70e199889
data/README.md CHANGED
@@ -1,8 +1,10 @@
1
1
  # LimitlessLed
2
2
 
3
3
  [![Build Status](https://travis-ci.org/jpsilvashy/limitless-led.png?branch=master)](https://travis-ci.org/jpsilvashy/limitless-led)
4
+ [![Dependency Status](https://gemnasium.com/jpsilvashy/limitless-led.png)](https://gemnasium.com/jpsilvashy/limitless-led)
5
+ [![Code Climate](https://codeclimate.com/github/jpsilvashy/limitless-led.png)](https://codeclimate.com/github/jpsilvashy/limitless-led)
4
6
 
5
- A Ruby gem for controlling the [LimitlessLED v3.0 RGBW color-changing light bulbs](http://www.limitlessled.com/), based on the official [LimitlessLED API documentation](http://www.limitlessled.com/dev/).
7
+ A Ruby gem for controlling the [LimitlessLED v3.0 RGBW color-changing light bulbs](http://www.limitlessled.com/), based on the official [LimitlessLED API documentation](http://www.limitlessled.com/dev/).
6
8
 
7
9
  ## Installation
8
10
 
@@ -46,7 +48,6 @@ bridge.send_packet "\x40\x00\x55"
46
48
  end
47
49
  end
48
50
 
49
-
50
51
  # Again if you don't have the LimitlessLED, you can create an instance
51
52
  # of the development server
52
53
  server = LimitlessLed::Server.new(host: 'localhost', port: 8899)
@@ -59,7 +60,7 @@ _View more demos in the [/examples](https://github.com/jpsilvashy/limitless-led/
59
60
 
60
61
  If you are using the development server you should see this output:
61
62
 
62
- ![Output](https://www.evernote.com/shard/s5/sh/df5047a2-faa4-4985-98a7-63d86d8a131d/e45fb64438bc946c37c13d88c2dd412d/deep/0/output.jpg)
63
+ ![Output](https://www.evernote.com/shard/s5/sh/8d51bc75-7d2b-4e23-a3c8-05e5742ec333/89bd43c12107a6e2d69bad91a526220c/deep/0/server.jpg)
63
64
 
64
65
  **As a note,** since we are transforming the colors from RGB to HSL and then back for representing the color in the console (which additionally is more limiting than the true color space offered by the LED) some of the hex values may not exactly match, especially near the dark limit. Since we are controlling the the brightness of the LED separately, and do not have access to the saturation some colors maybe be harder to reproduce than others, especially dark colors.
65
66
 
data/examples/demo.rb CHANGED
@@ -30,6 +30,3 @@ server = LimitlessLed::Server.new(host: 'localhost', port: 8899)
30
30
 
31
31
  # Then you can see what the server does when it receives messages
32
32
  server.receive_data("\x40\x00\xff")
33
-
34
-
35
-
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/ruby
2
2
 
3
3
  module LimitlessLed
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
@@ -8,9 +8,9 @@ Gem::Specification.new do |spec|
8
8
  spec.version = LimitlessLed::VERSION
9
9
  spec.authors = ["Joseph Silvashy"]
10
10
  spec.email = ["jpsilvashy@gmail.com"]
11
- spec.summary = %q{Control the LimitlessLED}
12
- spec.description = %q{}
13
- spec.homepage = ""
11
+ spec.summary = %q{A Ruby gem for controlling the LimitlessLED v3.0 RGBW color-changing light bulbs.}
12
+ spec.description = %q{A Ruby gem for controlling the LimitlessLED v3.0 RGBW color-changing light bulbs, based on the official LimitlessLED API documentation.}
13
+ spec.homepage = "https://github.com/jpsilvashy/limitless-led"
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: limitless-led
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joseph Silvashy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-01 00:00:00.000000000 Z
11
+ date: 2013-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -80,7 +80,8 @@ dependencies:
80
80
  - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- description: ''
83
+ description: A Ruby gem for controlling the LimitlessLED v3.0 RGBW color-changing
84
+ light bulbs, based on the official LimitlessLED API documentation.
84
85
  email:
85
86
  - jpsilvashy@gmail.com
86
87
  executables:
@@ -108,7 +109,7 @@ files:
108
109
  - spec/logger_spec.rb
109
110
  - spec/server_spec.rb
110
111
  - spec/spec_helper.rb
111
- homepage: ''
112
+ homepage: https://github.com/jpsilvashy/limitless-led
112
113
  licenses:
113
114
  - MIT
114
115
  metadata: {}
@@ -131,7 +132,8 @@ rubyforge_project:
131
132
  rubygems_version: 2.1.1
132
133
  signing_key:
133
134
  specification_version: 4
134
- summary: Control the LimitlessLED
135
+ summary: A Ruby gem for controlling the LimitlessLED v3.0 RGBW color-changing light
136
+ bulbs.
135
137
  test_files:
136
138
  - spec/bridge_spec.rb
137
139
  - spec/logger_spec.rb