mango 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.mdown +7 -0
- data/README.mdown +2 -2
- data/lib/mango.rb +0 -1
- data/lib/mango/application.rb +0 -2
- data/lib/mango/templates/Gemfile +1 -1
- data/lib/mango/version.rb +1 -1
- data/spec/lib/application/routing_public_files_spec.rb +0 -4
- data/spec/lib/runner_spec.rb +1 -1
- data/spec/lib/version_spec.rb +1 -1
- metadata +2 -2
data/CHANGES.mdown
CHANGED
data/README.mdown
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Mango release 0.5.
|
1
|
+
Mango release 0.5.3 (April 15, 2011)
|
2
2
|
====================================
|
3
3
|
|
4
4
|
Copyright (c) 2010 Ryan Sobol. Licensed under the MIT license. Please see the {file:LICENSE} for more information.
|
@@ -116,7 +116,7 @@ Simply edit the gem version in your application's `Gemfile` and re-install with
|
|
116
116
|
$ cat Gemfile
|
117
117
|
# encoding: UTF-8
|
118
118
|
source "http://rubygems.org"
|
119
|
-
gem "mango", "~> 0.5.
|
119
|
+
gem "mango", "~> 0.5.3"
|
120
120
|
$ bundle install
|
121
121
|
|
122
122
|
**TIP:** If you're working in the insolation of an [RVM gemset](http://rvm.beginrescueend.com/gemsets/basics/), type `gem clean` to uninstall outdated gems.
|
data/lib/mango.rb
CHANGED
@@ -5,7 +5,6 @@ require File.expand_path("mango/dependencies", File.dirname(__FILE__))
|
|
5
5
|
|
6
6
|
require_relative "mango/version"
|
7
7
|
require_relative "mango/rack/debugger"
|
8
|
-
require_relative "mango/rack/static_assets_cache"
|
9
8
|
require_relative "mango/application"
|
10
9
|
require_relative "mango/flavored_markdown"
|
11
10
|
require_relative "mango/content_page"
|
data/lib/mango/application.rb
CHANGED
@@ -114,8 +114,6 @@ module Mango
|
|
114
114
|
set :styles, lambda { File.join(root, "themes", theme, "styles") }
|
115
115
|
set :content, lambda { File.join(root, "content") }
|
116
116
|
|
117
|
-
use Mango::Rack::StaticAssetsCache
|
118
|
-
|
119
117
|
configure :development do
|
120
118
|
use Mango::Rack::Debugger
|
121
119
|
end
|
data/lib/mango/templates/Gemfile
CHANGED
data/lib/mango/version.rb
CHANGED
@@ -114,10 +114,6 @@ Disallow: /cgi-bin/
|
|
114
114
|
last_response.should be_ok
|
115
115
|
end
|
116
116
|
|
117
|
-
it "sends the correct Cache-Control header" do
|
118
|
-
last_response["Cache-Control"].should == "public, max-age=43200"
|
119
|
-
end
|
120
|
-
|
121
117
|
it "sends the correct Content-Type header" do
|
122
118
|
last_response["Content-Type"].should == "image/jpeg;charset=utf-8"
|
123
119
|
end
|
data/spec/lib/runner_spec.rb
CHANGED
data/spec/lib/version_spec.rb
CHANGED