named_let 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module NamedLet
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
data/lib/named_let.rb CHANGED
@@ -32,8 +32,10 @@ module NamedLet
32
32
  # In RSpec 2.8, RSpec::Core::Let::ExampleGroupMethods
33
33
  if (RSpec::Core::Version::STRING.split('.').map(&:to_i) <=> [2,8,0]) < 0
34
34
  klass = RSpec::Core::Let::ClassMethods
35
- else
35
+ elsif (RSpec::Core::Version::STRING.split('.').map(&:to_i) <=> [2,13,0]) < 0
36
36
  klass = RSpec::Core::Let::ExampleGroupMethods
37
+ else
38
+ klass = RSpec::Core::MemoizedHelpers::ClassMethods
37
39
  end
38
40
 
39
41
  klass.class_eval do
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: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 4
10
- version: 0.1.4
9
+ - 5
10
+ version: 0.1.5
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: 2013-03-07 00:00:00 +09:00
18
+ date: 2013-03-21 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency