irb-kit 0.9.0 → 1.1.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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +4 -1
- data/irb-kit.gemspec +3 -3
- data/lib/irb/kit/helpers/clip.rb +7 -2
- data.tar.gz.sig +0 -0
- metadata +6 -13
- metadata.gz.sig +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cef451519307b4c67a6ff7210a09c70a2efd20d500aafbcb87291eac89971af
|
4
|
+
data.tar.gz: a0d67c3ed74f9fdf6e48c9e73cab4f9e4ecd11f343190a5866c89f7b06477d0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 435cfe3c6c38d6e0a4fde7d65e78c75f8b8f248f6909124064e659fa7e589845b73872c7a7343757deffdaeb5762c3ec4f68e285186c077a5dedd3940908f4b5
|
7
|
+
data.tar.gz: e05b1d45b46fb66994c1c0705cb022854e5e3ba023dfc759ad322f55ba7f3ec261d6743cb02cc7de99f8d64683db485bbbbca158c8fef84f7b08e3739677628e
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/README.adoc
CHANGED
@@ -148,7 +148,8 @@ Several custom helpers are provided for you by this gem. Each is listed below as
|
|
148
148
|
|
149
149
|
....
|
150
150
|
Helper methods
|
151
|
-
|
151
|
+
conf Returns the current IRB context.
|
152
|
+
clip Copy input to macOS clipboard. DEPRECATED.
|
152
153
|
esource Edit the source code of a constant or method in your default editor.
|
153
154
|
paste Paste last entry from macOS clipboard.
|
154
155
|
search Search an object's methods by pattern.
|
@@ -165,6 +166,8 @@ Knowing this, you can disable all helpers entirely, use only the ones you care a
|
|
165
166
|
|
166
167
|
==== `clip`
|
167
168
|
|
169
|
+
⚠️ This helper is deprecated and _will be removed_ in the next major release. Use IRB's new `copy` helper instead.
|
170
|
+
|
168
171
|
Use this helper to copy output into the macOS clipboard. Example:
|
169
172
|
|
170
173
|
[source,ruby]
|
data/irb-kit.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "irb-kit"
|
5
|
-
spec.version = "
|
5
|
+
spec.version = "1.1.0"
|
6
6
|
spec.authors = ["Brooke Kuhlmann"]
|
7
7
|
spec.email = ["brooke@alchemists.io"]
|
8
8
|
spec.homepage = "https://alchemists.io/projects/irb-kit"
|
@@ -22,8 +22,8 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.signing_key = Gem.default_key_path
|
23
23
|
spec.cert_chain = [Gem.default_cert_path]
|
24
24
|
|
25
|
-
spec.required_ruby_version = "
|
26
|
-
spec.add_dependency "irb", "~> 1.
|
25
|
+
spec.required_ruby_version = "~> 3.4"
|
26
|
+
spec.add_dependency "irb", "~> 1.15"
|
27
27
|
spec.add_dependency "zeitwerk", "~> 2.7"
|
28
28
|
|
29
29
|
spec.extra_rdoc_files = Dir["README*", "LICENSE*"]
|
data/lib/irb/kit/helpers/clip.rb
CHANGED
@@ -7,14 +7,19 @@ module IRB
|
|
7
7
|
class Clip < IRB::HelperMethod::Base
|
8
8
|
MONIKER = :clip
|
9
9
|
|
10
|
-
description "Copy input to macOS clipboard."
|
10
|
+
description "Copy input to macOS clipboard. DEPRECATED."
|
11
11
|
|
12
12
|
def initialize handler: Handlers::Clipper.new
|
13
13
|
super()
|
14
14
|
@handler = handler
|
15
15
|
end
|
16
16
|
|
17
|
-
def execute(*)
|
17
|
+
def execute(*)
|
18
|
+
warn "`clip` is deprecated, use IRB's native `copy` helper instead.",
|
19
|
+
category: :deprecated
|
20
|
+
|
21
|
+
handler.call(*)
|
22
|
+
end
|
18
23
|
|
19
24
|
private
|
20
25
|
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,11 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: irb-kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain:
|
11
10
|
- |
|
@@ -35,7 +34,7 @@ cert_chain:
|
|
35
34
|
3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
|
36
35
|
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
37
36
|
-----END CERTIFICATE-----
|
38
|
-
date:
|
37
|
+
date: 2025-01-22 00:00:00.000000000 Z
|
39
38
|
dependencies:
|
40
39
|
- !ruby/object:Gem::Dependency
|
41
40
|
name: irb
|
@@ -43,14 +42,14 @@ dependencies:
|
|
43
42
|
requirements:
|
44
43
|
- - "~>"
|
45
44
|
- !ruby/object:Gem::Version
|
46
|
-
version: '1.
|
45
|
+
version: '1.15'
|
47
46
|
type: :runtime
|
48
47
|
prerelease: false
|
49
48
|
version_requirements: !ruby/object:Gem::Requirement
|
50
49
|
requirements:
|
51
50
|
- - "~>"
|
52
51
|
- !ruby/object:Gem::Version
|
53
|
-
version: '1.
|
52
|
+
version: '1.15'
|
54
53
|
- !ruby/object:Gem::Dependency
|
55
54
|
name: zeitwerk
|
56
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -65,7 +64,6 @@ dependencies:
|
|
65
64
|
- - "~>"
|
66
65
|
- !ruby/object:Gem::Version
|
67
66
|
version: '2.7'
|
68
|
-
description:
|
69
67
|
email:
|
70
68
|
- brooke@alchemists.io
|
71
69
|
executables: []
|
@@ -104,16 +102,12 @@ metadata:
|
|
104
102
|
label: IRB Kit
|
105
103
|
rubygems_mfa_required: 'true'
|
106
104
|
source_code_uri: https://github.com/bkuhlmann/irb-kit
|
107
|
-
post_install_message:
|
108
105
|
rdoc_options: []
|
109
106
|
require_paths:
|
110
107
|
- lib
|
111
108
|
required_ruby_version: !ruby/object:Gem::Requirement
|
112
109
|
requirements:
|
113
|
-
- - "
|
114
|
-
- !ruby/object:Gem::Version
|
115
|
-
version: '3.3'
|
116
|
-
- - "<="
|
110
|
+
- - "~>"
|
117
111
|
- !ruby/object:Gem::Version
|
118
112
|
version: '3.4'
|
119
113
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -122,8 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
116
|
- !ruby/object:Gem::Version
|
123
117
|
version: '0'
|
124
118
|
requirements: []
|
125
|
-
rubygems_version: 3.
|
126
|
-
signing_key:
|
119
|
+
rubygems_version: 3.6.3
|
127
120
|
specification_version: 4
|
128
121
|
summary: Extends IRB by providing additional productivity enhancements.
|
129
122
|
test_files: []
|
metadata.gz.sig
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
6 �H��K����_��]Q`�0A�:B��S�l?��9�*��$��/?L�䢄�$H1��^��/a��?P��*�*����$e�XF�.;i���VfP�]iŕ�x%)��[���fx��~�����w]߮��<�v�-24H/f�Zy���Ff.t[�i[mZ ޒE�!Z� [3{��>�H�
|
2
|
+
��c��ݡ�/��%��,I��m�j,����O�#��ʶ
|
3
|
+
rB5���-�JJ��i���4��`v����t���Ŕ��f�ǹ��p��4�a0�v�7��C'�y���7�+�v.9m�w���jZߓ�m�Qr�FW�����m{4%:���%���;<�]�Mҩ�S$i���˙� 1�_8on���)��$�*��
|