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 'formula' | |
class Kindlegen < Formula | |
url 'http://s3.amazonaws.com/kindlegen/KindleGen_Mac_i386_v2_8.zip' | |
homepage 'http://www.amazon.com/gp/feature.html?docId=1000234621' | |
sha1 '08207c7a283d9956a040d87e793f3c00ce66555f' | |
version '2.8' | |
skip_clean 'bin' |
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 'action_controller/railtie' | |
module Myapp | |
class Application < Rails::Application | |
config.secret_token = 'd38ad04f101b78570a76ecd1d4664e2b' | |
routes.append do | |
get '/' => 'myapp/hello#world' | |
end | |
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 'action_controller/railtie' | |
class HelloController < ActionController::Metal | |
def world | |
self.response_body = 'Hello World!' | |
end | |
end | |
Rack::Handler::WEBrick.run HelloController.action(:world), :Port => 3000 |
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/test/context_test.rb b/test/context_test.rb | |
index 36e7022..aefe2b9 100644 | |
--- a/test/context_test.rb | |
+++ b/test/context_test.rb | |
@@ -913,4 +913,19 @@ describe 'Rack::Cache::Context' do | |
response.body.should.equal 'Hello World' | |
cache.trace.should.include :pass | |
end | |
+ | |
+ it 'logs to rack.logger if available' do |
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 'thread' | |
mutex = Mutex.new | |
i = 0 | |
t1 = Thread.new do | |
1_000_000.times do | |
mutex.synchronize do | |
i += 1 | |
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
➜ dist gem install * | |
Successfully installed activesupport-3.1.0 | |
Successfully installed activemodel-3.1.0 | |
Successfully installed actionpack-3.1.0 | |
Successfully installed actionmailer-3.1.0 | |
Successfully installed actionpack-3.1.0 | |
Successfully installed activemodel-3.1.0 | |
Successfully installed activerecord-3.1.0 | |
Successfully installed activeresource-3.1.0 | |
Successfully installed activesupport-3.1.0 |
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
➜ myapp bundle update | |
Updating git://github.com/rails/sass-rails.git | |
Updating git://github.com/rails/coffee-rails.git | |
Fetching dependency information from the API at http://rubygems.org/...... | |
Fetching dependency information from the API at http://rubygems.org/. | |
Using rake (0.9.2) | |
Using multi_json (1.0.3) | |
Using activesupport (3.1.0.rc5) from source at /Users/santiago/WyeWorks/Projs/rails | |
Using bcrypt-ruby (2.1.4) | |
Using builder (3.0.0) |
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
➜ actionpack git:(3-1-stable) ✗ rake | |
/Users/santiago/.rvm/rubies/rbx-2.0.0pre/bin/rbx -w -I"lib:test" -I"/Users/santiago/.rvm/gems/rbx-2.0.0pre/gems/rake-0.9.2/lib" "/Users/santiago/.rvm/gems/rbx-2.0.0pre/gems/rake-0.9.2/lib/rake/rake_test_loader.rb" "test/abstract/abstract_controller_test.rb" "test/abstract/callbacks_test.rb" "test/abstract/collector_test.rb" "test/abstract/helper_test.rb" "test/abstract/layouts_test.rb" "test/abstract/render_test.rb" "test/abstract/translation_test.rb" "test/controller/action_pack_assertions_test.rb" "test/controller/addresses_render_test.rb" "test/controller/assert_select_test.rb" "test/controller/base_test.rb" "test/controller/caching_test.rb" "test/controller/capture_test.rb" "test/controller/content_type_test.rb" "test/controller/default_url_options_with_filter_test.rb" "test/controller/deprecation/deprecated_base_methods_test.rb" "test/controller/filters_test.rb" "test/controller/flash_hash_test.rb" "test/controller/flash_test.rb" "test/controller/force_ssl_test.rb" " |
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/lib/sass/rails/monkey_patches.rb b/lib/sass/rails/monkey_patches.rb | |
index 40c3d3c..03cf9ae 100644 | |
--- a/lib/sass/rails/monkey_patches.rb | |
+++ b/lib/sass/rails/monkey_patches.rb | |
@@ -1,36 +1,3 @@ | |
module Sass::Rails::SassContext | |
attr_accessor :sass_config | |
end | |
- | |
-module Sass::Rails::SprocketsConfig |
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
This issue has been automatically marked as stale because it has not been commented on for at least three months. | |
The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it. | |
Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful. |