Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Commit

Permalink
Improved code style
Browse files Browse the repository at this point in the history
  • Loading branch information
KrauseFx committed Oct 6, 2015
1 parent 5c92b2d commit 0167a61
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions .rubocop_general.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ Metrics/MethodLength:
Exclude:
- 'lib/*/options.rb'

Metrics/AbcSize:
Max: 60
Exclude:
- 'lib/*/options.rb'

# Both string notations are okay
Style/StringLiterals:
Enabled: false
Expand Down Expand Up @@ -83,10 +88,6 @@ Style/AlignHash:
Style/AndOr:
Enabled: false

# Offense count: 20
Metrics/AbcSize:
Max: 60

# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 320
Expand Down
6 changes: 3 additions & 3 deletions lib/deliver/upload_metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ class UploadMetadata

# Non localized app details values
NON_LOCALISED_APP_VALUES = [:primary_category, :secondary_category,
:primary_first_sub_category, :primary_second_sub_category,
:secondary_first_sub_category, :secondary_first_sub_category
]
:primary_first_sub_category, :primary_second_sub_category,
:secondary_first_sub_category, :secondary_first_sub_category
]

# Make sure to call `load_from_filesystem` before calling upload
def upload(options)
Expand Down

0 comments on commit 0167a61

Please sign in to comment.