code-stats 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +16 -0
- data/bin/code_stats +31 -0
- data/lib/code_stats.rb +28 -0
- data/lib/code_stats/code_stats.rb +51 -0
- data/lib/code_stats/file_set.rb +43 -0
- data/lib/code_stats/gems.rb +6 -0
- data/lib/code_stats/languages.rb +134 -0
- data/lib/code_stats/project.rb +55 -0
- data/lib/code_stats/report.html.haml +59 -0
- data/lib/code_stats/report.rb +42 -0
- data/lib/code_stats/report/highchart.js +11103 -0
- data/lib/code_stats/report/jquery.js +8936 -0
- data/lib/code_stats/report/report.js +75 -0
- data/lib/code_stats/report/style.css +14 -0
- data/lib/code_stats/support.rb +13 -0
- data/readme.md +40 -0
- data/spec/code_stats_spec.rb +15 -0
- data/spec/languages_spec.rb +221 -0
- data/spec/project_spec.rb +35 -0
- data/spec/sample_project/docs/sample.rb +1 -0
- data/spec/sample_project/specs/a_spec.rb +2 -0
- data/spec/sample_project/src/a.js +10 -0
- data/spec/sample_project/src/b.rb +8 -0
- data/spec/sample_project/src/c.unknown +0 -0
- data/spec/spec_helper.rb +8 -0
- metadata +123 -0
File without changes
|
data/spec/spec_helper.rb
ADDED
metadata
ADDED
@@ -0,0 +1,123 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: code-stats
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Alexey Petrushin
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2011-08-03 00:00:00 +04:00
|
14
|
+
default_executable:
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: ruby_ext
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: "0"
|
24
|
+
type: :runtime
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: *id001
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: vfs
|
29
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: "0"
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: *id002
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: haml
|
40
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: "0"
|
46
|
+
type: :runtime
|
47
|
+
prerelease: false
|
48
|
+
version_requirements: *id003
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: tilt
|
51
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: "0"
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: *id004
|
60
|
+
description:
|
61
|
+
email:
|
62
|
+
executables:
|
63
|
+
- code_stats
|
64
|
+
extensions: []
|
65
|
+
|
66
|
+
extra_rdoc_files: []
|
67
|
+
|
68
|
+
files:
|
69
|
+
- Rakefile
|
70
|
+
- readme.md
|
71
|
+
- lib/code_stats/code_stats.rb
|
72
|
+
- lib/code_stats/file_set.rb
|
73
|
+
- lib/code_stats/gems.rb
|
74
|
+
- lib/code_stats/languages.rb
|
75
|
+
- lib/code_stats/project.rb
|
76
|
+
- lib/code_stats/report/highchart.js
|
77
|
+
- lib/code_stats/report/jquery.js
|
78
|
+
- lib/code_stats/report/report.js
|
79
|
+
- lib/code_stats/report/style.css
|
80
|
+
- lib/code_stats/report.html.haml
|
81
|
+
- lib/code_stats/report.rb
|
82
|
+
- lib/code_stats/support.rb
|
83
|
+
- lib/code_stats.rb
|
84
|
+
- spec/code_stats_spec.rb
|
85
|
+
- spec/languages_spec.rb
|
86
|
+
- spec/project_spec.rb
|
87
|
+
- spec/sample_project/docs/sample.rb
|
88
|
+
- spec/sample_project/specs/a_spec.rb
|
89
|
+
- spec/sample_project/src/a.js
|
90
|
+
- spec/sample_project/src/b.rb
|
91
|
+
- spec/sample_project/src/c.unknown
|
92
|
+
- spec/spec_helper.rb
|
93
|
+
- bin/code_stats
|
94
|
+
has_rdoc: true
|
95
|
+
homepage: http://github.com/alexeypetrushin/misc/code_stats
|
96
|
+
licenses: []
|
97
|
+
|
98
|
+
post_install_message:
|
99
|
+
rdoc_options: []
|
100
|
+
|
101
|
+
require_paths:
|
102
|
+
- lib
|
103
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
104
|
+
none: false
|
105
|
+
requirements:
|
106
|
+
- - ">="
|
107
|
+
- !ruby/object:Gem::Version
|
108
|
+
version: "0"
|
109
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
110
|
+
none: false
|
111
|
+
requirements:
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: "0"
|
115
|
+
requirements: []
|
116
|
+
|
117
|
+
rubyforge_project:
|
118
|
+
rubygems_version: 1.5.1
|
119
|
+
signing_key:
|
120
|
+
specification_version: 3
|
121
|
+
summary: Language-agnostic Code Statistics
|
122
|
+
test_files: []
|
123
|
+
|