schema_conformist 0.1.0 → 0.1.1

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: abd4ddfeec30a4b51b428d7f2b254dc563235a53
4
- data.tar.gz: 1f6f6fb6d728cb13a79dbc723b9a37bec34c6bb7
3
+ metadata.gz: 29e3c7aae3756274d33870d4738b44d712aeae2a
4
+ data.tar.gz: 886f45cbbe1c9fee58773637c52cfb4a9cae7f67
5
5
  SHA512:
6
- metadata.gz: f9e72c573dce8eef1ae369470b3c422d6e120cf6dd3abb66b2a5b85de15cc102fd724c351d7c3a2fdd6aafac9a96d06dd4aa9e523929bdad580126659416a151
7
- data.tar.gz: 105eeaaec3432b13424f16726b60ca0303a9bbec6cbfd33befae89c1f9d078628519a9726985ab042f9b74e12d5ce5a93e2cbc2b8140aed92a55b733a5c88405
6
+ metadata.gz: 98e7eb8623de0081ce52e6208b94f52d3b91028fce5e3a962254eb424bb6a47f0a5443d8d6f1ba71da4ac46333da20566dfdb8aae7cec7976ee16898499f6492
7
+ data.tar.gz: 4195bcd58d4547822e907a81306d0cd9e77aba240fd38f4a9f7dc2ab22cfa9d7ddde9a7f79bce93d158e797d47d97df62adf4e75bfa5912be648dc9277a62b59
data/README.md CHANGED
@@ -6,7 +6,7 @@ SchemaConformist is an automatic JSON response validator for your API testing in
6
6
 
7
7
  This library automatically validates that JSON responses are conformant with the schema. The schema can be described as either [JSON Hyper Schema](http://json-schema.org/latest/json-schema-hypermedia.html) or [OpenAPI 2.0](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md).
8
8
 
9
- This library uses [Committee](https://github.com/interagent/committee) and [Committee::Rails](https://github.com/willnet/committee-rails) to validate JSONs.
9
+ This library uses [Committee](https://github.com/interagent/committee) and [Committee::Rails](https://github.com/willnet/committee-rails) to validate JSONs and is assumed that used with API mode Rails.
10
10
 
11
11
  ## Usage
12
12
 
@@ -2,9 +2,6 @@ module SchemaConformist
2
2
  class Railtie < Rails::Railtie
3
3
  config.before_configuration do
4
4
  config.schema_conformist = Configuration.new
5
- end
6
-
7
- initializer 'config.schema_conformist' do
8
5
  config.schema_conformist.driver = :hyper_schema
9
6
  config.schema_conformist.ignored_api_paths = []
10
7
  config.schema_conformist.schema_path = nil
@@ -1,3 +1,3 @@
1
1
  module SchemaConformist
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: schema_conformist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.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: 2017-11-05 00:00:00.000000000 Z
11
+ date: 2017-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails