rspec-given 3.8.0 → 3.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/Gemfile.lock +18 -15
- data/README.md +2 -2
- data/rakelib/gemspec.rake +0 -3
- data/spec/lib/given/natural_assertion_spec.rb +1 -1
- metadata +8 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7847253b702f86bbba6c63d3e32354c5f3a33af9955c926992ca76fe06fd6b6d
|
4
|
+
data.tar.gz: c205a7847faa2ac00e47840b5a4ffbe88eee54e60c6b00f227082f3391b45a32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2d90729c20ff4a73f3e52b724a69bb8d76ebc65184d8bc79608f033e71adbf87c934e7660455ee65b7ddc1310b7897098818274fab7ac2fc36f86cb304fa603
|
7
|
+
data.tar.gz: 112dc119cc8fd26249c97991d73782d2b13e499fad185b265504b8b425aefcd4fb5de0db4cad42c7f4b804aa516ef3c2ae710cdaae84ad5e94f01800963f511c
|
data/Gemfile.lock
CHANGED
@@ -1,23 +1,23 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
diff-lcs (1.
|
5
|
-
minitest (5.
|
6
|
-
rake (
|
7
|
-
rspec (3.
|
8
|
-
rspec-core (~> 3.
|
9
|
-
rspec-expectations (~> 3.
|
10
|
-
rspec-mocks (~> 3.
|
11
|
-
rspec-core (3.
|
12
|
-
rspec-support (~> 3.
|
13
|
-
rspec-expectations (3.
|
4
|
+
diff-lcs (1.4.4)
|
5
|
+
minitest (5.14.2)
|
6
|
+
rake (13.0.1)
|
7
|
+
rspec (3.9.0)
|
8
|
+
rspec-core (~> 3.9.0)
|
9
|
+
rspec-expectations (~> 3.9.0)
|
10
|
+
rspec-mocks (~> 3.9.0)
|
11
|
+
rspec-core (3.9.3)
|
12
|
+
rspec-support (~> 3.9.3)
|
13
|
+
rspec-expectations (3.9.2)
|
14
14
|
diff-lcs (>= 1.2.0, < 2.0)
|
15
|
-
rspec-support (~> 3.
|
16
|
-
rspec-mocks (3.
|
15
|
+
rspec-support (~> 3.9.0)
|
16
|
+
rspec-mocks (3.9.1)
|
17
17
|
diff-lcs (>= 1.2.0, < 2.0)
|
18
|
-
rspec-support (~> 3.
|
19
|
-
rspec-support (3.
|
20
|
-
sorcerer (
|
18
|
+
rspec-support (~> 3.9.0)
|
19
|
+
rspec-support (3.9.3)
|
20
|
+
sorcerer (2.0.1)
|
21
21
|
|
22
22
|
PLATFORMS
|
23
23
|
ruby
|
@@ -27,3 +27,6 @@ DEPENDENCIES
|
|
27
27
|
rake
|
28
28
|
rspec (>= 2.14.0)
|
29
29
|
sorcerer (>= 0.3.7)
|
30
|
+
|
31
|
+
BUNDLED WITH
|
32
|
+
2.1.4
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
| :----: |
|
5
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.8.
|
7
|
+
Covering rspec-given, minitest-given, and given-core, version 3.8.1.
|
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.
|
@@ -53,7 +53,7 @@ things to watch out for:
|
|
53
53
|
|
54
54
|
* Only one before block is allowed in any given Minitest::Spec
|
55
55
|
describe block. This doesn't effect the number of Givens you are
|
56
|
-
allowed to use, but it may surprise if you are
|
56
|
+
allowed to use, but it may surprise you if you are used to RSpec.
|
57
57
|
|
58
58
|
### Auto Selecting
|
59
59
|
|
data/rakelib/gemspec.rake
CHANGED
@@ -56,7 +56,6 @@ EOF
|
|
56
56
|
s.author = "Jim Weirich"
|
57
57
|
s.email = "jim.weirich@gmail.com"
|
58
58
|
s.homepage = "http://github.com/rspec-given/rspec-given"
|
59
|
-
s.rubyforge_project = "given"
|
60
59
|
end
|
61
60
|
|
62
61
|
MINITEST_GIVEN_SPEC = Gem::Specification.new do |s|
|
@@ -84,7 +83,6 @@ EOF
|
|
84
83
|
s.author = "Jim Weirich"
|
85
84
|
s.email = "jim.weirich@gmail.com"
|
86
85
|
s.homepage = "http://github.com/rspec-given/rspec-given"
|
87
|
-
s.rubyforge_project = "given"
|
88
86
|
end
|
89
87
|
|
90
88
|
GIVEN_CORE_SPEC = Gem::Specification.new do |s|
|
@@ -112,7 +110,6 @@ EOF
|
|
112
110
|
s.author = "Jim Weirich"
|
113
111
|
s.email = "jim.weirich@gmail.com"
|
114
112
|
s.homepage = "http://github.com/rspec-given/rspec-given"
|
115
|
-
s.rubyforge_project = "given"
|
116
113
|
end
|
117
114
|
|
118
115
|
Gem::PackageTask.new(MINITEST_GIVEN_SPEC) do |pkg|
|
@@ -63,7 +63,7 @@ describe Given::NaturalAssertion do
|
|
63
63
|
|
64
64
|
context "with equals assertion with do/end" do
|
65
65
|
Given(:a) { 1 }
|
66
|
-
FauxThen
|
66
|
+
FauxThen { a == 2 }
|
67
67
|
Then { expect(msg).to match(/\bexpected: +1\b/) }
|
68
68
|
Then { expect(msg).to match(/\bto equal: +2\b/) }
|
69
69
|
Then { expect(msg).to match(/\bfalse +<- +a == 2\b/) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-given
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.8.
|
4
|
+
version: 3.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Weirich
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-10-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: given_core
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.8.
|
19
|
+
version: 3.8.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.8.
|
26
|
+
version: 3.8.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -111,7 +111,7 @@ homepage: http://github.com/rspec-given/rspec-given
|
|
111
111
|
licenses:
|
112
112
|
- MIT
|
113
113
|
metadata: {}
|
114
|
-
post_install_message:
|
114
|
+
post_install_message:
|
115
115
|
rdoc_options:
|
116
116
|
- "--line-numbers"
|
117
117
|
- "--inline-source"
|
@@ -132,9 +132,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
- !ruby/object:Gem::Version
|
133
133
|
version: '0'
|
134
134
|
requirements: []
|
135
|
-
|
136
|
-
|
137
|
-
signing_key:
|
135
|
+
rubygems_version: 3.1.2
|
136
|
+
signing_key:
|
138
137
|
specification_version: 4
|
139
138
|
summary: Given/When/Then Specification Extensions for RSpec.
|
140
139
|
test_files: []
|