easycov 0.1.0 → 0.1.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.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/easycov.gemspec +4 -3
- data/lib/easycov/filters.rb +8 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a9cc75888813bc2e2ced0bbad3682ff0a39929eb
|
|
4
|
+
data.tar.gz: 118fd178e29579f9f3c45e7f117c73e5bf87ea89
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: aa513d933696f56fb9ba16d9f476a73dc9c8eed7b993f108ed320a09c2a8acbb75a9de1ecf782193a859f7ed2fb1728f98f3e23d5c25b6454405dbf01430260d
|
|
7
|
+
data.tar.gz: 003d8ff12521b9b08f5469f5697d1bbdc2d380c2dfa2ab089d136b764d13bd26adb313994baef4cd63bd39fade35528bc76d314f47ed9a16a10be452c3b5a918
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
data/easycov.gemspec
CHANGED
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
+
# stub: easycov 0.1.1 ruby lib
|
|
5
6
|
|
|
6
7
|
Gem::Specification.new do |s|
|
|
7
8
|
s.name = "easycov"
|
|
8
|
-
s.version = "0.1.
|
|
9
|
+
s.version = "0.1.1"
|
|
9
10
|
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
12
|
s.authors = ["Chetan Sarva"]
|
|
12
|
-
s.date = "2013-09-
|
|
13
|
+
s.date = "2013-09-26"
|
|
13
14
|
s.description = "An easy to use, simplecov-compatibile code coverage library for Ruby"
|
|
14
15
|
s.email = "chetan@pixelcop.net"
|
|
15
16
|
s.files = [
|
|
@@ -24,7 +25,7 @@ Gem::Specification.new do |s|
|
|
|
24
25
|
s.homepage = "http://github.com/chetan/easycov"
|
|
25
26
|
s.licenses = ["MIT"]
|
|
26
27
|
s.require_paths = ["lib"]
|
|
27
|
-
s.rubygems_version = "2.0
|
|
28
|
+
s.rubygems_version = "2.1.0"
|
|
28
29
|
s.summary = "Ruby code coverage library"
|
|
29
30
|
|
|
30
31
|
if s.respond_to? :specification_version then
|
data/lib/easycov/filters.rb
CHANGED
|
@@ -7,11 +7,18 @@ module EasyCov
|
|
|
7
7
|
def stdlib_paths
|
|
8
8
|
return @stdlib_paths if !@stdlib_paths.nil?
|
|
9
9
|
|
|
10
|
+
# see if we have a cached answer
|
|
11
|
+
if ENV["EASYCOV_STDLIB_PATHS"] then
|
|
12
|
+
@stdlib_paths = ENV["EASYCOV_STDLIB_PATHS"].split(/:/)
|
|
13
|
+
return @stdlib_paths
|
|
14
|
+
end
|
|
15
|
+
|
|
10
16
|
# load
|
|
11
17
|
opt, lib = ENV.delete("RUBYOPT"), ENV.delete("RUBYLIB")
|
|
12
|
-
@stdlib_paths
|
|
18
|
+
@stdlib_paths = `ruby -e 'puts $:'`.strip.split(/\n/)
|
|
13
19
|
ENV["RUBYOPT"] = opt
|
|
14
20
|
ENV["RUBYLIB"] = lib
|
|
21
|
+
ENV["EASYCOV_STDLIB_PATHS"] = @stdlib_paths.join(":")
|
|
15
22
|
|
|
16
23
|
return @stdlib_paths
|
|
17
24
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: easycov
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chetan Sarva
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-09-
|
|
11
|
+
date: 2013-09-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: simplecov
|
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
127
127
|
version: '0'
|
|
128
128
|
requirements: []
|
|
129
129
|
rubyforge_project:
|
|
130
|
-
rubygems_version: 2.0
|
|
130
|
+
rubygems_version: 2.1.0
|
|
131
131
|
signing_key:
|
|
132
132
|
specification_version: 4
|
|
133
133
|
summary: Ruby code coverage library
|