binding_dumper 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ module BindingDumper
2
+ VERSION = "0.1.0"
3
+ end
data/test.rb ADDED
@@ -0,0 +1,17 @@
1
+ require 'bundler/setup'
2
+ require 'binding_dumper'
3
+ require 'pry'
4
+
5
+ class A
6
+ def initialize
7
+ @a = "IVAR A"
8
+ end
9
+
10
+ def run
11
+ local = "LOCAL"
12
+ binding.dump { |dumped| $b = dumped }
13
+ end
14
+ end
15
+
16
+ A.new.run
17
+ Binding.load($b).pry
metadata ADDED
@@ -0,0 +1,117 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: binding_dumper
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Ilya Bylich
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2015-08-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.9'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.9'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description:
56
+ email:
57
+ - ibylich@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - ".travis.yml"
64
+ - CODE_OF_CONDUCT.md
65
+ - Gemfile
66
+ - LICENSE.txt
67
+ - README.md
68
+ - Rakefile
69
+ - bin/console
70
+ - bin/dummy_rails
71
+ - bin/dummy_rake
72
+ - bin/multitest
73
+ - bin/setup
74
+ - binding_dumper.gemspec
75
+ - lib/binding_dumper.rb
76
+ - lib/binding_dumper/core_ext/binding_ext.rb
77
+ - lib/binding_dumper/core_ext/local_binding_patch_builder.rb
78
+ - lib/binding_dumper/core_ext/magic_context_patch_builder.rb
79
+ - lib/binding_dumper/dumpers/abstract.rb
80
+ - lib/binding_dumper/dumpers/array_dumper.rb
81
+ - lib/binding_dumper/dumpers/class_dumper.rb
82
+ - lib/binding_dumper/dumpers/existing_object_dumper.rb
83
+ - lib/binding_dumper/dumpers/hash_dumper.rb
84
+ - lib/binding_dumper/dumpers/magic_dumper.rb
85
+ - lib/binding_dumper/dumpers/object_dumper.rb
86
+ - lib/binding_dumper/dumpers/primitive_dumper.rb
87
+ - lib/binding_dumper/dumpers/proc_dumper.rb
88
+ - lib/binding_dumper/magic_objects.rb
89
+ - lib/binding_dumper/memories.rb
90
+ - lib/binding_dumper/universal_dumper.rb
91
+ - lib/binding_dumper/version.rb
92
+ - test.rb
93
+ homepage: https://github.com/iliabylich/binding_dumper
94
+ licenses:
95
+ - MIT
96
+ metadata: {}
97
+ post_install_message:
98
+ rdoc_options: []
99
+ require_paths:
100
+ - lib
101
+ required_ruby_version: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ required_rubygems_version: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ requirements: []
112
+ rubyforge_project:
113
+ rubygems_version: 2.4.7
114
+ signing_key:
115
+ specification_version: 4
116
+ summary: A gem for dumping a whole binding.
117
+ test_files: []