eip_validator 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eip_validator/validator.rb +1 -1
- data/lib/eip_validator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 900be4319d32d39e6b13ef7c8440d133b6baf23a
|
4
|
+
data.tar.gz: 0e0e7c7d700b9eb3e3bf296c518e8f02b57bbb7f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97a01f9439e6db80ef2b2f6b89ddfd84e6e0ed65ea8b5dd57a98d5d36c69c689879fa19ea86e23e5eb24caecab2f432147a3e3760ea58a04cf61a76d49668f9a
|
7
|
+
data.tar.gz: 5b406e48a9a56f2912910bce686d533c4bcbada78035d67f003bc5b6d0c1bf65addf123506512f1ab25956e539500db786ad8cdfc4aba0796e19492662f49512
|
@@ -9,7 +9,7 @@ module EipValidator
|
|
9
9
|
validates_inclusion_of :category,
|
10
10
|
in: %w(Core Networking Interface ERC),
|
11
11
|
if: Proc.new { |v| v.type == 'Standards Track' }
|
12
|
-
|
12
|
+
validates_inclusion_of :type, in: ['Standards Track', 'Informational', 'Meta']
|
13
13
|
validates_inclusion_of :status, in: %w(Draft Active Accepted Final Deferred)
|
14
14
|
end
|
15
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eip_validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Makoto
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|