ruined 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +4 -0
- data/lib/ruined/ruinmain.rb +3 -3
- data/readme.txt +30 -0
- metadata +4 -3
data/ChangeLog
CHANGED
data/lib/ruined/ruinmain.rb
CHANGED
@@ -8,7 +8,7 @@ require 'monitor'
|
|
8
8
|
require 'stringio'
|
9
9
|
|
10
10
|
module Ruined
|
11
|
-
RUINED_VERSION = '0.0.
|
11
|
+
RUINED_VERSION = '0.0.3'
|
12
12
|
|
13
13
|
@queue = [Queue.new, Queue.new]
|
14
14
|
@breakpoints = []
|
@@ -132,8 +132,8 @@ module Ruined
|
|
132
132
|
|
133
133
|
def self.local_vars
|
134
134
|
script = <<EOD
|
135
|
-
local_variables.map do |
|
136
|
-
(
|
135
|
+
local_variables.map do |_0|
|
136
|
+
(_0 == :_) ? nil : { :name => _0.to_s, :value => eval(_0.to_s) }
|
137
137
|
end - [nil]
|
138
138
|
EOD
|
139
139
|
@current_binding ? eval(script, @current_binding) : []
|
data/readme.txt
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
Ruined
|
2
|
+
|
3
|
+
Ruined is a browser base debugger, using pure ruby script and javascript.
|
4
|
+
|
5
|
+
flash demo:
|
6
|
+
http://www.artonx.org/data/ruined/
|
7
|
+
|
8
|
+
features:
|
9
|
+
- step
|
10
|
+
- auto run
|
11
|
+
- break
|
12
|
+
- local variables viewer
|
13
|
+
- global variables viewer
|
14
|
+
- self's instance variables viewer
|
15
|
+
- stdout viewer
|
16
|
+
|
17
|
+
usage:
|
18
|
+
|
19
|
+
simply add '-ruined' for your command line.
|
20
|
+
cf)
|
21
|
+
ruby -ruined target.rb [ target's options ...]
|
22
|
+
|
23
|
+
licence:
|
24
|
+
GPL3
|
25
|
+
|
26
|
+
others:
|
27
|
+
jQuery (bundled)
|
28
|
+
|
29
|
+
author:
|
30
|
+
arton (artonx@gmail.com)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruined
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- arton
|
@@ -55,6 +55,7 @@ files:
|
|
55
55
|
- lib/ruined/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
56
56
|
- lib/ruined/js/jquery-1.4.2.min.js
|
57
57
|
- lib/ruined/js/jquery-ui-1.8.5.custom.min.js
|
58
|
+
- readme.txt
|
58
59
|
- gpl-3.0.txt
|
59
60
|
- ChangeLog
|
60
61
|
has_rdoc: true
|