rspec-given 2.3.2.beta.1 → 2.3.2
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 +2 -2
- data/Rakefile +2 -2
- data/lib/rspec/given/version.rb +0 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# rspec-given
|
2
2
|
|
3
|
-
Covering rspec-given, version 2.3.2.
|
3
|
+
Covering rspec-given, version 2.3.2.
|
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
|
@@ -589,7 +589,7 @@ Natural assertions use the Ripper library to parse the failing
|
|
589
589
|
condition and find all the sub-expression values upon a failure.
|
590
590
|
Currently Ripper is not supported on JRuby 1.7.2. Charles Nutter has
|
591
591
|
said that Ripper support is coming soon and may arrive as early as
|
592
|
-
version
|
592
|
+
version 1.7.3. Until then, natural assertions are disabled when
|
593
593
|
running under JRuby. Never fear, JRuby supports all the other features
|
594
594
|
of rspec-given and will work just fine.
|
595
595
|
|
data/Rakefile
CHANGED
@@ -117,8 +117,8 @@ file "README.md" => ["examples/stack/stack_spec.rb", "lib/rspec/given/version.rb
|
|
117
117
|
while line = ins.gets
|
118
118
|
case state
|
119
119
|
when :copy
|
120
|
-
if line =~ /version +\d+(\.(\d+|beta))+/
|
121
|
-
line.gsub!(/version +\d+(\.(\d+|beta))
|
120
|
+
if line =~ /rspec-given, version +\d+(\.(\d+|beta))+/i
|
121
|
+
line.gsub!(/version +\d+(\.(\d+|beta))+/i, "version #{RSpec::Given::VERSION}")
|
122
122
|
outs.puts line
|
123
123
|
elsif line =~ /^<pre>/
|
124
124
|
state = :insert
|
data/lib/rspec/given/version.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-given
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.2
|
5
|
-
prerelease:
|
4
|
+
version: 2.3.2
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jim Weirich
|
@@ -154,9 +154,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
154
154
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
155
155
|
none: false
|
156
156
|
requirements:
|
157
|
-
- - ! '
|
157
|
+
- - ! '>='
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
159
|
+
version: '0'
|
160
160
|
requirements: []
|
161
161
|
rubyforge_project: given
|
162
162
|
rubygems_version: 1.8.24
|