gruff 0.12.0-java → 0.12.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.editorconfig +14 -0
- data/.github/ISSUE_TEMPLATE.md +18 -0
- data/.gitignore +10 -0
- data/.rubocop.yml +126 -0
- data/.rubocop_todo.yml +153 -0
- data/.travis.yml +22 -0
- data/.yardopts +1 -0
- data/gruff.gemspec +1 -1
- data/lib/gruff/version.rb +1 -1
- metadata +8 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7da96b4a4ea19a79c7d682e5e00ac2d484263d7255753f9fc4d37e2826f8cce9
|
4
|
+
data.tar.gz: 83e691df978a8c4fd13996ace0dcf902d02431275ef7f24a964f7c12a9c0e3c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed38238b3a3489b4ddc488dfa4984fcba6cc852e7f993b669fffb006d49110e0d6b4e707993d576add2cfa69e8fb57fd30f50df7b6b84e8a5b3a70edcf857fb5
|
7
|
+
data.tar.gz: beb3bc3db5b76436722ecef5b17d42dba67516eabcb39f53d66cceda9b7f2d9e56070f33f0b7e1f7a457ab246dacb7c549fa18bc65e15f83d80c1466ff125372
|
data/.editorconfig
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
|
2
|
+
# @see http://editorconfig.org
|
3
|
+
root = true
|
4
|
+
|
5
|
+
[*]
|
6
|
+
end_of_line = lf
|
7
|
+
charset = utf-8
|
8
|
+
trim_trailing_whitespace = true
|
9
|
+
insert_final_newline = true
|
10
|
+
indent_style = spaces
|
11
|
+
tab_width = 2
|
12
|
+
|
13
|
+
[{*.{rb,yml,md}]
|
14
|
+
indent_size = 2
|
@@ -0,0 +1,18 @@
|
|
1
|
+
### Description
|
2
|
+
<!-- A description of the bug or feature -->
|
3
|
+
|
4
|
+
### Steps to Reproduce
|
5
|
+
<!-- List of steps, sample code, failing test or link to a project that reproduces the behavior.
|
6
|
+
Make sure you place a stack trace inside a code (```) block to avoid linking unrelated issues -->
|
7
|
+
|
8
|
+
### System Configuration
|
9
|
+
<!-- Tell us about the environment where you are experiencing the bug -->
|
10
|
+
|
11
|
+
- ImageMagick version:
|
12
|
+
- RMagick version:
|
13
|
+
- Gruff version:
|
14
|
+
- Ruby version:
|
15
|
+
- Environment (Operating system, version and so on):
|
16
|
+
- Additional information:
|
17
|
+
|
18
|
+
<!-- Thanks for reporting the issue to Gruff! -->
|
data/.gitignore
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,126 @@
|
|
1
|
+
inherit_from: .rubocop_todo.yml
|
2
|
+
require: rubocop-performance
|
3
|
+
|
4
|
+
AllCops:
|
5
|
+
EnabledByDefault: true
|
6
|
+
TargetRubyVersion: 2.4
|
7
|
+
Exclude:
|
8
|
+
- 'vendor/bundle/**/*'
|
9
|
+
- 'rails_generators/gruff/**/*'
|
10
|
+
|
11
|
+
Gemspec/OrderedDependencies:
|
12
|
+
Enabled: false
|
13
|
+
|
14
|
+
Gemspec/RequiredRubyVersion:
|
15
|
+
Enabled: true
|
16
|
+
|
17
|
+
Layout/AccessModifierIndentation:
|
18
|
+
EnforcedStyle: outdent
|
19
|
+
|
20
|
+
Layout/ClassStructure:
|
21
|
+
Enabled: false
|
22
|
+
|
23
|
+
Layout/FirstMethodArgumentLineBreak:
|
24
|
+
Enabled: false
|
25
|
+
|
26
|
+
Layout/LeadingCommentSpace:
|
27
|
+
Enabled: false
|
28
|
+
|
29
|
+
Layout/LineLength:
|
30
|
+
Max: 150
|
31
|
+
|
32
|
+
Layout/MultilineMethodArgumentLineBreaks:
|
33
|
+
Enabled: false
|
34
|
+
|
35
|
+
Layout/MultilineAssignmentLayout:
|
36
|
+
EnforcedStyle: same_line
|
37
|
+
|
38
|
+
Lint/AssignmentInCondition:
|
39
|
+
Enabled: false
|
40
|
+
|
41
|
+
Lint/ConstantResolution:
|
42
|
+
Enabled: false
|
43
|
+
|
44
|
+
Lint/NumberConversion:
|
45
|
+
Enabled: false
|
46
|
+
|
47
|
+
Style/AccessorGrouping:
|
48
|
+
Enabled: false
|
49
|
+
|
50
|
+
Style/ClassAndModuleChildren:
|
51
|
+
Enabled: false
|
52
|
+
|
53
|
+
Style/ConditionalAssignment:
|
54
|
+
Enabled: false
|
55
|
+
|
56
|
+
Style/ConstantVisibility:
|
57
|
+
Enabled: false
|
58
|
+
|
59
|
+
Style/Copyright:
|
60
|
+
Enabled: false
|
61
|
+
|
62
|
+
Style/Documentation:
|
63
|
+
Enabled: true
|
64
|
+
|
65
|
+
Style/Encoding:
|
66
|
+
Enabled: false
|
67
|
+
|
68
|
+
Style/FormatString:
|
69
|
+
EnforcedStyle: sprintf
|
70
|
+
|
71
|
+
Style/FormatStringToken:
|
72
|
+
Enabled: false
|
73
|
+
|
74
|
+
Style/GuardClause:
|
75
|
+
Enabled: false
|
76
|
+
|
77
|
+
Style/HashSyntax:
|
78
|
+
EnforcedStyle: ruby19_no_mixed_keys
|
79
|
+
|
80
|
+
Style/IfUnlessModifier:
|
81
|
+
Enabled: false
|
82
|
+
|
83
|
+
Style/InlineComment:
|
84
|
+
Enabled: false
|
85
|
+
|
86
|
+
Style/ImplicitRuntimeError:
|
87
|
+
Enabled: false
|
88
|
+
|
89
|
+
Style/MethodCallWithArgsParentheses:
|
90
|
+
Enabled: false
|
91
|
+
|
92
|
+
Style/MissingElse:
|
93
|
+
Enabled: false
|
94
|
+
|
95
|
+
Style/MutableConstant:
|
96
|
+
Enabled: false
|
97
|
+
|
98
|
+
Style/Next:
|
99
|
+
Enabled: false
|
100
|
+
|
101
|
+
Style/NumericLiterals:
|
102
|
+
Enabled: false
|
103
|
+
|
104
|
+
Style/NumericPredicate:
|
105
|
+
Enabled: false
|
106
|
+
|
107
|
+
Style/OptionHash:
|
108
|
+
Enabled: false
|
109
|
+
|
110
|
+
Style/SingleLineBlockParams:
|
111
|
+
Enabled: false
|
112
|
+
|
113
|
+
Style/SpecialGlobalVars:
|
114
|
+
Enabled: false
|
115
|
+
|
116
|
+
Style/StructInheritance:
|
117
|
+
Enabled: false
|
118
|
+
|
119
|
+
Style/SymbolArray:
|
120
|
+
Enabled: false
|
121
|
+
|
122
|
+
Style/TernaryParentheses:
|
123
|
+
Enabled: false
|
124
|
+
|
125
|
+
Performance/ChainArrayAllocation:
|
126
|
+
Enabled: false
|
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,153 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2020-10-17 05:39:30 UTC using RuboCop version 0.93.1.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 1
|
10
|
+
Lint/DuplicateMethods:
|
11
|
+
Exclude:
|
12
|
+
- 'lib/gruff/photo_bar.rb'
|
13
|
+
|
14
|
+
# Offense count: 13
|
15
|
+
Lint/FloatComparison:
|
16
|
+
Exclude:
|
17
|
+
- 'Rakefile'
|
18
|
+
- 'lib/gruff/base.rb'
|
19
|
+
- 'lib/gruff/renderer/renderer.rb'
|
20
|
+
- 'lib/gruff/scatter.rb'
|
21
|
+
|
22
|
+
# Offense count: 1
|
23
|
+
Lint/UnreachableCode:
|
24
|
+
Exclude:
|
25
|
+
- 'lib/gruff/photo_bar.rb'
|
26
|
+
|
27
|
+
# Offense count: 1
|
28
|
+
Lint/UselessAssignment:
|
29
|
+
Exclude:
|
30
|
+
- 'lib/gruff/photo_bar.rb'
|
31
|
+
|
32
|
+
# Offense count: 1
|
33
|
+
# Configuration parameters: CheckForMethodsWithNoSideEffects.
|
34
|
+
Lint/Void:
|
35
|
+
Exclude:
|
36
|
+
- 'lib/gruff/patch/rmagick.rb'
|
37
|
+
|
38
|
+
# Offense count: 54
|
39
|
+
# Configuration parameters: IgnoredMethods.
|
40
|
+
Metrics/AbcSize:
|
41
|
+
Max: 82
|
42
|
+
|
43
|
+
# Offense count: 1
|
44
|
+
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods.
|
45
|
+
# ExcludedMethods: refine
|
46
|
+
Metrics/BlockLength:
|
47
|
+
Max: 29
|
48
|
+
|
49
|
+
# Offense count: 13
|
50
|
+
# Configuration parameters: CountComments, CountAsOne.
|
51
|
+
Metrics/ClassLength:
|
52
|
+
Max: 637
|
53
|
+
|
54
|
+
# Offense count: 9
|
55
|
+
# Configuration parameters: IgnoredMethods.
|
56
|
+
Metrics/CyclomaticComplexity:
|
57
|
+
Max: 21
|
58
|
+
|
59
|
+
# Offense count: 121
|
60
|
+
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods.
|
61
|
+
Metrics/MethodLength:
|
62
|
+
Max: 81
|
63
|
+
|
64
|
+
# Offense count: 3
|
65
|
+
# Configuration parameters: CountKeywordArgs.
|
66
|
+
Metrics/ParameterLists:
|
67
|
+
Max: 7
|
68
|
+
|
69
|
+
# Offense count: 8
|
70
|
+
# Configuration parameters: IgnoredMethods.
|
71
|
+
Metrics/PerceivedComplexity:
|
72
|
+
Max: 22
|
73
|
+
|
74
|
+
# Offense count: 1
|
75
|
+
# Configuration parameters: EnforcedStyleForLeadingUnderscores.
|
76
|
+
# SupportedStylesForLeadingUnderscores: disallowed, required, optional
|
77
|
+
Naming/MemoizedInstanceVariableName:
|
78
|
+
Exclude:
|
79
|
+
- 'lib/gruff/scene.rb'
|
80
|
+
|
81
|
+
# Offense count: 9
|
82
|
+
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
|
83
|
+
# AllowedNames: at, by, db, id, in, io, ip, of, on, os, pp, to
|
84
|
+
Naming/MethodParameterName:
|
85
|
+
Exclude:
|
86
|
+
- 'lib/gruff/base.rb'
|
87
|
+
- 'lib/gruff/patch/rmagick.rb'
|
88
|
+
- 'lib/gruff/pie.rb'
|
89
|
+
- 'lib/gruff/renderer/text.rb'
|
90
|
+
|
91
|
+
# Offense count: 1
|
92
|
+
# Configuration parameters: MinSize.
|
93
|
+
Performance/CollectionLiteralInLoop:
|
94
|
+
Exclude:
|
95
|
+
- 'test/test_legend.rb'
|
96
|
+
|
97
|
+
# Offense count: 1
|
98
|
+
# Cop supports --auto-correct.
|
99
|
+
Performance/RedundantMatch:
|
100
|
+
Exclude:
|
101
|
+
- 'lib/gruff/photo_bar.rb'
|
102
|
+
|
103
|
+
# Offense count: 1
|
104
|
+
# Cop supports --auto-correct.
|
105
|
+
Performance/RegexpMatch:
|
106
|
+
Exclude:
|
107
|
+
- 'lib/gruff/photo_bar.rb'
|
108
|
+
|
109
|
+
# Offense count: 2
|
110
|
+
# Cop supports --auto-correct.
|
111
|
+
Performance/StringReplacement:
|
112
|
+
Exclude:
|
113
|
+
- 'lib/gruff/scene.rb'
|
114
|
+
|
115
|
+
# Offense count: 2
|
116
|
+
Security/Eval:
|
117
|
+
Exclude:
|
118
|
+
- 'test/gruff_test_case.rb'
|
119
|
+
|
120
|
+
# Offense count: 1
|
121
|
+
Style/CombinableLoops:
|
122
|
+
Exclude:
|
123
|
+
- 'test/test_line.rb'
|
124
|
+
|
125
|
+
# Offense count: 132
|
126
|
+
# Configuration parameters: RequireForNonPublicMethods.
|
127
|
+
Style/DocumentationMethod:
|
128
|
+
Enabled: false
|
129
|
+
|
130
|
+
# Offense count: 3
|
131
|
+
Style/EvalWithLocation:
|
132
|
+
Exclude:
|
133
|
+
- 'test/gruff_test_case.rb'
|
134
|
+
|
135
|
+
# Offense count: 1
|
136
|
+
Style/MissingRespondToMissing:
|
137
|
+
Exclude:
|
138
|
+
- 'lib/gruff/scene.rb'
|
139
|
+
|
140
|
+
# Offense count: 1
|
141
|
+
# Configuration parameters: AllowedMethods.
|
142
|
+
# AllowedMethods: respond_to_missing?
|
143
|
+
Style/OptionalBooleanParameter:
|
144
|
+
Exclude:
|
145
|
+
- 'lib/gruff/base.rb'
|
146
|
+
|
147
|
+
# Offense count: 3
|
148
|
+
# Cop supports --auto-correct.
|
149
|
+
Style/StringConcatenation:
|
150
|
+
Exclude:
|
151
|
+
- 'lib/gruff/photo_bar.rb'
|
152
|
+
- 'test/gruff_test_case.rb'
|
153
|
+
|
data/.travis.yml
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
language: ruby
|
2
|
+
dist: bionic
|
3
|
+
cache: bundler
|
4
|
+
|
5
|
+
rvm:
|
6
|
+
- 2.4
|
7
|
+
- 2.5
|
8
|
+
- 2.6
|
9
|
+
- 2.7
|
10
|
+
- jruby-9.2.13.0
|
11
|
+
|
12
|
+
jobs:
|
13
|
+
include:
|
14
|
+
- name: 'Lint'
|
15
|
+
rvm: 2.4
|
16
|
+
script: bundle exec rubocop
|
17
|
+
|
18
|
+
addons:
|
19
|
+
apt:
|
20
|
+
packages:
|
21
|
+
- gsfonts
|
22
|
+
- ghostscript
|
data/.yardopts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--no-private
|
data/gruff.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.description = 'Beautiful graphs for one or multiple datasets. Can be used on websites or in documents.'
|
15
15
|
s.email = 'boss@topfunky.com'
|
16
16
|
s.files = `git ls-files`.split.reject do |f|
|
17
|
-
f =~
|
17
|
+
f =~ /^test|^docker|^Rakefile/
|
18
18
|
end
|
19
19
|
s.homepage = 'https://github.com/topfunky/gruff'
|
20
20
|
s.require_paths = %w[lib]
|
data/lib/gruff/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gruff
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Geoffrey Grosenbach
|
@@ -102,6 +102,13 @@ executables: []
|
|
102
102
|
extensions: []
|
103
103
|
extra_rdoc_files: []
|
104
104
|
files:
|
105
|
+
- ".editorconfig"
|
106
|
+
- ".github/ISSUE_TEMPLATE.md"
|
107
|
+
- ".gitignore"
|
108
|
+
- ".rubocop.yml"
|
109
|
+
- ".rubocop_todo.yml"
|
110
|
+
- ".travis.yml"
|
111
|
+
- ".yardopts"
|
105
112
|
- CHANGELOG.md
|
106
113
|
- Gemfile
|
107
114
|
- MIT-LICENSE
|