schema_conformist 0.2.0 → 0.2.1
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 +5 -5
- data/README.md +3 -3
- data/lib/schema_conformist/version.rb +1 -1
- metadata +11 -25
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 7d8eaa2fd5eb84092b3e0eb856b474f81cbe92038e784dec38dbaa0e8325f201
|
|
4
|
+
data.tar.gz: 60db031c2d983ee59dca4612d38c2bea295ac552d2ffbd0db10e58db7eb0f943
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b782eb1b774f2ab8ce0a0db75f6d6380946a122e3c091e26232a2d1017a80415b38bf3d1029e1d6fe3ec3f06824b582c693bcf3e49422f67c53e0a43560e3151
|
|
7
|
+
data.tar.gz: fb4735c7a750d5e32cd7d87f219ffc4129995d05d43bf7c98915726f8cd4de12e636410ab48bd4e012788d6df9f81f269d7e8f76b93fb2a10373ff1162833608
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# SchemaConformist
|
|
2
2
|
|
|
3
|
-
[](https://badge.fury.io/rb/schema_conformist) [](https://badge.fury.io/rb/schema_conformist) [](https://travis-ci.org/kymmt90/schema_conformist)
|
|
4
4
|
|
|
5
5
|
> An automatic JSON response validator for testing in Rails
|
|
6
6
|
|
|
@@ -39,7 +39,7 @@ Configuration options are following:
|
|
|
39
39
|
|
|
40
40
|
- `schema_conformist.driver`
|
|
41
41
|
- `:hyper_schema`: Use JSON Hyper Schema as schema format
|
|
42
|
-
- `:open_api_2`: Use OpenAPI 2 as schema format
|
|
42
|
+
- `:open_api_2`: Use OpenAPI 2 as schema format (both JSON and YAML are available as schema files)
|
|
43
43
|
- `schema_conformist.ignored_api_paths`
|
|
44
44
|
- The array of API paths not to validate. Each path can be described in regular expression.
|
|
45
45
|
- `schema_conformist.schema_path`
|
|
@@ -50,7 +50,7 @@ Example:
|
|
|
50
50
|
```ruby
|
|
51
51
|
Rails.application.config.schema_conformist.driver = :open_api_2
|
|
52
52
|
Rails.application.config.schema_conformist.ignored_api_paths << /private/
|
|
53
|
-
Rails.application.config.schema_conformist.schema_path = Rails.root.join('doc', 'swagger.
|
|
53
|
+
Rails.application.config.schema_conformist.schema_path = Rails.root.join('doc', 'swagger.yaml')
|
|
54
54
|
```
|
|
55
55
|
|
|
56
56
|
## Contributing
|
metadata
CHANGED
|
@@ -1,57 +1,43 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: schema_conformist
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kohei Yamamoto
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-02-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
18
|
-
- !ruby/object:Gem::Version
|
|
19
|
-
version: 5.1.0
|
|
20
|
-
type: :runtime
|
|
21
|
-
prerelease: false
|
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
-
requirements:
|
|
24
|
-
- - "~>"
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
version: 5.1.0
|
|
27
|
-
- !ruby/object:Gem::Dependency
|
|
28
|
-
name: committee
|
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
|
30
|
-
requirements:
|
|
31
|
-
- - "~>"
|
|
17
|
+
- - ">="
|
|
32
18
|
- !ruby/object:Gem::Version
|
|
33
|
-
version:
|
|
19
|
+
version: '0'
|
|
34
20
|
type: :runtime
|
|
35
21
|
prerelease: false
|
|
36
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
23
|
requirements:
|
|
38
|
-
- - "
|
|
24
|
+
- - ">="
|
|
39
25
|
- !ruby/object:Gem::Version
|
|
40
|
-
version:
|
|
26
|
+
version: '0'
|
|
41
27
|
- !ruby/object:Gem::Dependency
|
|
42
28
|
name: committee-rails
|
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
|
44
30
|
requirements:
|
|
45
|
-
- - "
|
|
31
|
+
- - ">="
|
|
46
32
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: 0
|
|
33
|
+
version: '0'
|
|
48
34
|
type: :runtime
|
|
49
35
|
prerelease: false
|
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
37
|
requirements:
|
|
52
|
-
- - "
|
|
38
|
+
- - ">="
|
|
53
39
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: 0
|
|
40
|
+
version: '0'
|
|
55
41
|
- !ruby/object:Gem::Dependency
|
|
56
42
|
name: sqlite3
|
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -104,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
104
90
|
version: '0'
|
|
105
91
|
requirements: []
|
|
106
92
|
rubyforge_project:
|
|
107
|
-
rubygems_version: 2.
|
|
93
|
+
rubygems_version: 2.7.3
|
|
108
94
|
signing_key:
|
|
109
95
|
specification_version: 4
|
|
110
96
|
summary: An automatic JSON response validator for testing in Rails
|