Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Commit

Permalink
Fixes some cop offenses.
Browse files Browse the repository at this point in the history
  • Loading branch information
futhr committed Oct 3, 2015
1 parent 37689e4 commit ed4a85f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .hound.yml
@@ -1,21 +1,21 @@
---
# Too picky.
LineLength:
Metrics/LineLength:
Enabled: false

# This should truly be on for well documented gems.
Documentation:
Style/Documentation:
Enabled: false

# Neatly aligned code is to swell.
SingleSpaceBeforeFirstArg:
Style/SingleSpaceBeforeFirstArg:
Enabled: false

# Don't mess with RSpec DSL.
Blocks:
Style/BlockDelimiters:
Exclude:
- 'spec/**/*'

# Avoid contradictory style rules by enforce single quotes.
StringLiterals:
Style/StringLiterals:
EnforcedStyle: single_quotes
11 changes: 6 additions & 5 deletions app/overrides/pages_in_header.rb
@@ -1,5 +1,6 @@
Deface::Override.new(:virtual_path => "spree/shared/_main_nav_bar",
:name => "pages_in_header",
:insert_bottom => "#main-nav-bar > ul:first-child",
:partial => "spree/static_content/static_content_header",
:disabled => false)
Deface::Override.new(
virtual_path: 'spree/shared/_main_nav_bar',
name: 'pages_in_header',
insert_bottom: '#main-nav-bar > ul:first-child',
partial: 'spree/static_content/static_content_header'
)
2 changes: 1 addition & 1 deletion spree_static_content.gemspec
Expand Up @@ -28,7 +28,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'factory_girl', '~> 4.4'
s.add_development_dependency 'ffaker', '>= 1.25.0'
s.add_development_dependency 'database_cleaner', '~> 1.4'
s.add_development_dependency 'rspec-rails', '~> 3.3.0'
s.add_development_dependency 'rspec-rails', '~> 3.3.0'
s.add_development_dependency 'sqlite3', '~> 1.3.10'
s.add_development_dependency 'poltergeist', '~> 1.6'
s.add_development_dependency 'simplecov', '~> 0.10.0'
Expand Down

0 comments on commit ed4a85f

Please sign in to comment.