benhutton-remarkable_rails 4.0.0.alpha6 → 4.0.0.alpha7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.
|
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
|
-
|
7
|
-
|
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
|
|