chowder 0.2.4.1 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/chowder.rb +4 -4
  2. metadata +10 -8
data/lib/chowder.rb CHANGED
@@ -59,10 +59,10 @@ module Chowder
59
59
  HTML
60
60
 
61
61
  def self.new(app=nil, args={}, &block)
62
- Rack::Builder.new {
63
- use Rack::Session::Cookie, :secret => args[:secret]
64
- run super
65
- }.to_app
62
+ builder = Rack::Builder.new
63
+ builder.use Rack::Session::Cookie, :secret => args[:secret]
64
+ builder.run super
65
+ builder.to_app
66
66
  end
67
67
 
68
68
  def initialize(app=nil, args={}, &block)
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chowder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4.1
4
+ prerelease:
5
+ version: 0.2.5
5
6
  platform: ruby
6
7
  authors:
7
8
  - Harry Vangberg
@@ -15,14 +16,15 @@ default_executable:
15
16
  dependencies:
16
17
  - !ruby/object:Gem::Dependency
17
18
  name: sinatra
18
- type: :runtime
19
- version_requirement:
20
- version_requirements: !ruby/object:Gem::Requirement
19
+ prerelease: false
20
+ requirement: &id001 !ruby/object:Gem::Requirement
21
+ none: false
21
22
  requirements:
22
23
  - - ">="
23
24
  - !ruby/object:Gem::Version
24
25
  version: 0.9.1
25
- version:
26
+ type: :runtime
27
+ version_requirements: *id001
26
28
  description:
27
29
  email: harry@vangberg.name
28
30
  executables: []
@@ -46,21 +48,21 @@ rdoc_options: []
46
48
  require_paths:
47
49
  - lib
48
50
  required_ruby_version: !ruby/object:Gem::Requirement
51
+ none: false
49
52
  requirements:
50
53
  - - ">="
51
54
  - !ruby/object:Gem::Version
52
55
  version: "0"
53
- version:
54
56
  required_rubygems_version: !ruby/object:Gem::Requirement
57
+ none: false
55
58
  requirements:
56
59
  - - ">="
57
60
  - !ruby/object:Gem::Version
58
61
  version: "0"
59
- version:
60
62
  requirements: []
61
63
 
62
64
  rubyforge_project:
63
- rubygems_version: 1.3.5
65
+ rubygems_version: 1.6.2
64
66
  signing_key:
65
67
  specification_version: 3
66
68
  summary: rack middleware providing session based authentication