Update pry-rescue to version 1.3.1

This commit is contained in:
Erik Michaels-Ober 2014-01-23 12:20:48 +01:00
parent 8ac1d32718
commit 65c60f604c
2 changed files with 71 additions and 2 deletions

69
.rubocop.yml Normal file
View File

@ -0,0 +1,69 @@
AllCops:
Includes:
- 'Gemfile'
- 'Rakefile'
- 'twitter.gemspec'
# Avoid long parameter lists
ParameterLists:
Max: 4
CountKeywordArgs: true
MethodLength:
CountComments: false
Max: 14
# Avoid more than `Max` levels of nesting.
BlockNesting:
Max: 2
# Align with the style guide.
CollectionMethods:
PreferredMethods:
map: 'collect'
reduce: 'inject'
find: 'detect'
find_all: 'select'
# Limit line length
LineLength:
Enabled: false
# Disable documentation checking until a class needs to be documented once
Documentation:
Enabled: false
# Enforce Ruby 1.8-compatible hash syntax
HashSyntax:
EnforcedStyle: hash_rockets
# No spaces inside hash literals
SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space
# Allow dots at the end of lines
DotPosition:
Enabled: false
# Don't require magic comment at the top of every file
Encoding:
Enabled: false
# Enforce outdenting of access modifiers (i.e. public, private, protected)
AccessModifierIndentation:
EnforcedStyle: outdent
EmptyLinesAroundAccessModifier:
Enabled: true
# Align ends correctly
EndAlignment:
AlignWith: variable
# Indentation of when/else
CaseIndentation:
IndentWhenRelativeTo: end
IndentOneStep: false
Lambda:
Enabled: false

View File

@ -93,8 +93,8 @@ GEM
coderay (~> 1.0)
method_source (~> 0.8)
slop (~> 3.4)
pry-rescue (1.2.0)
interception (>= 0.3)
pry-rescue (1.3.1)
interception (>= 0.4)
pry
puma (2.7.1)
rack (>= 1.1, < 2.0)