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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OWU5MzA1ZGUyZDEyYWUyMTFmNWQ2YTdmNmYyYTk2MTcxODkxNGUxMA==
4
+ MjljMDQzZWNhN2E2OTQxZmI2NDAzMDc3ZDMyN2YxMjcwZGE2NmYxMQ==
5
5
  data.tar.gz: !binary |-
6
- ZGE4NWZlMDc5NjIyYmFhMTE5NDBjOWMyOWQxYjQ0MjRmMWMzMTk3MA==
6
+ ZjM2OTk5MWI5MDY1ODUxYjY2YWQ1ZmNmZTBjZmVmMTA4ZDQwZDNjNQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OTFkNjMyYTNkMmE5MmE0OTZkNWQ1NTI5NzMzNjA2ZmQ0MDRlMmIzYzgxY2U0
10
- YjMxMTQwMDA2YzdhODVmN2Q2MTFiYjg3YmZkNGZjMGFhNWU2Y2UwMjQ1NDA4
11
- ZWI3Y2U0ZGE2MjI4MjA3NmFlYTFkMTAyZWQ5OGI0N2U2NTJjNDk=
9
+ YzhlYTcyMGZjNGI3ZmQ1M2Q3OWQ2Y2MzYTg3MGQxYTNjYWU2ZDFiYjhkOGQy
10
+ MTExOTM4NDBlNGI3M2U3YjA3NzcxZTU3MjM1NjBmZTZiZDYzMjkyZGIxMDVj
11
+ N2NhZjk0ODBmZjQ2NzgyMzU4ZmMyZjQyODIyODc5OWYzZTVjMWM=
12
12
  data.tar.gz: !binary |-
13
- NDQwOTg3MjU3MDdiNzVhNjMwZTY1NDVjYzcyMzkyMzlhMGI4ZGY3OWFiNTI2
14
- YmExNjhjOTEyMWFjNWFmNWE5YzYyNTUxMDI2MjllNmNjODAxMjMwYjNlY2Rh
15
- MWQ2MjVkYTQ1OTdmNTI2M2YwMmYzMjI0ZjE5Y2IyNTRjNzg3MWU=
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
@@ -1,3 +1,3 @@
1
1
  module SandiMeter
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/sandi_meter.gemspec CHANGED
@@ -22,4 +22,6 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_development_dependency "bundler", "~> 1.3"
24
24
  spec.add_development_dependency "rake"
25
+
26
+ spec.add_runtime_dependency "mixlib-cli"
25
27
  end
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
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-24 00:00:00.000000000 Z
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