debugging 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.rdoc +5 -0
- data/Gemfile.lock +3 -9
- data/README.rdoc +31 -10
- data/debugging.gemspec +1 -1
- data/lib/debugging/version.rb +1 -1
- data/pkg/debugging-1.0.0.gem +0 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f08f3bb8171321fe60a78041de7f159421f5477
|
4
|
+
data.tar.gz: a50819867de9b5e56b33202c099f112b0f2adbfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ec7e8faa494d0060dd87b39de06a831d6f27990b7f493dd26acd95b0c324f18a55ee0cff67abab8356991bc9f5db0fa6deb3d59eb553f1cd21a63b928cd4959
|
7
|
+
data.tar.gz: f87e063c972fa199ed7b8f20f7e12edd57419dbd2860a5df8fc9dd74013de935833f24ad3bfd9fe8ad5612c1de39827b09e734fbf518865f3765030f45d4b3a2
|
data/ChangeLog.rdoc
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,24 +1,20 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
debugging (1.0.
|
5
|
-
binding.repl (~>
|
4
|
+
debugging (1.0.1)
|
5
|
+
binding.repl (~> 1)
|
6
6
|
paint (~> 0, >= 0.8.7)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
binding.repl (0.
|
12
|
-
toml (~> 0.0.3)
|
11
|
+
binding.repl (1.0.1)
|
13
12
|
binding_of_caller (0.7.2)
|
14
13
|
debug_inspector (>= 0.0.1)
|
15
|
-
blankslate (2.1.2.4)
|
16
14
|
debug_inspector (0.0.2)
|
17
15
|
diff-lcs (1.2.5)
|
18
16
|
json (1.8.1)
|
19
17
|
paint (0.8.7)
|
20
|
-
parslet (1.5.0)
|
21
|
-
blankslate (~> 2.0)
|
22
18
|
rake (10.1.1)
|
23
19
|
rdoc (3.12.2)
|
24
20
|
json (~> 1.4)
|
@@ -32,8 +28,6 @@ GEM
|
|
32
28
|
rspec-mocks (2.14.4)
|
33
29
|
rubygems-tasks (0.2.4)
|
34
30
|
rubysl-singleton (2.0.0)
|
35
|
-
toml (0.0.4)
|
36
|
-
parslet
|
37
31
|
|
38
32
|
PLATFORMS
|
39
33
|
ruby
|
data/README.rdoc
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
Or in your Gemfile:
|
10
10
|
|
11
|
-
gem 'debugging'
|
11
|
+
gem 'debugging', require: 'debugging/all'
|
12
12
|
gem 'binding_of_caller'
|
13
13
|
|
14
14
|
|
@@ -26,7 +26,7 @@ In Ruby:
|
|
26
26
|
|
27
27
|
=== beep
|
28
28
|
|
29
|
-
|
29
|
+
Lets your terminal bell ring.
|
30
30
|
|
31
31
|
|
32
32
|
=== callstack
|
@@ -52,24 +52,45 @@ In Ruby:
|
|
52
52
|
|
53
53
|
=== mof(obj, depth = nil)
|
54
54
|
|
55
|
-
|
55
|
+
"methods of:"
|
56
56
|
|
57
57
|
>> mof [1,2,3]
|
58
58
|
###
|
59
59
|
Eigenclass
|
60
60
|
|
61
61
|
Array
|
62
|
-
inspect to_s to_a to_h to_ary frozen? == eql? hash [] []= at
|
62
|
+
inspect to_s to_a to_h to_ary frozen? == eql? hash [] []= at fet
|
63
|
+
ch first last concat << push pop shift unshift insert each each_i
|
64
|
+
ndex reverse_each length size empty? find_index index rindex join r
|
65
|
+
everse reverse! rotate rotate! sort sort! sort_by! collect collect!
|
66
|
+
map map! select select! keep_if values_at delete delete_at delete_i
|
67
|
+
f reject reject! zip transpose replace clear fill include? <=> sli
|
68
|
+
ce slice! assoc rassoc + * - & | uniq uniq! compact compact! fl
|
69
|
+
atten flatten! count shuffle! shuffle sample cycle permutation combi
|
70
|
+
nation repeated_permutation repeated_combination product take take_whil
|
71
|
+
e drop drop_while bsearch pack
|
63
72
|
|
64
73
|
Enumerable
|
65
|
-
to_a entries to_h sort sort_by grep count find detect find_index
|
74
|
+
to_a entries to_h sort sort_by grep count find detect find_index f
|
75
|
+
ind_all select reject collect map flat_map collect_concat inject red
|
76
|
+
uce partition group_by first all? any? one? none? min max minmax
|
77
|
+
min_by max_by minmax_by member? include? each_with_index reverse_each
|
78
|
+
each_entry each_slice each_cons each_with_object zip take take_while
|
79
|
+
drop drop_while cycle chunk slice_before lazy
|
66
80
|
|
67
81
|
Object
|
68
82
|
|
69
83
|
Debugging
|
70
84
|
|
71
85
|
Kernel
|
72
|
-
nil? === =~ !~ eql? hash <=> class singleton_class clone dup
|
86
|
+
nil? === =~ !~ eql? hash <=> class singleton_class clone dup tain
|
87
|
+
t tainted? untaint untrust untrusted? trust freeze frozen? to_s ins
|
88
|
+
pect methods singleton_methods protected_methods private_methods public
|
89
|
+
_methods instance_variables instance_variable_get instance_variable_set
|
90
|
+
instance_variable_defined? remove_instance_variable instance_of? kind_of?
|
91
|
+
is_a? tap send public_send respond_to? extend display method publi
|
92
|
+
c_method singleton_method define_singleton_method object_id to_enum enu
|
93
|
+
m_for
|
73
94
|
|
74
95
|
BasicObject
|
75
96
|
== equal? ! != instance_eval instance_exec __send__ __id__
|
@@ -82,14 +103,14 @@ Methods of:
|
|
82
103
|
|
83
104
|
=== re(string, regex, groups = nil)
|
84
105
|
|
85
|
-
|
106
|
+
Assists you when matching regexes againts strings. Try this one:
|
86
107
|
|
87
|
-
|
108
|
+
re "mail@janlelis.de", /\b([A-Z0-9._%+-]+)@([A-Z0-9.-]+\.[A-Z]{2,10})\b/i, 0..2
|
88
109
|
|
89
110
|
|
90
111
|
=== repl
|
91
112
|
|
92
|
-
|
113
|
+
Starts your favorite IRB session.
|
93
114
|
|
94
115
|
|
95
116
|
== Also See
|
@@ -99,4 +120,4 @@ https://github.com/davejacobs/letters
|
|
99
120
|
|
100
121
|
== J-_-L
|
101
122
|
|
102
|
-
Copyright (c) 2010-2014 Jan Lelis. MIT License. Originated from the zucker gem.
|
123
|
+
Copyright (c) 2010-2014 Jan Lelis. MIT License. Originated from the zucker gem.
|
data/debugging.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.require_paths = ['lib']
|
19
19
|
|
20
20
|
gem.add_dependency 'paint', '~> 0', '>= 0.8.7'
|
21
|
-
gem.add_dependency 'binding.repl', '~>
|
21
|
+
gem.add_dependency 'binding.repl', '~> 1'
|
22
22
|
|
23
23
|
gem.add_development_dependency 'bundler', '~> 1.0'
|
24
24
|
gem.add_development_dependency 'rake', '~> 10.1'
|
data/lib/debugging/version.rb
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: debugging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jan Lelis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: paint
|
@@ -36,14 +36,14 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
39
|
+
version: '1'
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
46
|
+
version: '1'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,6 +140,7 @@ files:
|
|
140
140
|
- lib/debugging/re.rb
|
141
141
|
- lib/debugging/repl.rb
|
142
142
|
- lib/debugging/version.rb
|
143
|
+
- pkg/debugging-1.0.0.gem
|
143
144
|
- spec/q_spec.rb
|
144
145
|
- spec/re_spec.rb
|
145
146
|
- spec/spec_helper.rb
|