unroller 0.1.3 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/unroller.rb +9 -8
  2. metadata +8 -6
@@ -1,5 +1,5 @@
1
- require 'rubygems'
2
- gem 'facets'
1
+ #require 'rubygems'
2
+ #gem 'facets'
3
3
  require 'facets'
4
4
  require 'facets/methodspace'
5
5
  require 'facets/kernel/populate'
@@ -9,7 +9,8 @@ require 'facets/kernel/returning'
9
9
  #require 'facets/string/bracket'
10
10
  #require 'facets/string/index_all'
11
11
  #require 'facets/hash/reverse_merge'
12
- gem 'quality_extensions'
12
+
13
+ #gem 'quality_extensions'
13
14
  require 'quality_extensions/object/send_if_not_nil'
14
15
  require 'quality_extensions/kernel/trap_chain'
15
16
  require 'quality_extensions/kernel/capture_output'
@@ -23,7 +24,8 @@ require 'quality_extensions/module/attribute_accessors'
23
24
  require 'quality_extensions/enumerable/select_until'
24
25
  require 'quality_extensions/module/bool_attr_accessor'
25
26
  require 'quality_extensions/object/pp_s'
26
- gem 'colored'
27
+
28
+ #gem 'colored'
27
29
  require 'colored'
28
30
  #gem 'extensions'
29
31
  #require 'extensions/object'
@@ -32,7 +34,6 @@ require 'English'
32
34
  require 'pp'
33
35
  require 'stringio'
34
36
 
35
- gem 'colored'
36
37
  # To disable color, uncomment this:
37
38
  #class String
38
39
  # def colorize(string, options = {})
@@ -41,7 +42,7 @@ gem 'colored'
41
42
  #end
42
43
 
43
44
  begin
44
- gem 'termios'
45
+ #gem 'termios' # or arika-ruby-termios, whose latest vesion is 0.9.6 (the native extension for which installs for me with Ruby 1.9.1) newer than ruby-termios's latest 0.9.4 (which won't install for me)
45
46
  require 'termios'
46
47
  begin
47
48
  # Set up termios so that it returns immediately when you press a key.
@@ -224,7 +225,7 @@ class Unroller
224
225
  # (In the future, might add "break out of this call" option to stop watching anything until we return from the current method... etc.)
225
226
  instance_variables.each do |v|
226
227
  self.class.class_eval do
227
- attr_accessor v.gsub!(/^@/, '')
228
+ attr_accessor v.to_s.gsub!(/^@/, '')
228
229
  end
229
230
  end
230
231
 
@@ -386,7 +387,7 @@ class Unroller
386
387
 
387
388
 
388
389
  # (This is the meat of the library right here, so let's set it off with at least 5 blank lines.)
389
- set_trace_func( proc do |event, file, line, id, binding, klass|
390
+ set_trace_func( lambda do |event, file, line, id, binding, klass|
390
391
  return if @@quiting
391
392
  begin # begin/rescue block
392
393
  @event, @file, @line, @id, @binding, @klass =
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unroller
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Rick
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-30 00:00:00 -08:00
12
+ date: 2009-09-20 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -42,8 +42,8 @@ dependencies:
42
42
  - !ruby/object:Gem::Version
43
43
  version: "0"
44
44
  version:
45
- description: A debugging/tracing tool for Ruby. While it is enabled, it will watch every Ruby statement and method call that gets executed and will display the source code that is being executed in real time on your screen.
46
- email:
45
+ description: " A debugging/tracing tool for Ruby. Can be used interactively or non-interactively. While it is enabled, it will watch every Ruby statement and method call that gets executed and will display the source code that is being executed in real time on your screen.\n\n It is recommended that you also install arika-ruby-termios so that you don't have to press enter after each command.\n"
46
+ email: rubyforge.org@tylerrick.com
47
47
  executables: []
48
48
 
49
49
  extensions: []
@@ -58,6 +58,8 @@ files:
58
58
  - Readme
59
59
  has_rdoc: true
60
60
  homepage: http://unroller.rubyforge.org
61
+ licenses: []
62
+
61
63
  post_install_message:
62
64
  rdoc_options:
63
65
  - --title
@@ -82,9 +84,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
84
  requirements: []
83
85
 
84
86
  rubyforge_project: unroller
85
- rubygems_version: 1.3.1
87
+ rubygems_version: 1.3.5
86
88
  signing_key:
87
- specification_version: 2
89
+ specification_version: 3
88
90
  summary: "Ruby Code Unroller: A tool for generating human-readable \"execution traces\""
89
91
  test_files:
90
92
  - test/other_file.rb