indicator_delcom 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +10 -8
  2. data/bin/indicatord +1 -1
  3. metadata +14 -3
data/README.md CHANGED
@@ -1,13 +1,15 @@
1
- This could be checked into github, but we have currently used up all our private repositories.
2
-
3
1
  indicatord - is a sinatra app (running as root) that drives the usb delcom light
4
2
  jenkins_light - monitors the jenkins ci view running on JENKINS_URL and modifies the indicator light by sending get requests to the sinatra app
5
3
 
6
- TODO:
7
- for some reason the bin/indicatord isn't working, so instead its running with the following file:
4
+ Works under linux (tested under Ubuntu 10.04)
5
+
6
+ ### Installing under Ubuntu
7
+ ```
8
+ sudo apt-get install libusb-dev
9
+ ```
8
10
 
9
- :::: /usr/local/bin/indicatord ::::
10
- #!/bin/sh
11
- ruby /home/ci/dev/indicator/bin/indicatord
12
- :::: /usr/local/bin/indicatord ::::
11
+ ```
12
+ sudo gem install indicator_delcom
13
+ ```
13
14
 
15
+ TODO: rename this repo
data/bin/indicatord CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/local/rvm/rubies/ruby-1.9.2-p180/bin/ruby
1
+ #!/usr/bin/env ruby
2
2
 
3
3
  require 'rubygems'
4
4
  require 'sinatra'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: indicator_delcom
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - PlayUp Devops
@@ -46,16 +46,27 @@ dependencies:
46
46
  type: :runtime
47
47
  version_requirements: *id003
48
48
  - !ruby/object:Gem::Dependency
49
- name: rake
49
+ name: json
50
50
  prerelease: false
51
51
  requirement: &id004 !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: "0"
57
+ type: :runtime
58
+ version_requirements: *id004
59
+ - !ruby/object:Gem::Dependency
60
+ name: rake
61
+ prerelease: false
62
+ requirement: &id005 !ruby/object:Gem::Requirement
52
63
  none: false
53
64
  requirements:
54
65
  - - ~>
55
66
  - !ruby/object:Gem::Version
56
67
  version: 0.9.2
57
68
  type: :development
58
- version_requirements: *id004
69
+ version_requirements: *id005
59
70
  description: |
60
71
  Sinatra app that drives the delcom indicator light
61
72