summaryrefslogtreecommitdiff
path: root/lib/chef/cookbook_site_streaming_uploader.rb
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused monkeypatch on net/http.remove-net-http-monkeypatchPete Higgins2020-10-261-1/+1
| | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
* Resolve Style/RedundantCondition copTim Smith2020-09-161-5/+1
| | | | | | We have some extra conditionals that aren't getting us anything Signed-off-by: Tim Smith <tsmith@chef.io>
* Workaround rubygems slow requires by only running require for chef-utils/distLance Albertson2020-09-151-1/+1
| | | | Signed-off-by: Lance Albertson <lance@osuosl.org>
* merge all dist files back into dist.rbMarc Chamberland2020-09-151-1/+1
| | | | | Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com> Signed-off-by: Lance Albertson <lance@osuosl.org>
* tighten all require statements for dist implementationMarc Chamberland2020-09-151-1/+1
| | | | | Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com> Signed-off-by: Lance Albertson <lance@osuosl.org>
* move dist implementation into chef-utilsMarc Chamberland2020-09-151-2/+2
| | | | | Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com> Signed-off-by: Lance Albertson <lance@osuosl.org>
* use autoloading for many required gemsmwrock2020-09-081-4/+10
| | | | Signed-off-by: mwrock <matt@mattwrock.com>
* Get lib/ free of spelling violations.Pete Higgins2020-05-181-1/+1
| | | | Signed-off-by: Pete Higgins <pete@peterhiggins.org>
* Remove copyright dateslcg/remove-copyright-datesLamont Granquist2020-04-131-1/+1
| | | | | | | | Legally incredibly dubious, particularly since we don't follow it strictly as policy, and we have git history instead, which does it right. This is just a waste of time and a cargo cult. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Fix typoVivek Singh2020-04-061-1/+1
| | | | Signed-off-by: Vivek Singh <vivek.singh@msystechnologies.com>
* some leftover/new "Chef" references converted to distro constantsMarc Chamberland2019-12-051-1/+2
| | | | Signed-off-by: Marc Chamberland <chamberland.marc@gmail.com>
* Style/ClassCheckLamont Granquist2019-07-051-1/+1
| | | | | | convert kind_of? to is_a? Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* This hits the ones that are most frequently required.lcg/require-idempotencyLamont Granquist2019-05-201-3/+3
| | | | | | | | | Stops the kernel from scanning through all the activated gems every time in order to resolve names into pathnames. See rubygems/rubygems#2762 Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix Style/MutableConstantLamont Granquist2018-07-021-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix Style/HashSyntaxLamont Granquist2018-07-021-4/+4
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* mechanical conversion of most debug log statements to traceThom May2018-03-261-3/+3
| | | | Signed-off-by: Thom May <thom@chef.io>
* Chefstyle fixesTim Smith2018-03-071-1/+1
| | | | Signed-off-by: Tim Smith <tsmith@chef.io>
* RFC 67: Remove cookbook segmentsThom May2017-04-041-9/+7
| | | | | | | | | This implements RFC 67, which removes cookbook segments, and moves to a single list of all the files contained in a cookbook. This allows us to move forward with better audit modes and also proper shipping of ohai plugins. Signed-off-by: Thom May <thom@chef.io>
* fixing Style/ConstantName copLamont Granquist2016-08-161-1/+1
|
* "fix" Lint/NestedMethodDefinition copsLamont Granquist2016-08-161-2/+2
| | | | | | these are all awful, but fixing them will be time consuming. by disabling them on the existing offenses we can enable the cop to prevent more of this creeping into the codebase.
* fix some UselessAssignment caseslcg/useless-assignmentLamont Granquist2016-03-141-1/+0
|
* autofixing whitespace copsLamont Granquist2016-02-051-7/+7
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* Some more author domain stragglers.Noah Kantrowitz2016-02-021-1/+1
|
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-021-1/+1
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* Use double quotes by defaultThom May2016-01-141-10/+10
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* really fix copslcg/really-fix-copsLamont Granquist2016-01-121-4/+4
|
* Update more references from cookbooks -> supermarketTim Smith2015-09-271-1/+1
|
* Remove a require statement now that we dont need it anymoreirving/streaming_uploader_http_fixIrving Popovetsky2015-05-051-1/+0
|
* Use Chef::HTTP::BasicClient instead of Net::HTTP to get both proxy and ssl ↵Irving Popovetsky2015-05-051-6/+1
| | | | goodness
* Remove now-redundant verify_mode because DefaultSSLPolicy takes care of it ↵Irving Popovetsky2015-05-051-12/+0
| | | | for us
* Apply an SSL Policy to CookbookSiteStreamingUploader, fixing SSL errors ↵Irving Popovetsky2015-05-041-1/+3
| | | | uploading to private Supermarkets
* whitespaces fixesLamont Granquist2015-02-181-23/+23
| | | | addresses Lint/DefEndAlignment and probably more
* Ensure 'uri' is required where it's used.danielsdeleo2014-11-261-0/+1
| | | | | URI previously was globally available because chef.rb loaded it via a monkey patch for the URI class.
* CookbookSiteStreamingUploader uses ssl_verify_mode.Claire McQuin2014-08-141-1/+12
|
* [CHEF-4456] Knife cookbook site share fails with Ruby 2 fixXabier de Zuazo2013-10-101-4/+8
|
* [OC-3564] move core Chef to the repo root \o/ \m/Seth Chisamore2012-10-301-0/+244
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo!