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
| # Critical default settings: | |
| disable_system_gems | |
| disable_rubygems | |
| bundle_path ".gems/bundler_gems" | |
| # List gems to bundle here: | |
| gem "rails", "3.0.pre", :git => "git://github.com/rails/rails.git" | |
| gem "arel", :git => "git://github.com/rails/arel.git" | |
| gem "i18n" | |
| gem "dm-appengine" |
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
| OpenID::Util.logger = RAILS_DEFAULT_LOGGER |
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
| it 'should allow JPG images' do | |
| photo = Photo.new :photo => fixture_file_upload('photos/chameleon.jpg', 'image/jpeg') | |
| photo.stub!(:save_attached_files).and_return true | |
| photo.save.should be_true | |
| 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
| require 'pathname' | |
| require 'logger' | |
| require 'thread' | |
| require 'open3' | |
| class App | |
| def initialize args | |
| @logger = args[:logger] or raise "no logger" | |
| @ignore = args[:ignore] || [] | |
| 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
| # = AppEngine::PStore -- | |
| # | |
| # A PStore compatible interface using the Datastore. | |
| # This module is based on pstore.rb written by matz. | |
| # | |
| require 'pstore' | |
| require 'digest/md5' | |
| require 'rubygems' | |
| require 'appengine-apis/datastore' |
NewerOlder