looksee 3.1.0-universal-java-1.8 → 4.0.0-universal-java-1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +13 -0
- data/README.markdown +61 -81
- data/ext/extconf.rb +3 -7
- data/ext/mri/2.3.0/internal.h +1404 -0
- data/ext/mri/2.3.0/method.h +213 -0
- data/ext/mri/mri.c +21 -264
- data/ext/rbx/rbx.c +0 -9
- data/lib/looksee/JRuby.jar +0 -0
- data/lib/looksee/adapter/base.rb +19 -54
- data/lib/looksee/adapter/rubinius.rb +3 -62
- data/lib/looksee/clean.rb +5 -1
- data/lib/looksee/editor.rb +1 -1
- data/lib/looksee/help.rb +3 -2
- data/lib/looksee/lookup_path.rb +7 -3
- data/lib/looksee/version.rb +1 -1
- data/spec/looksee/adapter_spec.rb +72 -365
- data/spec/looksee/editor_spec.rb +1 -1
- data/spec/looksee/inspector_spec.rb +21 -21
- data/spec/looksee/lookup_path_spec.rb +34 -21
- data/spec/spec_helper.rb +2 -0
- data/spec/support/temporary_classes.rb +10 -14
- data/spec/support/test_adapter.rb +2 -53
- metadata +8 -29
- data/ext/mri/1.9.2/debug.h +0 -36
- data/ext/mri/1.9.2/id.h +0 -170
- data/ext/mri/1.9.2/method.h +0 -103
- data/ext/mri/1.9.2/node.h +0 -483
- data/ext/mri/1.9.2/thread_pthread.h +0 -27
- data/ext/mri/1.9.2/vm_core.h +0 -707
- data/ext/mri/1.9.2/vm_opts.h +0 -51
- data/ext/mri/1.9.3/atomic.h +0 -56
- data/ext/mri/1.9.3/debug.h +0 -41
- data/ext/mri/1.9.3/id.h +0 -175
- data/ext/mri/1.9.3/internal.h +0 -227
- data/ext/mri/1.9.3/internal_falcon.h +0 -248
- data/ext/mri/1.9.3/method.h +0 -105
- data/ext/mri/1.9.3/node.h +0 -503
- data/ext/mri/1.9.3/thread_pthread.h +0 -51
- data/ext/mri/1.9.3/vm_core.h +0 -755
- data/ext/mri/1.9.3/vm_opts.h +0 -51
- data/ext/mri/2.0.0/internal.h +0 -378
- data/ext/mri/2.0.0/method.h +0 -138
- data/ext/mri/env-1.8.h +0 -27
- data/ext/mri/eval_c-1.8.h +0 -27
- data/ext/mri/node-1.9.h +0 -35
- data/lib/looksee/rbx.bundle +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a608aa4651ece38fd707ac055e6861f8bdc45f5
|
4
|
+
data.tar.gz: fd400f708b6e0e5f1d38a78a52f2d134a91dbcf1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a910f9bedc7e4f43be8f6b61827e1cb79d5605f3960aaab2b1f92e0e22f8040c9a73568105bcbd112b542e9e7ca431614ed559d923ee827f878f50ac54b90b8
|
7
|
+
data.tar.gz: da7f5d19c6f8033a9861d7447ca208a558120df402932fae98e4a554085690afeab4986677a1cebdbd5997644fccd6de970187e99ff050e2fef1dad78066ecc6
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
== 4.0.0 2016-08-09
|
2
|
+
|
3
|
+
* Incomplete ruby 2.3 compatibility. Undef'd methods cannot be rendered; a
|
4
|
+
warning will be emitted the first time this may affect something.
|
5
|
+
* Looksee no longer supports MRI < 2.1, Rubinius < 3, or JRuby < 9.
|
6
|
+
* "Origin classes" are no longer shown. If you don't know what these are, good!
|
7
|
+
* Internal overhaul. The extensions have been shrunk to minimize the use of
|
8
|
+
private interpreter APIs.
|
9
|
+
|
10
|
+
== 3.1.1 2016-08-02
|
11
|
+
|
12
|
+
* Prevent installation on ruby 2.3, as compilation fails. Sorry! [Mathieu Jobin]
|
13
|
+
|
1
14
|
== 3.1.0 2015-02-06
|
2
15
|
|
3
16
|
* Fix performance issue caused by fix for pry. You'll need to use
|
data/README.markdown
CHANGED
@@ -17,86 +17,75 @@ Now each object has a method `ls`, which shows you all its methods.
|
|
17
17
|
|
18
18
|
irb> [].ls
|
19
19
|
=> BasicObject
|
20
|
-
!
|
21
|
-
!=
|
22
|
-
==
|
23
|
-
__id__ instance_eval singleton_method_removed
|
20
|
+
! __id__ initialize method_missing singleton_method_undefined
|
21
|
+
!= __send__ instance_eval singleton_method_added
|
22
|
+
== equal? instance_exec singleton_method_removed
|
24
23
|
Kernel
|
25
|
-
!~
|
26
|
-
<=>
|
27
|
-
===
|
28
|
-
=~
|
29
|
-
Array
|
30
|
-
Complex
|
31
|
-
Float
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
exec printf trap
|
55
|
-
exit private_methods trust
|
56
|
-
exit! proc untaint
|
57
|
-
extend protected_methods untrace_var
|
58
|
-
fail public_method untrust
|
59
|
-
fork public_methods untrusted?
|
60
|
-
format public_send warn
|
61
|
-
freeze putc
|
24
|
+
!~ enum_for kind_of? respond_to_missing?
|
25
|
+
<=> eql? lambda select
|
26
|
+
=== eval load send
|
27
|
+
=~ exec local_variables set_trace_func
|
28
|
+
Array exit loop singleton_class
|
29
|
+
Complex exit! method singleton_method
|
30
|
+
Float extend methods singleton_methods
|
31
|
+
Hash fail nil? sleep
|
32
|
+
Integer fork object_id spawn
|
33
|
+
Rational format open sprintf
|
34
|
+
String freeze p srand
|
35
|
+
__callee__ frozen? print syscall
|
36
|
+
__dir__ gem printf system
|
37
|
+
__method__ gem_original_require private_methods taint
|
38
|
+
` gets proc tainted?
|
39
|
+
abort global_variables protected_methods tap
|
40
|
+
at_exit hash public_method test
|
41
|
+
autoload initialize_clone public_methods throw
|
42
|
+
autoload? initialize_copy public_send to_enum
|
43
|
+
binding initialize_dup putc to_s
|
44
|
+
block_given? inspect puts trace_var
|
45
|
+
caller instance_of? raise trap
|
46
|
+
caller_locations instance_variable_defined? rand trust
|
47
|
+
catch instance_variable_get readline untaint
|
48
|
+
class instance_variable_set readlines untrace_var
|
49
|
+
clone instance_variables remove_instance_variable untrust
|
50
|
+
define_singleton_method is_a? require untrusted?
|
51
|
+
display iterator? require_relative warn
|
52
|
+
dup itself respond_to?
|
62
53
|
Looksee::ObjectMixin
|
63
54
|
ls
|
64
55
|
Object
|
65
|
-
default_src_encoding irb_binding
|
56
|
+
DelegateClass default_src_encoding irb_binding
|
66
57
|
Enumerable
|
67
|
-
all?
|
68
|
-
any?
|
69
|
-
chunk
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
drop find_index member? reverse_each
|
76
|
-
drop_while first min select
|
58
|
+
all? detect entries group_by min reject take
|
59
|
+
any? drop find include? min_by reverse_each take_while
|
60
|
+
chunk drop_while find_all inject minmax select to_a
|
61
|
+
chunk_while each_cons find_index lazy minmax_by slice_after to_h
|
62
|
+
collect each_entry first map none? slice_before to_set
|
63
|
+
collect_concat each_slice flat_map max one? slice_when zip
|
64
|
+
count each_with_index grep max_by partition sort
|
65
|
+
cycle each_with_object grep_v member? reduce sort_by
|
77
66
|
Array
|
78
|
-
&
|
79
|
-
*
|
80
|
-
+
|
81
|
-
-
|
82
|
-
<<
|
83
|
-
<=>
|
84
|
-
==
|
85
|
-
[]
|
86
|
-
[]=
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
compact! flatten! product shuffle zip
|
95
|
-
concat frozen? push shuffle! |
|
67
|
+
& collect! eql? keep_if reverse sort!
|
68
|
+
* combination fetch last reverse! sort_by!
|
69
|
+
+ compact fill length reverse_each take
|
70
|
+
- compact! find_index map rindex take_while
|
71
|
+
<< concat first map! rotate to_a
|
72
|
+
<=> count flatten pack rotate! to_ary
|
73
|
+
== cycle flatten! permutation sample to_h
|
74
|
+
[] delete frozen? pop select to_s
|
75
|
+
[]= delete_at hash product select! transpose
|
76
|
+
any? delete_if include? push shift uniq
|
77
|
+
assoc dig index rassoc shuffle uniq!
|
78
|
+
at drop initialize reject shuffle! unshift
|
79
|
+
bsearch drop_while initialize_copy reject! size values_at
|
80
|
+
bsearch_index each insert repeated_combination slice zip
|
81
|
+
clear each_index inspect repeated_permutation slice! |
|
82
|
+
collect empty? join replace sort
|
96
83
|
|
97
84
|
Methods are colored according to whether they're public, protected,
|
98
85
|
private, undefined (using Module#undef_method), or overridden.
|
99
86
|
|
87
|
+
(Undefined methods are not shown on MRI 2.3 due to interpreter limitations.)
|
88
|
+
|
100
89
|
You can hide, say, private methods like this:
|
101
90
|
|
102
91
|
irb> [].ls :noprivate
|
@@ -123,9 +112,8 @@ always do:
|
|
123
112
|
|
124
113
|
Looksee[object]
|
125
114
|
|
126
|
-
This
|
127
|
-
|
128
|
-
have an `ls` method. `Object#ls` is simply a wrapper around `Looksee.[]`.
|
115
|
+
This will also work for `BasicObject` instances that don't have an `ls` method.
|
116
|
+
`Object#ls` is simply a wrapper around `Looksee.[]`.
|
129
117
|
|
130
118
|
## To the source!
|
131
119
|
|
@@ -154,14 +142,6 @@ We've got one:
|
|
154
142
|
|
155
143
|
Enjoy!
|
156
144
|
|
157
|
-
## Support
|
158
|
-
|
159
|
-
Looksee supports:
|
160
|
-
|
161
|
-
* MRI 1.9.3, 2.0, 2.1, 2.2
|
162
|
-
* JRuby 1.7
|
163
|
-
* Rubinius 2.4
|
164
|
-
|
165
145
|
## Contributing
|
166
146
|
|
167
147
|
* [Bug reports](https://github.com/oggy/looksee/issues)
|
data/ext/extconf.rb
CHANGED
@@ -4,16 +4,12 @@ extension = ruby_engine == 'ruby' ? 'mri' : ruby_engine
|
|
4
4
|
require 'mkmf'
|
5
5
|
$CPPFLAGS << " -DRUBY_VERSION=#{RUBY_VERSION.tr('.', '')}"
|
6
6
|
if extension == 'mri'
|
7
|
-
if RUBY_VERSION >= '2.
|
7
|
+
if RUBY_VERSION >= '2.3.0'
|
8
|
+
$CPPFLAGS << " -Imri/2.3.0"
|
9
|
+
elsif RUBY_VERSION >= '2.2.0'
|
8
10
|
$CPPFLAGS << " -Imri/2.2.0"
|
9
11
|
elsif RUBY_VERSION >= '2.1.0'
|
10
12
|
$CPPFLAGS << " -Imri/2.1.0"
|
11
|
-
elsif RUBY_VERSION >= '2.0.0'
|
12
|
-
$CPPFLAGS << " -Imri/2.0.0"
|
13
|
-
elsif RUBY_VERSION >= '1.9.3'
|
14
|
-
$CPPFLAGS << " -Imri/1.9.3"
|
15
|
-
elsif RUBY_VERSION >= '1.9.2'
|
16
|
-
$CPPFLAGS << " -Imri/1.9.2"
|
17
13
|
end
|
18
14
|
end
|
19
15
|
create_makefile "looksee/#{extension}", extension
|