irbtools-more 1.6.1 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +5 -0
- data/{LICENSE → MIT-LICENSE} +0 -0
- data/README.rdoc +18 -14
- data/irbtools-more.gemspec +5 -4
- data/lib/irbtools/more.rb +3 -1
- metadata +24 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 520b835e15d1a3768bc8f5e6d33a9405b8752362
|
4
|
+
data.tar.gz: 21ca7a48828996bfb5e826086639d78a590fcd0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6214ff97dd6ce0d1284dd67714b8cdbe56e91b446a7af0629ba96eddd175b72bd0b346af4e44dcfee81d856b1bd6befe1669632fb0d59003e1180b50e2bd40e
|
7
|
+
data.tar.gz: 1185c526fc59d2b9a15d83f3f25205cea57f1c7f8b2a6b4912095910cb549966856c3788d55aac9550c3a3abe7f951d7abccccf35b4d913a2fc3a557cfc7cec4
|
data/CHANGELOG
CHANGED
data/{LICENSE → MIT-LICENSE}
RENAMED
File without changes
|
data/README.rdoc
CHANGED
@@ -1,36 +1,40 @@
|
|
1
1
|
= irbtools-more
|
2
2
|
|
3
|
-
<tt>irbtools-more</tt> adds more IRB gems which may not build out-of-the-box. Currently included: <tt>bond</tt> for better auto-completion and <tt>looksee</tt> for great method introspection. It also adds the <tt>binding_of_caller</tt> gem to enable starting IRB by just calling <tt>repl</tt> anywhere in your code. See the {irbtools readme}[https://github.com/janlelis/irbtools] for details.
|
3
|
+
<tt>irbtools-more</tt> adds more IRB gems which may not build out-of-the-box. Currently included: <tt>bond</tt> for better auto-completion and <tt>looksee</tt> for great method introspection. The <tt>did_you_mean</tt> gem is included to improve error stacktraces. It also adds the <tt>binding_of_caller</tt> gem to enable starting IRB by just calling <tt>repl</tt> anywhere in your code. See the {irbtools readme}[https://github.com/janlelis/irbtools] for details.
|
4
4
|
|
5
5
|
|
6
6
|
== Setup
|
7
7
|
|
8
|
+
=== With bundler
|
9
|
+
|
10
|
+
In your <tt>Gemfile</tt> put:
|
11
|
+
|
12
|
+
gem 'irbtools-more', require: 'debugging/repl'
|
13
|
+
|
14
|
+
|
15
|
+
=== With bundler (debundle hack)
|
16
|
+
|
17
|
+
See {debundle.rb}[https://github.com/janlelis/debundle.rb].
|
18
|
+
|
19
|
+
|
20
|
+
=== Without bundler
|
21
|
+
|
8
22
|
gem install irbtools-more
|
9
23
|
|
10
24
|
|
11
25
|
== Usage
|
12
26
|
|
13
|
-
To use it, put the following in your <tt>~/.irbrc</tt> file (this file is loaded every time you start an irb):
|
27
|
+
To use it, put the following in your <tt>~/.irbrc</tt> file (this file is loaded every time you start an irb, just create the file, if it does not exist, yet):
|
14
28
|
|
15
29
|
require 'irbtools/more'
|
16
30
|
|
17
|
-
If
|
31
|
+
If you want to customize which libraries you want to use, you can load irbtools-more explicitely:
|
18
32
|
|
19
33
|
require 'irbtools/configure'
|
20
34
|
Irbtools.add_package :more # adds this extension package
|
21
|
-
# here you can edit which libraries get loaded. See the irbtools README for details.
|
22
35
|
Irbtools.start
|
23
36
|
|
24
37
|
|
25
|
-
== Bundler Environments
|
26
|
-
|
27
|
-
In you <tt>Gemfile</tt>, you will need to add:
|
28
|
-
|
29
|
-
gem 'irbtools-more', require: 'debugging/repl'
|
30
|
-
|
31
|
-
Another way is to add a {debundle hack}[https://github.com/janlelis/debundle.rb] at the beginning of your <tt>~/.irbrc</tt>.
|
32
|
-
|
33
|
-
|
34
38
|
== J-_-L
|
35
39
|
|
36
|
-
Copyright (c) 2010-2014 Jan Lelis, http://janlelis.
|
40
|
+
Copyright (c) 2010-2014 Jan Lelis, http://janlelis.com. See MIT-LICENSE for details.
|
data/irbtools-more.gemspec
CHANGED
@@ -10,12 +10,13 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.homepage = %q{https://github.com/janlelis/irbtools-more}
|
11
11
|
s.summary = 'irbtools-more adds bond and looksee to IRB.'
|
12
12
|
s.description = 'irbtools-more adds bond and looksee to IRB (Gems that use core extensions). Simply put a require "irbtools/more" in the .irbrc file in your home directory to get started.'
|
13
|
-
s.extra_rdoc_files = %w[LICENSE README.rdoc]
|
13
|
+
s.extra_rdoc_files = %w[MIT-LICENSE README.rdoc]
|
14
14
|
s.files = Dir.glob(%w[lib/**/*.rb ]) + %w{CHANGELOG Rakefile irbtools-more.gemspec}
|
15
|
-
s.required_ruby_version = '>= 1.9.
|
16
|
-
s.add_dependency 'irbtools', '~> 1.
|
15
|
+
s.required_ruby_version = '>= 1.9.3'
|
16
|
+
s.add_dependency 'irbtools', '~> 1.7'
|
17
17
|
s.add_dependency 'bond', '~> 0.5'
|
18
|
-
s.add_dependency 'looksee' , '~> 2.
|
18
|
+
s.add_dependency 'looksee' , '~> 2.1'
|
19
19
|
s.add_dependency 'binding_of_caller', '~> 0.7'
|
20
|
+
s.add_dependency 'did_you_mean', '~> 0.8'
|
20
21
|
end
|
21
22
|
|
data/lib/irbtools/more.rb
CHANGED
@@ -4,7 +4,7 @@ standalone = !(defined? Irbtools)
|
|
4
4
|
# define version
|
5
5
|
module Irbtools
|
6
6
|
module More
|
7
|
-
VERSION = '1.
|
7
|
+
VERSION = '1.7.0'
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
@@ -34,6 +34,8 @@ end
|
|
34
34
|
Irbtools.add_library 'binding_of_caller', thread: 'more_3'
|
35
35
|
Irbtools.add_library 'debugging/repl', thread: 'more_3'
|
36
36
|
|
37
|
+
# new guessmethod
|
38
|
+
Irbtools.add_library 'did_you_mean', thread: 'more_4'
|
37
39
|
|
38
40
|
# load now
|
39
41
|
Irbtools.start if standalone
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: irbtools-more
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
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-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: irbtools
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.7'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bond
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '2.
|
47
|
+
version: '2.1'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '2.
|
54
|
+
version: '2.1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: binding_of_caller
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0.7'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: did_you_mean
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.8'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.8'
|
69
83
|
description: irbtools-more adds bond and looksee to IRB (Gems that use core extensions).
|
70
84
|
Simply put a require "irbtools/more" in the .irbrc file in your home directory to
|
71
85
|
get started.
|
@@ -73,11 +87,11 @@ email: mail@janlelis.de
|
|
73
87
|
executables: []
|
74
88
|
extensions: []
|
75
89
|
extra_rdoc_files:
|
76
|
-
- LICENSE
|
90
|
+
- MIT-LICENSE
|
77
91
|
- README.rdoc
|
78
92
|
files:
|
79
93
|
- CHANGELOG
|
80
|
-
- LICENSE
|
94
|
+
- MIT-LICENSE
|
81
95
|
- README.rdoc
|
82
96
|
- Rakefile
|
83
97
|
- irbtools-more.gemspec
|
@@ -95,7 +109,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
95
109
|
requirements:
|
96
110
|
- - ">="
|
97
111
|
- !ruby/object:Gem::Version
|
98
|
-
version: 1.9.
|
112
|
+
version: 1.9.3
|
99
113
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - ">="
|
@@ -103,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
117
|
version: '0'
|
104
118
|
requirements: []
|
105
119
|
rubyforge_project:
|
106
|
-
rubygems_version: 2.2.
|
120
|
+
rubygems_version: 2.2.2
|
107
121
|
signing_key:
|
108
122
|
specification_version: 4
|
109
123
|
summary: irbtools-more adds bond and looksee to IRB.
|