irbtools-more 1.6.1 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e8436655f1c3abfe0fa6cb3fdbd2db3104178676
4
- data.tar.gz: e5fed1caa48b4cb05928fa23feec31a481302131
3
+ metadata.gz: 520b835e15d1a3768bc8f5e6d33a9405b8752362
4
+ data.tar.gz: 21ca7a48828996bfb5e826086639d78a590fcd0d
5
5
  SHA512:
6
- metadata.gz: 49cd0d55bba6eeb9a1651659671156c621a17a0222fec8d0716fd48e21c9843d5042b2b3d189a713f9d6e9e7b53f1d5324f3fa3205ff8dd7b93b399ce5470399
7
- data.tar.gz: 04b77b94ced08eea78a45d0075b9ca3d82dcee13ae14c75f309bf05144af1fd310c729f30d4ee0193fb9e3f3b44417dba6d12269ee2705b21ba75d552867a11d
6
+ metadata.gz: f6214ff97dd6ce0d1284dd67714b8cdbe56e91b446a7af0629ba96eddd175b72bd0b346af4e44dcfee81d856b1bd6befe1669632fb0d59003e1180b50e2bd40e
7
+ data.tar.gz: 1185c526fc59d2b9a15d83f3f25205cea57f1c7f8b2a6b4912095910cb549966856c3788d55aac9550c3a3abe7f951d7abccccf35b4d913a2fc3a557cfc7cec4
data/CHANGELOG CHANGED
@@ -1,3 +1,8 @@
1
+ == 1.7.0
2
+ * Bump looksee
3
+ * Ruby 1.9.3 required
4
+ * Add did_you_mean gem
5
+
1
6
  == 1.6.1
2
7
  * Add binding_of_caller
3
8
  * Alias looksee to Object#lp instead of Object#ls
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 it does not exist, just create a new one. It's possible to modify, which libraries get loaded:
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.de. See LICENSE for details.
40
+ Copyright (c) 2010-2014 Jan Lelis, http://janlelis.com. See MIT-LICENSE for details.
@@ -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.2'
16
- s.add_dependency 'irbtools', '~> 1.6'
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.0'
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.6.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.6.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-02-16 00:00:00.000000000 Z
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.6'
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.6'
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.0'
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.0'
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.2
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.1
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.