See: AutoAwesome
This file contains hidden or 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 0236c4cf9b61787413090365a6e42b29aadcb02d Mon Sep 17 00:00:00 2001 | |
From: David Reiss <[email protected]> | |
Date: Sun, 12 Sep 2010 21:30:40 -0700 | |
Subject: [PATCH 20/50] THRIFT-925. cpp: Add _VALUES_TO_NAMES enum map | |
--- | |
compiler/cpp/src/generate/t_cpp_generator.cc | 85 +++++++++++++++++++------- | |
lib/cpp/src/Thrift.h | 29 +++++++++ | |
2 files changed, 91 insertions(+), 23 deletions(-) |
This file contains hidden or 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
quantity:activesupport-compatibility ruby-1.8.7$ gem install rspec -v "~> 1.2.9" | |
Fetching: rspec-1.2.9.gem (100%) | |
************************************************** | |
Thank you for installing rspec-1.2.9 | |
Please be sure to read History.rdoc and Upgrade.rdoc | |
for useful information about this release. | |
************************************************** |
This file contains hidden or 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
thinking-sphinx:index-builder-sanitize_sql ruby-1.9.2$ rake spec | |
(in /Users/mtodd/Projects/Contributions/thinking-sphinx) | |
DEPRECATION WARNING: require "activerecord" is deprecated and will be removed in Rails 3. Use require "active_record" instead. (called from <top (required)> at /Users/mtodd/.rvm/gems/ruby-1.9.2-p180/gems/activerecord-2.3.10/lib/activerecord.rb:2) | |
/Users/mtodd/.rvm/rubies/ruby-1.9.2-p180/bin/ruby -S bundle exec rspec "spec/thinking_sphinx/active_record/delta_spec.rb" "spec/thinking_sphinx/active_record/has_many_association_spec.rb" "spec/thinking_sphinx/active_record/scopes_spec.rb" "spec/thinking_sphinx/active_record_spec.rb" "spec/thinking_sphinx/adapters/abstract_adapter_spec.rb" "spec/thinking_sphinx/association_spec.rb" "spec/thinking_sphinx/attribute_spec.rb" "spec/thinking_sphinx/auto_version_spec.rb" "spec/thinking_sphinx/configuration_spec.rb" "spec/thinking_sphinx/context_spec.rb" "spec/thinking_sphinx/core/array_spec.rb" "spec/thinking_sphinx/core/string_spec.rb" "spec/thinking_s |
This file contains hidden or 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/lib/fog/storage/aws.rb b/lib/fog/storage/aws.rb | |
index dfb66a0..0ec0d6d 100644 | |
--- a/lib/fog/storage/aws.rb | |
+++ b/lib/fog/storage/aws.rb | |
@@ -65,7 +65,7 @@ module Fog | |
query << "AWSAccessKeyId=#{@aws_access_key_id}" | |
query << "Signature=#{CGI.escape(signature(params))}" | |
query << "Expires=#{params[:headers]['Date']}" | |
- "https://#{@host}/#{params[:path]}?#{query.join('&')}" | |
+ "#{@scheme}://#{@host}/#{params[:path]}?#{query.join('&')}" |
This file contains hidden or 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
LOGGER = lambda do |app| | |
lambda do |env| | |
puts "Request: %s %s" % [env[:method], env[:url].to_s] | |
app.call(env) | |
end | |
end |
This file contains hidden or 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
[alias] | |
st = status | |
ci = commit | |
co = checkout | |
br = branch | |
b = branch | |
track = checkout -b | |
s = stash | |
d = diff | |
a = add . |
This file contains hidden or 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
helpers do | |
def format | |
(params[:format] || :json).to_sym | |
end | |
def render_to(format, results) | |
case format | |
when :json | |
results.to_json | |
when :xml |
This file contains hidden or 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
commit 6025b58e00cc93501049f1ad43b0a1d16ba69c86 | |
Author: Matt Todd <[email protected]> | |
Date: Mon Jan 3 22:05:15 2011 -0500 | |
Add failing spec for filters missing route params | |
diff --git a/test/filter_test.rb b/test/filter_test.rb | |
index ef7e9ae..e4d1966 100644 | |
--- a/test/filter_test.rb | |
+++ b/test/filter_test.rb |