doozer 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.3
1
+ 0.4.4
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{doozer}
8
- s.version = "0.4.3"
8
+ s.version = "0.4.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["grippy"]
12
- s.date = %q{2010-02-07}
12
+ s.date = %q{2010-02-08}
13
13
  s.default_executable = %q{doozer}
14
14
  s.description = %q{This GEM provides a small, barebones framework for creating MVC Rack applications.}
15
15
  s.email = %q{gmelton@whorde.com}
@@ -3,6 +3,14 @@
3
3
  APP_PATH = Dir.pwd
4
4
  require File.join(APP_PATH, 'config/boot')
5
5
 
6
+ # rack 1.1.0 introduced Rack::Server which hanldes the option parsing (< 1.1.0 this is handled by bin/rack)
7
+ begin
8
+ server = Rack::Server.new()
9
+ options = server.options
10
+ env = options[:environment]
11
+ rescue
12
+ end
13
+
6
14
  #--boot it up
7
15
  Doozer::Initializer.boot(env)
8
16
 
@@ -3,7 +3,7 @@ module Doozer
3
3
  module Version
4
4
  MAJOR=0
5
5
  MINOR=4
6
- PATCH=3
6
+ PATCH=4
7
7
  STRING=[MAJOR, MINOR, PATCH].join('.')
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doozer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - grippy
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-07 00:00:00 -08:00
12
+ date: 2010-02-08 00:00:00 -08:00
13
13
  default_executable: doozer
14
14
  dependencies: []
15
15