irb-kit 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/README.adoc +4 -1
- data/irb-kit.gemspec +2 -2
- data/lib/irb/kit/helpers/clip.rb +7 -2
- data.tar.gz.sig +0 -0
- metadata +5 -5
- metadata.gz.sig +3 -4
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 = "1.
|
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"
|
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.cert_chain = [Gem.default_cert_path]
|
24
24
|
|
25
25
|
spec.required_ruby_version = "~> 3.4"
|
26
|
-
spec.add_dependency "irb", "~> 1.
|
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,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: irb-kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brooke Kuhlmann
|
@@ -34,7 +34,7 @@ cert_chain:
|
|
34
34
|
3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
|
35
35
|
gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
|
36
36
|
-----END CERTIFICATE-----
|
37
|
-
date:
|
37
|
+
date: 2025-01-22 00:00:00.000000000 Z
|
38
38
|
dependencies:
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: irb
|
@@ -42,14 +42,14 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - "~>"
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: '1.
|
45
|
+
version: '1.15'
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
48
|
version_requirements: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
50
|
- - "~>"
|
51
51
|
- !ruby/object:Gem::Version
|
52
|
-
version: '1.
|
52
|
+
version: '1.15'
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: zeitwerk
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
requirements: []
|
119
|
-
rubygems_version: 3.6.
|
119
|
+
rubygems_version: 3.6.3
|
120
120
|
specification_version: 4
|
121
121
|
summary: Extends IRB by providing additional productivity enhancements.
|
122
122
|
test_files: []
|
metadata.gz.sig
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
s��?�^�|s�þ�8�}���M�q�k��j\%������{<��y�������N��y��fe���R����+�UL����e�d&�S4o�yi{��`��/F�l@9!_�j��߆�W ��mN����Hj��\��Ez_��<��(����tD��g%A�+�h�3Wѕ�K��x�2��s�&8b|a�l�,!����ۧ�o�%��
|
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���)��$�*��
|