<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ruby-gems/chef-zero.git/lib/chef_zero/rest_router.rb, branch https</title>
<subtitle>github.com: jkeiser/chef-zero
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/chef-zero.git/'/>
<entry>
<title>Optimize requires for non-omnibus installs</title>
<updated>2020-08-12T21:24:06+00:00</updated>
<author>
<name>Tim Smith</name>
<email>tsmith84@gmail.com</email>
</author>
<published>2020-08-12T21:16:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/chef-zero.git/commit/?id=7e2d8e6a1b23cf459becfaaf0525a930bb2bd9e3'/>
<id>7e2d8e6a1b23cf459becfaaf0525a930bb2bd9e3</id>
<content type='text'>
require is quite slow in Ruby and doing requires for things you've already required is also slow. We've used this simple hack in Chef to speed up our requires. In the omnibus installs we patch how rubygems works to make this somewhat pointless, but this will help non-omnibus installs

Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
require is quite slow in Ruby and doing requires for things you've already required is also slow. We've used this simple hack in Chef to speed up our requires. In the omnibus installs we patch how rubygems works to make this somewhat pointless, but this will help non-omnibus installs

Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Apply Chefstyle</title>
<updated>2019-12-30T02:00:24+00:00</updated>
<author>
<name>Tim Smith</name>
<email>tsmith84@gmail.com</email>
</author>
<published>2019-12-30T02:00:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/chef-zero.git/commit/?id=ecad8fee4a946b337e60a4274de2b2c872c9e81b'/>
<id>ecad8fee4a946b337e60a4274de2b2c872c9e81b</id>
<content type='text'>
Autocorrect with the latest chefstyle

Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Autocorrect with the latest chefstyle

Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a few chefstyle warnings</title>
<updated>2016-09-22T21:35:35+00:00</updated>
<author>
<name>Tim Smith</name>
<email>tsmith@chef.io</email>
</author>
<published>2016-09-22T21:35:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/chef-zero.git/commit/?id=2592e05d971245102eda5a9912dd3270410fab48'/>
<id>2592e05d971245102eda5a9912dd3270410fab48</id>
<content type='text'>
Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ChefStyle</title>
<updated>2016-07-29T16:00:49+00:00</updated>
<author>
<name>Thom May</name>
<email>thom@chef.io</email>
</author>
<published>2016-07-29T16:00:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/chef-zero.git/commit/?id=e257f450c044616fefbd15e9a180387aaaa572a1'/>
<id>e257f450c044616fefbd15e9a180387aaaa572a1</id>
<content type='text'>
Signed-off-by: Thom May &lt;thom@may.lt&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Thom May &lt;thom@may.lt&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Downgrade info log message to debug</title>
<updated>2016-07-06T12:04:24+00:00</updated>
<author>
<name>Stan Hu</name>
<email>stanhu@gmail.com</email>
</author>
<published>2016-07-06T12:04:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/chef-zero.git/commit/?id=1b552f1ab95ea30ebec7348f146032b997f99b75'/>
<id>1b552f1ab95ea30ebec7348f146032b997f99b75</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Log responses only at debug log level</title>
<updated>2016-04-22T15:19:16+00:00</updated>
<author>
<name>Steven Danna</name>
<email>steve@chef.io</email>
</author>
<published>2016-04-22T15:19:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/chef-zero.git/commit/?id=7bc90e7eb7ca0d58df1785ffae2a33177634c1fe'/>
<id>7bc90e7eb7ca0d58df1785ffae2a33177634c1fe</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make user and client keys endpoints pass Pedant specs</title>
<updated>2016-02-24T19:35:19+00:00</updated>
<author>
<name>Jordan Running</name>
<email>jr@getchef.com</email>
</author>
<published>2016-02-11T19:06:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/chef-zero.git/commit/?id=2469894eab12f24893916b571a981e082dfe97df'/>
<id>2469894eab12f24893916b571a981e082dfe97df</id>
<content type='text'>
- Implement ActorKeyEndpoint, ActorKeysEndpoint.
- Implement user, client keys in `ActorEndpoint#delete`, `#put`.

- RestBase
  - Fix RestErrorResponse exceptions to report actual `rest_path`
    instead associated with the failed data store operation instead of
    `request.rest_path`.
  - Move `json_response`, `already_json_response` args `request_version`
    and `response_version` into options hash; add docs.

- DataError, RestErrorResponse: Pass useful message text to `super`.

- RestRouter: Clean up logging
  - Print request methods, paths and bodies more readably for log_level &gt;= INFO.
  - Pretty-print RestRequest objects (only printed when log_level == DEBUG).

- Server: Change default log_level to `:warn` (to enable logging cleanup above).

- `Rakefile`, `spec/run_oc_pedant.rb`
  - Consume RSpec, Pedant options from `ENV['RSPEC_OPTS']`, `ENV['PEDANT_OPTS']` (see `rake -D`).
  - Consume `ENV['LOG_LEVEL'` (see `rake -D`).
  - Clean up ChefZero::Server default opts and move duplicated logic to `start_chef_server` method.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Implement ActorKeyEndpoint, ActorKeysEndpoint.
- Implement user, client keys in `ActorEndpoint#delete`, `#put`.

- RestBase
  - Fix RestErrorResponse exceptions to report actual `rest_path`
    instead associated with the failed data store operation instead of
    `request.rest_path`.
  - Move `json_response`, `already_json_response` args `request_version`
    and `response_version` into options hash; add docs.

- DataError, RestErrorResponse: Pass useful message text to `super`.

- RestRouter: Clean up logging
  - Print request methods, paths and bodies more readably for log_level &gt;= INFO.
  - Pretty-print RestRequest objects (only printed when log_level == DEBUG).

- Server: Change default log_level to `:warn` (to enable logging cleanup above).

- `Rakefile`, `spec/run_oc_pedant.rb`
  - Consume RSpec, Pedant options from `ENV['RSPEC_OPTS']`, `ENV['PEDANT_OPTS']` (see `rake -D`).
  - Consume `ENV['LOG_LEVEL'` (see `rake -D`).
  - Clean up ChefZero::Server default opts and move duplicated logic to `start_chef_server` method.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow groups and containers to be indexed by either of 2 keys</title>
<updated>2014-08-22T16:20:48+00:00</updated>
<author>
<name>John Keiser</name>
<email>jkeiser@opscode.com</email>
</author>
<published>2014-07-25T01:23:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/chef-zero.git/commit/?id=e3502878f663c927b847a83cd7391db6695ad3e8'/>
<id>e3502878f663c927b847a83cd7391db6695ad3e8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>More rounded support for data stores</title>
<updated>2013-05-25T06:17:37+00:00</updated>
<author>
<name>John Keiser</name>
<email>jkeiser@opscode.com</email>
</author>
<published>2013-05-25T06:17:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/chef-zero.git/commit/?id=08f80dd5c9cc1cd72be7d1566cce61f9754aaa4d'/>
<id>08f80dd5c9cc1cd72be7d1566cce61f9754aaa4d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Log debugging request and response</title>
<updated>2013-05-16T20:47:34+00:00</updated>
<author>
<name>Seth Vargo</name>
<email>sethvargo@gmail.com</email>
</author>
<published>2013-05-16T20:47:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/chef-zero.git/commit/?id=fa417efc4aec935b0d5c48db642a42d87b13fc9a'/>
<id>fa417efc4aec935b0d5c48db642a42d87b13fc9a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
