rspec-console 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/rspec-console/config_cache.rb +12 -1
- data/lib/rspec-console/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODAxMGE2NGIwNTc1ZTEyMzA3ZmRiMzJiMDAzYTYyMjIxMjJmOGRkOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NGM2M2I0Mjc3NDI0NTVhZjg0NzYxZWQ5NjIyOGY2YzBiNjNlM2U2MA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzUyMjNiN2Y0OWQ5MGRiMWYwZDBhYWFiYWJlYjRhNWI3OGE5ZGQ2MDU5NGQ2
|
10
|
+
NmJmNWYzNjMxNDdlOTQ0NGU1YzQ1OTNlZjc5NTliZGE3ZjI4NWQ1OTU2NmFm
|
11
|
+
MjVlMjllZjUxY2VhMGU2MTY5ZDZhNTEwMGJmMDdhNGYxMzI0ODY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWQ4MWJiYTlmMzBlYjFiMTk4ZmMzNDRkZWVjMDc0YzQxODA3ODBhMDM0MjE1
|
14
|
+
MDE5M2VlNDdlOGE2YWFkNzIwNDg2NTRjNDRiZjkyNTk4ZjI1ZTA0MTMyOThj
|
15
|
+
NTQ4MGFlMGQxMTljN2RjZTA4YjFhMjQxZGQ3OWEyNThlYzM2Zjc=
|
@@ -50,7 +50,7 @@ class RSpecConsole::ConfigCache
|
|
50
50
|
# Well, instead of copying them, we redirect them to the configuration
|
51
51
|
# proxy. Looks like it good enough.
|
52
52
|
proxy = self.proxy
|
53
|
-
::RSpec.configuration.singleton_class.send
|
53
|
+
::RSpec.configuration.singleton_class.send(:define_method, :method_missing) do |method, *args, &block|
|
54
54
|
proxy.send(method, *args, &block)
|
55
55
|
end
|
56
56
|
|
@@ -69,3 +69,14 @@ class Proxy < Struct.new(:output, :target)
|
|
69
69
|
self.target.send(method, *args, &block)
|
70
70
|
end
|
71
71
|
end
|
72
|
+
|
73
|
+
# For compatibility with Ruby 1.8.x outside of the Rails framework
|
74
|
+
if RUBY_VERSION =~ /1.8/
|
75
|
+
unless defined?(Rails)
|
76
|
+
class Object
|
77
|
+
def singleton_class
|
78
|
+
class << self; self; end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicolas Viennot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
type: :runtime
|
@@ -24,6 +24,20 @@ dependencies:
|
|
24
24
|
- - ! '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
type: :development
|
29
|
+
prerelease: false
|
30
|
+
name: rspec
|
31
|
+
requirement: !ruby/object:Gem::Requirement
|
32
|
+
requirements:
|
33
|
+
- - ! '>='
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: '0'
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
27
41
|
description: Run RSpec tests in your console
|
28
42
|
email:
|
29
43
|
- nicolas@viennot.biz
|