pry-debundle 0.4 → 0.5

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.
@@ -39,15 +39,16 @@ class << Pry
39
39
  loaded = false
40
40
 
41
41
  if rubygems_18?
42
- Gem.post_reset_hooks.reject!{ |hook| hook.source_location.first =~ %r{/bundler/} }
43
- Gem::Specification.reset
44
- remove_bundler_mokeypatches
45
- loaded = true
42
+ if Gem.post_reset_hooks.reject!{ |hook| hook.source_location.first =~ %r{/bundler/} }
43
+ Gem::Specification.reset
44
+ remove_bundler_monkeypatches
45
+ loaded = true
46
+ end
46
47
 
47
48
  # Rubygems 1.6 — TODO might be quite slow.
48
49
  elsif Gem.source_index && Gem.send(:class_variable_get, :@@source_index)
49
50
  Gem.source_index.refresh!
50
- remove_bundler_mokeypatches
51
+ remove_bundler_monkeypatches
51
52
  loaded = true
52
53
 
53
54
  else
@@ -83,7 +84,7 @@ class << Pry
83
84
  end
84
85
 
85
86
  # Ugh, this stuff is quite vile.
86
- def remove_bundler_mokeypatches
87
+ def remove_bundler_monkeypatches
87
88
  load 'rubygems/custom_require.rb'
88
89
 
89
90
  if rubygems_18?
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "pry-debundle"
3
- s.version = "0.4"
3
+ s.version = "0.5"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.author = "Conrad Irwin"
6
6
  s.email = "conrad.irwin@gmail.com"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-debundle
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.4'
4
+ version: '0.5'
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: 2012-08-31 00:00:00.000000000 Z
12
+ date: 2012-09-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pry