Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
annotate
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
annotate
Commits
593273e4
Commit
593273e4
authored
8 years ago
by
Cuong Tran
Committed by
GitHub
8 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Temporarily disable ClassLength check (correction) (#392)
parent
94eaa424
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
7 deletions
+8
-7
.rubocop_todo.yml
.rubocop_todo.yml
+0
-5
README.rdoc
README.rdoc
+1
-1
circle.yml
circle.yml
+3
-0
annotate.rb
lib/annotate.rb
+2
-0
annotate_models.rb
lib/annotate/annotate_models.rb
+2
-1
No files found.
.rubocop_todo.yml
View file @
593273e4
...
@@ -102,11 +102,6 @@ Metrics/LineLength:
...
@@ -102,11 +102,6 @@ Metrics/LineLength:
Metrics/MethodLength
:
Metrics/MethodLength
:
Max
:
83
Max
:
83
# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ModuleLength
:
Max
:
531
# Offense count: 7
# Offense count: 7
Metrics/PerceivedComplexity
:
Metrics/PerceivedComplexity
:
Max
:
43
Max
:
43
...
...
This diff is collapsed.
Click to expand it.
README.rdoc
View file @
593273e4
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
{<img src="https://badge.fury.io/rb/annotate.svg" alt="Gem Version" />}[http://badge.fury.io/rb/annotate]
{<img src="https://badge.fury.io/rb/annotate.svg" alt="Gem Version" />}[http://badge.fury.io/rb/annotate]
{<img src="https://img.shields.io/gem/dt/annotate.svg?style=flat" />}[https://rubygems.org/gems/annotate]
{<img src="https://img.shields.io/gem/dt/annotate.svg?style=flat" />}[https://rubygems.org/gems/annotate]
{<img src="https://travis-ci.org/ctran/annotate_models.
png
" />}[https://travis-ci.org/ctran/annotate_models]
{<img src="https://travis-ci.org/ctran/annotate_models.
svg?branch=develop
" />}[https://travis-ci.org/ctran/annotate_models]
{<img src="https://coveralls.io/repos/ctran/annotate_models/badge.svg?branch=develop" />}[https://coveralls.io/r/ctran/annotate_models?branch=develop]
{<img src="https://coveralls.io/repos/ctran/annotate_models/badge.svg?branch=develop" />}[https://coveralls.io/r/ctran/annotate_models?branch=develop]
{<img src="https://codeclimate.com/github/ctran/annotate_models/badges/gpa.svg" />}[https://codeclimate.com/github/ctran/annotate_models]
{<img src="https://codeclimate.com/github/ctran/annotate_models/badges/gpa.svg" />}[https://codeclimate.com/github/ctran/annotate_models]
{<img src="https://gemnasium.com/ctran/annotate_models.png" />}[https://gemnasium.com/ctran/annotate_models]
{<img src="https://gemnasium.com/ctran/annotate_models.png" />}[https://gemnasium.com/ctran/annotate_models]
...
...
This diff is collapsed.
Click to expand it.
circle.yml
0 → 100644
View file @
593273e4
machine
:
ruby
:
version
:
2.2.4
This diff is collapsed.
Click to expand it.
lib/annotate.rb
View file @
593273e4
# rubocop:disable Metrics/ModuleLength
$LOAD_PATH
.
unshift
(
File
.
dirname
(
__FILE__
))
$LOAD_PATH
.
unshift
(
File
.
dirname
(
__FILE__
))
require
'annotate/version'
require
'annotate/version'
require
'annotate/annotate_models'
require
'annotate/annotate_models'
...
...
This diff is collapsed.
Click to expand it.
lib/annotate/annotate_models.rb
View file @
593273e4
# rubocop:disable ClassLength
# rubocop:disable Metrics/ModuleLength
require
'bigdecimal'
require
'bigdecimal'
module
AnnotateModels
module
AnnotateModels
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment