| Filename | New or Replacement? | Gist | Raw file |
|---|
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
| #!/bin/bash | |
| if [[ ! -f Rakefile || ( ! -f Gemfile ) || ( ! -d test ) ]]; then | |
| echo 'This does not appear to be a Rails project; Gemfile, Rakefile and/or test directory do not exist!' | |
| return 1 | |
| fi | |
| echo 'WARNING: This script assumes it is being run against a Rails 4.2.4 application where it is safe to overwrite these files.' | |
| echo ' If that is not the case, you must reapply your changes after this script has completed.' | |
| curl --silent -o .gitignore https://gist.githubusercontent.com/jdickey/04923a3caab597826ca5/raw | |
| curl --silent -o Gemfile https://gist.githubusercontent.com/jdickey/f96de5c6961b697ffb92/raw |
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 'test_helper' | |
| describe 'the future' do | |
| it 'works' do | |
| expect(true).must_equal true | |
| 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
| Style/ClassAndModuleChildren: | |
| Enabled: false | |
| Style/TrailingBlankLines: | |
| Enabled: false |
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
| NestedIterators: | |
| max_allowed_nesting: 2 | |
| ignore_iterators: | |
| - lambda |
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
| # Add your own tasks in files placed in lib/tasks ending in .rake, | |
| # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. | |
| require File.expand_path('../config/application', __FILE__) | |
| if %w(development test).include? Rails.env | |
| require "rake/testtask" | |
| require 'rake/tasklib' | |
| require 'flay_task' |
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
| source 'https://rubygems.org' | |
| # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | |
| gem 'rails', '4.2.4' | |
| # Use SCSS for stylesheets | |
| gem 'sass-rails', '~> 5.0' | |
| # Use postgresql as the database for Sequel | |
| gem 'pg', '~> 0.18' | |
| gem 'sequel', '~> 4.24' | |
| # gem 'sequel_pg', '~> 1.6' |
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
| # See https://help.github.com/articles/ignoring-files for more about ignoring files. | |
| # | |
| # If you find yourself ignoring temporary files generated by your text editor | |
| # or operating system, you probably want to add a global ignore instead: | |
| # git config --global core.excludesfile '~/.gitignore_global' | |
| # Ignore bundler config. | |
| /.bundle | |
| # Ignore all logfiles and tempfiles. |