initial commit
This commit is contained in:
commit
c5db0891ff
|
@ -0,0 +1,8 @@
|
|||
GEM
|
||||
remote: http://rubygems.org/
|
||||
specs:
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
|
@ -0,0 +1,5 @@
|
|||
zero - a web helper
|
||||
-------------------
|
||||
|
||||
This is a small collection of helpers to create small and easy to use
|
||||
web applications.
|
|
@ -0,0 +1,3 @@
|
|||
module Zero
|
||||
require_relative 'zero/server'
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
module Zero
|
||||
class Server
|
||||
def call(env)
|
||||
[200, {'Content-Type' => 'text/html'}, ["Hello World!"]]
|
||||
end
|
||||
end
|
||||
end
|
|
@ -0,0 +1,3 @@
|
|||
module Zero
|
||||
VERSION = '0.0.1'.freeze
|
||||
end
|
|
@ -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
|
Loading…
Reference in New Issue