chef-zero 0.9.5 → 0.9.6

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.
@@ -1,8 +1,10 @@
1
+ require 'json'
2
+
1
3
  module ChefZero
2
4
  module Endpoints
3
5
  class NotFoundEndpoint
4
6
  def call(request)
5
- return [404, {"Content-Type" => "application/json"}, "Object not found: #{request.env['REQUEST_PATH']}"]
7
+ return [404, {"Content-Type" => "application/json"}, JSON.pretty_generate({"error" => ["Object not found: #{request.env['REQUEST_PATH']}"]})]
6
8
  end
7
9
  end
8
10
  end
@@ -1,3 +1,3 @@
1
1
  module ChefZero
2
- VERSION = '0.9.5'
2
+ VERSION = '0.9.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chef-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.5
4
+ version: 0.9.6
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-01-21 00:00:00.000000000 Z
12
+ date: 2013-04-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef
@@ -104,7 +104,8 @@ files:
104
104
  - lib/chef_zero/solr/solr_parser.rb
105
105
  - lib/chef_zero/version.rb
106
106
  - lib/chef_zero.rb
107
- - bin/chef-zero
107
+ - !binary |-
108
+ YmluL2NoZWYtemVybw==
108
109
  homepage: http://www.opscode.com
109
110
  licenses: []
110
111
  post_install_message:
@@ -131,3 +132,4 @@ specification_version: 3
131
132
  summary: Self-contained, easy-setup, fast-start in-memory Chef server for testing
132
133
  and solo setup purposes
133
134
  test_files: []
135
+ has_rdoc: true