absolute 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -1,2 +1,3 @@
1
1
  absolute.gem
2
- ============
2
+ ============
3
+
data/absolute.gemspec ADDED
@@ -0,0 +1,8 @@
1
+ Gem::Specification.new do |spec|
2
+ spec.name = %q{absolute}
3
+ spec.version = '0.0.2'
4
+ spec.summary = %q{}
5
+ spec.date = DateTime.now.strftime( "%Y-%m-%d" )
6
+ spec.authors = ["nomilous","","",""]
7
+ spec.files = `git ls-files`.strip.split("\n")
8
+ end
data/app/example.rb ADDED
@@ -0,0 +1,4 @@
1
+ lib = File.expand_path(File.dirname(__FILE__) + '/../lib')
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+
4
+ require 'absolute'
data/config.ru ADDED
@@ -0,0 +1,3 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/app/example')
2
+
3
+ run Absolute::App
data/lib/README.md ADDED
@@ -0,0 +1,3 @@
1
+ absolute.gem
2
+ ============
3
+
@@ -0,0 +1,8 @@
1
+ Gem::Specification.new do |spec|
2
+ spec.name = %q{absolute}
3
+ spec.version = '0.0.1'
4
+ spec.summary = %q{}
5
+ spec.date = DateTime.now.strftime( "%Y-%m-%d" )
6
+ spec.authors = ["Richard","","",""]
7
+ spec.files = `git ls-files`.strip.split("\n")
8
+ end
data/lib/absolute.rb ADDED
@@ -0,0 +1,23 @@
1
+ module Absolute
2
+
3
+ module App
4
+
5
+ class << self
6
+
7
+ def call( env )
8
+
9
+ response = "absolute"
10
+
11
+ headers = {}
12
+ headers['Content-Length'] = response.length.to_s
13
+ headers['Content-Type'] = "text/html"
14
+
15
+ [200, headers, response]
16
+
17
+ end
18
+
19
+ end
20
+
21
+ end
22
+
23
+ end
@@ -0,0 +1,4 @@
1
+ lib = File.expand_path(File.dirname(__FILE__) + '/../lib')
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+
4
+ require 'absolute'
data/lib/config.ru ADDED
@@ -0,0 +1,3 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/app/example')
2
+
3
+ run Absolute::App
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: absolute
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
- - Richard
13
+ - nomilous
14
14
  - ""
15
15
  - ""
16
16
  - ""
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2012-10-16 00:00:00 Z
21
+ date: 2012-10-18 00:00:00 Z
22
22
  dependencies: []
23
23
 
24
24
  description:
@@ -31,6 +31,14 @@ extra_rdoc_files: []
31
31
 
32
32
  files:
33
33
  - README.md
34
+ - absolute.gemspec
35
+ - app/example.rb
36
+ - config.ru
37
+ - lib/README.md
38
+ - lib/absolute.gemspec
39
+ - lib/absolute.rb
40
+ - lib/app/example.rb
41
+ - lib/config.ru
34
42
  homepage:
35
43
  licenses: []
36
44
 
@@ -63,6 +71,6 @@ rubyforge_project:
63
71
  rubygems_version: 1.8.5
64
72
  signing_key:
65
73
  specification_version: 3
66
- summary: eventmachine based networked daemon framework
74
+ summary: ""
67
75
  test_files: []
68
76