<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ruby-gems/chef-zero.git/lib/chef_zero/endpoints/search_endpoint.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>Substitute require for require_relative</title>
<updated>2019-12-30T02:07:08+00:00</updated>
<author>
<name>Tim Smith</name>
<email>tsmith84@gmail.com</email>
</author>
<published>2019-12-20T23:16:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/chef-zero.git/commit/?id=dad360173bb575c17daa531021e80064f6fefded'/>
<id>dad360173bb575c17daa531021e80064f6fefded</id>
<content type='text'>
require_relative is significantly faster and should be used when available.

Signed-off-by: Tim Smith &lt;tsmith@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
require_relative is significantly faster and should be used when available.

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>chefstyle 0.6</title>
<updated>2018-02-15T15:19:08+00:00</updated>
<author>
<name>Thom May</name>
<email>thom@chef.io</email>
</author>
<published>2018-02-15T15:10:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/chef-zero.git/commit/?id=0f8280aa100aa60238f39f9df66ecba700fdc16f'/>
<id>0f8280aa100aa60238f39f9df66ecba700fdc16f</id>
<content type='text'>
Signed-off-by: Thom May &lt;thom@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Thom May &lt;thom@chef.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix pagination with start parameters</title>
<updated>2016-12-05T20:32:06+00:00</updated>
<author>
<name>Nathan L Smith</name>
<email>smith@chef.io</email>
</author>
<published>2016-12-05T20:32:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/chef-zero.git/commit/?id=e6c52bc7f88c2dfdcf78a9e8a0e720103a5c92ef'/>
<id>e6c52bc7f88c2dfdcf78a9e8a0e720103a5c92ef</id>
<content type='text'>
This builds on fixes added in #247 and additional tests added in
chef/chef-server#1028.

Handle the query parameters in the search method instead of the get
method to make them more consistent and work properly when start values
are given.

Signed-off-by: Nathan L Smith &lt;smith@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This builds on fixes added in #247 and additional tests added in
chef/chef-server#1028.

Handle the query parameters in the search method instead of the get
method to make them more consistent and work properly when start values
are given.

Signed-off-by: Nathan L Smith &lt;smith@chef.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle the start and rows parameters correctly</title>
<updated>2016-12-05T05:41:56+00:00</updated>
<author>
<name>Nathan L Smith</name>
<email>smith@chef.io</email>
</author>
<published>2016-12-05T05:41: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=78a11d032d641fda1a4702abc3535b80bb2f0bda'/>
<id>78a11d032d641fda1a4702abc3535b80bb2f0bda</id>
<content type='text'>
Chef Zero would, on a search request using the "start" or "rows"
parameters, always return all rows.

This change makes it so only the correct number of rows are returned or
the results start at the correct index.

This change will make the tests added in oc-chef-pedant in
chef/chef-server#1028 pass.

Also update the Gemfile to use HTTPS URLs for Git sources, remove unused
comments, and use the Chef Gem from RubyGems as the previous comment
suggested.

Signed-off-by: Nathan L Smith &lt;smith@chef.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Chef Zero would, on a search request using the "start" or "rows"
parameters, always return all rows.

This change makes it so only the correct number of rows are returned or
the results start at the correct index.

This change will make the tests added in oc-chef-pedant in
chef/chef-server#1028 pass.

Also update the Gemfile to use HTTPS URLs for Git sources, remove unused
comments, and use the Chef Gem from RubyGems as the previous comment
suggested.

Signed-off-by: Nathan L Smith &lt;smith@chef.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>remove create additions flag</title>
<updated>2016-09-02T22:51:33+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2016-09-02T22:50:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/chef-zero.git/commit/?id=9f9ceec96a463099c7a724e6097a96a1171d9838'/>
<id>9f9ceec96a463099c7a724e6097a96a1171d9838</id>
<content type='text'>
FFI_Yajl has never implemented this flag

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
FFI_Yajl has never implemented this flag

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "remove create additions flag"</title>
<updated>2016-09-02T22:51:14+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2016-09-02T22:51:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/chef-zero.git/commit/?id=c3a79237eb34266d948bb780b36f7865a9322544'/>
<id>c3a79237eb34266d948bb780b36f7865a9322544</id>
<content type='text'>
This reverts commit c674dfeacf773579a2eb56cb3c02428268452b50.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit c674dfeacf773579a2eb56cb3c02428268452b50.
</pre>
</div>
</content>
</entry>
<entry>
<title>remove create additions flag</title>
<updated>2016-09-02T22:50:36+00:00</updated>
<author>
<name>Lamont Granquist</name>
<email>lamont@scriptkiddie.org</email>
</author>
<published>2016-09-02T22:50:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/ruby-gems/chef-zero.git/commit/?id=c674dfeacf773579a2eb56cb3c02428268452b50'/>
<id>c674dfeacf773579a2eb56cb3c02428268452b50</id>
<content type='text'>
FFI_Yajl has never implemented this flag

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
FFI_Yajl has never implemented this flag

Signed-off-by: Lamont Granquist &lt;lamont@scriptkiddie.org&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>
</feed>
