committee 3.0.0 → 3.0.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4f07f61485c78ec77763069cef3c82cbb3682768d5fa8b6d87383c78be3bf29
4
- data.tar.gz: e6620a92bec74e0624f5c43591b552b5533551d66007ca24baa032e615d96551
3
+ metadata.gz: f58a91c5d672284bd965c829df989503f748a858679b3a04ab796548ab6e578f
4
+ data.tar.gz: c4c324cba3b1647d1794c637ab2248305abe0a24428bd463a945269a7af5a2e9
5
5
  SHA512:
6
- metadata.gz: 82cf11b46ef546e5b47270829b9acded9d85c871b00eb914308c80044d1991fb89c8dac82ea3b0ab6cf8a92230d50ecc348c3f489d3306dce2876f727f7ff41a
7
- data.tar.gz: d62d6a02b5885f25755fe88028fe8431111edcaa1d3dd2885dc7c1d5ed136676e89af8b5d7cc2a06c5846a058ec018f14460b1be934b65a49a9192e6c5eac8eb
6
+ metadata.gz: a7b0277782428f323e560f1951974e0be78699fdf117975631aed40b1172c169222a3b9b97fe794f16b685f5dc274eaad867bd7ddefef7a711b45e6b2a9e3b2e
7
+ data.tar.gz: 0aa0c9c4453e9892dc4b007d8d9dce73d567d792425e7dafe9e1ff1d681639c541345705f48e9cbb53798191b05be865ce43d334e06668bfb798c29087e5fcdd
@@ -27,7 +27,7 @@ module Committee::Middleware
27
27
  unless schema
28
28
  schema = Committee::Drivers::load_from_file(options[:schema_path]) if options[:schema_path]
29
29
 
30
- raise(ArgumentError, "Committee: need option `schema` or `filepath`") unless schema
30
+ raise(ArgumentError, "Committee: need option `schema` or `schema_path`") unless schema
31
31
  end
32
32
 
33
33
  # Expect the type we want by now. If we don't have it, the user passed
@@ -96,7 +96,7 @@ describe Committee::Middleware::Base do
96
96
  post "/apps"
97
97
  end
98
98
 
99
- assert_equal "Committee: need option `schema` or `filepath`", e.message
99
+ assert_equal "Committee: need option `schema` or `schema_path`", e.message
100
100
  end
101
101
 
102
102
  describe 'initialize option' do
@@ -110,7 +110,7 @@ describe Committee::Middleware::Base do
110
110
  assert_kind_of Committee::Drivers::OpenAPI2::Schema, b.instance_variable_get(:@schema)
111
111
  end
112
112
 
113
- it "filepath option with OpenAPI3" do
113
+ it "schema_path option with OpenAPI3" do
114
114
  b = Committee::Middleware::Base.new(nil, schema_path: open_api_3_schema_path)
115
115
  assert_kind_of Committee::Drivers::OpenAPI3::Schema, b.instance_variable_get(:@schema)
116
116
  end
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: committee
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandur
8
8
  - geemus (Wesley Beary)
9
+ - ota42y
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2019-01-31 00:00:00.000000000 Z
13
+ date: 2019-03-18 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: json_schema
@@ -161,6 +162,7 @@ description:
161
162
  email:
162
163
  - brandur@mutelight.org
163
164
  - geemus+github@gmail.com
165
+ - ota42y@gmail.com
164
166
  executables:
165
167
  - committee-stub
166
168
  extensions: []
@@ -241,7 +243,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
241
243
  - !ruby/object:Gem::Version
242
244
  version: '0'
243
245
  requirements: []
244
- rubygems_version: 3.0.1
246
+ rubyforge_project:
247
+ rubygems_version: 2.7.3
245
248
  signing_key:
246
249
  specification_version: 4
247
250
  summary: A collection of Rack middleware to support JSON Schema.