codefumes 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +11 -0
- data/Manifest.txt +9 -4
- data/README.txt +7 -3
- data/Rakefile +8 -2
- data/bin/cf_claim_project +9 -0
- data/bin/store_codefumes_credentials +10 -0
- data/lib/cf_claim_project/cli.rb +81 -0
- data/lib/codefumes/api.rb +7 -6
- data/lib/codefumes/claim.rb +24 -0
- data/lib/codefumes/commit.rb +16 -16
- data/lib/codefumes/config_file.rb +30 -9
- data/lib/codefumes/payload.rb +7 -7
- data/lib/codefumes/project.rb +28 -14
- data/lib/codefumes.rb +4 -3
- data/lib/store_codefumes_credentials/cli.rb +49 -0
- data/spec/cf_claim_project/cli_spec.rb +15 -0
- data/spec/codefumes/api_spec.rb +10 -3
- data/spec/codefumes/claim_spec.rb +30 -0
- data/spec/codefumes/commit_spec.rb +15 -99
- data/spec/codefumes/config_file_spec.rb +95 -8
- data/spec/codefumes/payload_spec.rb +6 -4
- data/spec/codefumes/project_spec.rb +18 -0
- data/spec/codefumes_service_stubs.rb +54 -0
- data/spec/spec_helper.rb +5 -7
- data/spec/store_codefumes_credentials/cli_spec.rb +22 -0
- data/tasks/rspec.rake +1 -0
- data/website/index.html +88 -50
- data/website/stylesheets/screen.css +36 -128
- metadata +35 -10
- data/config/website.yml.sample +0 -2
- data/website/index.txt +0 -55
- data/website/javascripts/rounded_corners_lite.inc.js +0 -285
- data/website/template.html.erb +0 -50
data/website/index.html
CHANGED
@@ -2,59 +2,97 @@
|
|
2
2
|
<head>
|
3
3
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
4
4
|
<title>codefumes</title>
|
5
|
+
<link href="stylesheets/screen.css" rel="stylesheet" type="text/css">
|
5
6
|
</head>
|
6
7
|
<body>
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
<
|
8
|
+
<div id="page">
|
9
|
+
<h1>Official CodeFumes.com Ruby Gems</h1>
|
10
|
+
<p>
|
11
|
+
<a href="http://codefumes.com">CodeFumes.com</a> is a site intended to simplify the process of gathering metrics and associating them with a particular revision of code. The gems described below integrate with this website and are intended to simplify the process of "fleshing out" the pictures you want to draw around your codebase.
|
12
|
+
</p>
|
13
|
+
<h2>Gems</h2>
|
14
|
+
<ul>
|
15
|
+
<li>
|
16
|
+
<ul>
|
17
|
+
<li class="name">codefumes</li>
|
18
|
+
<li>
|
19
|
+
<a href="http://github.com/cosyn/codefumes/wikis">[wiki]</a>
|
20
|
+
</li>
|
21
|
+
<li>
|
22
|
+
<a href="http://codefumes.rubyforge.org/codefumes">[rdoc]</a>
|
23
|
+
</li>
|
24
|
+
<li>
|
25
|
+
<a href="http://github.com/cosyn/codefumes">[repo]</a>
|
26
|
+
</li>
|
27
|
+
<li>
|
28
|
+
<a href="http://github.com/cosyn/codefumes/issues">[bugs/requests]</a>
|
29
|
+
</li>
|
30
|
+
<li>
|
31
|
+
<a href="http://groups.google.com/group/codefumes">[mailing list]</a>
|
32
|
+
</li>
|
33
|
+
</ul>
|
34
|
+
<p class="overview">
|
35
|
+
The 'codefumes' gem is an implementation of the
|
36
|
+
<a href="http://codefumes.com">CodeFumes.com</a> API.
|
37
|
+
The intention of the gem is to simplify integration with CodeFumes.com
|
38
|
+
for developers of other libraries & and applications.
|
39
|
+
</p>
|
40
|
+
</li>
|
41
|
+
<li>
|
42
|
+
<ul>
|
43
|
+
<li class="name">codefumes_harvester</li>
|
44
|
+
<li>
|
45
|
+
<a href="http://github.com/cosyn/codefumes_harvester/wikis">[wiki]</a>
|
46
|
+
</li>
|
47
|
+
<li>
|
48
|
+
<a href="http://codefumes.rubyforge.org/codefumes_harvester">[rdoc]</a>
|
49
|
+
</li>
|
50
|
+
<li>
|
51
|
+
<a href="http://github.com/cosyn/codefumes_harvester">[repo]</a>
|
52
|
+
</li>
|
53
|
+
<li>
|
54
|
+
<a href="http://github.com/cosyn/codefumes_harvester/issues">[bugs/requests]</a>
|
55
|
+
</li>
|
56
|
+
<li>
|
57
|
+
<a href="http://groups.google.com/group/codefumes">[mailing list]</a>
|
58
|
+
</li>
|
59
|
+
</ul>
|
60
|
+
<p class="overview">
|
61
|
+
The codefumes_harvester gem provides a set of high-level tools for gathering
|
62
|
+
history and common metrics from a local repository and sending them to
|
63
|
+
<a href="http://codefumes.com">CodeFumes.com</a>.
|
64
|
+
</p>
|
65
|
+
</li>
|
66
|
+
</ul>
|
67
|
+
|
68
|
+
<h2>Contributing</h2>
|
69
|
+
<p>
|
70
|
+
Improvements in the code and/or documentation are always
|
71
|
+
welcome. The gems each have a wiki on the Github page
|
72
|
+
(see gem links above). You can contribute to the code by
|
73
|
+
forking a repository and sending a pull request to Tom
|
74
|
+
Kersten (github handle: tomkersten).
|
75
|
+
</p>
|
76
|
+
|
77
|
+
<h2>Community Discussion/Mailing Lists</h2>
|
78
|
+
<p>
|
79
|
+
General discussion around CodeFumes.com and associated
|
80
|
+
tools/content is welcome on the
|
81
|
+
<a href="http://groups.google.com/group/codefumes">codefumes Google Group</a>
|
82
|
+
</p>
|
83
|
+
|
84
|
+
<h2>Bug reports, Feature Requests</h2>
|
85
|
+
<p>
|
86
|
+
Feel free to use the "Issues" area of the Github repository for
|
87
|
+
this project. The link for each gem is provided above.
|
88
|
+
</p>
|
89
|
+
<div id="footer">
|
14
90
|
<ul>
|
15
|
-
<li
|
16
|
-
<li>
|
17
|
-
|
18
|
-
</li>
|
19
|
-
<li>
|
20
|
-
<a href="http://codefumes.rubyforge.org/codefumes/codefumes">[rdoc]</a>
|
21
|
-
</li>
|
22
|
-
<li>
|
23
|
-
<a href="http://github.com/cosyn/codefumes.git">[repo]</a>
|
24
|
-
</li>
|
25
|
-
<li>
|
26
|
-
<a href="http://github.com/cosyn/codefumes.git">[bug tracker]</a>
|
27
|
-
</li>
|
91
|
+
<li>License</li>
|
92
|
+
<li>(The MIT License)</li>
|
93
|
+
<li>Copyright (C) Tom Kersten, Cosyn Technologies, Inc.</li>
|
28
94
|
</ul>
|
29
|
-
|
30
|
-
|
31
|
-
<a href="http://codefumes.com" target="blank">CodeFumes.com</a> API.
|
32
|
-
The intention of the gem is to simplify integration with CodeFumes.com
|
33
|
-
for developers of other libraries & and applications.
|
34
|
-
</p>
|
35
|
-
</li>
|
36
|
-
<li>
|
37
|
-
<ul>
|
38
|
-
<li class="name">codefumes_harvester</li>
|
39
|
-
<li>
|
40
|
-
<a href="./codefumes_harvester">[examples]</a>
|
41
|
-
</li>
|
42
|
-
<li>
|
43
|
-
<a href="http://codefumes.rubyforge.org/codefumes/codefumes_harvester">[rdoc]</a>
|
44
|
-
</li>
|
45
|
-
<li>
|
46
|
-
<a href="http://github.com/cosyn/codefumes_harvester.git">[repo]</a>
|
47
|
-
</li>
|
48
|
-
<li>
|
49
|
-
<a href="http://github.com/cosyn/codefumes_harvester.git">[bug tracker]</a>
|
50
|
-
</li>
|
51
|
-
</ul>
|
52
|
-
<p class="overview">
|
53
|
-
The codefumes_harvester gem provides a set of high-level tools for gathering
|
54
|
-
history and common metrics from a local repository and sending them to
|
55
|
-
<a href="http://codefumes.com" target="blank">CodeFumes.com</a>.
|
56
|
-
</p>
|
57
|
-
</li>
|
58
|
-
</ul>
|
95
|
+
</div>
|
96
|
+
</div>
|
59
97
|
</body>
|
60
98
|
</html>
|
@@ -1,159 +1,67 @@
|
|
1
1
|
body {
|
2
|
-
background-color: #8DBD82;
|
3
2
|
font-family: "Georgia", sans-serif;
|
4
3
|
font-size: 16px;
|
5
4
|
line-height: 1.6em;
|
6
|
-
padding: 1.6em 0
|
5
|
+
padding: 1.6em 0 .9em .9em;
|
7
6
|
color: #333;
|
8
7
|
}
|
8
|
+
|
9
|
+
#page {
|
10
|
+
width: 942px;
|
11
|
+
}
|
12
|
+
|
9
13
|
h1, h2, h3, h4, h5, h6 {
|
10
14
|
color: #444;
|
11
15
|
}
|
16
|
+
|
12
17
|
h1 {
|
13
18
|
font-family: sans-serif;
|
14
19
|
font-weight: normal;
|
15
|
-
font-size:
|
20
|
+
font-size: 3em;
|
16
21
|
line-height: 0.8em;
|
17
22
|
letter-spacing: -0.1ex;
|
18
|
-
|
19
|
-
}
|
20
|
-
li {
|
21
|
-
padding: 0;
|
22
|
-
margin: 0;
|
23
|
-
list-style-type: square;
|
24
|
-
}
|
25
|
-
a {
|
26
|
-
color: #5E5AFF;
|
27
|
-
background-color: #A1DDB1;
|
28
|
-
font-weight: normal;
|
29
|
-
text-decoration: underline;
|
30
|
-
}
|
31
|
-
blockquote {
|
32
|
-
font-size: 90%;
|
33
|
-
font-style: italic;
|
34
|
-
border-left: 1px solid #111;
|
35
|
-
padding-left: 1em;
|
36
|
-
}
|
37
|
-
.caps {
|
38
|
-
font-size: 80%;
|
39
|
-
}
|
40
|
-
|
41
|
-
#main {
|
42
|
-
width: 55em;
|
43
|
-
padding: 0;
|
44
|
-
margin: 0 auto;
|
45
|
-
}
|
46
|
-
.coda {
|
47
|
-
text-align: right;
|
48
|
-
color: #77f;
|
49
|
-
font-size: smaller;
|
50
|
-
}
|
51
|
-
|
52
|
-
table {
|
53
|
-
font-size: 90%;
|
54
|
-
line-height: 1.4em;
|
55
|
-
color: #ff8;
|
56
|
-
background-color: #111;
|
57
|
-
padding: 2px 10px 2px 10px;
|
58
|
-
border-style: dashed;
|
59
|
-
}
|
60
|
-
|
61
|
-
th {
|
62
|
-
color: #fff;
|
63
|
-
}
|
64
|
-
|
65
|
-
td {
|
66
|
-
padding: 2px 10px 2px 10px;
|
23
|
+
margin: 5px;
|
67
24
|
}
|
68
25
|
|
69
|
-
|
70
|
-
|
26
|
+
ul {
|
27
|
+
padding-left: 2em;
|
71
28
|
}
|
72
29
|
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
.unknown {
|
78
|
-
color: #995000;
|
79
|
-
}
|
80
|
-
pre, code {
|
81
|
-
font-family: monospace;
|
82
|
-
font-size: 90%;
|
83
|
-
line-height: 1.4em;
|
84
|
-
color: #ff8;
|
85
|
-
background-color: #111;
|
86
|
-
width: 40em;
|
87
|
-
padding: 2px 10px 2px 10px;
|
30
|
+
ul li {
|
31
|
+
padding-bottom: 4em;
|
32
|
+
margin: 0;
|
33
|
+
list-style-type: none;
|
88
34
|
}
|
89
|
-
.comment { color: #aaa; font-style: italic; }
|
90
|
-
.keyword { color: #eff; font-weight: bold; }
|
91
|
-
.punct { color: #eee; font-weight: bold; }
|
92
|
-
.symbol { color: #0bb; }
|
93
|
-
.string { color: #6b4; }
|
94
|
-
.ident { color: #ff8; }
|
95
|
-
.constant { color: #66f; }
|
96
|
-
.regex { color: #ec6; }
|
97
|
-
.number { color: #F99; }
|
98
|
-
.expr { color: #227; }
|
99
35
|
|
100
|
-
.sidebar {
|
101
|
-
float: right;
|
102
|
-
}
|
103
36
|
|
104
|
-
|
105
|
-
|
37
|
+
ul li ul {
|
38
|
+
padding: 0;
|
106
39
|
text-align: right;
|
107
|
-
font-family: sans-serif;
|
108
|
-
font-weight: normal;
|
109
|
-
color: #141331;
|
110
|
-
padding: 15px 20px 10px 20px;
|
111
|
-
margin: 0 auto;
|
112
|
-
margin-top: 15px;
|
113
|
-
background-color: #9A5535;
|
114
|
-
border: 3px solid #7E393E;
|
115
|
-
}
|
116
|
-
|
117
|
-
#version .numbers {
|
118
|
-
display: block;
|
119
|
-
font-size: 4em;
|
120
|
-
line-height: 0.8em;
|
121
|
-
letter-spacing: -0.1ex;
|
122
|
-
margin-bottom: 15px;
|
123
|
-
}
|
124
|
-
|
125
|
-
#version p {
|
126
|
-
text-decoration: none;
|
127
|
-
color: #F1F4FF;
|
128
|
-
background-color: #9A5535;
|
129
|
-
margin: 0;
|
130
|
-
padding: 0;
|
131
40
|
}
|
132
41
|
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
.clickable {
|
140
|
-
cursor: pointer;
|
141
|
-
cursor: hand;
|
42
|
+
ul li ul li {
|
43
|
+
display: inline-block;
|
44
|
+
list-style-type: none;
|
45
|
+
margin: 0;
|
46
|
+
padding: 0;
|
142
47
|
}
|
143
48
|
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
49
|
+
ul li.name {
|
50
|
+
font-weight: bold;
|
51
|
+
width: 200px;
|
52
|
+
text-align: left;
|
53
|
+
float: left;
|
149
54
|
}
|
150
55
|
|
151
|
-
#
|
152
|
-
|
153
|
-
margin-bottom: 0px;
|
56
|
+
div#footer ul {
|
57
|
+
text-align: right;
|
154
58
|
}
|
155
59
|
|
156
|
-
#
|
157
|
-
|
60
|
+
div#footer ul li {
|
61
|
+
font-size: .8em;
|
62
|
+
color: #AAA;
|
63
|
+
display: inline-block;
|
64
|
+
list-style-type: none;
|
65
|
+
margin: 0;
|
66
|
+
padding: 0;
|
158
67
|
}
|
159
|
-
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codefumes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Kersten
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-09-
|
13
|
+
date: 2009-09-22 00:00:00 -05:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -33,6 +33,26 @@ dependencies:
|
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: 1.1.5
|
35
35
|
version:
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rubigen
|
38
|
+
type: :development
|
39
|
+
version_requirement:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 1.5.2
|
45
|
+
version:
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: fakeweb
|
48
|
+
type: :development
|
49
|
+
version_requirement:
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.2.0
|
55
|
+
version:
|
36
56
|
- !ruby/object:Gem::Dependency
|
37
57
|
name: hoe
|
38
58
|
type: :development
|
@@ -47,42 +67,47 @@ description: CodeFumes.com[http://codefumes.com] is a service intended to help p
|
|
47
67
|
email:
|
48
68
|
- tom.kersten@cosyntech.com
|
49
69
|
- freemarmoset@gmail.com
|
50
|
-
executables:
|
51
|
-
|
70
|
+
executables:
|
71
|
+
- cf_claim_project
|
72
|
+
- store_codefumes_credentials
|
52
73
|
extensions: []
|
53
74
|
|
54
75
|
extra_rdoc_files:
|
55
76
|
- History.txt
|
56
77
|
- Manifest.txt
|
57
78
|
- README.txt
|
58
|
-
- website/index.txt
|
59
79
|
files:
|
60
80
|
- History.txt
|
61
81
|
- Manifest.txt
|
62
82
|
- README.txt
|
63
83
|
- Rakefile
|
64
|
-
-
|
84
|
+
- bin/cf_claim_project
|
85
|
+
- bin/store_codefumes_credentials
|
86
|
+
- lib/cf_claim_project/cli.rb
|
65
87
|
- lib/codefumes.rb
|
66
88
|
- lib/codefumes/api.rb
|
89
|
+
- lib/codefumes/claim.rb
|
67
90
|
- lib/codefumes/commit.rb
|
68
91
|
- lib/codefumes/config_file.rb
|
69
92
|
- lib/codefumes/payload.rb
|
70
93
|
- lib/codefumes/project.rb
|
94
|
+
- lib/store_codefumes_credentials/cli.rb
|
95
|
+
- spec/cf_claim_project/cli_spec.rb
|
71
96
|
- spec/codefumes/api_spec.rb
|
97
|
+
- spec/codefumes/claim_spec.rb
|
72
98
|
- spec/codefumes/commit_spec.rb
|
73
99
|
- spec/codefumes/config_file_spec.rb
|
74
100
|
- spec/codefumes/payload_spec.rb
|
75
101
|
- spec/codefumes/project_spec.rb
|
102
|
+
- spec/codefumes_service_stubs.rb
|
76
103
|
- spec/spec.opts
|
77
104
|
- spec/spec_helper.rb
|
105
|
+
- spec/store_codefumes_credentials/cli_spec.rb
|
78
106
|
- tasks/rspec.rake
|
79
107
|
- website/index.html
|
80
|
-
- website/index.txt
|
81
|
-
- website/javascripts/rounded_corners_lite.inc.js
|
82
108
|
- website/stylesheets/screen.css
|
83
|
-
- website/template.html.erb
|
84
109
|
has_rdoc: true
|
85
|
-
homepage: http://
|
110
|
+
homepage: http://codefumes.rubyforge.org/codefumes
|
86
111
|
post_install_message:
|
87
112
|
rdoc_options:
|
88
113
|
- --main
|
data/config/website.yml.sample
DELETED
data/website/index.txt
DELETED
@@ -1,55 +0,0 @@
|
|
1
|
-
h1. codefumes
|
2
|
-
|
3
|
-
h2. What
|
4
|
-
|
5
|
-
h2. Installing
|
6
|
-
|
7
|
-
<pre syntax="ruby">sudo gem install codefumes</pre>
|
8
|
-
|
9
|
-
h2. The basics
|
10
|
-
|
11
|
-
|
12
|
-
h2. Demonstration of usage
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
h2. Forum
|
17
|
-
|
18
|
-
"http://groups.google.com/group/codefumes":http://groups.google.com/group/codefumes
|
19
|
-
|
20
|
-
TODO - create Google Group - codefumes
|
21
|
-
|
22
|
-
h2. How to submit patches
|
23
|
-
|
24
|
-
|
25
|
-
TODO - pick SVN or Git instructions
|
26
|
-
|
27
|
-
You can fetch the source from github at:
|
28
|
-
|
29
|
-
* github: "http://github.com/cosyn/codefumes/tree/master":http://github.com/cosyn/codefumes/tree/master
|
30
|
-
|
31
|
-
<pre>git clone git://github.com/cosyn/codefumes.git</pre>
|
32
|
-
|
33
|
-
|
34
|
-
TODO - add "github_username: username" to ~/.rubyforge/user-config.yml and newgem will reuse it for future projects.
|
35
|
-
|
36
|
-
|
37
|
-
* gitorious: "git://gitorious.org/codefumes/mainline.git":git://gitorious.org/codefumes/mainline.git
|
38
|
-
|
39
|
-
<pre>git clone git://gitorious.org/codefumes/mainline.git</pre>
|
40
|
-
|
41
|
-
h3. Build and test instructions
|
42
|
-
|
43
|
-
<pre>cd codefumes
|
44
|
-
rake test
|
45
|
-
rake install_gem</pre>
|
46
|
-
|
47
|
-
|
48
|
-
h2. License
|
49
|
-
|
50
|
-
This code is free to use under the terms of the MIT license.
|
51
|
-
|
52
|
-
h2. Contact
|
53
|
-
|
54
|
-
Comments are welcome. Send an email to "FIXME full name":mailto:FIXME email via the "forum":http://groups.google.com/group/codefumes
|
55
|
-
|