yesno_extension 0.0.1 → 0.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 +10 -0
- data/VERSION +1 -1
- data/lib/yesno_extension.rb +3 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36f18d210d99bd804f6d8c2f89ab0f3668b4dd2c8158351799e54cfd98fbc519
|
4
|
+
data.tar.gz: 6f474c3c8ae76688954ea11a3d33edab0037a5a8fc3be7938c7f3c169951f468
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14bca4d3a6c11b4709507d5fda6b978fd1a94849fd11e3a834cef5834b20b0477183f4f9f801d6724a0aab6b4875b2e84453b5fe4182cdb74ba57dc0e0c8d0bd
|
7
|
+
data.tar.gz: 05f2d4084e47f3699a1930ce91c7c1bebcbb1b825f34edc79bb212f77c685107dca817fa7610a310e003174384bc474f2f1e1506b1e8270cd20a47798f2bccf6
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
data/lib/yesno_extension.rb
CHANGED
@@ -1,20 +1,20 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
TrueClass.class_eval do
|
4
4
|
# :nodoc:
|
5
5
|
def yesno
|
6
6
|
'Yes'
|
7
7
|
end
|
8
8
|
end
|
9
9
|
|
10
|
-
|
10
|
+
FalseClass.class_eval do
|
11
11
|
# :nodoc:
|
12
12
|
def yesno
|
13
13
|
'No'
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
|
-
|
17
|
+
NilClass.class_eval do
|
18
18
|
# :nodoc:
|
19
19
|
def yesno
|
20
20
|
'N/A'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yesno_extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcus Wyatt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-03-
|
11
|
+
date: 2022-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
@@ -44,5 +44,5 @@ requirements: []
|
|
44
44
|
rubygems_version: 3.2.15
|
45
45
|
signing_key:
|
46
46
|
specification_version: 4
|
47
|
-
summary: Adds `yesno`
|
47
|
+
summary: Adds `yesno` method to `TrueClass`, `FalseClass`, and `NilClass`
|
48
48
|
test_files: []
|