cutest-cj 1.6.1 → 1.6.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cutest.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f9dc54bc65945640f1328b3cf1c5dc96dd62c0d4
4
- data.tar.gz: a1feb61d9b24b2c5da5e079659340a2b6d89f887
3
+ metadata.gz: 8d894cd80c72d1b6dc1d1a95000a7a127d2d252e
4
+ data.tar.gz: d2e8132e6ccfcbd6ef46014225b0fe354bfc54cf
5
5
  SHA512:
6
- metadata.gz: ee57d3f328fbd4f05f8e4b57bdac4aacc8034c8fe862d7a6b15f327a35c4a0f60b4aed1bc41be666e59580d35414ce1636d7d4ac8ea7ec0786bd30e8b5294b4c
7
- data.tar.gz: 165dd7d3d43f84bdaf685826b634157c1a00d226a5c69ea5b34d4e1ee184a8bb635378a63c1ef5d5094116706188e200d24f965f91a9aed8191797a2b4fee68c
6
+ metadata.gz: 42af4fb447ea614bb7e0a8269088a22103fed3e704b7576d3256ef1804c5b2f7967bec57d11de14077ef5b45f04233baa02493cdefb83cf604fa39a48ca6dcb4
7
+ data.tar.gz: 6c7123eeff7c3e9229fe7729088203efb7cc0916b65eabda18cdc49c4aabc16b3d727f329560456651c5f484b71a6e09c49c3a9858c17bf5dce378862c4b54d1
data/lib/cutest.rb CHANGED
@@ -7,7 +7,7 @@ class Cutest
7
7
  autoload :Database, 'cutest/database'
8
8
 
9
9
  unless defined?(VERSION)
10
- VERSION = "1.6.1"
10
+ VERSION = "1.6.2"
11
11
  FILTER = %r[/(ruby|jruby|rbx)[-/]([0-9\.])+]
12
12
  CACHE = Hash.new { |h, k| h[k] = File.readlines(k) }
13
13
  end
@@ -253,7 +253,7 @@ module Kernel
253
253
  print ' '
254
254
  time_taken = Benchmark.measure do
255
255
  prepare.each { |blk| blk.call }
256
- block.call(setup && setup.call)
256
+ block.call(setup && self.instance_eval(&setup))
257
257
  end
258
258
  puts ''
259
259
  puts " \033[93mTest: \033[0m#{cutest[:test]} \033[32m✔\033[0m"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cutest-cj
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damian Janowski
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-07-28 00:00:00.000000000 Z
13
+ date: 2014-07-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: pry