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
- Default HTML formatter for SimpleCov
1
+ Bootstrap Formatter for SimpleCov
2
2
  ====================================
3
3
 
4
- ***Note: To learn more about SimpleCov, check out the main repo at https://github.com/colszowka/simplecov***
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 on Ruby 1.9 using client-side Javascript
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
- Note on Patches/Pull Requests
11
- -----------------------------
10
+ Add the gem to your Gemfile:
12
11
 
13
- The formatter itself has no actual tests. Instead, it is tested in the cucumber features of simplecov itself. If you
14
- modify the formatter, please make sure the simplecov test suites still pass by doing the following:
12
+ ```ruby
13
+ gem 'simplecov-formatter-bootstrap', '~> 1.0.0'
14
+ ```
15
15
 
16
- * Clone simplecov into the parent directory of your simplecov-html checkout
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
- **Important:** If you modify the JS/CSS assets, you'll have to precompile them using `rake assets:compile` - otherwise,
24
- your changes will not be included in your coverage reports.
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,7 +1,7 @@
1
1
  module SimpleCov
2
2
  module Formatter
3
- class HTMLFormatter
4
- VERSION = "1.0.0"
3
+ class Bootstrap
4
+ VERSION = "1.0.1"
5
5
  end
6
6
  end
7
7
  end
@@ -110,4 +110,4 @@ class SimpleCov::Formatter::Bootstrap
110
110
  end
111
111
 
112
112
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__)))
113
- require 'simplecov-html/version'
113
+ require 'simplecov-formatter-bootstrap/version'
@@ -1,10 +1,10 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
- require 'simplecov-html/version'
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::HTMLFormatter::VERSION
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.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-html.rb
94
- - lib/simplecov-html/version.rb
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-html.gemspec
128
+ - simplecov-formatter-bootstrap.gemspec
129
129
  - test/helper.rb
130
130
  - test/test_simple_cov-html.rb
131
131
  - views/file_list.erb