jsonschema-generator 0.1.4 → 0.1.5

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
  SHA256:
3
- metadata.gz: 3b7bfa1c5eabc968067451ef14703d03e15ec1a774b21cbb8906d0638351371d
4
- data.tar.gz: 4a98caf20c77eac0ba26ebc9a5626b073813bc75cff1dd27df657a09c5674f51
3
+ metadata.gz: b8b38d9e528a014d66ce99ab39e63f20e5a5952bb96894697af90157c68d045b
4
+ data.tar.gz: efbd5bb2ce6ddb81f1a336122b22dac3828f735470e528f39fbfd240b267547b
5
5
  SHA512:
6
- metadata.gz: b20ff73213a09b2b062c5d48dd4e4ef204a66b3cfdbfc5ff4b97368ffeb2653b25c3819f3f75204755cabdab848941ccadeb18c4293db7925f1c6feb76407ead
7
- data.tar.gz: 9ff2bf80ea9641efd5f825585c661b72447cf84757e038d015adcc7ffe32266ded420b7aeadd4c95e04d8e71b9bc255cc4a1c88d7622e171e566210371be3988
6
+ metadata.gz: 9e7c971d68e14de0d9740e77554778c7f8bbafc98c55b27ec74249ea7ea23f0db25e3eaf690f5a42988dc81f4f46d60bd4c5e6888456aacb242636f63f3831e8
7
+ data.tar.gz: d6de116b2f50ede3509f71643b5d5ac071b6fd12f479265c511c96c406bde8524972ccf613b2b49421d927aa9e33819b25b5711b6b3148db7aca5330484d2ccd
@@ -41,9 +41,9 @@ module Jsonschema
41
41
 
42
42
  def generate_object(hash)
43
43
  params = {
44
- 'properties' => {},
45
44
  'type' => 'object',
46
45
  'required' => hash.keys,
46
+ 'properties' => {},
47
47
  }
48
48
 
49
49
  hash.each_with_object(params) do |(key, value), memo|
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jsonschema
4
4
  module Generator
5
- VERSION = '0.1.4'
5
+ VERSION = '0.1.5'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsonschema-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Bykov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-04 00:00:00.000000000 Z
11
+ date: 2019-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler