pork 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/CHANGES.md +5 -0
- data/lib/pork/should.rb +2 -2
- 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: 93ff53eb058bf9490356aab97ec7e4df4d381197
|
4
|
+
data.tar.gz: c0c795be8a249d408bd5e0ae7d4b07aefa293386
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30626f3c05d102b2aa1156c75819545c430d0e06c64e8bb9a564aa41c01bbfa88b08355b089b232b31325f448345b77f5221da9ccb13c71d97f3bcf9d1992353
|
7
|
+
data.tar.gz: 3dd03c8d7bf872dc3a7374715a0a812d0031f825148cdeeaa7f6893a9da3f9b1e029c4001ddfb27a3fe35bfc126c983dcafe4c4343ceebc2af49eafde05f0083
|
data/.travis.yml
CHANGED
data/CHANGES.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# CHANGES
|
2
2
|
|
3
|
+
## Pork 1.0.3 -- 2014-12-26
|
4
|
+
|
5
|
+
* Fix `Kernel#should` compatibility for JRuby 1.7.18- and Ruby 2.2.0 by
|
6
|
+
never assuming ThreadGroup#list would preserve the order.
|
7
|
+
|
3
8
|
## Pork 1.0.2 -- 2014-12-09
|
4
9
|
|
5
10
|
* Hash difference is much improved. Now it uses `/` to separate keys,
|
data/lib/pork/should.rb
CHANGED
@@ -3,8 +3,8 @@ require 'pork/executor'
|
|
3
3
|
|
4
4
|
module Kernel
|
5
5
|
def should *args, &block
|
6
|
-
|
7
|
-
|
6
|
+
stat = Thread.current.group.list.find{ |t| t[:pork_stat] }[:pork_stat]
|
7
|
+
Pork::Expect.new(stat, self, *args, &block)
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
data/lib/pork/version.rb
CHANGED
data/pork.gemspec
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: pork 1.0.
|
2
|
+
# stub: pork 1.0.3 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "pork"
|
6
|
-
s.version = "1.0.
|
6
|
+
s.version = "1.0.3"
|
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 = "2014-12-
|
11
|
+
s.date = "2014-12-26"
|
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.0.
|
4
|
+
version: 1.0.3
|
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: 2014-12-
|
11
|
+
date: 2014-12-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: muack
|