bvm 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +19 -14
  2. data/lib/bvm/converter.rb +1 -1
  3. metadata +53 -91
data/README.md CHANGED
@@ -1,19 +1,24 @@
1
- = bvm
1
+ BVM (Big Visible Metrics)
2
+ =========================
2
3
 
3
- Description goes here.
4
+ BVM helps you generate Big Visible Charts of Sonar Code Metrics for your team room. It is a simple command line
5
+ utility that parses the data exposed as XML via the Sonar API. It converts this XML into CSV data that is consumable
6
+ using Microsoft Tree Mapper or a tool of your choice.
4
7
 
5
- == Contributing to bvm
6
-
7
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
8
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
9
- * Fork the project
10
- * Start a feature/bugfix branch
11
- * Commit and push until you are happy with your contribution
12
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
8
+ Installing
9
+ ----------
14
10
 
15
- == Copyright
11
+ Installation is super easy. Just enter:
16
12
 
17
- Copyright (c) 2011 Guy Royse. See LICENSE.txt for
18
- further details.
13
+ gem install bvm
19
14
 
15
+ Typical Usage
16
+ -------------
17
+
18
+ How to Use
19
+ ----------
20
+
21
+ Copyright
22
+ ---------
23
+
24
+ Copyright (c) 2011 Guy Royse & Alyssa Diaz. See LICENSE for further details.
data/lib/bvm/converter.rb CHANGED
@@ -29,7 +29,7 @@ class Converter
29
29
  end
30
30
 
31
31
  def build_output(resource, jar, size, color, adjust)
32
- name = resource[:name]
32
+ name = resource[:name][0]
33
33
  size_metric = find_metric resource[:msr], size
34
34
  color_metric = find_metric resource[:msr], color
35
35
  color_metric *= -1 unless not @invert_color_metric
metadata CHANGED
@@ -1,140 +1,102 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: bvm
3
- version: !ruby/object:Gem::Version
4
- hash: 17
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 3
9
- - 1
10
- version: 0.3.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.2
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Guy Royse
14
9
  - Alyssa Diaz
15
10
  autorequire:
16
11
  bindir: bin
17
12
  cert_chain: []
18
-
19
- date: 2011-03-09 00:00:00 -05:00
13
+ date: 2011-03-26 00:00:00.000000000 -04:00
20
14
  default_executable:
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
23
17
  name: xml-simple
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirement: &8796740 !ruby/object:Gem::Requirement
26
19
  none: false
27
- requirements:
20
+ requirements:
28
21
  - - ~>
29
- - !ruby/object:Gem::Version
30
- hash: 15
31
- segments:
32
- - 1
33
- - 0
34
- - 12
22
+ - !ruby/object:Gem::Version
35
23
  version: 1.0.12
36
24
  type: :runtime
37
- version_requirements: *id001
38
- - !ruby/object:Gem::Dependency
39
- name: rspec
40
25
  prerelease: false
41
- requirement: &id002 !ruby/object:Gem::Requirement
26
+ version_requirements: *8796740
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ requirement: &8796280 !ruby/object:Gem::Requirement
42
30
  none: false
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- hash: 3
47
- segments:
48
- - 2
49
- - 3
50
- - 0
31
+ requirements:
32
+ - - ! '>='
33
+ - !ruby/object:Gem::Version
51
34
  version: 2.3.0
52
35
  type: :development
53
- version_requirements: *id002
54
- - !ruby/object:Gem::Dependency
55
- name: rspec-core
56
36
  prerelease: false
57
- requirement: &id003 !ruby/object:Gem::Requirement
37
+ version_requirements: *8796280
38
+ - !ruby/object:Gem::Dependency
39
+ name: rspec-core
40
+ requirement: &8795820 !ruby/object:Gem::Requirement
58
41
  none: false
59
- requirements:
60
- - - ">="
61
- - !ruby/object:Gem::Version
62
- hash: 1
63
- segments:
64
- - 2
65
- - 3
66
- - 1
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
67
45
  version: 2.3.1
68
46
  type: :development
69
- version_requirements: *id003
70
- - !ruby/object:Gem::Dependency
71
- name: rspec-expectations
72
47
  prerelease: false
73
- requirement: &id004 !ruby/object:Gem::Requirement
48
+ version_requirements: *8795820
49
+ - !ruby/object:Gem::Dependency
50
+ name: rspec-expectations
51
+ requirement: &8795360 !ruby/object:Gem::Requirement
74
52
  none: false
75
- requirements:
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- hash: 3
79
- segments:
80
- - 2
81
- - 3
82
- - 0
53
+ requirements:
54
+ - - ! '>='
55
+ - !ruby/object:Gem::Version
83
56
  version: 2.3.0
84
57
  type: :development
85
- version_requirements: *id004
86
- description: Generates CSV files that can be consumed by Microsoft Treemapper from the Sonar API. Reads stin and stdout.
87
- email:
58
+ prerelease: false
59
+ version_requirements: *8795360
60
+ description: Generates CSV files that can be consumed by Microsoft Treemapper from
61
+ the Sonar API. Reads stin and stdout.
62
+ email:
88
63
  - guy@guyroyse.com
89
- executables:
64
+ executables:
90
65
  - bvm
91
66
  extensions: []
92
-
93
67
  extra_rdoc_files: []
94
-
95
- files:
96
- - lib/bvm.rb
97
- - lib/bvm/bvm_runner.rb
68
+ files:
98
69
  - lib/bvm/converter.rb
70
+ - lib/bvm/bvm_runner.rb
71
+ - lib/bvm.rb
99
72
  - lib/bvm_runner.rb
100
73
  - bin/bvm
101
74
  - LICENSE
102
75
  - README.md
103
76
  has_rdoc: true
104
77
  homepage: http://github.com/guyroyse/big-visible-metrics
105
- licenses:
78
+ licenses:
106
79
  - MIT
107
80
  post_install_message:
108
81
  rdoc_options: []
109
-
110
- require_paths:
82
+ require_paths:
111
83
  - lib
112
- required_ruby_version: !ruby/object:Gem::Requirement
84
+ required_ruby_version: !ruby/object:Gem::Requirement
113
85
  none: false
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- hash: 3
118
- segments:
119
- - 0
120
- version: "0"
121
- required_rubygems_version: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ required_rubygems_version: !ruby/object:Gem::Requirement
122
91
  none: false
123
- requirements:
124
- - - ">="
125
- - !ruby/object:Gem::Version
126
- hash: 23
127
- segments:
128
- - 1
129
- - 3
130
- - 6
92
+ requirements:
93
+ - - ! '>='
94
+ - !ruby/object:Gem::Version
131
95
  version: 1.3.6
132
96
  requirements: []
133
-
134
97
  rubyforge_project:
135
- rubygems_version: 1.3.7
98
+ rubygems_version: 1.6.2
136
99
  signing_key:
137
100
  specification_version: 3
138
101
  summary: Generates CSV files from SONAR metrics
139
102
  test_files: []
140
-