simplecov-formatter-bootstrap 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
data/README.md
CHANGED
@@ -1,30 +1,21 @@
|
|
1
|
-
|
1
|
+
Bootstrap Formatter for SimpleCov
|
2
2
|
====================================
|
3
3
|
|
4
|
-
|
4
|
+
**Note**: To learn more about SimpleCov check out the main repo at https://github.com/colszowka/simplecov
|
5
5
|
|
6
|
-
Generates a nice HTML report of your SimpleCov ruby code coverage results
|
7
|
-
quite extensively.
|
6
|
+
Generates a nice HTML report of your SimpleCov ruby code coverage results using [Bootstrap](http://getbootstrap.com/).
|
8
7
|
|
8
|
+
## Usage
|
9
9
|
|
10
|
-
|
11
|
-
-----------------------------
|
10
|
+
Add the gem to your Gemfile:
|
12
11
|
|
13
|
-
|
14
|
-
|
12
|
+
```ruby
|
13
|
+
gem 'simplecov-formatter-bootstrap', '~> 1.0.0'
|
14
|
+
```
|
15
15
|
|
16
|
-
|
17
|
-
* `cd` there, run `bundle`
|
18
|
-
* You should end up with all dev dependencies installed and simplecov-html being used from your disk
|
19
|
-
* Run the tests (units and features)
|
20
|
-
|
21
|
-
Please remember to add tests if you add functionality.
|
16
|
+
Add the formatter after SimpleCov initializes:
|
22
17
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
Copyright
|
28
|
-
---------
|
29
|
-
|
30
|
-
Copyright (c) 2010-2013 Christoph Olszowka. See LICENSE for details.
|
18
|
+
```ruby
|
19
|
+
SimpleCov.start
|
20
|
+
SimpleCov.formatters = [SimpleCov::Formatter::Bootstrap]
|
21
|
+
```
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
$:.push File.expand_path("../lib", __FILE__)
|
3
|
-
require 'simplecov-
|
3
|
+
require 'simplecov-formatter-bootstrap/version'
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "simplecov-formatter-bootstrap"
|
7
|
-
s.version = SimpleCov::Formatter::
|
7
|
+
s.version = SimpleCov::Formatter::Bootstrap::VERSION
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Rodrigo Díaz"]
|
10
10
|
s.email = ["rdiazv89@gmail.com"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov-formatter-bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -90,8 +90,8 @@ files:
|
|
90
90
|
- assets/stylesheets/vendor/bootstrap.min.css
|
91
91
|
- assets/stylesheets/vendor/font-awesome.min.css
|
92
92
|
- assets/stylesheets/vendor/highlight.css
|
93
|
-
- lib/simplecov-
|
94
|
-
- lib/simplecov-
|
93
|
+
- lib/simplecov-formatter-bootstrap.rb
|
94
|
+
- lib/simplecov-formatter-bootstrap/version.rb
|
95
95
|
- public/application.css
|
96
96
|
- public/application.js
|
97
97
|
- public/colorbox/border.png
|
@@ -125,7 +125,7 @@ files:
|
|
125
125
|
- public/smoothness/images/ui-icons_454545_256x240.png
|
126
126
|
- public/smoothness/images/ui-icons_888888_256x240.png
|
127
127
|
- public/smoothness/images/ui-icons_cd0a0a_256x240.png
|
128
|
-
- simplecov-
|
128
|
+
- simplecov-formatter-bootstrap.gemspec
|
129
129
|
- test/helper.rb
|
130
130
|
- test/test_simple_cov-html.rb
|
131
131
|
- views/file_list.erb
|