0
0
Fork 0

initial commit

This commit is contained in:
Gibheer 2012-10-04 20:17:07 +02:00
commit c5db0891ff
7 changed files with 49 additions and 0 deletions

2
Gemfile Normal file
View File

@ -0,0 +1,2 @@
source :rubygems
gemfile

8
Gemfile.lock Normal file
View File

@ -0,0 +1,8 @@
GEM
remote: http://rubygems.org/
specs:
PLATFORMS
ruby
DEPENDENCIES

5
README.md Normal file
View File

@ -0,0 +1,5 @@
zero - a web helper
-------------------
This is a small collection of helpers to create small and easy to use
web applications.

3
lib/zero.rb Normal file
View File

@ -0,0 +1,3 @@
module Zero
require_relative 'zero/server'
end

7
lib/zero/server.rb Normal file
View File

@ -0,0 +1,7 @@
module Zero
class Server
def call(env)
[200, {'Content-Type' => 'text/html'}, ["Hello World!"]]
end
end
end

3
lib/zero/version.rb Normal file
View File

@ -0,0 +1,3 @@
module Zero
VERSION = '0.0.1'.freeze
end

21
zero.gemspec Normal file
View File

@ -0,0 +1,21 @@
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/zero/version', __FILE__)
Gem::Specification.new do |s|
s.name = 'zero'
s.version = Zero::VERSION.dup
s.authors = ['Gibheer']
s.email = 'gibheer@gmail.com'
s.summary = 'Event distribution and aggregation framework'
s.homepage = 'http://github.com/mbj/eventstorm'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.require_paths = %w(lib)
s.extra_rdoc_files = %w(README.md)
s.rubygems_version = '1.8.24'
s.add_runtime_dependency('rack')
end