code_stats2 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/code_stats/gems.rb +4 -4
  2. data/readme.md +7 -5
  3. metadata +48 -57
@@ -1,6 +1,6 @@
1
1
  if respond_to? :fake_gem
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'
2
+ fake_gem 'ruby_ext', '~> 0.4'
3
+ fake_gem 'vfs', '~> 0.3'
4
+ fake_gem 'haml', '~> 3.1'
5
+ fake_gem 'tilt', '~> 1.3'
6
6
  end
data/readme.md CHANGED
@@ -1,25 +1,27 @@
1
- # Code Stats
1
+ # CodeStats
2
+
3
+ Source code statistics and metrics.
2
4
 
3
5
  [![rails-thumb]][rails-img] [![some-os-projects-thumb]][some-os-projects-img] [![mongoid-vs-mongomapper-thumb]][mongoid-vs-mongomapper-img]
4
6
 
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]).
7
+ Screenshots 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]).
6
8
 
7
9
  # Installation & Usage
8
10
 
9
- This tool is language-agnostic, but it itself is made with Ruby, so You need Ruby installed to use it. Next, just install it as a gem:
11
+ This tool is language-agnostic, but it itself is made with Ruby, so You need Ruby installed to use it, to install it type:
10
12
 
11
13
  ``` bash
12
14
  gem install code_stats2
13
15
  ```
14
16
 
15
- Now run it on some of Your projects, You can also specify some options (type code_stats without arguments to see full help):
17
+ Now run it on some of Your projects, You can also specify some options (type '$ code_stats' without arguments to see full help):
16
18
 
17
19
  ``` bash
18
20
  code_stats /projects/wordpress
19
21
  code_stats /projects/* except: JavaScript
20
22
  ```
21
23
 
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.
24
+ Also You can easily customize it, sources are small and simple as an egg.
23
25
 
24
26
  Copyright (c) Alexey Petrushin http://petrush.in, released under the MIT license.
25
27
 
metadata CHANGED
@@ -1,71 +1,67 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: code_stats2
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.3
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Alexey Petrushin
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-08-04 00:00:00 +04:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
12
+ date: 2011-08-11 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
17
15
  name: ruby_ext
18
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &740960 !ruby/object:Gem::Requirement
19
17
  none: false
20
- requirements:
21
- - - "="
22
- - !ruby/object:Gem::Version
23
- version: 0.4.23
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '0.4'
24
22
  type: :runtime
25
23
  prerelease: false
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
24
+ version_requirements: *740960
25
+ - !ruby/object:Gem::Dependency
28
26
  name: vfs
29
- requirement: &id002 !ruby/object:Gem::Requirement
27
+ requirement: &971370 !ruby/object:Gem::Requirement
30
28
  none: false
31
- requirements:
32
- - - "="
33
- - !ruby/object:Gem::Version
34
- version: 0.3.9
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: '0.3'
35
33
  type: :runtime
36
34
  prerelease: false
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
35
+ version_requirements: *971370
36
+ - !ruby/object:Gem::Dependency
39
37
  name: haml
40
- requirement: &id003 !ruby/object:Gem::Requirement
38
+ requirement: &1005160 !ruby/object:Gem::Requirement
41
39
  none: false
42
- requirements:
43
- - - "="
44
- - !ruby/object:Gem::Version
45
- version: "3.1"
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: '3.1'
46
44
  type: :runtime
47
45
  prerelease: false
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
46
+ version_requirements: *1005160
47
+ - !ruby/object:Gem::Dependency
50
48
  name: tilt
51
- requirement: &id004 !ruby/object:Gem::Requirement
49
+ requirement: &1011610 !ruby/object:Gem::Requirement
52
50
  none: false
53
- requirements:
54
- - - "="
55
- - !ruby/object:Gem::Version
56
- version: "1.3"
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '1.3'
57
55
  type: :runtime
58
56
  prerelease: false
59
- version_requirements: *id004
57
+ version_requirements: *1011610
60
58
  description:
61
59
  email:
62
- executables:
60
+ executables:
63
61
  - code_stats
64
62
  extensions: []
65
-
66
63
  extra_rdoc_files: []
67
-
68
- files:
64
+ files:
69
65
  - Rakefile
70
66
  - readme.md
71
67
  - lib/code_stats/code_stats.rb
@@ -91,33 +87,28 @@ files:
91
87
  - spec/sample_project/src/c.unknown
92
88
  - spec/spec_helper.rb
93
89
  - bin/code_stats
94
- has_rdoc: true
95
90
  homepage: http://github.com/alexeypetrushin/code_stats
96
91
  licenses: []
97
-
98
92
  post_install_message:
99
93
  rdoc_options: []
100
-
101
- require_paths:
94
+ require_paths:
102
95
  - lib
103
- required_ruby_version: !ruby/object:Gem::Requirement
96
+ required_ruby_version: !ruby/object:Gem::Requirement
104
97
  none: false
105
- requirements:
106
- - - ">="
107
- - !ruby/object:Gem::Version
108
- version: "0"
109
- required_rubygems_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ required_rubygems_version: !ruby/object:Gem::Requirement
110
103
  none: false
111
- requirements:
112
- - - ">="
113
- - !ruby/object:Gem::Version
114
- version: "0"
104
+ requirements:
105
+ - - ! '>='
106
+ - !ruby/object:Gem::Version
107
+ version: '0'
115
108
  requirements: []
116
-
117
109
  rubyforge_project:
118
- rubygems_version: 1.5.1
110
+ rubygems_version: 1.8.6
119
111
  signing_key:
120
112
  specification_version: 3
121
113
  summary: Language-agnostic Code Statistics
122
114
  test_files: []
123
-