easycov 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 96b862186042f31d03bf6642fa0714e3644ec856
4
- data.tar.gz: ec52a3bc841ecdf46951eeb184e405f6ee8dd9db
3
+ metadata.gz: a9cc75888813bc2e2ced0bbad3682ff0a39929eb
4
+ data.tar.gz: 118fd178e29579f9f3c45e7f117c73e5bf87ea89
5
5
  SHA512:
6
- metadata.gz: ffa376fa75fb898e20a5973e95ec0242c2fb0733e79ba7635ede89b500611a34f37518ecd1859136181de174a3f078c28839ca7a0a7d0dd2286268085a0177d3
7
- data.tar.gz: ecd01431d0e10a25cff6e346feb7fcbd4465fc93abf803749866cf33da63689ed6cc4d933b3efd71acfc7c2d8b2d495f0e54a4d229a2012ff08bb4caf12ba5e3
6
+ metadata.gz: aa513d933696f56fb9ba16d9f476a73dc9c8eed7b993f108ed320a09c2a8acbb75a9de1ecf782193a859f7ed2fb1728f98f3e23d5c25b6454405dbf01430260d
7
+ data.tar.gz: 003d8ff12521b9b08f5469f5697d1bbdc2d380c2dfa2ab089d136b764d13bd26adb313994baef4cd63bd39fade35528bc76d314f47ed9a16a10be452c3b5a918
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
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.0"
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-25"
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.5"
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
@@ -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 ||= `ruby -e 'puts $:'`.strip.split(/\n/)
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.0
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-25 00:00:00.000000000 Z
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.5
130
+ rubygems_version: 2.1.0
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: Ruby code coverage library