is-enum 0.8.8 → 0.8.8.2
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
- data/coverage-badge.svg +6 -0
- data/lib/is-enum/info.rb +1 -1
- data/lib/is-enum.rb +2 -2
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: af811306ee151cfb710e86db8d8a13e371e36d181c1ea021668f957473b5205e
|
|
4
|
+
data.tar.gz: 82cbf96f9af656a2b3dae1f16ed4353bbea9b62e0a3bbca37a6a5e735cc3799b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5b23f94b5608e45f5fb75ae6cc6bf3bb99205f4f80bcdf1c4fe3db81186baf0b205a8bf0b49ab06737331e1d41568aee7e8321f911b7c6506bb06d14ac028aa9
|
|
7
|
+
data.tar.gz: 56b75270be2c58446102a36a25dda263d0ed3f7482d4ee07c7dafa9f446da110c8375c59a9b9af222f882a099829e67f71ecfdc7d53ea1b95d9f73ec2873ecd9
|
data/coverage-badge.svg
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<?xml version="1.0"?><svg xmlns="http://www.w3.org/2000/svg" width="100" height="20">
|
|
2
|
+
<rect width="100" height="20" fill="#555"/>
|
|
3
|
+
<rect x="63" width="37" height="20" fill="green"/>
|
|
4
|
+
<text x="8" y="14" fill="#fff" font-family="Verdana" font-size="11">coverage</text>
|
|
5
|
+
<text x="66" y="14" fill="#fff" font-family="Verdana" font-size="11">91%</text>
|
|
6
|
+
</svg>
|
data/lib/is-enum/info.rb
CHANGED
data/lib/is-enum.rb
CHANGED
|
@@ -11,8 +11,8 @@ module IS; end
|
|
|
11
11
|
#
|
|
12
12
|
# @note Class variables
|
|
13
13
|
#
|
|
14
|
-
# Uses class variables (
|
|
15
|
-
# hierarchy. All enum classes register in global
|
|
14
|
+
# Uses class variables ( +@@enums+, +@@mutex+ ) shared across inheritance
|
|
15
|
+
# hierarchy. All enum classes register in global +@@enums+ for {.parse}.
|
|
16
16
|
#
|
|
17
17
|
# @note Custom attributes
|
|
18
18
|
#
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: is-enum
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.8
|
|
4
|
+
version: 0.8.8.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Shikhalev
|
|
@@ -99,6 +99,7 @@ extra_rdoc_files: []
|
|
|
99
99
|
files:
|
|
100
100
|
- LICENSE
|
|
101
101
|
- README.md
|
|
102
|
+
- coverage-badge.svg
|
|
102
103
|
- lib/is-enum.rb
|
|
103
104
|
- lib/is-enum/info.rb
|
|
104
105
|
homepage: https://github.com/inat-get/is-enum
|