rspec-given 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/rspec/given.rb +10 -1
- data/lib/rspec/given/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
data/lib/rspec/given.rb
CHANGED
@@ -1,4 +1,13 @@
|
|
1
|
-
|
1
|
+
module RSpec
|
2
|
+
module Given
|
3
|
+
def self.using_old_rspec?
|
4
|
+
defined?(Spec::VERSION::SUMMARY) &&
|
5
|
+
Spec::VERSION::SUMMARY =~ /^rspec +1\./
|
6
|
+
end
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
if RSpec::Given.using_old_rspec?
|
2
11
|
require 'rspec/given/rspec1_given'
|
3
12
|
else
|
4
13
|
require 'rspec/given/version'
|
data/lib/rspec/given/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: rspec-given
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.4.
|
5
|
+
version: 1.4.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jim Weirich
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-11-21 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
requirements: []
|
98
98
|
|
99
99
|
rubyforge_project: given
|
100
|
-
rubygems_version: 1.8.
|
100
|
+
rubygems_version: 1.8.11
|
101
101
|
signing_key:
|
102
102
|
specification_version: 3
|
103
103
|
summary: Given/When/Then Specification Extensions for RSpec.
|