Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update pry-rescue to version 1.3.1

  • Loading branch information...
commit 65c60f604c03d34930ed51684839a7983464d278 1 parent 8ac1d32
@sferik sferik authored
Showing with 71 additions and 2 deletions.
  1. +69 −0 .rubocop.yml
  2. +2 −2 Gemfile.lock
View
69 .rubocop.yml
@@ -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
4 Gemfile.lock
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.