irbtools 4.0.2 → 4.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/irbtools/commands/code.rb +1 -1
- data/lib/irbtools/commands/howtocall.rb +1 -1
- data/lib/irbtools/version.rb +1 -1
- data/spec/irbtools_commands_spec.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b58358f1aa92361e878698ca2c56a563077bec5239f97d2d78face3329cbf0a0
|
4
|
+
data.tar.gz: 30df1ace8241677ce0e55dba4bf2d0940950e1c4db0a9d0072af68ec6784d812
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22d390298fac5b5d21be5e912fbaa06659a9c755c88f9e4ade491513e46c45041ef1eee3cc8bd4b0da1f20ee52d03e24046a32becc9276552f8a98cab5c810a6
|
7
|
+
data.tar.gz: 6972f2ea4d8701f0b9be7c61c28e84c3a8cb8490a3963da5ba807b76225ce7403aa3e5f6713dde1e357b1e306e8e52445320ebd0b8f5dd635e5853a29095d2e5
|
data/CHANGELOG.md
CHANGED
data/lib/irbtools/version.rb
CHANGED
@@ -12,6 +12,12 @@ describe "irbtools commands" do
|
|
12
12
|
IRB::ExtendCommand::Code.transform_args("String#gsub")
|
13
13
|
).to eq "String, String.instance_method(:gsub)"
|
14
14
|
end
|
15
|
+
|
16
|
+
it "supports question-mark methods" do
|
17
|
+
expect(
|
18
|
+
IRB::ExtendCommand::Howtocall.transform_args("String#ascii_only?")
|
19
|
+
).to eq "String, String.instance_method(:ascii_only?)"
|
20
|
+
end
|
15
21
|
end
|
16
22
|
end
|
17
23
|
end
|