code_stats2 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  if respond_to? :fake_gem
2
- fake_gem 'ruby_ext'
3
- fake_gem 'vfs'
4
- fake_gem 'haml'
5
- fake_gem 'tilt'
2
+ fake_gem 'ruby_ext', '0.4.23'
3
+ fake_gem 'vfs', '0.3.9'
4
+ fake_gem 'haml', '3.1'
5
+ fake_gem 'tilt', '1.3'
6
6
  end
@@ -56,4 +56,4 @@
56
56
  %td= p.unknown_extensions.sort.join(', ')
57
57
 
58
58
  %p.powered
59
- Powered by <a href='https://github.com/alexeypetrushin/code_stats'>code_stat</a>
59
+ Powered by <a href='https://github.com/alexeypetrushin/code_stats'>code_stats</a>
data/readme.md CHANGED
@@ -2,13 +2,7 @@
2
2
 
3
3
  [![rails-thumb]][rails-img] [![some-os-projects-thumb]][some-os-projects-img] [![mongoid-vs-mongomapper-thumb]][mongoid-vs-mongomapper-img]
4
4
 
5
- Complexity of [Rails libraries][rails], Comparing [some Open Source projects][some-os-projects], [MongoMapper vs Mongoid][mongoid-vs-mongomapper] (to see the report save the html file from link on Your computer and open it).
6
-
7
- I deliberately choose the Red color for the sources (and the Blue for specs / tests) because the less code - the better (in general, with other things been equal).
8
-
9
- It's simple as an egg - and it means that You can easilly understood all it's code in about 20-30 minutes and be able to easilly hack and customize it with Your needs.
10
-
11
- # What's the point of these graphs and numbers?
5
+ Screenshots are showing us: Complexity of [Rails libraries][rails-img], comparison of [some Open Source projects][some-os-projects-img] and [MongoMapper vs Mongoid][mongoid-vs-mongomapper-img] (You can see actual .html report files in [docs][docs]).
12
6
 
13
7
  # Installation & Usage
14
8
 
@@ -21,12 +15,16 @@ gem install code_stats2
21
15
  Now run it on some of Your projects, You can also specify some options (type code_stats without arguments to see full help):
22
16
 
23
17
  ``` bash
24
- code_stat /projects/wordpress
25
- code_stat /projects/* except: JavaScript
18
+ code_stats /projects/wordpress
19
+ code_stats /projects/* except: JavaScript
26
20
  ```
27
21
 
22
+ Also You can easily customize it, sources of Code Stats is small and simple as an egg - You can easilly examine all of them in about 20-30 minutes and be able to easilly hack it.
23
+
28
24
  Copyright (c) Alexey Petrushin http://petrush.in, released under the MIT license.
29
25
 
26
+ [docs]: https://github.com/alexeypetrushin/code_stats/tree/master/docs
27
+
30
28
  [rails-thumb]: https://github.com/alexeypetrushin/code_stats/raw/master/docs/rails.thumb.png
31
29
  [some-os-projects-thumb]: https://github.com/alexeypetrushin/code_stats/raw/master/docs/some-os-projects.thumb.png
32
30
  [mongoid-vs-mongomapper-thumb]: https://github.com/alexeypetrushin/code_stats/raw/master/docs/mongoid-vs-mongomapper.thumb.png
@@ -37,4 +35,6 @@ Copyright (c) Alexey Petrushin http://petrush.in, released under the MIT license
37
35
 
38
36
  [rails]: https://github.com/alexeypetrushin/code_stats/raw/master/docs/rails.html
39
37
  [some-os-projects]: https://github.com/alexeypetrushin/code_stats/raw/master/docs/some-os-projects.html
40
- [mongoid-vs-mongomapper]: https://github.com/alexeypetrushin/code_stats/raw/master/docs/mongoid-vs-mongomapper.html
38
+ [mongoid-vs-mongomapper]: https://github.com/alexeypetrushin/code_stats/raw/master/docs/mongoid-vs-mongomapper.html
39
+
40
+ [power_law]: http://en.wikipedia.org/wiki/Power_law
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: code_stats2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-08-03 00:00:00 +04:00
13
+ date: 2011-08-04 00:00:00 +04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -18,9 +18,9 @@ dependencies:
18
18
  requirement: &id001 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
- - - ">="
21
+ - - "="
22
22
  - !ruby/object:Gem::Version
23
- version: "0"
23
+ version: 0.4.23
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: *id001
@@ -29,9 +29,9 @@ dependencies:
29
29
  requirement: &id002 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
- - - ">="
32
+ - - "="
33
33
  - !ruby/object:Gem::Version
34
- version: "0"
34
+ version: 0.3.9
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: *id002
@@ -40,9 +40,9 @@ dependencies:
40
40
  requirement: &id003 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
- - - ">="
43
+ - - "="
44
44
  - !ruby/object:Gem::Version
45
- version: "0"
45
+ version: "3.1"
46
46
  type: :runtime
47
47
  prerelease: false
48
48
  version_requirements: *id003
@@ -51,9 +51,9 @@ dependencies:
51
51
  requirement: &id004 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
- - - ">="
54
+ - - "="
55
55
  - !ruby/object:Gem::Version
56
- version: "0"
56
+ version: "1.3"
57
57
  type: :runtime
58
58
  prerelease: false
59
59
  version_requirements: *id004