This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 381a75906f9ff7847a0144e884afdd4088c26cb1 Mon Sep 17 00:00:00 2001 | |
From: Wincent Colaiuta <[email protected]> | |
Date: Thu, 4 Nov 2010 08:47:42 +0100 | |
Subject: [PATCH] Fix overly aggressive redrawing of status line area | |
Commit ba4486860 added a fix for display corruption during resizing of | |
splits in full-screen mode, but it repaints the display too agressively, | |
causing the contents of the status line to be overwritten. | |
By redrawing the buffer (NOT_VALID) rather than the whole screeen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/window.c b/src/window.c | |
index abd107b..c3936df 100644 | |
--- a/src/window.c | |
+++ b/src/window.c | |
@@ -5561,7 +5561,7 @@ win_new_height(wp, height) | |
win_comp_scroll(wp); | |
#ifdef FEAT_GUI_MACVIM | |
/* The view may have moved, so clear all or display may get corrupted. */ | |
- redraw_win_later(wp, CLEAR); | |
+ redraw_win_later(wp, NOT_VALID); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module RSpec | |
module Matchers | |
class AllowMassAssignmentOf # :nodoc: | |
def initialize hash = nil | |
raise if hash.nil? | |
raise unless hash.kind_of? Hash | |
raise unless hash.length > 0 | |
@attributes = hash | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
describe ArticlesController do | |
describe 'routing' do | |
specify { get('/wiki').should have_routing('articles#index') } | |
specify { get('/wiki/new').should have_routing('articles#new') } | |
specify { get('/wiki/Rails_3.0_upgrade_notes').should have_routing('articles#show', :id => 'Rails_3.0_upgrade_notes') } | |
specify { get('/wiki/Rails_3.0_upgrade_notes/edit').should have_routing('articles#edit', :id => 'Rails_3.0_upgrade_notes') } | |
specify { put('/wiki/Rails_3.0_upgrade_notes').should have_routing('articles#update', :id => 'Rails_3.0_upgrade_notes') } | |
specify { delete('/wiki/Rails_3.0_upgrade_notes').should have_routing('articles#destroy', :id => 'Rails_3.0_upgrade_notes') } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module RoutingExampleGroupHelpers | |
extend ActiveSupport::Concern | |
extend RSpec::Matchers::DSL | |
module DestinationParser | |
def parse_destination destination | |
string_or_hash, options_hash = destination[0], destination[1] | |
case string_or_hash | |
when String | |
controller, action = string_or_hash.split('#') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[["ALLOCA", ""], | |
["AR", "ar"], | |
["ARCHFILE", ""], | |
["ARCH_FLAG", ""], | |
["AS", "as"], | |
["ASFLAGS", ""], | |
["CC", "gcc"], | |
["CCDLFLAGS", " -fPIC"], | |
["CFLAGS", "-g -O2 "], | |
["COMMON_HEADERS", ""], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bundle exec rspec spec | |
/Library/Ruby/Gems/1.8/gems/bundler-1.0.0.rc.4/lib/bundler/runtime.rb:27:in `setup': You have already activated json_pure 1.4.3, but your Gemfile requires json_pure 1.4.6. Consider using bundle exec. (Gem::LoadError) | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0.rc.4/lib/bundler/spec_set.rb:12:in `each' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0.rc.4/lib/bundler/spec_set.rb:12:in `each' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0.rc.4/lib/bundler/runtime.rb:17:in `setup' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0.rc.4/lib/bundler.rb:95:in `setup' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0.rc.4/lib/bundler/cli.rb:290:in `exec' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0.rc.4/lib/bundler/vendor/thor/task.rb:22:in `send' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0.rc.4/lib/bundler/vendor/thor/task.rb:22:in `run' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0.rc.4/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bin/rspec spec | |
/Library/Ruby/Gems/1.8/gems/bundler-1.0.0.rc.4/lib/bundler/runtime.rb:27:in `setup': You have already activated json_pure 1.4.3, but your Gemfile requires json_pure 1.4.6. Consider using bundle exec. (Gem::LoadError) | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0.rc.4/lib/bundler/spec_set.rb:12:in `each' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0.rc.4/lib/bundler/spec_set.rb:12:in `each' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0.rc.4/lib/bundler/runtime.rb:17:in `setup' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0.rc.4/lib/bundler.rb:95:in `setup' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.0.rc.4/lib/bundler/setup.rb:6 | |
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `gem_original_require' | |
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:36:in `require' | |
from bin/rspec:12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git status | |
# On branch master | |
# Changed but not updated: | |
# (use "git add/rm <file>..." to update what will be committed) | |
# (use "git checkout -- <file>..." to discard changes in working directory) | |
# | |
# modified: Gemfile.lock | |
# deleted: vendor/cache/celerity-0.8.0.beta.3.gem | |
# deleted: vendor/cache/factory_girl-1.3.1.gem | |
# deleted: vendor/cache/haml-3.0.15.gem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GIT | |
remote: git://github.com/btakita/rr.git | |
revision: f3693bd | |
specs: | |
rr (0.10.11) | |
GIT | |
remote: git://github.com/cavalle/steak.git | |
revision: 1ef6b30 | |
specs: |