ecip_validator 0.9.0 → 0.10.0
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/README.md +7 -5
- data/lib/ecip_validator/validator.rb +1 -1
- data/lib/ecip_validator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57b25907aa66136cf874751fb3a044e9f2d0d46d5b79b61304c6124b42fbc5d8
|
4
|
+
data.tar.gz: 85eeb5a577dfdca9fb0dae4ce483daff29eae8b6e8c4e79563392441301bcd76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 871c6859c3f302a02be3ccdb4af4cb41ec0850933a483af6cacb52415eb1cfe13fa5f2261da506f71a73b5a4ee8e9c239a1ed5466e774d151670b5a2cd9e25f1
|
7
|
+
data.tar.gz: 3f9dbcb1ee4356a04813d689835f7c94e88f8e010fdec779787e5e45e4183d417689fefda9ae2fe244281badbeb9b7516abff4782368cf3ab620ef588828716a
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
## Configuration
|
4
4
|
|
5
|
-
Validation rules are implemented in the code at [./lib/ecip_validator/validator.
|
5
|
+
Validation rules are implemented in the code at [./lib/ecip_validator/validator.rb](./lib/ecip_validator/validator.rb).
|
6
6
|
|
7
7
|
## Setup
|
8
8
|
|
@@ -19,9 +19,9 @@ ecip_validator INPUT_FILES
|
|
19
19
|
## Usage (as a lib)
|
20
20
|
|
21
21
|
```ruby
|
22
|
-
require 'ecip_validator
|
22
|
+
require 'ecip_validator'
|
23
23
|
|
24
|
-
EcipValidator::Runner.run
|
24
|
+
EcipValidator::Runner.run
|
25
25
|
```
|
26
26
|
|
27
27
|
### Example
|
@@ -39,6 +39,8 @@ bundle exec rspec
|
|
39
39
|
## Releasing new gem
|
40
40
|
|
41
41
|
```
|
42
|
-
gem bump
|
42
|
+
gem install bump
|
43
|
+
bump current
|
44
|
+
bump patch|minor|major # literally, ie. 'bump minor' or 'bump patch'
|
43
45
|
bundle exec rake release
|
44
|
-
```
|
46
|
+
```
|
@@ -25,7 +25,7 @@ module EcipValidator
|
|
25
25
|
in: %w(Core Networking Interface ERC ECBP),
|
26
26
|
if: Proc.new { |v| v.type == 'Standards Track' }
|
27
27
|
validates_inclusion_of :type, in: ['Standards Track', 'Informational', 'Meta']
|
28
|
-
validates_inclusion_of :status, in: ['Draft', 'Last Call', 'Accepted', 'Final', 'Active', 'Abandoned', 'Deferred', 'Withdrawn', 'Rejected', 'Superseded']
|
28
|
+
validates_inclusion_of :status, in: ['Draft', 'Last Call', 'Accepted', 'Final', 'Active', 'Abandoned', 'Deferred', 'Withdrawn', 'Rejected', 'Superseded', 'Replaced']
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecip_validator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Meows
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|