rspec-given 2.3.1 → 2.3.2.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +11 -1
- data/lib/rspec/given/version.rb +2 -1
- metadata +21 -5
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# rspec-given
|
|
2
2
|
|
|
3
|
-
Covering rspec-given, version 2.3.1.
|
|
3
|
+
Covering rspec-given, version 2.3.2.beta.1.
|
|
4
4
|
|
|
5
5
|
rspec-given is an RSpec extension to allow Given/When/Then notation in
|
|
6
6
|
RSpec specifications. It is a natural extension of the experimental
|
|
@@ -583,6 +583,16 @@ Detecting that last point (the use of _should_ and _expect_) is done
|
|
|
583
583
|
by modifying the RSpec runtime to report uses of _should_ and
|
|
584
584
|
_expect_.
|
|
585
585
|
|
|
586
|
+
### Platform Support
|
|
587
|
+
|
|
588
|
+
Natural assertions use the Ripper library to parse the failing
|
|
589
|
+
condition and find all the sub-expression values upon a failure.
|
|
590
|
+
Currently Ripper is not supported on JRuby 1.7.2. Charles Nutter has
|
|
591
|
+
said that Ripper support is coming soon and may arrive as early as
|
|
592
|
+
version 2.3.2.beta.1. Until then, natural assertions are disabled when
|
|
593
|
+
running under JRuby. Never fear, JRuby supports all the other features
|
|
594
|
+
of rspec-given and will work just fine.
|
|
595
|
+
|
|
586
596
|
### Further Reading
|
|
587
597
|
|
|
588
598
|
Natural assertions were inspired by the [wrong assertion
|
data/lib/rspec/given/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rspec-given
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.3.1
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 2.3.2.beta.1
|
|
5
|
+
prerelease: 6
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Jim Weirich
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-01-
|
|
12
|
+
date: 2013-01-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rspec
|
|
@@ -27,6 +27,22 @@ dependencies:
|
|
|
27
27
|
- - ! '>='
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
29
|
version: '2.11'
|
|
30
|
+
- !ruby/object:Gem::Dependency
|
|
31
|
+
name: sorcerer
|
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
|
33
|
+
none: false
|
|
34
|
+
requirements:
|
|
35
|
+
- - ! '>='
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
37
|
+
version: 0.3.7
|
|
38
|
+
type: :runtime
|
|
39
|
+
prerelease: false
|
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
41
|
+
none: false
|
|
42
|
+
requirements:
|
|
43
|
+
- - ! '>='
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: 0.3.7
|
|
30
46
|
- !ruby/object:Gem::Dependency
|
|
31
47
|
name: bluecloth
|
|
32
48
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -138,9 +154,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
138
154
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
155
|
none: false
|
|
140
156
|
requirements:
|
|
141
|
-
- - ! '
|
|
157
|
+
- - ! '>'
|
|
142
158
|
- !ruby/object:Gem::Version
|
|
143
|
-
version:
|
|
159
|
+
version: 1.3.1
|
|
144
160
|
requirements: []
|
|
145
161
|
rubyforge_project: given
|
|
146
162
|
rubygems_version: 1.8.24
|