ruby-production-breakpoints 0.0.8 → 0.0.9

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2857497fa6b98303182f79685c3511b501a0023cb7fe65ca08c578fd30899a27
4
- data.tar.gz: 325aa7d24a66d1a7d7059f98a4195f7927902614293d9a97a23b754f2bd15b46
3
+ metadata.gz: ff838fab9c6bb53e4ec86938b097637384d0c37a6173b3143aa07d53ad7519b5
4
+ data.tar.gz: 3b3c39e72f8ebf25feda182da323e1edd626b746b8080a3487a840fe438cc8a7
5
5
  SHA512:
6
- metadata.gz: 20d9986076af6edc1dbdcea6d6bb70c7d507de78e76050f558e17f7a5b6b65418a779901eba4f938d2f2b72881a4217b89f283f9320b65f01793684bc7cd458d
7
- data.tar.gz: ef26e3bf3111286c1fdbba39330d6685a338905074d695bdac8861e0c725b40a318dc2423176160fa13fb54f8fa237c0e031a4f2b0e0ee2862e192369dccddb7
6
+ metadata.gz: 2edc2e6970899a78ccf558c4d6c8a79fad83bbad3bf24b55c08d86f050026e0a6a91bb12e67bd242113e932d8c8bad2f8906d560a256712a425c14b76bb99a18
7
+ data.tar.gz: b4586525651f53eb9193c42e3557f756258ef0c1539aeab8b6dd4e9aaf23383574754ce55ea5b05267b4aed3c0806d6fcf035774f0648513e51ddc3806c25a90
@@ -49,6 +49,7 @@ module ProductionBreakpoints
49
49
 
50
50
  breakpoint = type.new(source_file, start_line, end_line, trace_id: trace_id)
51
51
  installed_breakpoints[trace_id.to_sym] = breakpoint
52
+ puts installed_breakpoints.inspect
52
53
  breakpoint.install
53
54
  breakpoint.load
54
55
  end
@@ -60,6 +60,7 @@ module ProductionBreakpoints
60
60
  # us to keep the expected binding for the wrapped code, and remainder of the method
61
61
  def build_redefined_definition_module(node)
62
62
  # This is the metaprogramming to inject our breakpoint handle
63
+ puts "Trace ID: #{@trace_id}"
63
64
  handler = "ProductionBreakpoints.installed_breakpoints[:#{@trace_id}].handle(Kernel.binding)"
64
65
 
65
66
  # This injects our handler at the end of the original source code
@@ -2,5 +2,5 @@
2
2
 
3
3
  module ProductionBreakpoints
4
4
  # The current version of this gem
5
- VERSION = '0.0.8'
5
+ VERSION = '0.0.9'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-production-breakpoints
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Hamel