Skip to content

Commit fa3ed12

Browse files
committed
gemified
1 parent c65f21d commit fa3ed12

28 files changed

+46
-0
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
.DS_Store
22
.sass-cache/
3+
.gem
4+
.bundle
5+
Gemfile.lock
6+
pkg/*

Gemfile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source "http://rubygems.org"
2+
3+
# Specify your gem's dependencies in sensu-dashboard.gemspec
4+
gemspec

Rakefile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
require 'bundler/gem_tasks'

bin/sensu-dashboard

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env ruby
2+
begin
3+
require 'sensu-dashboard/app.rb'
4+
rescue LoadError => e
5+
require 'rubygems'
6+
path = File.expand_path '../../lib', __FILE__
7+
$:.unshift(path) if File.directory?(path) && !$:.include?(path)
8+
require 'sensu-dashboard/app.rb'
9+
end
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

lib/sensu-dashboard/version.rb

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module Sensu
2+
module Dashboard
3+
VERSION = "0.1.0"
4+
end
5+
end
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

sensu-dashboard.gemspec

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# -*- encoding: utf-8 -*-
2+
$:.push File.expand_path("../lib", __FILE__)
3+
require "sensu-dashboard/version"
4+
5+
Gem::Specification.new do |s|
6+
s.name = "sensu-dashboard"
7+
s.version = Sensu::Dashboard::VERSION
8+
s.authors = ["Justin Kolberg", "Sean Porter"]
9+
10+
s.homepage = "https://github.com/sonian/sensu-dashboard"
11+
s.summary = %q{A web interface for sensu, a publish/subscribe server monitoring framework}
12+
s.description = %q{Display current events and clients in sensu via a simple web interface}
13+
14+
s.add_dependency("eventmachine")
15+
s.add_dependency("sinatra/async")
16+
s.add_dependency("em-http-request")
17+
s.add_dependency("em-websocket")
18+
s.add_dependency("sass")
19+
20+
s.files = `git ls-files`.split("\n")
21+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
22+
s.require_paths = ["lib"]
23+
end

0 commit comments

Comments
 (0)