simplecov-gem-profile 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9f4aa8123bc1826e8c76479d9c45e1f0586a33c4
4
+ data.tar.gz: a55f8ddcecdb03a53c36efd777a5e229affd961e
5
+ SHA512:
6
+ metadata.gz: fcbf8bd611772aaee946fd1fe2cd291f72d0568ed32734614101332ab46b1638d6f7d22b2721e480600b7e555e595b7cb4ba830736a200c96fc8efeb10e1aa6c
7
+ data.tar.gz: 68ff7de3fbacdb412119574704708faa280853bc77c0b83415ae488632ec6cf4869432ee7a8f8f81c62012685dc75bab9c97517536c839fbf11d705fa3d6f860
@@ -0,0 +1,5 @@
1
+ README.rdoc
2
+ lib/**/*.rb
3
+ bin/*
4
+ features/**/*.feature
5
+ LICENSE
@@ -0,0 +1,21 @@
1
+ ## MAC OS
2
+ .DS_Store
3
+
4
+ ## TEXTMATE
5
+ *.tmproj
6
+ tmtags
7
+
8
+ ## EMACS
9
+ *~
10
+ \#*
11
+ .\#*
12
+
13
+ ## VIM
14
+ *.swp
15
+
16
+ ## PROJECT::GENERAL
17
+ coverage
18
+ rdoc
19
+ pkg
20
+
21
+ ## PROJECT::SPECIFIC
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'http://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in bloat_check.gemspec
4
+ gemspec
@@ -0,0 +1,24 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ simplecov-gem-profile (1.0.0)
5
+ simplecov (>= 0.8.1)
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ docile (1.1.5)
11
+ multi_json (1.10.1)
12
+ rake (10.3.2)
13
+ simplecov (0.8.2)
14
+ docile (~> 1.1.0)
15
+ multi_json
16
+ simplecov-html (~> 0.8.0)
17
+ simplecov-html (0.8.0)
18
+
19
+ PLATFORMS
20
+ ruby
21
+
22
+ DEPENDENCIES
23
+ rake
24
+ simplecov-gem-profile!
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2009 Michael Edgar
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,23 @@
1
+ # simplecov-gem-profile
2
+
3
+
4
+
5
+ ## Usage
6
+
7
+ Put this at the top of your {spec,test}_helper.rb (or any code guaranteed to run before your
8
+ tests/specs execute):
9
+
10
+ require 'simplecov'
11
+ require 'simplecov-gem-profile'
12
+ SimpleCov.start 'gem'
13
+
14
+ This profile follows pseudo-standard rubygems packing standards:
15
+
16
+ * Binaries in /bin/
17
+ * Extensions in /ext/
18
+ * Library code in /lib/
19
+ * Third-party code in /vendor/
20
+
21
+ ## History
22
+
23
+ Forked from michaeledgar/simplecov-gem-adapter, updated to conform to simplecov 0.8, which renamed "adapter" to "profile"
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.0.1
@@ -0,0 +1,12 @@
1
+ require 'simplecov'
2
+ SimpleCov.profiles.define 'gem' do
3
+ add_filter '/test/'
4
+ add_filter '/features/'
5
+ add_filter '/spec/'
6
+ add_filter '/autotest/'
7
+
8
+ add_group 'Binaries', '/bin/'
9
+ add_group 'Libraries', '/lib/'
10
+ add_group 'Extensions', '/ext/'
11
+ add_group 'Vendor Libraries', '/vendor/'
12
+ end
@@ -0,0 +1,20 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |gem|
4
+
5
+ gem.authors = ["Ronen Barzel"]
6
+ gem.email = ["ronen@barzel.org"]
7
+ gem.description = "For some reason, there's no profile for a gem in SimpleCov, an excellent, simple Ruby 1.9 coverage tool. So this one defines one in about 8 lines of code."
8
+ gem.summary = "SimpleCov profile for a standard Ruby Gem."
9
+ gem.homepage = "http://github.com/ronen/simplecov-gem-profile"
10
+
11
+ gem.name = "simplecov-gem-profile"
12
+ gem.version = "1.0.0"
13
+ gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
14
+ gem.files = `git ls-files`.split("\n")
15
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
+ gem.require_paths = ["lib"]
17
+
18
+ gem.add_dependency('simplecov', [">= 0.8.1"])
19
+ gem.add_development_dependency 'rake'
20
+ end
metadata ADDED
@@ -0,0 +1,82 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: simplecov-gem-profile
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Ronen Barzel
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-07-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: simplecov
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '>='
18
+ - !ruby/object:Gem::Version
19
+ version: 0.8.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: 0.8.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: For some reason, there's no profile for a gem in SimpleCov, an excellent,
42
+ simple Ruby 1.9 coverage tool. So this one defines one in about 8 lines of code.
43
+ email:
44
+ - ronen@barzel.org
45
+ executables: []
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - .document
50
+ - .gitignore
51
+ - Gemfile
52
+ - Gemfile.lock
53
+ - LICENSE
54
+ - README.md
55
+ - Rakefile
56
+ - VERSION
57
+ - lib/simplecov-gem-profile.rb
58
+ - simplecov-gem-profile.gemspec
59
+ homepage: http://github.com/ronen/simplecov-gem-profile
60
+ licenses: []
61
+ metadata: {}
62
+ post_install_message:
63
+ rdoc_options: []
64
+ require_paths:
65
+ - lib
66
+ required_ruby_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ required_rubygems_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ requirements: []
77
+ rubyforge_project:
78
+ rubygems_version: 2.0.3
79
+ signing_key:
80
+ specification_version: 4
81
+ summary: SimpleCov profile for a standard Ruby Gem.
82
+ test_files: []