Permalink
Browse files

Adding new files

  • Loading branch information...
0 parents commit 98b8ec2f0e4c5d4631031a2c7d15e4d614c2123e @leeadkins committed Jul 4, 2011
Showing with 73 additions and 0 deletions.
  1. +4 −0 .gitignore
  2. +4 −0 Gemfile
  3. +1 −0 Rakefile
  4. +7 −0 bin/vet-ci
  5. +7 −0 lib/vet-ci.rb
  6. +20 −0 lib/vet-ci/server.rb
  7. +5 −0 lib/vet-ci/version.rb
  8. +25 −0 vet-ci.gemspec
@@ -0,0 +1,4 @@
+*.gem
+.bundle
+Gemfile.lock
+pkg/*
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in vet-ci.gemspec
+gemspec
@@ -0,0 +1 @@
+require 'bundler/gem_tasks'
@@ -0,0 +1,7 @@
+#!/usr/bin/env ruby
+
+$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
+
+require 'vet-ci'
+
+VetCI::Server.start
@@ -0,0 +1,7 @@
+require 'vet-ci/version'
+require 'vet-ci/server'
+
+puts "HEllo"
+module VetCI
+ # I'll add more here later.
+end
@@ -0,0 +1,20 @@
+require 'sinatra/base'
+require 'erb'
+
+class VetCI
+ class Server < Sinatra::Base
+ lib_dir = File.dirname(File.expand_path(__FILE__))
+
+ set :views, "#{lib_dir}/views"
+ set :public, "#{lib_dir}/public"
+ set :static, true
+
+ get '/' do
+ "Hello World"
+ end
+
+ def self.start
+ VetCI::Server.run! :host => '0.0.0.0', :port => 4567
+ end
+ end
+end
@@ -0,0 +1,5 @@
+module Vet
+ module Ci
+ VERSION = "0.0.1"
+ end
+end
@@ -0,0 +1,25 @@
+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "vet-ci/version"
+
+Gem::Specification.new do |s|
+ s.name = "vet-ci"
+ s.version = Vet::Ci::VERSION
+ s.authors = ["Lee Adkins"]
+ s.email = ["lee@ravsonic.com"]
+ s.homepage = "http://github.com/leeadkins/vet-ci"
+ s.summary = %q{Make sure your little code pets get their checkups.}
+ s.description = %q{VetCI is a continuous intergration system.}
+
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ #s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.executables = %w( vet-ci )
+ s.require_paths = ["lib"]
+
+
+
+ s.add_runtime_dependency 'sinatra'
+ s.add_runtime_dependency 'choice'
+end

0 comments on commit 98b8ec2

Please sign in to comment.