sandi_meter 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.md +7 -0
- data/lib/sandi_meter/version.rb +1 -1
- data/sandi_meter.gemspec +2 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjljMDQzZWNhN2E2OTQxZmI2NDAzMDc3ZDMyN2YxMjcwZGE2NmYxMQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjM2OTk5MWI5MDY1ODUxYjY2YWQ1ZmNmZTBjZmVmMTA4ZDQwZDNjNQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YzhlYTcyMGZjNGI3ZmQ1M2Q3OWQ2Y2MzYTg3MGQxYTNjYWU2ZDFiYjhkOGQy
|
10
|
+
MTExOTM4NDBlNGI3M2U3YjA3NzcxZTU3MjM1NjBmZTZiZDYzMjkyZGIxMDVj
|
11
|
+
N2NhZjk0ODBmZjQ2NzgyMzU4ZmMyZjQyODIyODc5OWYzZTVjMWM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YTA4YzM3ZWIxNGJmYWI3NjhhZjNiZmQwY2VlZGRlZDM0YTVjMWMwNWY0ZjYy
|
14
|
+
ZDE2NDI4MWI3Y2RlNGEwYjUwOThmZmU2NDU4MTk0NmFlYzE2MjBhNDQxZTcw
|
15
|
+
NDllMDY2MTMwZWRlOGY1ZDQ4YzQ4NjYxNjc1OWVmOTFhOWU1M2I=
|
data/README.md
CHANGED
@@ -15,6 +15,7 @@ Static analysis tool for checking your Ruby code for [Sandi Metz' four rules](ht
|
|
15
15
|
gem install sandi_meter
|
16
16
|
|
17
17
|
sandi_meter --help
|
18
|
+
-g, --graph Create folder and log data to graph
|
18
19
|
-l, --log Show syntax error and indentation log output
|
19
20
|
-p, --path PATH Path to folder or file to analyze
|
20
21
|
-r, --rules Show rules
|
@@ -28,6 +29,12 @@ sandi_meter -p ~/your/ruby/or/rails/project
|
|
28
29
|
4. 21% of controllers have one instance variable per action.
|
29
30
|
~~~
|
30
31
|
|
32
|
+
## HTML mode
|
33
|
+
|
34
|
+
Try using gem with `-g (--graph)` option, so it will create a folder with beautiful html output and log file with results of any scan.
|
35
|
+
|
36
|
+
![SandiMeter HTML mode](http://cs411325.vk.me/v411325401/6089/OnVtBiuCrRQ.jpg)
|
37
|
+
|
31
38
|
## Ruby script mode
|
32
39
|
|
33
40
|
~~~ruby
|
data/lib/sandi_meter/version.rb
CHANGED
data/sandi_meter.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sandi_meter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anatoli Makarevich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ! '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: mixlib-cli
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
description: Sandi Metz rules checker
|
42
56
|
email:
|
43
57
|
- makaroni4@gmail.com
|