ramaze 2011.01 → 2011.01.30

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/doc/AUTHORS CHANGED
@@ -1,7 +1,7 @@
1
1
  Following persons have contributed to ramaze.
2
2
  (Sorted by number of submitted patches, then alphabetically)
3
3
 
4
- 2704 Michael Fellinger <m.fellinger@gmail.com>
4
+ 2706 Michael Fellinger <m.fellinger@gmail.com>
5
5
  216 Aman Gupta <aman@ramaze.net>
6
6
  89 Jonathan Buch <jonathan.buch@gmail.com>
7
7
  77 Pistos <gitsomegrace.5.pistos@geoshell.com>
data/doc/CHANGELOG CHANGED
@@ -1,3 +1,11 @@
1
+ [3902328 | Sun Jan 30 17:45:39 UTC 2011] Michael Fellinger <m.fellinger@gmail.com>
2
+
3
+ * Version 2011.01.30
4
+
5
+ [ca1cd40 | Sun Jan 30 17:45:08 UTC 2011] Michael Fellinger <m.fellinger@gmail.com>
6
+
7
+ * Work around differences between Rack 1.2.1 and git HEAD
8
+
1
9
  [38f29f8 | Wed Jan 26 21:13:42 UTC 2011] Michael Fellinger <m.fellinger@gmail.com>
2
10
 
3
11
  * Version 2011.01
data/lib/ramaze.rb CHANGED
@@ -66,7 +66,14 @@ module Ramaze
66
66
  m.use Rack::ShowStatus
67
67
  m.use Rack::RouteExceptions
68
68
  m.use Rack::ConditionalGet
69
- m.use Rack::ETag, 'public'
69
+
70
+ # FIXME: This works around differences between Rack 1.2.1 and the git HEAD
71
+ if Rack::ETag.instance_method(:initialize).arity == 1
72
+ m.use Rack::ETag
73
+ else
74
+ m.use Rack::ETag, 'public'
75
+ end
76
+
70
77
  m.use Rack::Head
71
78
  m.use Ramaze::Reloader
72
79
  m.run Ramaze::AppMap
@@ -77,6 +84,14 @@ module Ramaze
77
84
  m.use Rack::RouteExceptions
78
85
  m.use Rack::ShowStatus
79
86
  m.use Rack::ConditionalGet
87
+
88
+ # FIXME: This works around differences between Rack 1.2.1 and the git HEAD
89
+ if Rack::ETag.instance_method(:initialize).arity == 1
90
+ m.use Rack::ETag
91
+ else
92
+ m.use Rack::ETag, 'public'
93
+ end
94
+
80
95
  m.use Rack::ETag
81
96
  m.use Rack::Head
82
97
  m.run Ramaze::AppMap
@@ -1,3 +1,3 @@
1
1
  module Ramaze
2
- VERSION = "2011.01"
2
+ VERSION = "2011.01.30"
3
3
  end
data/ramaze.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{ramaze}
5
- s.version = "2011.01"
5
+ s.version = "2011.01.30"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.3.5") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Michael 'manveru' Fellinger"]
9
- s.date = %q{2011-01-26}
9
+ s.date = %q{2011-01-30}
10
10
  s.default_executable = %q{ramaze}
11
11
  s.description = %q{Ramaze is a simple and modular web framework}
12
12
  s.email = %q{m.fellinger@gmail.com}
metadata CHANGED
@@ -5,7 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 2011
7
7
  - 1
8
- version: "2011.01"
8
+ - 30
9
+ version: 2011.01.30
9
10
  platform: ruby
10
11
  authors:
11
12
  - Michael 'manveru' Fellinger
@@ -13,7 +14,7 @@ autorequire:
13
14
  bindir: bin
14
15
  cert_chain: []
15
16
 
16
- date: 2011-01-26 00:00:00 -06:00
17
+ date: 2011-01-30 00:00:00 -06:00
17
18
  default_executable:
18
19
  dependencies:
19
20
  - !ruby/object:Gem::Dependency