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.
@@ -1,3 +1,3 @@
1
1
  module NamedLet
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
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 < "2.8.0"
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: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
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-02-27 00:00:00 +09:00
18
+ date: 2012-05-16 00:00:00 +09:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency