pork 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +8 -0
- data/lib/pork/mode/shuffled.rb +2 -2
- data/lib/pork/stat.rb +1 -1
- data/lib/pork/version.rb +1 -1
- data/pork.gemspec +3 -3
- 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: 6903decbd7e24cdc4848e408399a9140b99ba00a
|
4
|
+
data.tar.gz: 6c063a3b6d9f2d235a01d0ac8ddfc5747469f310
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d43f1c00c61f6a5ba2b960488a5fddc704019274a2aa07be09deb1dddd86c1f5071cbc3f1a137d05e74982d34f03f7c918c10b893edcf42c9d339ab625603c3b
|
7
|
+
data.tar.gz: 7efae535ea50be7e15e4506721a43d06219d91d0dcec549224413b68224429a6350f5bbbab36c2a4d1f7ec3a01d172ee0146b4660c8fa2d37159e8add997cfa1
|
data/CHANGES.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# CHANGES
|
2
2
|
|
3
|
+
## Pork 1.2.1 -- 2015-03-18
|
4
|
+
|
5
|
+
### Bugs fixed
|
6
|
+
|
7
|
+
* Fixed that sometimes it cannot find the test because source_location
|
8
|
+
sometimes won't use the full path. Always use `File.expand_path` then.
|
9
|
+
* Properly strip pork backtrace.
|
10
|
+
|
3
11
|
## Pork 1.2.0 -- 2015-03-17
|
4
12
|
|
5
13
|
### Incompatible changes
|
data/lib/pork/mode/shuffled.rb
CHANGED
@@ -54,8 +54,8 @@ module Pork
|
|
54
54
|
when :describe
|
55
55
|
arg.build_all_tests(r, current)
|
56
56
|
when :would
|
57
|
-
|
58
|
-
((r[
|
57
|
+
file, line = test.source_location
|
58
|
+
((r[File.expand_path(file)] ||= {})[line] ||= []) << current
|
59
59
|
end
|
60
60
|
r
|
61
61
|
end
|
data/lib/pork/stat.rb
CHANGED
data/lib/pork/version.rb
CHANGED
data/pork.gemspec
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: pork 1.2.
|
2
|
+
# stub: pork 1.2.1 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "pork"
|
6
|
-
s.version = "1.2.
|
6
|
+
s.version = "1.2.1"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib"]
|
10
10
|
s.authors = ["Lin Jen-Shin (godfat)"]
|
11
|
-
s.date = "2015-03-
|
11
|
+
s.date = "2015-03-18"
|
12
12
|
s.description = "Pork -- Simple and clean and modular testing library.\n\nInspired by [Bacon][].\n\n[Bacon]: https://github.com/chneukirchen/bacon"
|
13
13
|
s.email = ["godfat (XD) godfat.org"]
|
14
14
|
s.files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lin Jen-Shin (godfat)
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: muack
|