kolekti_metricfu 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: af3b2a063cb948244ceaf934d4e97855c54a57bf
4
+ data.tar.gz: 0bf13b5752bba8b84c887e5a455399c39029da11
5
+ SHA512:
6
+ metadata.gz: bafd5d0a2af94351a4f4cd1affbe28c846d321ad01017dd9a256e537acb2e27626a428c7eb0ab528cbc1b1f2d19c005d662a00423dead624a6d867e18f4d278b
7
+ data.tar.gz: cc2cb55bd172232a1adaf7ca7e23639a92d0b4e3aaee6db9a01c4ba63d480c963617401991c30b6ca709b268f5f159062b1e5c5a5b74e4ca602c5bb13f922ff2
@@ -0,0 +1,11 @@
1
+ # Copied the file generated by cucumber-rails
2
+
3
+ <%
4
+ rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
5
+ rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
6
+ std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip -r features/support -r features/step_definitions"
7
+ %>
8
+
9
+ default: <%= std_opts %> features
10
+ wip: --tags @wip:3 --wip features
11
+ rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
data/.gitignore ADDED
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ .byebug_history
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --order rand
data/.rubocop.yml ADDED
@@ -0,0 +1,111 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.3
3
+ Exclude:
4
+ - 'bin/**/*'
5
+ - 'db/**/*'
6
+ - 'config/**/*'
7
+ - 'script/**/*'
8
+ - 'features/support/env.rb'
9
+ - 'vendor/**/*'
10
+ - 'gem_tasks/cucumber.rake'
11
+
12
+ Rails:
13
+ Enabled: true
14
+
15
+ Style/AlignParameters:
16
+ EnforcedStyle: with_fixed_indentation
17
+
18
+ Style/CaseIndentation:
19
+ IndentWhenRelativeTo: end
20
+
21
+ Style/AsciiComments:
22
+ Enabled: false
23
+
24
+ Style/IndentHash:
25
+ Enabled: false
26
+
27
+ Style/CollectionMethods:
28
+ Enabled: true
29
+ PreferredMethods:
30
+ inject: 'inject'
31
+
32
+ Style/Documentation:
33
+ Enabled: false
34
+
35
+ Style/BlockDelimiters:
36
+ Exclude:
37
+ - spec/**/*_spec.rb
38
+
39
+ Style/BracesAroundHashParameters:
40
+ Exclude:
41
+ - spec/**/*_spec.rb
42
+
43
+ Style/GuardClause:
44
+ Enabled: false
45
+
46
+ Style/IfUnlessModifier:
47
+ Enabled: false
48
+
49
+ Style/SpaceInsideHashLiteralBraces:
50
+ Enabled: false
51
+
52
+ Style/Lambda:
53
+ Enabled: false
54
+
55
+ Style/RaiseArgs:
56
+ Enabled: false
57
+
58
+ Style/SignalException:
59
+ Enabled: false
60
+
61
+ Metrics/AbcSize:
62
+ Max: 20
63
+
64
+ Metrics/ClassLength:
65
+ Max: 100
66
+
67
+ Metrics/ModuleLength:
68
+ Max: 100
69
+
70
+ Metrics/LineLength:
71
+ Enabled: false
72
+
73
+ Metrics/MethodLength:
74
+ Max: 15
75
+
76
+ Style/SingleLineBlockParams:
77
+ Enabled: false
78
+
79
+ Lint/EndAlignment:
80
+ AlignWith: variable
81
+
82
+ Style/FormatString:
83
+ Enabled: false
84
+
85
+ Style/MultilineMethodCallIndentation:
86
+ EnforcedStyle: indented
87
+
88
+ Style/MultilineOperationIndentation:
89
+ EnforcedStyle: indented
90
+
91
+ Style/WordArray:
92
+ Enabled: false
93
+
94
+ Style/RedundantSelf:
95
+ Enabled: false
96
+
97
+ Style/AlignHash:
98
+ Enabled: true
99
+ EnforcedLastArgumentHashStyle: always_ignore
100
+
101
+ Style/TrivialAccessors:
102
+ AllowPredicates: true
103
+
104
+ Style/FrozenStringLiteralComment:
105
+ Enabled: false
106
+
107
+ Style/ConditionalAssignment:
108
+ Enabled: false
109
+
110
+ Style/RedundantBegin:
111
+ Enabled: false
data/.ruby-gemset ADDED
@@ -0,0 +1 @@
1
+ kolekti_metricfu
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ ruby-2.3.0
data/.travis.yml ADDED
@@ -0,0 +1,17 @@
1
+ language: ruby
2
+
3
+ rvm:
4
+ - 2.3.0
5
+ - 2.0.0-p598 # CentOS 7
6
+ - 2.1.5 # Debian 8
7
+
8
+ cache: bundler
9
+
10
+ before_install: gem install bundler -v 1.11.2
11
+
12
+ notifications:
13
+ email:
14
+ recipients:
15
+ - mezuro-core@lists.ime.usp.br
16
+ on_success: change
17
+ on_failure: always
data/CHANGELOG.md ADDED
@@ -0,0 +1,45 @@
1
+ # Revision history for Kolekti MetricFu
2
+
3
+ The Kolekti MetricFu gem implements a collector for Ruby metrics and issues
4
+ using MetricFu
5
+
6
+ ## Unreleased
7
+
8
+ ## v0.0.4 - 10/06/2016
9
+
10
+ * Prevent incompatible versions of metric_fu and flog to get installed together
11
+ - That issue is being worked on by the metric_fu people, so this change will be
12
+ reverted as soon as that is fixed.
13
+
14
+ ## v0.0.3 - 16/05/2016
15
+
16
+ * Add backwards compatibility up to ruby 2.0.0-p594 (CentOS 7 version)
17
+
18
+ ## v0.0.2 - 11/05/2016
19
+
20
+ * Support Ruby 2.0.0
21
+
22
+ ## v0.0.1 - 25/04/2016
23
+
24
+ * Fix handling of duplicated methods in saikuro and flog compared with
25
+ KalibroProcessor implementation
26
+ * Fix metric code handling in parsers
27
+ * Implement default value handling
28
+ * Implementation of parsers and collector
29
+
30
+ ---
31
+
32
+ Kolekti MetricFu. Copyright (C) 2016 The Mezuro Team
33
+
34
+ This program is free software: you can redistribute it and/or modify it under
35
+ the terms of the GNU General Public License as published by the Free Software
36
+ Foundation, either version 3 of the License, or (at your option) any later
37
+ version.
38
+
39
+ This program is distributed in the hope that it will be useful, but WITHOUT
40
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
41
+ FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
42
+ details.
43
+
44
+ You should have received a copy of the GNU General Public License along with
45
+ this program. If not, see <http://www.gnu.org/licenses/>.