irbtools-more 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff4dd7105b11ed9d3fd8b5237f40b8acbfe681e9
4
- data.tar.gz: f96ebacf9fc0890463e36d14e3d618eddfd3bde6
3
+ metadata.gz: b73990ffcc5007637c8fb94682241d3a6859b808
4
+ data.tar.gz: 50845b99435aa971401c13d8a4fdb97306ec6ef3
5
5
  SHA512:
6
- metadata.gz: c44bd5ff8423af18cd1daaeaa171642c615aa70bac09fb05acadc7b5cc78df57b2b465e4abc64153a9decc4428be9d5dcd45c47428485996b33cd99448e3a5c9
7
- data.tar.gz: 7fc54f0e622be8906f04682acd5599edc53ad83879d2867f48bbde1d437ed9aceeb3253637766c684db25a677181f89d66089c7935e993f2fc2136eb702f6d28
6
+ metadata.gz: c54011ccb9ccf463df3a516bf9bd95ff42585e3b6f5d62b37924e20e5e7777140dae921ce7c03ac4776f158b68855463943f5bb7a8c5d9ba038fccbc5fd01703
7
+ data.tar.gz: d39e527b69cc475a60f6244498512177796e69685215ab2b5ee99dce022d51bb02495dc9328a2969c4ff9df3ec16c415b285a404357acd95cdde7cece7626607
data/CHANGELOG-MORE.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 2.1.0
2
+ * Ruby 2.3 compat: Upgrade did_you_mean to ~> 1.0
3
+ * Ruby 2.3 compat: Disable looksee gem as long it is not adapted for 2.3
4
+
1
5
  == 2.0.0
2
6
  * Integrate more-repo into irbtools main repo
3
7
  * Improve auto-completion
data/README.md CHANGED
@@ -61,9 +61,8 @@ and edit your Gemfile to
61
61
  #### Utils
62
62
 
63
63
  * Useful IRB commands (see below):
64
- [every_day_irb](https://github.com/janlelis/irbtools/tree/master/lib/every
65
- _day_irb.rb)
66
- [debugging](https:/github.com/janlelis/debugging)
64
+ [every_day_irb](https://github.com/janlelis/irbtools/tree/master/lib/every_day_irb.rb)
65
+ [debugging](https://github.com/janlelis/debugging)
67
66
  [fileutils](http://ruby-doc.org/stdlib-2.2.1/libdoc/fileutils/rdoc/FileUtils.html)
68
67
  * Clipboard Access:
69
68
  [clipboard](https://github.com/janlelis/clipboard)
@@ -76,7 +75,7 @@ and edit your Gemfile to
76
75
 
77
76
  * Displays a method's source:
78
77
  [code](https://github.com/janlelis/code)
79
- * Access to `ri` docs:
78
+ * Access to *ri* docs:
80
79
  [ori](https://github.com/dadooda/ori)
81
80
  * Manipulate instance variables with ease:
82
81
  [instance](https://github.com/rubyworks/instance/)
@@ -89,7 +88,7 @@ and edit your Gemfile to
89
88
  [method_locator](https://github.com/ryanlecompte/method_locator)
90
89
  * Finds methods that turn one value into another value:
91
90
  [methodfinder](https://github.com/citizen428/methodfinder)
92
- * **irbtools-more** Awesome lookup path inspection:
91
+ * **(irbtools-more)** Awesome lookup path inspection:
93
92
  [looksee](https://github.com/oggy/looksee)
94
93
 
95
94
 
@@ -110,12 +109,11 @@ Method | Arguments | Description
110
109
  `copy_output` | | Copy session output history to the clipboard.
111
110
  `ed` / `emacs` / `mate` / `mvim` / `nano` / `vi` / `vim` | filename = nil | Start an editor in the session context.
112
111
  `engine` | | Show the Ruby engine.
113
- `g` | *args | Like `Kernel#p`, but using terminal-notifier or growl.
114
112
  `howtocall` | object = self, method_or_proc | Displays parameter names and types for a proc or method.
115
113
  `info` | | List general information about the Ruby environment.
116
114
  `ld` | file | Shortcut for `load lib.to_s + '.rb'`.
117
115
  `ls` | path = "." | List directory content.
118
- `mf` | object1, object2 | Find methods that turn one value into another value:w
116
+ `mf` | object1, object2 | Find methods that turn one value into another value.
119
117
  `mof` | object, depth = 0, grep = // | Print a method list, ordered by modules.
120
118
  `os` | | Query operating system information.
121
119
  `pa` | string, color | Print a string in the specified color.
@@ -126,12 +124,13 @@ Method | Arguments | Description
126
124
  `re` | string, regexg, groups = nil | Assists you when matching regexes againts strings.
127
125
  `reset!` | | Restart the current IRB session.
128
126
  `rq` | lib | Shortcut for `require lib.to_s`. Use it like this: `rq:prime`.
127
+ `rr` | lib | Shortcut for `require_relative lib.to_s`.
129
128
  `rrq` / `rerequire` | lib | Hack to remove a library from `$LOADED_FEATURES` and `require` it again.
130
129
  `session_history` | number_of_lines = nil | Return a string of all commands issued in the current session.
131
130
  `version` | | Show the Ruby version.
132
131
  `wp` | inspect_string | Syntax-highlight a Ruby object.
133
132
  `Object#instance` | | Proxy object to read and manipulate instance variables / run eval.
134
- `Object#lp` | | **irbtools-more** Supercharged method introspection in IRB
133
+ `Object#lp` | | **(irbtools-more)** Supercharged method introspection in IRB.
135
134
  `Object#mlp` / `Object#method_lookup_path` | | Traverse an object's method lookup path to find all places where a method may be defined.
136
135
  `Object#ri` | *args | Show ri documentation for this object or method.
137
136
 
@@ -156,12 +155,14 @@ install xclip`
156
155
 
157
156
  ### Troubleshooting: Unicode causes wrong display widths
158
157
 
159
- If you use double-width unicode characterss, you will need to paste the
160
- following snippet to your `.irbrc` file.
158
+ If you use double-width unicode characters, you will need to paste the
159
+ following snippet to your `~/.irbrc` file.
161
160
 
162
- Irbtools.replace_library_callback :fancy_irb do
163
- FancyIrb.start east_asian_width: true
164
- end
161
+ ```ruby
162
+ Irbtools.replace_library_callback :fancy_irb do
163
+ FancyIrb.start east_asian_width: true
164
+ end
165
+ ```
165
166
 
166
167
  This setting is deactivated by default, because of performance issues.
167
168
 
@@ -26,8 +26,8 @@ Gem::Specification.new do |s|
26
26
  s.required_ruby_version = '~> 2.0'
27
27
  s.add_dependency 'irbtools', '~> 2.0'
28
28
  s.add_dependency 'bond', '~> 0.5'
29
- s.add_dependency 'looksee' , '~> 3.1'
29
+ # s.add_dependency 'looksee' , '~> 3.1'
30
30
  s.add_dependency 'binding_of_caller', '~> 0.7'
31
- s.add_dependency 'did_you_mean', '~> 0.9', '>= 0.9.6'
31
+ s.add_dependency 'did_you_mean', '~> 1.0'
32
32
  end
33
33
 
data/lib/irbtools/more.rb CHANGED
@@ -10,9 +10,9 @@ Irbtools.add_library :bond, thread: :more1 do
10
10
  end
11
11
 
12
12
  # Object#l method for inspecting its lookup path
13
- Irbtools.add_library 'looksee', thread: :more2 do
14
- Looksee.rename :lp
15
- end
13
+ # Irbtools.add_library 'looksee', thread: :more2 do
14
+ # Looksee.rename :lp
15
+ # end
16
16
 
17
17
  # new guessmethod
18
18
  Irbtools.add_library 'did_you_mean', thread: :more3
@@ -1,5 +1,5 @@
1
1
  module Irbtools
2
2
  module More
3
- VERSION = '2.0.0'.freeze
3
+ VERSION = '2.1.0'.freeze
4
4
  end
5
5
  end
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: 2.0.0
4
+ version: 2.1.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: 2015-03-29 00:00:00.000000000 Z
11
+ date: 2016-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: irbtools
@@ -38,20 +38,6 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0.5'
41
- - !ruby/object:Gem::Dependency
42
- name: looksee
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '3.1'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '3.1'
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: binding_of_caller
57
43
  requirement: !ruby/object:Gem::Requirement
@@ -72,20 +58,14 @@ dependencies:
72
58
  requirements:
73
59
  - - "~>"
74
60
  - !ruby/object:Gem::Version
75
- version: '0.9'
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- version: 0.9.6
61
+ version: '1.0'
79
62
  type: :runtime
80
63
  prerelease: false
81
64
  version_requirements: !ruby/object:Gem::Requirement
82
65
  requirements:
83
66
  - - "~>"
84
67
  - !ruby/object:Gem::Version
85
- version: '0.9'
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- version: 0.9.6
68
+ version: '1.0'
89
69
  description: irbtools-more adds bond and looksee to IRB (Gems that use core extensions).
90
70
  Simply put a require "irbtools/more" in the .irbrc file in your home directory to
91
71
  get started.
@@ -124,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
124
104
  version: '0'
125
105
  requirements: []
126
106
  rubyforge_project:
127
- rubygems_version: 2.4.6
107
+ rubygems_version: 2.5.1
128
108
  signing_key:
129
109
  specification_version: 4
130
110
  summary: irbtools-more adds bond and looksee to IRB.