codefumes 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data.tar.gz.sig +2 -0
- data/.gemtest +0 -0
- data/.rvmrc +2 -1
- data/Gemfile +3 -2
- data/Gemfile.lock +17 -6
- data/History.txt +5 -1
- data/Manifest.txt +1 -1
- data/README.md +113 -0
- data/Rakefile +5 -1
- data/lib/codefumes.rb +1 -1
- data/lib/codefumes/api/build.rb +1 -4
- data/lib/codefumes/api/claim.rb +2 -8
- data/spec/codefumes/api/build_spec.rb +1 -1
- data/spec/spec_helper.rb +2 -0
- data/tasks/contributor_tasks.rb +14 -5
- metadata +82 -130
- metadata.gz.sig +0 -0
- data/README.txt +0 -118
data.tar.gz.sig
ADDED
data/.gemtest
ADDED
File without changes
|
data/.rvmrc
CHANGED
data/Gemfile
CHANGED
@@ -10,12 +10,13 @@ gem 'gherkin', '2.1.5'
|
|
10
10
|
gem 'gli', '1.1.1'
|
11
11
|
gem 'grit', '2.0'
|
12
12
|
gem 'hanna', '0.1.12'
|
13
|
-
gem 'hoe', '2.
|
13
|
+
gem 'hoe', '2.9.4'
|
14
14
|
gem 'hoe-git', '1.3.0'
|
15
15
|
gem 'httparty', '0.6.1'
|
16
16
|
gem 'launchy', '0.3.7'
|
17
17
|
gem 'rake', '0.8.7'
|
18
18
|
gem 'rspec', '1.3.0'
|
19
19
|
gem 'rubigen', '1.5.5'
|
20
|
-
gem 'ruby-debug'
|
20
|
+
gem 'ruby-debug', :platforms => :ruby_18
|
21
|
+
gem 'ruby-debug19', :platforms => :ruby_19
|
21
22
|
gem 'ZenTest'
|
data/Gemfile.lock
CHANGED
@@ -3,10 +3,11 @@ GEM
|
|
3
3
|
specs:
|
4
4
|
ZenTest (4.4.0)
|
5
5
|
activesupport (2.3.5)
|
6
|
+
archive-tar-minitar (0.5.2)
|
6
7
|
aruba (0.2.1)
|
7
8
|
builder (2.1.2)
|
8
9
|
caleb-chronic (0.3.0)
|
9
|
-
columnize (0.3.
|
10
|
+
columnize (0.3.2)
|
10
11
|
configuration (1.1.0)
|
11
12
|
crack (0.1.8)
|
12
13
|
cucumber (0.8.5)
|
@@ -28,9 +29,8 @@ GEM
|
|
28
29
|
haml (~> 2.2.8)
|
29
30
|
rake (~> 0.8.2)
|
30
31
|
rdoc (~> 2.3.0)
|
31
|
-
hoe (2.
|
32
|
+
hoe (2.9.4)
|
32
33
|
rake (>= 0.8.7)
|
33
|
-
rubyforge (>= 2.0.4)
|
34
34
|
hoe-git (1.3.0)
|
35
35
|
hoe (>= 2.2.0)
|
36
36
|
httparty (0.6.1)
|
@@ -40,6 +40,8 @@ GEM
|
|
40
40
|
configuration (>= 0.0.5)
|
41
41
|
rake (>= 0.8.1)
|
42
42
|
linecache (0.43)
|
43
|
+
linecache19 (0.5.12)
|
44
|
+
ruby_core_source (>= 0.1.4)
|
43
45
|
mime-types (1.16)
|
44
46
|
rake (0.8.7)
|
45
47
|
rdoc (2.3.0)
|
@@ -51,8 +53,16 @@ GEM
|
|
51
53
|
ruby-debug-base (~> 0.10.3.0)
|
52
54
|
ruby-debug-base (0.10.3)
|
53
55
|
linecache (>= 0.3)
|
54
|
-
|
55
|
-
|
56
|
+
ruby-debug-base19 (0.11.25)
|
57
|
+
columnize (>= 0.3.1)
|
58
|
+
linecache19 (>= 0.5.11)
|
59
|
+
ruby_core_source (>= 0.1.4)
|
60
|
+
ruby-debug19 (0.11.6)
|
61
|
+
columnize (>= 0.3.1)
|
62
|
+
linecache19 (>= 0.5.11)
|
63
|
+
ruby-debug-base19 (>= 0.11.19)
|
64
|
+
ruby_core_source (0.1.5)
|
65
|
+
archive-tar-minitar (>= 0.5.2)
|
56
66
|
term-ansicolor (1.0.5)
|
57
67
|
trollop (1.16.2)
|
58
68
|
|
@@ -71,7 +81,7 @@ DEPENDENCIES
|
|
71
81
|
gli (= 1.1.1)
|
72
82
|
grit (= 2.0)
|
73
83
|
hanna (= 0.1.12)
|
74
|
-
hoe (= 2.
|
84
|
+
hoe (= 2.9.4)
|
75
85
|
hoe-git (= 1.3.0)
|
76
86
|
httparty (= 0.6.1)
|
77
87
|
launchy (= 0.3.7)
|
@@ -79,3 +89,4 @@ DEPENDENCIES
|
|
79
89
|
rspec (= 1.3.0)
|
80
90
|
rubigen (= 1.5.5)
|
81
91
|
ruby-debug
|
92
|
+
ruby-debug19
|
data/History.txt
CHANGED
data/Manifest.txt
CHANGED
data/README.md
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
# codefumes
|
2
|
+
|
3
|
+
* http://github.com/tomkersten/codefumes
|
4
|
+
|
5
|
+
## DESCRIPTION:
|
6
|
+
|
7
|
+
[CodeFumes.com](http://codefumes.com) is a service intended to help
|
8
|
+
people who are interested in tracking, sharing, and reviewing metrics
|
9
|
+
associated with a repository of code. The 'codefumes' gem is an
|
10
|
+
implementation of the [CodeFumes.com](http://codefumes.com) API.
|
11
|
+
The intention of the gem is to simplify use of and integration with
|
12
|
+
the site.
|
13
|
+
|
14
|
+
The site supports a small set of 'standard' metrics (# lines
|
15
|
+
changed/committed, build status, build duration, etc). Additionally,
|
16
|
+
the service provides a simple method of supplying and retrieving
|
17
|
+
custom metrics, allowing users to gather any metric you are interested
|
18
|
+
in tracking.
|
19
|
+
|
20
|
+
## FEATURES/PROBLEMS:
|
21
|
+
|
22
|
+
### Features
|
23
|
+
|
24
|
+
* Saving, finding, marshalling, and destroying CodeFumes
|
25
|
+
projects
|
26
|
+
* Associating and retrieving a repository's history of commits for a
|
27
|
+
CodeFumes 'project'
|
28
|
+
* Simple interface for accessing both CodeFumes's 'standard' commit
|
29
|
+
metrics, as well as custom commit attributes; simplifying
|
30
|
+
integration with other tools & libraries users may be interested in
|
31
|
+
using.
|
32
|
+
* Interfaces with the CodeFumes config file (used to track projects a
|
33
|
+
user has created on the site)
|
34
|
+
* Tracking & retrieving information about continuous integration server
|
35
|
+
builds (duration, status, etc).
|
36
|
+
|
37
|
+
### Problems / Things to Note
|
38
|
+
|
39
|
+
* CodeFumes 'projects' are repository-specific, not branch-specific.
|
40
|
+
|
41
|
+
## SYNOPSIS:
|
42
|
+
|
43
|
+
### In your own Ruby code:
|
44
|
+
|
45
|
+
require 'codefumes'
|
46
|
+
|
47
|
+
# Creating & finding a CodeFumes project
|
48
|
+
p = Project.create
|
49
|
+
found_p = Project.find(p.public_key)
|
50
|
+
p.public_key # => 'Abc3'
|
51
|
+
p.api_uri # => 'http://codefumes.com/api/v1/xml/Abc3'
|
52
|
+
|
53
|
+
# Commits
|
54
|
+
c = Commit.find(<commit identifier>)
|
55
|
+
c.identifier # => git commit SHA (svn support coming soon)
|
56
|
+
c.short_message # => commit message
|
57
|
+
|
58
|
+
# Build Management
|
59
|
+
# QuickBuild grabs local commit head & current time to start build
|
60
|
+
QuickBuild.start('build-name-here')
|
61
|
+
|
62
|
+
# QuickBuild grabs local commit head & current time to finish build
|
63
|
+
QuickBuild.finish('build-name-here', 'successful')
|
64
|
+
|
65
|
+
# Custom attributes associated with a commit
|
66
|
+
c.custom_attributes[:coverage] # => "80"
|
67
|
+
|
68
|
+
# Payloads, used to break up large HTTP requests
|
69
|
+
content = Payload.prepare(payload_content)
|
70
|
+
content.each {|chunk| chunk.save}
|
71
|
+
|
72
|
+
### From the command line:
|
73
|
+
|
74
|
+
$ fumes sync # <- synchronizes local repository with CodeFumes.com
|
75
|
+
$ fumes build --start ie7
|
76
|
+
$ fumes build --finish=successful ie7
|
77
|
+
$ fumes build --status --all
|
78
|
+
|
79
|
+
# Link to your CodeFumes account
|
80
|
+
$ fumes api-key [your-api-key]
|
81
|
+
$ fumes claim
|
82
|
+
|
83
|
+
# Release the project (unlink from your account)
|
84
|
+
$ fumes release
|
85
|
+
|
86
|
+
# Delete the project entirely from CodeFumes.com
|
87
|
+
$ fumes delete
|
88
|
+
|
89
|
+
See 'fumes --help' for more information on available commands and options.
|
90
|
+
|
91
|
+
## REQUIREMENTS:
|
92
|
+
|
93
|
+
* httparty (0.4.3)
|
94
|
+
* caleb-chronic (0.3.0)
|
95
|
+
* gli (1.1.1)
|
96
|
+
* grit (2.0)
|
97
|
+
|
98
|
+
## INSTALL:
|
99
|
+
|
100
|
+
gem install codefumes
|
101
|
+
|
102
|
+
## LICENSE:
|
103
|
+
|
104
|
+
Refer to the LICENSE file
|
105
|
+
|
106
|
+
## Contributors (sorted alphabetically)
|
107
|
+
|
108
|
+
* Dan Nawara
|
109
|
+
* Jim Suchy
|
110
|
+
* Joe Banks
|
111
|
+
* Joseph Leddy
|
112
|
+
* Leah Welty-Rieger
|
113
|
+
* Roy Kolak
|
data/Rakefile
CHANGED
@@ -1,9 +1,12 @@
|
|
1
1
|
require 'bundler'
|
2
2
|
Bundler.setup
|
3
3
|
|
4
|
+
$LOAD_PATH.unshift('.') unless $LOAD_PATH.include?('.')
|
5
|
+
|
4
6
|
%w[hoe rake rake/clean fileutils tasks/contributor_tasks].each { |f| require f }
|
5
7
|
|
6
8
|
$LOAD_PATH.unshift('lib') unless $LOAD_PATH.include?('lib')
|
9
|
+
|
7
10
|
require 'lib/codefumes'
|
8
11
|
|
9
12
|
begin
|
@@ -31,7 +34,8 @@ $hoe = Hoe.spec('codefumes') do
|
|
31
34
|
['aruba', "0.2.1"]
|
32
35
|
]
|
33
36
|
self.extra_deps = [['httparty','>= 0.6.1'], ['caleb-chronic', '>= 0.3.0'], ['gli', '1.1.1'], ['grit', '2.0']]
|
34
|
-
self.
|
37
|
+
self.readme_file = 'README.md'
|
38
|
+
self.extra_rdoc_files = FileList['README.md', 'LICENSE']
|
35
39
|
developer('Tom Kersten', 'tom.kersten@codefumes.com')
|
36
40
|
end
|
37
41
|
|
data/lib/codefumes.rb
CHANGED
data/lib/codefumes/api/build.rb
CHANGED
data/lib/codefumes/api/claim.rb
CHANGED
@@ -26,10 +26,7 @@ module CodeFumes
|
|
26
26
|
uri = "/projects/#{project.public_key}/claim"
|
27
27
|
response = API.put(uri, :query => {:api_key => api_key, :visibility => visibility}, :basic_auth => auth_args)
|
28
28
|
|
29
|
-
|
30
|
-
when 200 : true
|
31
|
-
else false
|
32
|
-
end
|
29
|
+
response.code == 200
|
33
30
|
end
|
34
31
|
|
35
32
|
# Removes a claim on the specified Project instance using the
|
@@ -48,10 +45,7 @@ module CodeFumes
|
|
48
45
|
uri = "/projects/#{project.public_key}/claim"
|
49
46
|
response = API.delete(uri, :query => {:api_key => api_key}, :basic_auth => auth_args)
|
50
47
|
|
51
|
-
|
52
|
-
when 200 : true
|
53
|
-
else false
|
54
|
-
end
|
48
|
+
response.code == 200
|
55
49
|
end
|
56
50
|
|
57
51
|
private
|
data/spec/spec_helper.rb
CHANGED
data/tasks/contributor_tasks.rb
CHANGED
@@ -16,9 +16,9 @@ class ContributorTasks < Rake::TaskLib
|
|
16
16
|
|
17
17
|
print "Updating the 'Contributors' section of README..."
|
18
18
|
|
19
|
-
File.open("README.
|
19
|
+
File.open("README.md", "w+") do |file|
|
20
20
|
file.puts readme_without_contributors_section
|
21
|
-
file.puts "
|
21
|
+
file.puts "## Contributors (sorted alphabetically)"
|
22
22
|
file.puts ""
|
23
23
|
committers.each {|name| file.puts "* #{name}"}
|
24
24
|
end
|
@@ -27,6 +27,15 @@ class ContributorTasks < Rake::TaskLib
|
|
27
27
|
puts "No new contributors."
|
28
28
|
end
|
29
29
|
end
|
30
|
+
|
31
|
+
task :release do
|
32
|
+
puts "#####################"
|
33
|
+
puts "For the twitters"
|
34
|
+
puts "#####################"
|
35
|
+
puts "[ANN] codefumes v#{CodeFumes::VERSION} released. Changes: http://bit.ly/jzzdMU, Repo: http://bit.ly/codefumes"
|
36
|
+
puts "#####################"
|
37
|
+
|
38
|
+
end
|
30
39
|
end
|
31
40
|
|
32
41
|
private
|
@@ -41,11 +50,11 @@ class ContributorTasks < Rake::TaskLib
|
|
41
50
|
end
|
42
51
|
|
43
52
|
def readme_file_contents
|
44
|
-
@readme_contents ||= `cat README.
|
53
|
+
@readme_contents ||= `cat README.md`
|
45
54
|
end
|
46
55
|
|
47
56
|
def existing_contributors
|
48
|
-
existing_contributors = readme_file_contents[
|
57
|
+
existing_contributors = readme_file_contents[/## Contributors(.|\n)*/].strip.split("\n* ")
|
49
58
|
existing_contributors.shift # remove "Contributors..." line
|
50
59
|
existing_contributors
|
51
60
|
end
|
@@ -59,6 +68,6 @@ class ContributorTasks < Rake::TaskLib
|
|
59
68
|
end
|
60
69
|
|
61
70
|
def readme_without_contributors_section
|
62
|
-
readme_file_contents.sub(
|
71
|
+
readme_file_contents.sub(/## Contributors(.|\n)*/, '')
|
63
72
|
end
|
64
73
|
end
|
metadata
CHANGED
@@ -1,228 +1,183 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codefumes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 4
|
9
|
-
- 0
|
10
|
-
version: 0.4.0
|
4
|
+
prerelease:
|
5
|
+
version: 0.4.1
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Tom Kersten
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
|
-
cert_chain:
|
11
|
+
cert_chain:
|
12
|
+
- |
|
13
|
+
-----BEGIN CERTIFICATE-----
|
14
|
+
MIIDMDCCAhigAwIBAgIBADANBgkqhkiG9w0BAQUFADA+MQwwCgYDVQQDDAN0b20x
|
15
|
+
GTAXBgoJkiaJk/IsZAEZFgl3aGl0ZXNwdXIxEzARBgoJkiaJk/IsZAEZFgNjb20w
|
16
|
+
HhcNMTEwNDIyMDQzOTA5WhcNMTIwNDIxMDQzOTA5WjA+MQwwCgYDVQQDDAN0b20x
|
17
|
+
GTAXBgoJkiaJk/IsZAEZFgl3aGl0ZXNwdXIxEzARBgoJkiaJk/IsZAEZFgNjb20w
|
18
|
+
ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDpxozDQgVN/oZljGlI9opm
|
19
|
+
CrhNVA/lsNiXZBUmjfQC5XRPYHzmluon2Zz4050ljODKX+b/tkz/WVZ6x7a+Lop2
|
20
|
+
yCLLWLcHNgB10j3j3k6bM0l3cfCdCvzevE7Zgpw3o/bzazST5x0pNzurasS1ouQk
|
21
|
+
x/2o9E6qqJRuB51khuZKnh+Ma52/I1KQaMJ4bW6NOgquFCEIum8MJJBJWEdGm4It
|
22
|
+
vhS/daRe/ADkYlgWl1Y1k7LxuH+1VCx7zMFMe1E0CMJzhGf7zuMS0w+dqwbL5m3N
|
23
|
+
MLE8vgxwTEOsOwGz4wD6zMUdBY6FGYwRk8LGjvlokn0pZ1jyWHWSg2bUv/1GC2i9
|
24
|
+
AgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQWBBTN61Az
|
25
|
+
ykDYheRHtzsjwE7fiLhYmzANBgkqhkiG9w0BAQUFAAOCAQEALwoInWubJXJYVH2N
|
26
|
+
XnCMT4YlxNsQoYdDSxEagNOmZjK2eKtju0V9GjZAnyYB2q2LLilvbMyVtg/6AN0I
|
27
|
+
XhCjyYZRRCADyvFGV4aBVv7yjKFQrIyXy8JT1iXxHC1N2o1DJlZUltCYNozJBhsO
|
28
|
+
VNbnSqe8YYcezsuQ2/w9iavWXCf91QPwnrfHPZTrFPOveskJctm8HinF41fKwG5B
|
29
|
+
iUHy8qVWGBCpDFYz6Kz+JtigaICcm2D4/WGLsDVOmgJ+g4xoOiCe9ZEkda8K+l/F
|
30
|
+
yXWqInRlFIlTuwFTxj26jauBoskBPoz5bfkZFjaVRhyUnRnGka66lvcDOGfkRZWQ
|
31
|
+
NVADJA==
|
32
|
+
-----END CERTIFICATE-----
|
17
33
|
|
18
|
-
date:
|
19
|
-
default_executable:
|
34
|
+
date: 2011-05-21 00:00:00 Z
|
20
35
|
dependencies:
|
21
36
|
- !ruby/object:Gem::Dependency
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
37
|
name: httparty
|
25
|
-
|
38
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
39
|
none: false
|
27
40
|
requirements:
|
28
41
|
- - ">="
|
29
42
|
- !ruby/object:Gem::Version
|
30
|
-
hash: 5
|
31
|
-
segments:
|
32
|
-
- 0
|
33
|
-
- 6
|
34
|
-
- 1
|
35
43
|
version: 0.6.1
|
36
|
-
requirement: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
44
|
type: :runtime
|
39
45
|
prerelease: false
|
46
|
+
version_requirements: *id001
|
47
|
+
- !ruby/object:Gem::Dependency
|
40
48
|
name: caleb-chronic
|
41
|
-
|
49
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
42
50
|
none: false
|
43
51
|
requirements:
|
44
52
|
- - ">="
|
45
53
|
- !ruby/object:Gem::Version
|
46
|
-
hash: 19
|
47
|
-
segments:
|
48
|
-
- 0
|
49
|
-
- 3
|
50
|
-
- 0
|
51
54
|
version: 0.3.0
|
52
|
-
requirement: *id002
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
55
|
type: :runtime
|
55
56
|
prerelease: false
|
57
|
+
version_requirements: *id002
|
58
|
+
- !ruby/object:Gem::Dependency
|
56
59
|
name: gli
|
57
|
-
|
60
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
58
61
|
none: false
|
59
62
|
requirements:
|
60
63
|
- - "="
|
61
64
|
- !ruby/object:Gem::Version
|
62
|
-
hash: 17
|
63
|
-
segments:
|
64
|
-
- 1
|
65
|
-
- 1
|
66
|
-
- 1
|
67
65
|
version: 1.1.1
|
68
|
-
requirement: *id003
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
66
|
type: :runtime
|
71
67
|
prerelease: false
|
68
|
+
version_requirements: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
72
70
|
name: grit
|
73
|
-
|
71
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
74
72
|
none: false
|
75
73
|
requirements:
|
76
74
|
- - "="
|
77
75
|
- !ruby/object:Gem::Version
|
78
|
-
hash: 3
|
79
|
-
segments:
|
80
|
-
- 2
|
81
|
-
- 0
|
82
76
|
version: "2.0"
|
83
|
-
|
84
|
-
- !ruby/object:Gem::Dependency
|
85
|
-
type: :development
|
77
|
+
type: :runtime
|
86
78
|
prerelease: false
|
79
|
+
version_requirements: *id004
|
80
|
+
- !ruby/object:Gem::Dependency
|
87
81
|
name: metric_fu
|
88
|
-
|
82
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
89
83
|
none: false
|
90
84
|
requirements:
|
91
85
|
- - "="
|
92
86
|
- !ruby/object:Gem::Version
|
93
|
-
hash: 27
|
94
|
-
segments:
|
95
|
-
- 1
|
96
|
-
- 3
|
97
|
-
- 0
|
98
87
|
version: 1.3.0
|
99
|
-
requirement: *id005
|
100
|
-
- !ruby/object:Gem::Dependency
|
101
88
|
type: :development
|
102
89
|
prerelease: false
|
90
|
+
version_requirements: *id005
|
91
|
+
- !ruby/object:Gem::Dependency
|
103
92
|
name: rubigen
|
104
|
-
|
93
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
105
94
|
none: false
|
106
95
|
requirements:
|
107
96
|
- - "="
|
108
97
|
- !ruby/object:Gem::Version
|
109
|
-
hash: 9
|
110
|
-
segments:
|
111
|
-
- 1
|
112
|
-
- 5
|
113
|
-
- 5
|
114
98
|
version: 1.5.5
|
115
|
-
requirement: *id006
|
116
|
-
- !ruby/object:Gem::Dependency
|
117
99
|
type: :development
|
118
100
|
prerelease: false
|
101
|
+
version_requirements: *id006
|
102
|
+
- !ruby/object:Gem::Dependency
|
119
103
|
name: fakeweb
|
120
|
-
|
104
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
121
105
|
none: false
|
122
106
|
requirements:
|
123
107
|
- - "="
|
124
108
|
- !ruby/object:Gem::Version
|
125
|
-
hash: 15
|
126
|
-
segments:
|
127
|
-
- 1
|
128
|
-
- 2
|
129
|
-
- 8
|
130
109
|
version: 1.2.8
|
131
|
-
requirement: *id007
|
132
|
-
- !ruby/object:Gem::Dependency
|
133
110
|
type: :development
|
134
111
|
prerelease: false
|
112
|
+
version_requirements: *id007
|
113
|
+
- !ruby/object:Gem::Dependency
|
135
114
|
name: activesupport
|
136
|
-
|
115
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
137
116
|
none: false
|
138
117
|
requirements:
|
139
118
|
- - "="
|
140
119
|
- !ruby/object:Gem::Version
|
141
|
-
hash: 9
|
142
|
-
segments:
|
143
|
-
- 2
|
144
|
-
- 3
|
145
|
-
- 5
|
146
120
|
version: 2.3.5
|
147
|
-
requirement: *id008
|
148
|
-
- !ruby/object:Gem::Dependency
|
149
121
|
type: :development
|
150
122
|
prerelease: false
|
123
|
+
version_requirements: *id008
|
124
|
+
- !ruby/object:Gem::Dependency
|
151
125
|
name: rspec
|
152
|
-
|
126
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
153
127
|
none: false
|
154
128
|
requirements:
|
155
129
|
- - ">="
|
156
130
|
- !ruby/object:Gem::Version
|
157
|
-
hash: 19
|
158
|
-
segments:
|
159
|
-
- 1
|
160
|
-
- 2
|
161
|
-
- 6
|
162
131
|
version: 1.2.6
|
163
|
-
requirement: *id009
|
164
|
-
- !ruby/object:Gem::Dependency
|
165
132
|
type: :development
|
166
133
|
prerelease: false
|
134
|
+
version_requirements: *id009
|
135
|
+
- !ruby/object:Gem::Dependency
|
167
136
|
name: cucumber
|
168
|
-
|
137
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
169
138
|
none: false
|
170
139
|
requirements:
|
171
140
|
- - "="
|
172
141
|
- !ruby/object:Gem::Version
|
173
|
-
hash: 53
|
174
|
-
segments:
|
175
|
-
- 0
|
176
|
-
- 8
|
177
|
-
- 5
|
178
142
|
version: 0.8.5
|
179
|
-
requirement: *id010
|
180
|
-
- !ruby/object:Gem::Dependency
|
181
143
|
type: :development
|
182
144
|
prerelease: false
|
145
|
+
version_requirements: *id010
|
146
|
+
- !ruby/object:Gem::Dependency
|
183
147
|
name: aruba
|
184
|
-
|
148
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
185
149
|
none: false
|
186
150
|
requirements:
|
187
151
|
- - "="
|
188
152
|
- !ruby/object:Gem::Version
|
189
|
-
hash: 21
|
190
|
-
segments:
|
191
|
-
- 0
|
192
|
-
- 2
|
193
|
-
- 1
|
194
153
|
version: 0.2.1
|
195
|
-
requirement: *id011
|
196
|
-
- !ruby/object:Gem::Dependency
|
197
154
|
type: :development
|
198
155
|
prerelease: false
|
156
|
+
version_requirements: *id011
|
157
|
+
- !ruby/object:Gem::Dependency
|
199
158
|
name: hoe
|
200
|
-
|
159
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
201
160
|
none: false
|
202
161
|
requirements:
|
203
162
|
- - ">="
|
204
163
|
- !ruby/object:Gem::Version
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
- 2
|
210
|
-
version: 2.6.2
|
211
|
-
requirement: *id012
|
164
|
+
version: 2.9.4
|
165
|
+
type: :development
|
166
|
+
prerelease: false
|
167
|
+
version_requirements: *id012
|
212
168
|
description: |-
|
213
|
-
CodeFumes.com
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
and retrieving custom metrics, allowing users to gather any metric they
|
220
|
-
are interested in tracking.
|
169
|
+
[CodeFumes.com](http://codefumes.com) is a service intended to help
|
170
|
+
people who are interested in tracking, sharing, and reviewing metrics
|
171
|
+
associated with a repository of code. The 'codefumes' gem is an
|
172
|
+
implementation of the [CodeFumes.com](http://codefumes.com) API.
|
173
|
+
The intention of the gem is to simplify use of and integration with
|
174
|
+
the site.
|
221
175
|
|
222
|
-
The
|
223
|
-
|
224
|
-
|
225
|
-
|
176
|
+
The site supports a small set of 'standard' metrics (# lines
|
177
|
+
changed/committed, build status, build duration, etc). Additionally,
|
178
|
+
the service provides a simple method of supplying and retrieving
|
179
|
+
custom metrics, allowing users to gather any metric you are interested
|
180
|
+
in tracking.
|
226
181
|
email:
|
227
182
|
- tom.kersten@codefumes.com
|
228
183
|
executables:
|
@@ -232,7 +187,7 @@ extensions: []
|
|
232
187
|
extra_rdoc_files:
|
233
188
|
- History.txt
|
234
189
|
- Manifest.txt
|
235
|
-
- README.
|
190
|
+
- README.md
|
236
191
|
- LICENSE
|
237
192
|
files:
|
238
193
|
- .rvmrc
|
@@ -241,7 +196,7 @@ files:
|
|
241
196
|
- History.txt
|
242
197
|
- LICENSE
|
243
198
|
- Manifest.txt
|
244
|
-
- README.
|
199
|
+
- README.md
|
245
200
|
- Rakefile
|
246
201
|
- bin/fumes
|
247
202
|
- config/website.yml
|
@@ -300,14 +255,14 @@ files:
|
|
300
255
|
- tasks/contributor_tasks.rb
|
301
256
|
- tasks/cucumber.rake
|
302
257
|
- tasks/rspec.rake
|
303
|
-
|
304
|
-
homepage: http://
|
258
|
+
- .gemtest
|
259
|
+
homepage: http://github.com/tomkersten/codefumes
|
305
260
|
licenses: []
|
306
261
|
|
307
262
|
post_install_message:
|
308
263
|
rdoc_options:
|
309
264
|
- --main
|
310
|
-
- README.
|
265
|
+
- README.md
|
311
266
|
require_paths:
|
312
267
|
- lib
|
313
268
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -315,7 +270,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
315
270
|
requirements:
|
316
271
|
- - ">="
|
317
272
|
- !ruby/object:Gem::Version
|
318
|
-
hash:
|
273
|
+
hash: 1157276379139317567
|
319
274
|
segments:
|
320
275
|
- 0
|
321
276
|
version: "0"
|
@@ -324,14 +279,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
324
279
|
requirements:
|
325
280
|
- - ">="
|
326
281
|
- !ruby/object:Gem::Version
|
327
|
-
hash: 3
|
328
|
-
segments:
|
329
|
-
- 0
|
330
282
|
version: "0"
|
331
283
|
requirements: []
|
332
284
|
|
333
285
|
rubyforge_project: codefumes
|
334
|
-
rubygems_version: 1.3
|
286
|
+
rubygems_version: 1.8.3
|
335
287
|
signing_key:
|
336
288
|
specification_version: 3
|
337
289
|
summary: A client-side implementation of the CodeFumes.com API.
|
metadata.gz.sig
ADDED
Binary file
|
data/README.txt
DELETED
@@ -1,118 +0,0 @@
|
|
1
|
-
= codefumes
|
2
|
-
|
3
|
-
* http://cosyn.github.com/codefumes
|
4
|
-
* Wiki: https://github.com/cosyn/codefumes/wikis
|
5
|
-
* Repository: https://github.com/cosyn/codefumes
|
6
|
-
* Website: http://www.codefumes.com
|
7
|
-
|
8
|
-
== DESCRIPTION:
|
9
|
-
|
10
|
-
CodeFumes.com[http://codefumes.com] is a service intended to help people
|
11
|
-
involved with software projects who are interested in tracking, sharing,
|
12
|
-
and reviewing metrics/information about a project in relation to the
|
13
|
-
commits of said project's repository. The site supports a small set of
|
14
|
-
'standard' metrics (# lines changed/commit, build status, build duration,
|
15
|
-
etc). Additionally, the service provides a simple method of supplying
|
16
|
-
and retrieving custom metrics, allowing users to gather any metric they
|
17
|
-
are interested in tracking.
|
18
|
-
|
19
|
-
The 'codefumes' gem is an implementation of the
|
20
|
-
CodeFumes.com[http://codefumes.com] API. The intention of the
|
21
|
-
gem is to simplify integration with CodeFumes.com for developers of
|
22
|
-
other libraries & and applications.
|
23
|
-
|
24
|
-
== FEATURES/PROBLEMS:
|
25
|
-
|
26
|
-
=== Features
|
27
|
-
* Saving, finding, marshalling, and destroying CodeFumes
|
28
|
-
projects
|
29
|
-
* Associating and retrieving a repository's history of commits for a
|
30
|
-
CodeFumes 'project'
|
31
|
-
* Simple interface for accessing both CodeFumes's 'standard' commit
|
32
|
-
metrics, as well as custom commit attributes; simplifying
|
33
|
-
integration with other tools & libraries users may be interested in
|
34
|
-
using.
|
35
|
-
* Interfaces with the CodeFumes config file (used to track projects a
|
36
|
-
user has created on the site)
|
37
|
-
* Tracking & retrieving information about continuous integration server
|
38
|
-
builds (duration, status, etc).
|
39
|
-
|
40
|
-
=== Problems / Things to Note
|
41
|
-
|
42
|
-
* CodeFumes 'projects' are repository-specific, not branch-specific.
|
43
|
-
|
44
|
-
== SYNOPSIS:
|
45
|
-
|
46
|
-
=== In your own Ruby code:
|
47
|
-
|
48
|
-
require 'codefumes'
|
49
|
-
|
50
|
-
# Creating & finding a CodeFumes project
|
51
|
-
p = Project.create
|
52
|
-
found_p = Project.find(p.public_key)
|
53
|
-
p.public_key # => 'Abc3'
|
54
|
-
p.api_uri # => 'http://codefumes.com/api/v1/xml/Abc3'
|
55
|
-
|
56
|
-
# Commits
|
57
|
-
c = Commit.find(<commit identifier>)
|
58
|
-
c.identifier # => git commit SHA (svn support coming soon)
|
59
|
-
c.short_message # => commit message
|
60
|
-
|
61
|
-
# Build Management
|
62
|
-
# QuickBuild grabs local commit head & current time to start build
|
63
|
-
QuickBuild.start('build-name-here')
|
64
|
-
|
65
|
-
# QuickBuild grabs local commit head & current time to finish build
|
66
|
-
QuickBuild.finish('build-name-here', 'successful')
|
67
|
-
|
68
|
-
# Custom attributes associated with a commit
|
69
|
-
c.custom_attributes[:coverage] # => "80"
|
70
|
-
|
71
|
-
# Payloads, used to break up large HTTP requests
|
72
|
-
content = Payload.prepare(payload_content)
|
73
|
-
content.each {|chunk| chunk.save}
|
74
|
-
|
75
|
-
|
76
|
-
=== From the command line:
|
77
|
-
|
78
|
-
$ fumes sync # <- synchronizes local repository with CodeFumes.com
|
79
|
-
$ fumes build --start ie7
|
80
|
-
$ fumes build --finish=successful ie7
|
81
|
-
$ fumes build --status --all
|
82
|
-
|
83
|
-
# Link to your CodeFumes account
|
84
|
-
$ fumes api-key [your-api-key]
|
85
|
-
$ fumes claim
|
86
|
-
|
87
|
-
# Release the project (unlink from your account)
|
88
|
-
$ fumes release
|
89
|
-
|
90
|
-
# Delete the project entirely from CodeFumes.com
|
91
|
-
$ fumes delete
|
92
|
-
|
93
|
-
See 'fumes --help' for more information on available commands and options.
|
94
|
-
|
95
|
-
== REQUIREMENTS:
|
96
|
-
|
97
|
-
* httparty (0.4.3)
|
98
|
-
* caleb-chronic (0.3.0)
|
99
|
-
* gli (1.1.1)
|
100
|
-
* grit (2.0)
|
101
|
-
|
102
|
-
== INSTALL:
|
103
|
-
|
104
|
-
From Gemcutter:
|
105
|
-
|
106
|
-
gem install codefumes
|
107
|
-
|
108
|
-
== LICENSE:
|
109
|
-
|
110
|
-
Refer to the LICENSE file
|
111
|
-
|
112
|
-
== Contributors (sorted alphabetically)
|
113
|
-
|
114
|
-
* Dan Nawara
|
115
|
-
* Joe Banks
|
116
|
-
* Joseph Leddy
|
117
|
-
* Leah Welty-Rieger
|
118
|
-
* Roy Kolak
|