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.
- checksums.yaml +4 -4
- data/lib/cutest.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d894cd80c72d1b6dc1d1a95000a7a127d2d252e
|
4
|
+
data.tar.gz: d2e8132e6ccfcbd6ef46014225b0fe354bfc54cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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
|
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.
|
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-
|
13
|
+
date: 2014-07-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: pry
|