named_let 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/named_let/version.rb +1 -1
- data/lib/named_let.rb +1 -1
- metadata +4 -4
data/lib/named_let/version.rb
CHANGED
data/lib/named_let.rb
CHANGED
@@ -30,7 +30,7 @@ require "named_let/version"
|
|
30
30
|
|
31
31
|
module NamedLet
|
32
32
|
# In RSpec 2.8, RSpec::Core::Let::ExampleGroupMethods
|
33
|
-
if RSpec::Core::Version::STRING
|
33
|
+
if (RSpec::Core::Version::STRING.split('.').map(&:to_i) <=> [2,8,0]) < 0
|
34
34
|
klass = RSpec::Core::Let::ClassMethods
|
35
35
|
else
|
36
36
|
klass = RSpec::Core::Let::ExampleGroupMethods
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: named_let
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 3
|
10
|
+
version: 0.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tomohito Ozaki
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-05-16 00:00:00 +09:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|