Skip to content

Commit 593273e

Browse files
authored
Temporarily disable ClassLength check (correction) (#392)
1 parent 94eaa42 commit 593273e

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.rubocop_todo.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,6 @@ Metrics/LineLength:
102102
Metrics/MethodLength:
103103
Max: 83
104104

105-
# Offense count: 2
106-
# Configuration parameters: CountComments.
107-
Metrics/ModuleLength:
108-
Max: 531
109-
110105
# Offense count: 7
111106
Metrics/PerceivedComplexity:
112107
Max: 43

README.rdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{<img src="https://badge.fury.io/rb/annotate.svg" alt="Gem Version" />}[http://badge.fury.io/rb/annotate]
44
{<img src="https://img.shields.io/gem/dt/annotate.svg?style=flat" />}[https://rubygems.org/gems/annotate]
5-
{<img src="https://travis-ci.org/ctran/annotate_models.png" />}[https://travis-ci.org/ctran/annotate_models]
5+
{<img src="https://travis-ci.org/ctran/annotate_models.svg?branch=develop" />}[https://travis-ci.org/ctran/annotate_models]
66
{<img src="https://coveralls.io/repos/ctran/annotate_models/badge.svg?branch=develop" />}[https://coveralls.io/r/ctran/annotate_models?branch=develop]
77
{<img src="https://codeclimate.com/github/ctran/annotate_models/badges/gpa.svg" />}[https://codeclimate.com/github/ctran/annotate_models]
88
{<img src="https://gemnasium.com/ctran/annotate_models.png" />}[https://gemnasium.com/ctran/annotate_models]

circle.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
machine:
2+
ruby:
3+
version: 2.2.4

lib/annotate.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# rubocop:disable Metrics/ModuleLength
2+
13
$LOAD_PATH.unshift(File.dirname(__FILE__))
24
require 'annotate/version'
35
require 'annotate/annotate_models'

lib/annotate/annotate_models.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# rubocop:disable ClassLength
1+
# rubocop:disable Metrics/ModuleLength
2+
23
require 'bigdecimal'
34

45
module AnnotateModels

0 commit comments

Comments
 (0)