json-schema-generator 0.0.4 → 0.0.5

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.
@@ -4,7 +4,7 @@ module JSON
4
4
  class SchemaGenerator
5
5
  DRAFT3 = 'draft-03'
6
6
  DRAFT4 = 'draft-04'
7
- DEFAULT_VERSION = 'draft3'
7
+ DEFAULT_VERSION = 'draft4'
8
8
  SUPPORTED_VERSIONS = ['draft3', 'draft4']
9
9
 
10
10
  class << self
@@ -1,5 +1,5 @@
1
1
  module JSON
2
2
  class SchemaGenerator
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
@@ -1,3 +1,3 @@
1
1
  #!/bin/bash
2
2
  file=$1
3
- bundle exec json-schema-generator $1
3
+ bundle exec json-schema-generator $1 --schema-version draft3
@@ -1,3 +1,3 @@
1
1
  #!/bin/bash
2
2
  file=$1
3
- bundle exec json-schema-generator $1 --schema-version draft4
3
+ bundle exec json-schema-generator $1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: json-schema-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -147,7 +147,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
147
147
  version: '0'
148
148
  segments:
149
149
  - 0
150
- hash: -2342599026484996065
150
+ hash: 1712601133400832444
151
151
  required_rubygems_version: !ruby/object:Gem::Requirement
152
152
  none: false
153
153
  requirements:
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  version: '0'
157
157
  segments:
158
158
  - 0
159
- hash: -2342599026484996065
159
+ hash: 1712601133400832444
160
160
  requirements: []
161
161
  rubyforge_project:
162
162
  rubygems_version: 1.8.23