mango 0.5.2 → 0.5.3

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/CHANGES.mdown CHANGED
@@ -1,3 +1,10 @@
1
+ Mango release 0.5.3 (April 15, 2011)
2
+ ====================================
3
+
4
+ ### Bugs
5
+
6
+ * Fixed "no such file to load -- lib/mango/rack/static_assets_cache" bug
7
+
1
8
  Mango release 0.5.2 (April 15, 2011)
2
9
  ====================================
3
10
 
data/README.mdown CHANGED
@@ -1,4 +1,4 @@
1
- Mango release 0.5.2 (April 15, 2011)
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.2"
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"
@@ -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
@@ -1,3 +1,3 @@
1
1
  # encoding: UTF-8
2
2
  source "http://rubygems.org"
3
- gem "mango", "~> 0.5.2"
3
+ gem "mango", "~> 0.5.3"
data/lib/mango/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Mango
4
4
  # Current stable released version
5
- VERSION = "0.5.2"
5
+ VERSION = "0.5.3"
6
6
  end
@@ -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
@@ -81,7 +81,7 @@ run Mango::Application
81
81
  File.read(expected).should == <<-EOS
82
82
  # encoding: UTF-8
83
83
  source "http://rubygems.org"
84
- gem "mango", "~> 0.5.2"
84
+ gem "mango", "~> 0.5.3"
85
85
  EOS
86
86
  end
87
87
 
@@ -4,7 +4,7 @@ require "spec_helper"
4
4
  describe Mango do
5
5
  describe "version synchronizing" do
6
6
  before(:each) do
7
- @expected = "0.5.2"
7
+ @expected = "0.5.3"
8
8
  end
9
9
 
10
10
  it "is correct for Mango::VERSION" do
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 2
9
- version: 0.5.2
8
+ - 3
9
+ version: 0.5.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ryan Sobol