irbtools-more 2.2.1 → 2.3.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
- SHA1:
3
- metadata.gz: a5a20dd948c1d72c87c8241f0bcd947362b852fa
4
- data.tar.gz: 5b9e27b44f2575c65b55071aa6adc4a0a1b02078
2
+ SHA256:
3
+ metadata.gz: 54413dd124a0ce1fd6d4823eeb852e43dd64f5ba204d7c30b91f7a0ddf810d47
4
+ data.tar.gz: 1e90b6bed533a97e6b3efa641bcd153f2f668fb586c340360eb4f63af661964e
5
5
  SHA512:
6
- metadata.gz: c95d7afe23e427eae35d2ea37a1258b96319d0e3329f045f3355dcf4733b8be0987923ebad17a3905e65f473ae8b956e3c6ae11167769ed8641b80cced3d86d8
7
- data.tar.gz: e8d31e0fad815144ee0d42d8883867623e753848c309e13639123d1af498f3ceea84fd6abc00fae1858bc83a81cab0b3b913d2fbb01da02112ceec6ed8f3bf1e
6
+ metadata.gz: 36146ca0e1fd51c0124753be15e52cc1f0b348be9fb7c4d366d85f1d97611a30381c93058521e40ff5d7cfbd2960e7d478a25b44fd8c942a2a5ad6ab9235326d
7
+ data.tar.gz: d6c0a6e8c33532631849e11fa78a7834a663e8818906fd1a95bc2abb192dd592bd7e763d65dfb69e0198664226f0188f24490b56f23743675b392e4cec6df592
@@ -1,3 +1,7 @@
1
+ == 2.3.0
2
+ * Remove dependency to did_you_mean, since it is now a default gem anyways
3
+ * Version bump: irbtools, looksee, core_docs, and binding_of_caller
4
+
1
5
  == 2.2.1
2
6
  * Add core_docs dependency
3
7
 
@@ -1,4 +1,4 @@
1
- Copyright (c) 2010-2015 Jan Lelis
1
+ Copyright (c) 2010-2019 Jan Lelis
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Irbtools [![version](https://badge.fury.io/rb/irbtools.svg)](http://badge.fury.io/rb/irbtools)
1
+ # Irbtools [![version](https://badge.fury.io/rb/irbtools.svg)](https://badge.fury.io/rb/irbtools)
2
2
 
3
3
  _ _| | | |
4
4
  | __| __ \ __| _ \ _ \ | __|
@@ -52,18 +52,16 @@ and edit your Gemfile to
52
52
  [wirb](https://github.com/janlelis/wirb/)
53
53
  [fancy_irb](https://github.com/janlelis/fancy_irb)
54
54
  * Custom views for specific objects:
55
- [hirb](http://tagaholic.me/2009/03/13/hirb-irb-on-the-good-stuff.html)
56
- * **(irbtools-more)** Correction suggestions for misspelled method/constant names:
57
- [did_you_mean](https://github.com/yuki24/did_you_mean)
55
+ [hirb](https://tagaholic.me/2009/03/13/hirb-irb-on-the-good-stuff.html)
58
56
  * **(irbtools-more)** Better tab-completion:
59
- [bond](http://tagaholic.me/bond/)
57
+ [bond](https://tagaholic.me/bond/)
60
58
 
61
59
  #### Utils
62
60
 
63
61
  * Useful IRB commands (see below):
64
62
  [every_day_irb](https://github.com/janlelis/irbtools/tree/master/lib/every_day_irb.rb)
65
63
  [debugging](https://github.com/janlelis/debugging)
66
- [fileutils](http://ruby-doc.org/stdlib-2.2.1/libdoc/fileutils/rdoc/FileUtils.html)
64
+ [fileutils](https://ruby-doc.org/stdlib/libdoc/fileutils/rdoc/FileUtils.html)
67
65
  * Clipboard Access:
68
66
  [clipboard](https://github.com/janlelis/clipboard)
69
67
  * Terminal colors:
@@ -96,7 +94,7 @@ and edit your Gemfile to
96
94
 
97
95
  Besides improving IRB itself, you will get the following methods:
98
96
 
99
- Method | Arguments | Description
97
+ Method / Constant | Arguments | Description
100
98
  ------ | ---------- | -----------
101
99
  `beep` | | Ring terminal bell.
102
100
  `cat` | path | Read file contents.
@@ -108,14 +106,14 @@ Method | Arguments | Description
108
106
  `copy_input` | | Copy session history to the clipboard.
109
107
  `copy_output` | | Copy session output history to the clipboard.
110
108
  `ed` / `emacs` / `mate` / `mvim` / `nano` / `vi` / `vim` | filename = nil | Start an editor in the session context.
111
- `engine` | | Show the Ruby engine.
109
+ `RubyEngine` | | Show the Ruby engine.
112
110
  `howtocall` | object = self, method_or_proc | Displays parameter names and types for a proc or method.
113
- `info` | | List general information about the Ruby environment.
111
+ `RubyInfo` | | List general information about the Ruby environment.
114
112
  `ld` | file | Shortcut for `load lib.to_s + '.rb'`.
115
113
  `ls` | path = "." | List directory content.
116
114
  `mf` | object1, object2 | Find methods that turn one value into another value.
117
115
  `mof` | object, depth = 0, grep = // | Print a method list, ordered by modules.
118
- `os` | | Query operating system information.
116
+ `OS` | | Query operating system information.
119
117
  `pa` | string, color | Print a string in the specified color.
120
118
  `page` | what, options = {} | Page long content.
121
119
  `paste` | | Paste clipboard content.
@@ -127,7 +125,7 @@ Method | Arguments | Description
127
125
  `rr` | lib | Shortcut for `require_relative lib.to_s`.
128
126
  `rrq` / `rerequire` | lib | Hack to remove a library from `$LOADED_FEATURES` and `require` it again.
129
127
  `session_history` | number_of_lines = nil | Return a string of all commands issued in the current session.
130
- `version` | | Show the Ruby version.
128
+ `RubyVersion` | | Show the Ruby version.
131
129
  `wp` | inspect_string | Syntax-highlight a Ruby object.
132
130
  `Object#instance` | | Proxy object to read and manipulate instance variables / run eval (not loaded in Rails context).
133
131
  `Object#lp` | | **(irbtools-more)** Supercharged method introspection in IRB.
@@ -144,13 +142,15 @@ See [CONFIGURE.md](https://github.com/janlelis/irbtools/blob/master/CONFIGURE.md
144
142
 
145
143
  Windows: ANSI support can be enabled via
146
144
  [ansicon](https://github.com/adoxa/ansicon) or
147
- [ConEmu](http://code.google.com/p/conemu-maximus5/).
145
+ [ConEmu](https://conemu.github.io/) or
146
+ [WSL](https://docs.microsoft.com/en-us/windows/wsl/about).
148
147
 
149
148
 
150
149
  ### Troubleshooting: Clipboard not working on Linux
151
150
 
152
- Clipboard support requires **xclip** or **xsel**. On ubuntu, do: `sudo apt-get
153
- install xclip`
151
+ Clipboard support requires **xsel** or **xclip**. On ubuntu, do:
152
+
153
+ sudo apt-get install xsel
154
154
 
155
155
 
156
156
  ### Troubleshooting: Unicode causes wrong display widths
@@ -192,5 +192,5 @@ Irbtools.start
192
192
 
193
193
  ## J-_-L
194
194
 
195
- Copyright (c) 2010-2015 Jan Lelis <http://janlelis.com> released under the MIT
195
+ Copyright (c) 2010-2019 Jan Lelis <https://janlelis.com> released under the MIT
196
196
  license.
@@ -24,11 +24,10 @@ Gem::Specification.new do |s|
24
24
  s.license = 'MIT'
25
25
 
26
26
  s.required_ruby_version = '~> 2.0'
27
- s.add_dependency 'irbtools', '~> 2.0'
27
+ s.add_dependency 'irbtools', '~> 2.2'
28
28
  s.add_dependency 'bond', '~> 0.5'
29
- s.add_dependency 'looksee' , '~> 4.0'
30
- s.add_dependency 'core_docs', '>= 0.9.2'
31
- s.add_dependency 'binding_of_caller', '~> 0.7'
32
- s.add_dependency 'did_you_mean', '~> 1.0'
29
+ s.add_dependency 'looksee' , '~> 4.1'
30
+ s.add_dependency 'core_docs', '>= 0.9.4'
31
+ s.add_dependency 'binding_of_caller', '~> 0.8'
33
32
  end
34
33
 
@@ -18,9 +18,6 @@ rescue LoadError
18
18
  # do not load if not supported
19
19
  end
20
20
 
21
- # new guessmethod
22
- Irbtools.add_library 'did_you_mean', thread: :more3
23
-
24
21
  # load now
25
22
  Irbtools.start if standalone
26
23
 
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Irbtools
2
4
  module More
3
- VERSION = '2.2.1'.freeze
5
+ VERSION = "2.3.0"
4
6
  end
5
7
  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.2.1
4
+ version: 2.3.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: 2017-11-16 00:00:00.000000000 Z
11
+ date: 2019-04-01 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: '2.0'
19
+ version: '2.2'
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: '2.0'
26
+ version: '2.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bond
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,56 +44,42 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '4.0'
47
+ version: '4.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: '4.0'
54
+ version: '4.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: core_docs
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 0.9.2
61
+ version: 0.9.4
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 0.9.2
68
+ version: 0.9.4
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: binding_of_caller
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '0.7'
75
+ version: '0.8'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '0.7'
83
- - !ruby/object:Gem::Dependency
84
- name: did_you_mean
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '1.0'
90
- type: :runtime
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '1.0'
82
+ version: '0.8'
97
83
  description: irbtools-more adds bond and looksee to IRB (Gems that use core extensions).
98
84
  Simply put a require "irbtools/more" in the .irbrc file in your home directory to
99
85
  get started.
@@ -131,8 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
117
  - !ruby/object:Gem::Version
132
118
  version: '0'
133
119
  requirements: []
134
- rubyforge_project:
135
- rubygems_version: 2.6.13
120
+ rubygems_version: 3.0.3
136
121
  signing_key:
137
122
  specification_version: 4
138
123
  summary: irbtools-more adds bond and looksee to IRB.