Skip to content

Commit

Permalink
Added rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
eddloschi committed Mar 19, 2015
1 parent b950427 commit 3a44744
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .rubocop.yml
@@ -0,0 +1,10 @@
Style/SpaceInsideHashLiteralBraces:
EnforcedStyle: no_space

Style/Encoding:
Enabled: true
EnforcedStyle: when_needed

Style/StringLiterals:
EnforcedStyle: double_quotes

1 change: 1 addition & 0 deletions mongoid-giza.gemspec
Expand Up @@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "mongoid-rspec", ">= 1.9"
spec.add_development_dependency "yard", ">= 0.8.7"
spec.add_development_dependency "database_cleaner", ">= 1.2.0"
spec.add_development_dependency "rubocop", ">= 0.29.0"

spec.add_runtime_dependency "mongoid", ">= 3.1"
spec.add_runtime_dependency "riddle", ">= 1.5"
Expand Down

0 comments on commit 3a44744

Please sign in to comment.