benhutton-remarkable_rails 4.0.0.alpha6 → 4.0.0.alpha7

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{benhutton-remarkable_rails}
8
- s.version = "4.0.0.alpha6"
8
+ s.version = "4.0.0.alpha7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ben Hutton", "Carlos Brando", "José Valim"]
@@ -3,8 +3,10 @@ module RSpec
3
3
 
4
4
  # This is a hack that we need to run the alias method chain describe
5
5
  class Metadata < Hash
6
- def first_caller_from_outside_rspec_from_caller(list)
7
- list.detect {|l| l !~ /(\/lib\/rspec\/core)|remarkable/}
6
+ module LocationKeys
7
+ def first_caller_from_outside_rspec
8
+ self[:caller].detect {|l| l !~ /(\/lib\/rspec\/core)|remarkable/}
9
+ end
8
10
  end
9
11
  end
10
12
 
metadata CHANGED
@@ -6,8 +6,8 @@ version: !ruby/object:Gem::Version
6
6
  - 4
7
7
  - 0
8
8
  - 0
9
- - alpha6
10
- version: 4.0.0.alpha6
9
+ - alpha7
10
+ version: 4.0.0.alpha7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ben Hutton