rspec-console 0.2.3 → 0.2.4
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.
- data/lib/rspec-console/config_cache.rb +2 -2
- data/lib/rspec-console/version.rb +1 -1
- metadata +3 -3
|
@@ -30,7 +30,7 @@ class RSpecConsole::ConfigCache
|
|
|
30
30
|
config.send(msg[:method], *msg[:args], &msg[:block])
|
|
31
31
|
end
|
|
32
32
|
end
|
|
33
|
-
::RSpec.world.shared_example_groups.merge!(self.shared_examples_groups || {})
|
|
33
|
+
::RSpec.world.shared_example_groups.merge!(self.shared_examples_groups || {}) rescue nil
|
|
34
34
|
|
|
35
35
|
else
|
|
36
36
|
# record
|
|
@@ -40,7 +40,7 @@ class RSpecConsole::ConfigCache
|
|
|
40
40
|
::RSpec.configuration = self.proxy
|
|
41
41
|
yield
|
|
42
42
|
::RSpec.configuration = real_config
|
|
43
|
-
self.shared_examples_groups = ::RSpec.world.shared_example_groups.dup
|
|
43
|
+
self.shared_examples_groups = ::RSpec.world.shared_example_groups.dup rescue nil
|
|
44
44
|
|
|
45
45
|
# rspec-rails/lib/rspec/rails/view_rendering.rb add methods on the
|
|
46
46
|
# configuration singleton. Need advice to copy them without going down
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-07-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails-env-switcher
|
|
@@ -35,9 +35,9 @@ extensions: []
|
|
|
35
35
|
extra_rdoc_files: []
|
|
36
36
|
files:
|
|
37
37
|
- lib/rspec-console/pry.rb
|
|
38
|
-
- lib/rspec-console/config_cache.rb
|
|
39
38
|
- lib/rspec-console/runner.rb
|
|
40
39
|
- lib/rspec-console/version.rb
|
|
40
|
+
- lib/rspec-console/config_cache.rb
|
|
41
41
|
- lib/rspec-console.rb
|
|
42
42
|
- README.md
|
|
43
43
|
homepage: http://github.com/nviennot/rspec-console
|