Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Cosmetic updates.

  • Loading branch information...
commit 17c748f8173185e57f9254829f53ee34327fa90d 1 parent 66dd71c
@DAddYE DAddYE authored
View
2  CHANGES.rdoc
@@ -21,7 +21,7 @@
* FIX #639 prevent XSS from admin login (@eikes)
* FIX #620 render :json => obj now set content_type to 'application/json;charset=utf-8'
* FIX #575 when using html parts now mailer content type is 'multipart/alternative'
-* FIX #631 reloading futzing with the query parameters (@chromaticbum)
+* FIX #631 reloading futzing with the query parameters (Hollin Wilkins & Dave Willett @ TrueCar in San Francisco)
* FIX recognize_path now is compatible with http_router >0.10
== 0.10.1
View
9 Rakefile
@@ -38,12 +38,9 @@ end
desc "Clean pkg and other stuff"
task :clean do
- GEM_PATHS.each do |dir|
- Dir.chdir(dir) do
- %w[tmp pkg coverage].each { |dir| FileUtils.rm_rf dir }
- end
+ GEM_PATHS.each do |g|
+ %w[tmp pkg coverage].each { |dir| sh 'rm -rf %s' % File.join(g, dir) }
end
- Dir["**/*.gem"].each { |gem| FileUtils.rm_rf gem }
end
desc "Clean pkg and other stuff"
@@ -119,5 +116,5 @@ desc "Publish doc on padrinorb.com/api"
task :pdoc => :doc do
say "Publishing doc on padrinorb.com ..."
sh "scp -r doc/* root@srv2.lipsiasoft.biz:/mnt/www/apps/padrino/public/api/"
- FileUtils.rm_rf "doc"
+ sh "rm -rf doc"
end
View
10 padrino-core/lib/padrino-core/logger.rb
@@ -104,23 +104,14 @@ class Logger
# Embed in a String to clear all previous ANSI sequences.
CLEAR = "\e[0m"
- # The start of an ANSI bold sequence.
BOLD = "\e[1m"
- # Set the terminal's foreground ANSI color to black.
BLACK = "\e[30m"
- # Set the terminal's foreground ANSI color to red.
RED = "\e[31m"
- # Set the terminal's foreground ANSI color to green.
GREEN = "\e[32m"
- # Set the terminal's foreground ANSI color to yellow.
YELLOW = "\e[33m"
- # Set the terminal's foreground ANSI color to blue.
BLUE = "\e[34m"
- # Set the terminal's foreground ANSI color to magenta.
MAGENTA = "\e[35m"
- # Set the terminal's foreground ANSI color to cyan.
CYAN = "\e[36m"
- # Set the terminal's foreground ANSI color to white.
WHITE = "\e[37m"
# Colors for levels
@@ -245,7 +236,6 @@ def <<(message = nil)
#
Levels.each_pair do |name, number|
class_eval <<-LEVELMETHODS, __FILE__, __LINE__
-
# Appends a message to the log if the log level is at least as high as
# the log level of the logger.
#
Please sign in to comment.
Something went wrong with that request. Please try again.