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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4ed343cdc3475af191bc3f79e16bb7823e3fcc07
4
- data.tar.gz: 6765d34d7a7cf052d3f3395945b1fb2d693434b8
3
+ metadata.gz: 900be4319d32d39e6b13ef7c8440d133b6baf23a
4
+ data.tar.gz: 0e0e7c7d700b9eb3e3bf296c518e8f02b57bbb7f
5
5
  SHA512:
6
- metadata.gz: 569db5e6161267455f8323f85c0869c7a5a01b7bc4665f407481ab093d6dc96df0fcd6d5f703e69baea664abbc2aaaef846eab3f5e58f1b242f011c807d20c01
7
- data.tar.gz: 0e35e7174c5e766848d3c7bdb51f0b3c79158aeb49a01bd313d8eabb814d56b3da51fcd9e8235aadd80207ad5b021af28df346e28926ec4960467f3517b921a0
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
@@ -1,3 +1,3 @@
1
1
  module EipValidator
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  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.5.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-06 00:00:00.000000000 Z
11
+ date: 2018-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler