attractor 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/attractor/calculator.rb +2 -2
- data/lib/attractor/cli.rb +2 -1
- data/lib/attractor/version.rb +1 -1
- metadata +1 -2
- data/Gemfile.lock +0 -127
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be5d6855eaab1440883504f3814c62f5cfae2dad252cdd567624ad8faaeed15e
|
4
|
+
data.tar.gz: 68a7a71d2ef7736c780b906765748ff3fd8e0ca8733ef5c8ffa033f97ff10214
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0d7d82657c9a6f82c28ccb5f413875d3a82b9d7d36bd52a5c5cf5df2f831e5022bf5ae465c2214c84013115c85ca85c956680fb3ccb2739260bad1a7da60347
|
7
|
+
data.tar.gz: b026b51c657207e7ce95c350c0ab98488ad211f3ed22a64a3be038316643def27dbdd1ff3731decc0690c32d8b4e8603c55055239c3a94df1d0d01588175dbd8
|
data/README.md
CHANGED
data/lib/attractor/calculator.rb
CHANGED
data/lib/attractor/cli.rb
CHANGED
@@ -8,12 +8,13 @@ module Attractor
|
|
8
8
|
# contains methods implementing the CLI
|
9
9
|
class CLI < Thor
|
10
10
|
desc 'calc', 'Calculates churn and complexity for all ruby files in current directory'
|
11
|
+
option :file_prefix, aliases: :p
|
11
12
|
def calc
|
12
13
|
puts 'Calculated churn and complexity'
|
13
14
|
puts
|
14
15
|
puts "file_path#{' ' * 53}complexity churn"
|
15
16
|
puts '-' * 80
|
16
|
-
Attractor::Calculator.output_console
|
17
|
+
Attractor::Calculator.output_console(file_prefix: options[:file_prefix])
|
17
18
|
end
|
18
19
|
|
19
20
|
desc 'report', 'Generates an HTML report'
|
data/lib/attractor/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: attractor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julian Rubisch
|
@@ -181,7 +181,6 @@ files:
|
|
181
181
|
- ".rubocop.yml"
|
182
182
|
- ".travis.yml"
|
183
183
|
- Gemfile
|
184
|
-
- Gemfile.lock
|
185
184
|
- LICENSE
|
186
185
|
- README.md
|
187
186
|
- Rakefile
|
data/Gemfile.lock
DELETED
@@ -1,127 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
attractor (0.1.0)
|
5
|
-
churn
|
6
|
-
descriptive_statistics
|
7
|
-
flog (~> 4.0)
|
8
|
-
thor
|
9
|
-
tilt
|
10
|
-
|
11
|
-
GEM
|
12
|
-
remote: https://rubygems.org/
|
13
|
-
specs:
|
14
|
-
arrayfields (4.9.2)
|
15
|
-
aruba (0.14.11)
|
16
|
-
childprocess (>= 0.6.3, < 3.0.0)
|
17
|
-
contracts (~> 0.9)
|
18
|
-
cucumber (>= 1.3.19)
|
19
|
-
ffi (~> 1.9)
|
20
|
-
rspec-expectations (>= 2.99)
|
21
|
-
thor (~> 0.19)
|
22
|
-
backports (3.15.0)
|
23
|
-
builder (3.2.3)
|
24
|
-
childprocess (2.0.0)
|
25
|
-
rake (< 13.0)
|
26
|
-
chronic (0.10.2)
|
27
|
-
churn (1.0.4)
|
28
|
-
chronic (>= 0.2.3)
|
29
|
-
hirb
|
30
|
-
json_pure
|
31
|
-
main
|
32
|
-
rest-client (>= 1.6.0)
|
33
|
-
ruby_parser (~> 3.0)
|
34
|
-
sexp_processor (~> 4.1)
|
35
|
-
coderay (1.1.2)
|
36
|
-
contracts (0.16.0)
|
37
|
-
cucumber (3.1.2)
|
38
|
-
builder (>= 2.1.2)
|
39
|
-
cucumber-core (~> 3.2.0)
|
40
|
-
cucumber-expressions (~> 6.0.1)
|
41
|
-
cucumber-wire (~> 0.0.1)
|
42
|
-
diff-lcs (~> 1.3)
|
43
|
-
gherkin (~> 5.1.0)
|
44
|
-
multi_json (>= 1.7.5, < 2.0)
|
45
|
-
multi_test (>= 0.1.2)
|
46
|
-
cucumber-core (3.2.1)
|
47
|
-
backports (>= 3.8.0)
|
48
|
-
cucumber-tag_expressions (~> 1.1.0)
|
49
|
-
gherkin (~> 5.0)
|
50
|
-
cucumber-expressions (6.0.1)
|
51
|
-
cucumber-tag_expressions (1.1.1)
|
52
|
-
cucumber-wire (0.0.1)
|
53
|
-
descriptive_statistics (2.5.1)
|
54
|
-
diff-lcs (1.3)
|
55
|
-
domain_name (0.5.20190701)
|
56
|
-
unf (>= 0.0.5, < 1.0.0)
|
57
|
-
fattr (2.4.0)
|
58
|
-
ffi (1.11.1)
|
59
|
-
flog (4.6.2)
|
60
|
-
path_expander (~> 1.0)
|
61
|
-
ruby_parser (~> 3.1, > 3.1.0)
|
62
|
-
sexp_processor (~> 4.8)
|
63
|
-
gherkin (5.1.0)
|
64
|
-
hirb (0.7.3)
|
65
|
-
http-accept (1.7.0)
|
66
|
-
http-cookie (1.0.3)
|
67
|
-
domain_name (~> 0.5)
|
68
|
-
json_pure (2.2.0)
|
69
|
-
main (6.2.3)
|
70
|
-
arrayfields (~> 4.7, >= 4.7.4)
|
71
|
-
chronic (~> 0.6, >= 0.6.2)
|
72
|
-
fattr (~> 2.2, >= 2.2.0)
|
73
|
-
map (~> 6.1, >= 6.1.0)
|
74
|
-
map (6.6.0)
|
75
|
-
method_source (0.9.2)
|
76
|
-
mime-types (3.2.2)
|
77
|
-
mime-types-data (~> 3.2015)
|
78
|
-
mime-types-data (3.2019.0331)
|
79
|
-
multi_json (1.13.1)
|
80
|
-
multi_test (0.1.2)
|
81
|
-
netrc (0.11.0)
|
82
|
-
path_expander (1.0.4)
|
83
|
-
pry (0.12.2)
|
84
|
-
coderay (~> 1.1.0)
|
85
|
-
method_source (~> 0.9.0)
|
86
|
-
rake (10.5.0)
|
87
|
-
rest-client (2.1.0)
|
88
|
-
http-accept (>= 1.7.0, < 2.0)
|
89
|
-
http-cookie (>= 1.0.2, < 2.0)
|
90
|
-
mime-types (>= 1.16, < 4.0)
|
91
|
-
netrc (~> 0.8)
|
92
|
-
rspec (3.8.0)
|
93
|
-
rspec-core (~> 3.8.0)
|
94
|
-
rspec-expectations (~> 3.8.0)
|
95
|
-
rspec-mocks (~> 3.8.0)
|
96
|
-
rspec-core (3.8.2)
|
97
|
-
rspec-support (~> 3.8.0)
|
98
|
-
rspec-expectations (3.8.4)
|
99
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
100
|
-
rspec-support (~> 3.8.0)
|
101
|
-
rspec-mocks (3.8.1)
|
102
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
103
|
-
rspec-support (~> 3.8.0)
|
104
|
-
rspec-support (3.8.2)
|
105
|
-
ruby_parser (3.13.1)
|
106
|
-
sexp_processor (~> 4.9)
|
107
|
-
sexp_processor (4.12.1)
|
108
|
-
thor (0.20.3)
|
109
|
-
tilt (2.0.9)
|
110
|
-
unf (0.1.4)
|
111
|
-
unf_ext
|
112
|
-
unf_ext (0.0.7.6)
|
113
|
-
|
114
|
-
PLATFORMS
|
115
|
-
ruby
|
116
|
-
|
117
|
-
DEPENDENCIES
|
118
|
-
aruba
|
119
|
-
attractor!
|
120
|
-
bundler (~> 2.0)
|
121
|
-
cucumber
|
122
|
-
pry
|
123
|
-
rake (~> 10.0)
|
124
|
-
rspec (~> 3.0)
|
125
|
-
|
126
|
-
BUNDLED WITH
|
127
|
-
2.0.2
|