irbtools 2.0.0 → 2.0.1

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: bd8775be982770b7eccbe9b8a373d17dbde79af3
4
- data.tar.gz: 2b6b6ca680bbe778b051ba48a02a23a21e92fe9b
3
+ metadata.gz: 41e41d44165a1f5138c75024b3f526ea8fb574b7
4
+ data.tar.gz: 09d8581b7f2a2e4017ec98ef7eac5d06cafc1245
5
5
  SHA512:
6
- metadata.gz: 2551c24c94f4afd8138c6fc058564c3f46348edf367ecd2584d9e7887b7333ca38e67e38c3ecce2feedde8db044c11f122333986236520f355cecb845d9b6093
7
- data.tar.gz: 650846cfed1e20fae1d16f02cb4f9531be6fd8b16bfe1967d22a86e648aedd1cd3ef9d1d458b0940a9db1cf98833093ba56cea847f27c9d03c70601a1055262c
6
+ metadata.gz: 443b7235b85c1610675efa4bcb04693c1648fb97a3dd6d95119caf24c242792af62c605368eb8cdf6eabbcf3e1513670138d2021949d1a74f75f90979b3493c4
7
+ data.tar.gz: 00470adffec80d3c68dbfdc93a4b7439199cf6da71513c80a7310aa3078c8dca7a6cf8ca9e89ab95421fa7f653664ee6f36eb4728c4cf099c6271030332fc039
@@ -1,3 +1,6 @@
1
+ 2.0.1
2
+ * Remove g gem
3
+
1
4
  2.0.0
2
5
  * Use Wirb 2.0 and FancyIrb 1.0
3
6
  * Drop support for Ruby 1
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
 
@@ -32,8 +32,8 @@ Gem::Specification.new do |s|
32
32
  s.license = 'MIT'
33
33
 
34
34
  s.required_ruby_version = '~> 2.0'
35
- s. add_development_dependency 'rspec', '~> 3.2'
36
- s. add_development_dependency 'rake', '~> 10.4'
35
+ s.add_development_dependency 'rspec', '~> 3.2'
36
+ s.add_development_dependency 'rake', '~> 10.4'
37
37
 
38
38
  # # #
39
39
  # Dependencies
@@ -51,7 +51,6 @@ Gem::Specification.new do |s|
51
51
  s.add_dependency %q<interactive_editor>, "~> 0.0", ">= 0.0.10"
52
52
  s.add_dependency %q<coderay>, "~> 1.1"
53
53
  s.add_dependency %q<debugging>, "~> 1.1"
54
- s.add_dependency %q<g>, "~> 1.7", ">= 1.7.2"
55
54
 
56
55
  # introspection / docs
57
56
  s.add_dependency %q<code>, "~> 0.9"
@@ -41,8 +41,6 @@ require_relative 'hirb'
41
41
 
42
42
  Irbtools.add_library 'instance', thread: 30
43
43
 
44
- Irbtools.add_library 'g', thread: 40 if RbConfig::CONFIG['host_os'] =~ /mac|darwin/
45
-
46
44
  Irbtools.add_library 'ori', thread: 50 do
47
45
  class Object
48
46
  # patch ori to also allow shell-like "Array#slice" syntax
@@ -1,3 +1,3 @@
1
1
  module Irbtools
2
- VERSION = "2.0.0".freeze
2
+ VERSION = "2.0.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: irbtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.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: 2015-03-29 00:00:00.000000000 Z
11
+ date: 2015-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -202,26 +202,6 @@ dependencies:
202
202
  - - "~>"
203
203
  - !ruby/object:Gem::Version
204
204
  version: '1.1'
205
- - !ruby/object:Gem::Dependency
206
- name: g
207
- requirement: !ruby/object:Gem::Requirement
208
- requirements:
209
- - - "~>"
210
- - !ruby/object:Gem::Version
211
- version: '1.7'
212
- - - ">="
213
- - !ruby/object:Gem::Version
214
- version: 1.7.2
215
- type: :runtime
216
- prerelease: false
217
- version_requirements: !ruby/object:Gem::Requirement
218
- requirements:
219
- - - "~>"
220
- - !ruby/object:Gem::Version
221
- version: '1.7'
222
- - - ">="
223
- - !ruby/object:Gem::Version
224
- version: 1.7.2
225
205
  - !ruby/object:Gem::Dependency
226
206
  name: code
227
207
  requirement: !ruby/object:Gem::Requirement