Skip to content

Instantly share code, notes, and snippets.

@onethirtyfive
Created July 19, 2011 19:37
Show Gist options
  • Save onethirtyfive/1093502 to your computer and use it in GitHub Desktop.
Save onethirtyfive/1093502 to your computer and use it in GitHub Desktop.
Gemfile
source 'http://rubygems.org'
RAILS_VERSION = '~> 3.1.0.rc4'
DM_VERSION = '~> 1.1.0'
RSPEC_VERSION = '~> 2.6.0'
CUCUMBER_VERSION = '~> 1.0.0'
gem 'activesupport', RAILS_VERSION, :require => 'active_support'
gem 'actionpack', RAILS_VERSION, :require => 'action_pack'
gem 'actionmailer', RAILS_VERSION, :require => 'action_mailer'
gem 'railties', RAILS_VERSION, :require => 'rails'
gem 'dm-active_model', git: "git://github.com/myobie/dm-active_model.git"
gem 'dm-rails', git: "git://github.com/myobie/dm-rails.git"
gem 'dm-ar-finders', DM_VERSION
gem 'dm-sqlite-adapter', DM_VERSION
gem 'dm-migrations', DM_VERSION
gem 'dm-types', DM_VERSION
gem 'dm-validations', DM_VERSION
gem 'dm-constraints', DM_VERSION
gem 'dm-transactions', DM_VERSION
gem 'dm-aggregates', DM_VERSION
gem 'dm-timestamps', DM_VERSION
gem 'dm-observer', DM_VERSION
# Core Requirements
gem 'haml'
# Assets
gem 'coffee-script'
gem 'uglifier'
gem 'jquery-rails'
group :development, :test do
gem 'jasmine', '1.0.2.1'
gem 'headless', '0.1.0'
gem 'cucumber', CUCUMBER_VERSION
gem 'cucumber-rails', CUCUMBER_VERSION
gem 'factory_girl'
gem 'rspec', RSPEC_VERSION
gem 'rspec-rails', RSPEC_VERSION
# Guard
gem 'guard'
gem 'guard-rails'
gem 'guard-coffeescript'
gem 'guard-rails-assets'
gem 'guard-cucumber'
gem 'guard-rspec'
end
group :development do
gem 'sass-rails', "~> 3.1.0.rc"
gem 'haml-rails'
gem 'nokogiri'
end
group :test do
gem 'database_cleaner', :git => 'git://github.com/bmabey/database_cleaner.git'
gem 'spork'
if RUBY_PLATFORM =~ /linux/
gem 'rb-inotify'
gem 'libnotify'
end
if RUBY_PLATFORM =~ /darwin/
gem 'rb-fsevent'
gem 'growl'
end
end
# bundle exec rake -T
22:16 ~/Code/pp/simulol (master)$ bundle exec rake -T
rake about # List versions of all Rails frameworks and the environment
rake assets:clean # Remove compiled assets
rake assets:precompile # Compile all the assets named in config.assets.precompile
rake cucumber # Alias for cucumber:ok
rake cucumber:all # Run all features
rake cucumber:ok # Run features that should pass
rake cucumber:rerun # Record failing features and run only them if any exist
rake cucumber:wip # Run features that are being worked on
rake db:automigrate # Perform destructive automigration of all repositories in the current Rails.env
rake db:autoupgrade # Perform non destructive automigration of all repositories in the current Rails.env
rake db:create # Create all local databases defined for the current Rails.env
rake db:create:all # Create all the local databases defined in config/database.yml
rake db:drop # Drop all local databases defined for the current Rails.env
rake db:drop:all # Drop all the local databases defined in config/database.yml
rake db:migrate # Migrate the database to the latest version
rake db:migrate:down[version] # Migrate down using migrations
rake db:migrate:up[version] # Migrate up using migrations
rake db:seed # Load the seed data from db/seeds.rb
rake db:sessions:clear # Clear the sessions table for DataMapperStore
rake db:sessions:create # Creates the sessions table for DataMapperStore
rake db:setup # Create the database, load the schema, and initialize with the seed data
rake doc:app # Generate docs for the app -- also available doc:rails, doc:guides, doc:plugins (options: TEMPLATE=/rdoc-template.rb, TITLE="Custom Title")
rake jquery_rails_engine:install:migrations # Copy migrations from jquery_rails_engine to application
rake log:clear # Truncates all *.log files in log/ to zero bytes
rake middleware # Prints out your Rack middleware stack
rake notes # Enumerate all annotations (use notes:optimize, :fixme, :todo for focus)
rake notes:custom # Enumerate a custom annotation, specify with ANNOTATION=CUSTOM
rake rails:template # Applies the template supplied by LOCATION=/path/to/template
rake rails:update # Update configs and some other initially generated files (or use just update:configs, update:scripts, or update:application_controller)
rake routes # Print out all defined routes in match order, with names.
rake scrape:riot:all # Scrape all assets from Riot
rake scrape:riot:champions # Fetch current champion stats from Riot
rake scrape:riot:items # Fetch current item stats from Riot
rake scrape:riot:mash # Mash in data gained manually from different sources
rake scrape:riot:symlink # Symlink to most up-to-date scrape
rake scrape:wikia:champions # Fetch champion info from Wikia
rake scrape:wikia:symlink # Symlink to most up-to-date scrape
rake secret # Generate a cryptographically secure secret key (this is typically used to generate a secret for cookie sessions).
rake spec # Run all specs in spec directory (excluding plugin specs)
rake spec:controllers # Run the code examples in spec/controllers
rake spec:helpers # Run the code examples in spec/helpers
rake spec:lib # Run the code examples in spec/lib
rake spec:mailers # Run the code examples in spec/mailers
rake spec:models # Run the code examples in spec/models
rake spec:rcov # Run all specs with rcov
rake spec:requests # Run the code examples in spec/requests
rake spec:routing # Run the code examples in spec/routing
rake spec:views # Run the code examples in spec/views
rake stats # Report code statistics (KLOCs, etc) from the application
rake test # Runs test:units, test:functionals, test:integration together (also available: test:benchmark, test:profile, test:plugins)
rake test:recent # Run tests for {:recent=>"test:prepare"} / Test recent changes
rake test:single # Run tests for {:single=>"test:prepare"}
rake test:uncommitted # Run tests for {:uncommitted=>"test:prepare"} / Test changes since last checkin (only Subversion and Git)
rake time:zones:all # Displays all time zones, also available: time:zones:us, time:zones:local -- filter with OFFSET parameter, e.g., OFFSET=-6
rake tmp:clear # Clear session, cache, and socket files from tmp/ (narrow w/ tmp:sessions:clear, tmp:cache:clear, tmp:sockets:clear)
rake tmp:create # Creates tmp directories for sessions, cache, sockets, and pids
Loaded suite /Users/joshua.morris/.rvm/gems/ruby-1.9.2-p180@simulol/bin/rake
Started
Finished in 0.000400 seconds.
0 tests, 0 assertions, 0 failures, 0 errors, 0 skips
Test run options: --seed 23757
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment