rspec-given 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # rspec-given
2
2
 
3
- Covering rspec-given, version 1.4.1.
3
+ Covering rspec-given, version 1.4.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
data/lib/rspec/given.rb CHANGED
@@ -1,7 +1,9 @@
1
1
  module RSpec
2
2
  module Given
3
3
  def self.using_old_rspec?
4
- defined?(Spec::VERSION::SUMMARY) &&
4
+ defined?(Spec) &&
5
+ defined?(Spec::VERSION) &&
6
+ defined?(Spec::VERSION::SUMMARY) &&
5
7
  Spec::VERSION::SUMMARY =~ /^rspec +1\./
6
8
  end
7
9
  end
@@ -3,7 +3,7 @@ module RSpec
3
3
  VERSION_NUMBERS = [
4
4
  VERSION_MAJOR = 1,
5
5
  VERSION_MINOR = 4,
6
- VERSION_BUILD = 1,
6
+ VERSION_BUILD = 2,
7
7
  ]
8
8
  VERSION = VERSION_NUMBERS.join(".")
9
9
  end
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.1
5
+ version: 1.4.2
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-11-21 00:00:00 Z
13
+ date: 2011-11-22 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec