apipie-params 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,3 @@
1
- require 'json-schema'
2
1
  require 'apipie/params.rb'
3
2
  require 'apipie/params/errors.rb'
4
3
  require 'apipie/params/dsl.rb'
@@ -76,6 +76,7 @@ module Apipie
76
76
  'type' => 'object',
77
77
  'properties' => {'root' => json_schema}
78
78
  }
79
+ require 'json-schema'
79
80
  errors = JSON::Validator.fully_validate(encapsulated_schema,
80
81
  encapsulated_value.with_indifferent_access,
81
82
  :errors_as_objects => true)
@@ -1,5 +1,5 @@
1
1
  module Apipie
2
2
  module Params
3
- VERSION = '0.0.1' unless defined? Apipie::Params::VERSION
3
+ VERSION = '0.0.2' unless defined? Apipie::Params::VERSION
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apipie-params
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
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: 2013-04-24 00:00:00.000000000 Z
12
+ date: 2013-04-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport