committee 0.2 → 0.3

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.
@@ -85,8 +85,8 @@ module Committee
85
85
  "null"
86
86
  when TrueClass, FalseClass
87
87
  "boolean"
88
- when Fixnum
89
- "integer"
88
+ when Bignum, Fixnum, Float
89
+ "number"
90
90
  when String
91
91
  "string"
92
92
  else
@@ -87,8 +87,8 @@ module Committee
87
87
  "null"
88
88
  when TrueClass, FalseClass
89
89
  "boolean"
90
- when Fixnum
91
- "integer"
90
+ when Bignum, Fixnum, Float
91
+ "number"
92
92
  when String
93
93
  "string"
94
94
  else
data/test/schema_test.rb CHANGED
@@ -18,7 +18,7 @@ describe Committee::Schema do
18
18
  "description" => "slug size in bytes of app",
19
19
  "example" => 0,
20
20
  "readOnly" => true,
21
- "type" => ["integer", "null"]
21
+ "type" => ["number", "null"]
22
22
  }
23
23
  assert_equal expected, @schema.find("#/definitions/app/definitions/slug_size")
24
24
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: committee
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: '0.3'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: