json-schema 1.0.9 → 1.0.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,7 +18,7 @@ From the git repo:
18
18
 
19
19
  <pre>
20
20
  $ gem build json-schema.gemspec
21
- $ gem install json-schema-1.0.9.gem
21
+ $ gem install json-schema-1.0.10.gem
22
22
  </pre>
23
23
 
24
24
 
@@ -1,4 +1,4 @@
1
- require_relative 'extends'
1
+ require 'json-schema/attributes/extends'
2
2
 
3
3
  module JSON
4
4
  class Schema
@@ -1,4 +1,4 @@
1
- require_relative 'ref'
1
+ require 'json-schema/attributes/ref'
2
2
 
3
3
  module JSON
4
4
  class Schema
@@ -7,7 +7,7 @@ class ExtendsNestedTest < Test::Unit::TestCase
7
7
  file = File.expand_path("../schemas/#{schema_name}.schema.json",__FILE__)
8
8
  errors = JSON::Validator.fully_validate file, data
9
9
  msg.sub! /\.$/, '' if msg
10
- send (valid ? :assert_equal : :refute_equal), [], errors, \
10
+ send (valid ? :assert_equal : :assert_not_equal), [], errors, \
11
11
  "Schema should be #{valid ? :valid : :invalid}#{msg ? ".\n[#{schema_name}] #{msg}" : ''}"
12
12
  end
13
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json-schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-29 00:00:00.000000000 Z
12
+ date: 2012-10-15 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: hoxworth@gmail.com