given_core 3.5.4 → 3.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +14 -14
- data/README.md +13 -9
- data/doc/main.rdoc +1 -1
- data/lib/given/rspec/have_failed_212.rb +1 -1
- data/lib/given/version.rb +2 -2
- data/rakelib/gemspec.rake +4 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 81a55b27b471044bc3e47122ddce790fc92bf11b
|
4
|
+
data.tar.gz: b179e4e397fbdf8af463f9fc8aeb487648db7bcd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c9fb7d5e745e3af86aeb27821ab5bd206074b3aadcedf1ecc9aac3963a10abef885e0537901a924ac5ddb0bed169b930120ae177d9cc312d993f23cd43b972d
|
7
|
+
data.tar.gz: a0794444e365c2f259e9bd3261f2cb889df7e71e80a48dd3b63feb459c87119d4ae3253fb97854c3db847676a52205cfc27242f51a831cf176fbff5c7d18a372
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -2,20 +2,20 @@ GEM
|
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
4
|
diff-lcs (1.2.5)
|
5
|
-
minitest (
|
6
|
-
rake (
|
7
|
-
rspec (3.
|
8
|
-
rspec-core (
|
9
|
-
rspec-expectations (
|
10
|
-
rspec-mocks (
|
11
|
-
rspec-core (3.
|
12
|
-
rspec-support (
|
13
|
-
rspec-expectations (3.
|
5
|
+
minitest (5.5.0)
|
6
|
+
rake (10.4.2)
|
7
|
+
rspec (3.1.0)
|
8
|
+
rspec-core (~> 3.1.0)
|
9
|
+
rspec-expectations (~> 3.1.0)
|
10
|
+
rspec-mocks (~> 3.1.0)
|
11
|
+
rspec-core (3.1.7)
|
12
|
+
rspec-support (~> 3.1.0)
|
13
|
+
rspec-expectations (3.1.2)
|
14
14
|
diff-lcs (>= 1.2.0, < 2.0)
|
15
|
-
rspec-support (
|
16
|
-
rspec-mocks (3.
|
17
|
-
rspec-support (
|
18
|
-
rspec-support (3.
|
15
|
+
rspec-support (~> 3.1.0)
|
16
|
+
rspec-mocks (3.1.3)
|
17
|
+
rspec-support (~> 3.1.0)
|
18
|
+
rspec-support (3.1.2)
|
19
19
|
sorcerer (1.0.2)
|
20
20
|
|
21
21
|
PLATFORMS
|
@@ -25,5 +25,5 @@ PLATFORMS
|
|
25
25
|
DEPENDENCIES
|
26
26
|
minitest (>= 4.3)
|
27
27
|
rake
|
28
|
-
rspec (>= 2.
|
28
|
+
rspec (>= 2.14.0)
|
29
29
|
sorcerer (>= 0.3.7)
|
data/README.md
CHANGED
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
| Master |
|
4
4
|
| :----: |
|
5
|
-
| [![Master Build Status](https://secure.travis-ci.org/
|
5
|
+
| [![Master Build Status](https://secure.travis-ci.org/rspec-given/rspec-given.png?branch=master)](https://travis-ci.org/rspec-given/rspec-given) |
|
6
6
|
|
7
|
-
Covering rspec-given, minitest-given, and given-core, version 3.
|
7
|
+
Covering rspec-given, minitest-given, and given-core, version 3.6.0.
|
8
8
|
|
9
9
|
rspec-given and minitest-given are extensions to your favorite testing
|
10
10
|
framework to allow Given/When/Then notation when writing specs.
|
@@ -27,7 +27,7 @@ The rspec-given gem is the original given/when/then extension for
|
|
27
27
|
RSpec. It now depends on a given_core gem for the basic functionality
|
28
28
|
and then adds the RSpec specific code.
|
29
29
|
|
30
|
-
* rspec-given now requires RSpec version 2.
|
30
|
+
* rspec-given now requires RSpec version 2.14.0 or better.
|
31
31
|
|
32
32
|
### Minitest/Given
|
33
33
|
|
@@ -72,9 +72,9 @@ end
|
|
72
72
|
```
|
73
73
|
|
74
74
|
See
|
75
|
-
[stack_spec.rb](https://github.com/
|
75
|
+
[stack_spec.rb](https://github.com/rspec-given/rspec-given/blob/minispec/examples/stack/stack_spec.rb)
|
76
76
|
and
|
77
|
-
[example_helper.rb](https://github.com/
|
77
|
+
[example_helper.rb](https://github.com/rspec-given/rspec-given/blob/minispec/examples/example_helper.rb)
|
78
78
|
|
79
79
|
## Installation
|
80
80
|
|
@@ -870,6 +870,10 @@ License. See the MIT-LICENSE file in the source distribution.
|
|
870
870
|
|
871
871
|
# History
|
872
872
|
|
873
|
+
* Version 3.6.0
|
874
|
+
|
875
|
+
* Various fixes for RSpec 3.0 (See [#1](https://github.com/rspec-given/rspec-given/pull/1))
|
876
|
+
|
873
877
|
* Version 3.5.4
|
874
878
|
|
875
879
|
* Accommodate the name change on RSpec's Pending exception.
|
@@ -948,7 +952,7 @@ License. See the MIT-LICENSE file in the source distribution.
|
|
948
952
|
|
949
953
|
# Links
|
950
954
|
|
951
|
-
* Github: [https://github.com/
|
952
|
-
* Clone URL: git://github.com/
|
953
|
-
* Bug/Issue Reporting: [https://github.com/
|
954
|
-
* Continuous Integration: [http://travis-ci.org/#!/
|
955
|
+
* Github: [https://github.com/rspec-given/rspec-given](https://github.com/rspec-given/rspec-given)
|
956
|
+
* Clone URL: git://github.com/rspec-given/rspec-given.git
|
957
|
+
* Bug/Issue Reporting: [https://github.com/rspec-given/rspec-given/issues](https://github.com/rspec-given/rspec-given/issues)
|
958
|
+
* Continuous Integration: [http://travis-ci.org/#!/rspec-given/rspec-given](http://travis-ci.org/#!/rspec-given/rspec-given)
|
data/doc/main.rdoc
CHANGED
@@ -4,4 +4,4 @@ rspec-given is an RSpec extension to allow Given/When/Then notation in
|
|
4
4
|
RSpec specifications. It is a natural extension of the experimental
|
5
5
|
work done on the Given framework.
|
6
6
|
|
7
|
-
For more information see http://github.com/
|
7
|
+
For more information see http://github.com/rspec-given/rspec-given
|
@@ -7,7 +7,7 @@ module RSpec
|
|
7
7
|
class HaveFailedMatcher < RSpec::Matchers::BuiltIn::RaiseError
|
8
8
|
def matches?(given_proc, negative_expectation = false)
|
9
9
|
if given_proc.is_a?(::Given::Failure)
|
10
|
-
super
|
10
|
+
super(lambda { given_proc.call }, negative_expectation)
|
11
11
|
else
|
12
12
|
super(lambda { }, negative_expectation)
|
13
13
|
end
|
data/lib/given/version.rb
CHANGED
data/rakelib/gemspec.rake
CHANGED
@@ -48,14 +48,14 @@ EOF
|
|
48
48
|
]
|
49
49
|
|
50
50
|
s.add_dependency("given_core", "= #{Given::VERSION}")
|
51
|
-
s.add_dependency("rspec", ">= 2.
|
51
|
+
s.add_dependency("rspec", ">= 2.14.0")
|
52
52
|
|
53
53
|
s.required_ruby_version = '>= 1.9.2'
|
54
54
|
s.license = "MIT"
|
55
55
|
|
56
56
|
s.author = "Jim Weirich"
|
57
57
|
s.email = "jim.weirich@gmail.com"
|
58
|
-
s.homepage = "http://github.com/
|
58
|
+
s.homepage = "http://github.com/rspec-given/rspec-given"
|
59
59
|
s.rubyforge_project = "given"
|
60
60
|
end
|
61
61
|
|
@@ -83,7 +83,7 @@ EOF
|
|
83
83
|
|
84
84
|
s.author = "Jim Weirich"
|
85
85
|
s.email = "jim.weirich@gmail.com"
|
86
|
-
s.homepage = "http://github.com/
|
86
|
+
s.homepage = "http://github.com/rspec-given/rspec-given"
|
87
87
|
s.rubyforge_project = "given"
|
88
88
|
end
|
89
89
|
|
@@ -111,7 +111,7 @@ EOF
|
|
111
111
|
|
112
112
|
s.author = "Jim Weirich"
|
113
113
|
s.email = "jim.weirich@gmail.com"
|
114
|
-
s.homepage = "http://github.com/
|
114
|
+
s.homepage = "http://github.com/rspec-given/rspec-given"
|
115
115
|
s.rubyforge_project = "given"
|
116
116
|
end
|
117
117
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: given_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Weirich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sorcerer
|
@@ -77,7 +77,7 @@ files:
|
|
77
77
|
- rakelib/gemspec.rake
|
78
78
|
- rakelib/metrics.rake
|
79
79
|
- rakelib/preview.rake
|
80
|
-
homepage: http://github.com/
|
80
|
+
homepage: http://github.com/rspec-given/rspec-given
|
81
81
|
licenses:
|
82
82
|
- MIT
|
83
83
|
metadata: {}
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
version: '0'
|
104
104
|
requirements: []
|
105
105
|
rubyforge_project: given
|
106
|
-
rubygems_version: 2.
|
106
|
+
rubygems_version: 2.4.4
|
107
107
|
signing_key:
|
108
108
|
specification_version: 4
|
109
109
|
summary: Core engine for RSpec::Given and Minitest::Given.
|