pry-debundle 0.1 → 0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -85,3 +85,7 @@ Meta-fu
85
85
 
86
86
  Licensed under the MIT license (see `LICENSE.MIT`). Bug reports and pull requests are
87
87
  welcome.
88
+
89
+ It's possible that Bundler will solve this issue themselves, in which case I expect to
90
+ deprecate this gem. See https://github.com/carlhuda/bundler/issues/183 for some
91
+ discussion.
data/lib/pry-debundle.rb CHANGED
@@ -42,13 +42,13 @@ class << Pry
42
42
  if defined?(Gem.post_reset_hooks)
43
43
  Gem.post_reset_hooks.reject!{ |hook| hook.source_location.first =~ %r{/bundler/} }
44
44
  Gem::Specification.reset
45
- load File.expand_path("../rubygems/custom_require.rb", Gem.method(:post_reset_hooks).source_location.first)
45
+ load 'rubygems/custom_require.rb'
46
46
  loaded = true
47
47
 
48
48
  # Rubygems 1.6 — TODO might be quite slow.
49
49
  elsif Gem.source_index && Gem.send(:class_variable_get, :@@source_index)
50
50
  Gem.source_index.refresh!
51
- load File.expand_path("../rubygems/custom_require.rb", Gem.method(:source_index).source_location.first)
51
+ load 'rubygems/custom_require.rb'
52
52
  loaded = true
53
53
 
54
54
  else
@@ -0,0 +1,14 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = "pry-debundle"
3
+ s.version = "0.2"
4
+ s.platform = Gem::Platform::RUBY
5
+ s.author = "Conrad Irwin"
6
+ s.email = "conrad.irwin@gmail.com"
7
+ s.license = "MIT"
8
+ s.homepage = "http://github.com/ConradIrwin/pry-debundle"
9
+ s.summary = "Allows you to use gems not in your Gemfile from Pry."
10
+ s.description = "Hooks into Pry and removes the restrictions on loading gems imposed by Bundler only when you're running in interactive mode."
11
+ s.files = `git ls-files`.split("\n")
12
+ s.require_path = "lib"
13
+ s.add_dependency 'pry'
14
+ end
metadata CHANGED
@@ -1,61 +1,81 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: pry-debundle
3
- version: !ruby/object:Gem::Version
4
- version: '0.1'
3
+ version: !ruby/object:Gem::Version
4
+ hash: 15
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 2
9
+ version: "0.2"
6
10
  platform: ruby
7
- authors:
11
+ authors:
8
12
  - Conrad Irwin
9
13
  autorequire:
10
14
  bindir: bin
11
15
  cert_chain: []
12
- date: 2012-04-07 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
16
+
17
+ date: 2012-05-12 00:00:00 Z
18
+ dependencies:
19
+ - !ruby/object:Gem::Dependency
15
20
  name: pry
16
- requirement: &23738440 !ruby/object:Gem::Requirement
21
+ prerelease: false
22
+ requirement: &id001 !ruby/object:Gem::Requirement
17
23
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ hash: 3
28
+ segments:
29
+ - 0
30
+ version: "0"
22
31
  type: :runtime
23
- prerelease: false
24
- version_requirements: *23738440
25
- description: Hooks into Pry and removes the restrictions on loading gems imposed by
26
- Bundler only when you're running in interactive mode.
32
+ version_requirements: *id001
33
+ description: Hooks into Pry and removes the restrictions on loading gems imposed by Bundler only when you're running in interactive mode.
27
34
  email: conrad.irwin@gmail.com
28
35
  executables: []
36
+
29
37
  extensions: []
38
+
30
39
  extra_rdoc_files: []
31
- files:
32
- - lib/pry-debundle.rb
33
- - README.md
40
+
41
+ files:
34
42
  - LICENSE.MIT
43
+ - README.md
44
+ - lib/pry-debundle.rb
45
+ - pry-debundle.gemspec
35
46
  homepage: http://github.com/ConradIrwin/pry-debundle
36
- licenses:
47
+ licenses:
37
48
  - MIT
38
49
  post_install_message:
39
50
  rdoc_options: []
40
- require_paths:
51
+
52
+ require_paths:
41
53
  - lib
42
- required_ruby_version: !ruby/object:Gem::Requirement
54
+ required_ruby_version: !ruby/object:Gem::Requirement
43
55
  none: false
44
- requirements:
45
- - - ! '>='
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- required_rubygems_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ hash: 3
60
+ segments:
61
+ - 0
62
+ version: "0"
63
+ required_rubygems_version: !ruby/object:Gem::Requirement
49
64
  none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ hash: 3
69
+ segments:
70
+ - 0
71
+ version: "0"
54
72
  requirements: []
73
+
55
74
  rubyforge_project:
56
- rubygems_version: 1.8.17
75
+ rubygems_version: 1.8.21
57
76
  signing_key:
58
77
  specification_version: 3
59
78
  summary: Allows you to use gems not in your Gemfile from Pry.
60
79
  test_files: []
80
+
61
81
  has_rdoc: