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
group :development do | |
gem 'better_errors' # https://github.com/charliesome/better_errors | |
gem 'binding_of_caller' # - optional dependency for better_errors | |
gem 'quiet_assets' # https://github.com/evrone/quiet_assets | |
gem 'spring' # https://github.com/rails/spring | |
gem 'spring-commands-rspec' # https://github.com/jonleighton/spring-commands-rspec | |
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
if ENV['COV'] | |
require 'simplecov' | |
SimpleCov.start 'rails' do | |
add_group 'This Commit' do |source_file| | |
`git ls-files --exclude-standard --others \ | |
&& git diff --name-only \ | |
&& git diff --name-only --cached`.split("\n").detect do |filename| | |
source_file.filename.ends_with?(filename) | |
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
checking for gcc... clang | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether clang accepts -g... yes | |
checking for clang option to accept ISO C89... none needed | |
checking how to run the C preprocessor... clang -E |
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
checking for gcc... clang | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... | |
checking whether we are cross compiling... no | |
checking for suffix of object files... o | |
checking whether we are using the GNU C compiler... yes | |
checking whether clang accepts -g... yes | |
checking for clang option to accept ISO C89... none needed | |
checking how to run the C preprocessor... clang -E |
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
class Model < ParentModel | |
include Foo::Bar | |
extend Bar::Baz | |
acts_as_authentic | |
dsl_specific_flags | |
module InternalModule | |
... | |
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
amc-projects:sqlite3 { | |
'sqlite3' / setup not defined. | |
Already pulled amc-projects ([email protected]:amc-projects/babushka-deps.git) this session. | |
build tools { | |
'build tools' / internal_setup not defined. | |
'build tools' / setup not defined. | |
build-essential { | |
'build-essential' / setup not defined. | |
apt { | |
'apt' / internal_setup not defined. |
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
When /^(\d+) (minutes|hours|days) pass$/ do |amount, unit| | |
now = Time.now | |
Time.stubs(:now).returns(now + amount.to_i.send(unit.to_sym)) | |
end | |
When /^going back (\d+) (minutes|hours|days)$/ do |minutes| | |
now = Time.now | |
Time.stubs(:now).returns(now - amount.to_i.send(unit.to_sym)) | |
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
# destroy all objects | |
Given(/^no #{capture_plural_factory} exist$/) do |plural_factory| | |
plural_factory.classify.constantize.destroy_all | |
# you could add the following to verify that there are indeed no records | |
find_models(plural_factory.singularize).should be_nil | |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>changed</key> | |
<dict> | |
<key>command</key> | |
<string>#!/usr/bin/env ruby -rcgi | |
# By Henrik Nyh <http://henrik.nyh.se> 2007-06-26 |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>changed</key> | |
<dict> | |
<key>command</key> | |
<string>#!/usr/bin/env ruby -rcgi | |
# By Henrik Nyh <http://henrik.nyh.se> 2007-06-26 |
NewerOlder