This repository has been archived by the owner on Nov 10, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from moonglum/update-all-the-things
Update some outdated things
- Loading branch information
Showing
24 changed files
with
309 additions
and
186 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
AllCops: | ||
Include: | ||
- '../**/*.rake' | ||
- 'Gemfile' | ||
- 'Guardfile' | ||
- 'Rakefile' | ||
Exclude: | ||
- !ruby/regexp /spec\/setup/ | ||
|
||
# Avoid parameter lists longer than five parameters. | ||
ParameterLists: | ||
Max: 4 | ||
CountKeywordArgs: true | ||
|
||
# Avoid more than `Max` levels of nesting. | ||
BlockNesting: | ||
Max: 3 | ||
|
||
# Align with the style guide. | ||
CollectionMethods: | ||
PreferredMethods: | ||
collect: 'map' | ||
inject: 'reduce' | ||
find: 'detect' | ||
find_all: 'select' | ||
|
||
HashSyntax: | ||
Enabled: true | ||
|
||
StringLiterals: | ||
Enabled: true | ||
|
||
Void: | ||
Enabled: true | ||
|
||
MethodLength: | ||
Enabled: false | ||
|
||
LineLength: | ||
Enabled: false | ||
|
||
DotPosition: | ||
EnforcedStyle: 'leading' | ||
|
||
SpaceInsideHashLiteralBraces: | ||
Enabled: true | ||
|
||
AlignParameters: | ||
Enabled: true | ||
|
||
# I don't agree with this | ||
Blocks: | ||
Enabled: false | ||
|
||
NumericLiterals: | ||
Enabled: true | ||
|
||
SpaceInsideBrackets: | ||
Enabled: true | ||
|
||
WordArray: | ||
Enabled: true | ||
|
||
Lambda: | ||
Enabled: true | ||
|
||
RegexpLiteral: | ||
Enabled: true | ||
|
||
# Don't agree | ||
ConstantName: | ||
Enabled: false | ||
|
||
TrivialAccessors: | ||
Enabled: true | ||
ExactNameMatch: true | ||
|
||
Alias: | ||
Enabled: true | ||
|
||
Loop: | ||
Enabled: false | ||
|
||
# Do not agree at all | ||
AndOr: | ||
Enabled: false | ||
|
||
# This is done by YARD Stick | ||
Documentation: | ||
Enabled: false | ||
|
||
# Braces can be really, really useful for clarity | ||
BracesAroundHashParameters: | ||
Enabled: false | ||
|
||
# I prefer raise over fail | ||
SignalException: | ||
EnforcedStyle: only_raise | ||
|
||
ClassLength: | ||
CountComments: false | ||
Max: 140 | ||
|
||
# The suggested style does not match the common ruby way of aligning the content of a hash | ||
IndentHash: | ||
Enabled: false | ||
|
||
# This cop seems to not work correctly. Also we don't agree with it. | ||
FileName: | ||
Enabled: false | ||
|
||
# Double negations are extremely useful | ||
DoubleNegation: | ||
Enabled: false |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
require "bundler/gem_tasks" | ||
require "rspec/core/rake_task" | ||
require 'bundler/gem_tasks' | ||
require 'rspec/core/rake_task' | ||
|
||
RSpec::Core::RakeTask.new(:spec) do |config| | ||
end | ||
RSpec::Core::RakeTask.new(:spec) | ||
|
||
task :default => :spec | ||
task default: :spec |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
require "exogenesis/version" | ||
require "exogenesis/passengers/dotfile" | ||
require "exogenesis/passengers/homebrew" | ||
require "exogenesis/passengers/homebrew_cask" | ||
require "exogenesis/passengers/rvm" | ||
require "exogenesis/passengers/rbenv" | ||
require "exogenesis/passengers/vundle" | ||
require "exogenesis/passengers/fonts" | ||
require "exogenesis/passengers/python" | ||
require "exogenesis/passengers/git_repo" | ||
require "exogenesis/passengers/npm" | ||
require "exogenesis/support/output" | ||
require "exogenesis/support/executor" | ||
require "exogenesis/support/ship" | ||
require 'exogenesis/version' | ||
require 'exogenesis/passengers/dotfile' | ||
require 'exogenesis/passengers/homebrew' | ||
require 'exogenesis/passengers/homebrew_cask' | ||
require 'exogenesis/passengers/rvm' | ||
require 'exogenesis/passengers/rbenv' | ||
require 'exogenesis/passengers/vundle' | ||
require 'exogenesis/passengers/fonts' | ||
require 'exogenesis/passengers/python' | ||
require 'exogenesis/passengers/git_repo' | ||
require 'exogenesis/passengers/npm' | ||
require 'exogenesis/support/output' | ||
require 'exogenesis/support/executor' | ||
require 'exogenesis/support/ship' | ||
|
||
module Exogenesis | ||
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
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 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 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 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
Oops, something went wrong.