knife-art 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c19783dc7672ed6332889e731bc7381e4cbb63d6
4
- data.tar.gz: '0903aec7e346817090c7021a3ef5334f5d29f99f'
2
+ SHA256:
3
+ metadata.gz: fba95bbe53fe22262765fc79fd82d08f69af06ae0a2a9afbd3850c81f97113f2
4
+ data.tar.gz: 21200c93c839c84a4b77d172ecb0d764c2f1a25aacd79a19e64b00e3980df2a5
5
5
  SHA512:
6
- metadata.gz: d37ef408132931d8bafeb96921e6ab7a742b34df5e55c74e4dc8017713897fb5a7688705b92b06ec9bc1e9769d5d917c0ec63b48d565a48dd3bf073492ddd68c
7
- data.tar.gz: 7db7629d2ddfd2e75be70130d49f96b7a71e9d60645759543bc3eaa2f57e36a9643e4ea0ce32fcaa89eb8d5048be579b505fe6f2a4a79c0dcd97aff66f0b2740
6
+ metadata.gz: d42070b74d7ce22f7ff5e9b7f7f351c7f936fcb1f93f24d8ed7448cc8802ea0aa71b84ddab2d9af9a5ffe3f494a674767638c399e6a61c1b508f165f2cfbe079
7
+ data.tar.gz: ac494b6f6d4f1d130fe3d7d6b51f57a3048706c0333713f2f99141012047c79c7c2f72eee28455a4dec58357e98e1530ff1907192ac883e20b0ab1aca12d858c
@@ -1,10 +1,10 @@
1
1
 
2
2
  require 'chef/knife'
3
- require 'chef/knife/cookbook_site_show'
3
+ require 'chef/knife/supermarket_show'
4
4
 
5
5
  class Chef
6
6
  class Knife
7
- class ArtifactoryShow < Knife::CookbookSiteShow
7
+ class ArtifactoryShow < Knife::SupermarketShow
8
8
 
9
9
  dependency_loaders.concat(superclass.dependency_loaders)
10
10
  options.merge!(superclass.options)
@@ -1,15 +1,15 @@
1
- # Overrides the default Chef::Knife::CookbookSiteShare to allow basic authentication against an Artifactory backend.
1
+ # Overrides the default Chef::Knife::SupermarketShare to allow basic authentication against an Artifactory backend.
2
2
  # Ideally we would like to use a mechanism that allows injecting pluggable authentication middleware into the Chef::Http
3
3
  # REST clients, but in the interest of allowing not-only-newest knife client versions to work with Artifactory we chose
4
4
  # this solution for now.
5
5
 
6
6
  require 'chef/knife'
7
- require 'chef/knife/cookbook_site_download'
7
+ require 'chef/knife/supermarket_download'
8
8
  require 'knife-art/knife_art_utils'
9
9
 
10
10
  class Chef
11
11
  class Knife
12
- class ArtifactoryDownload < Knife::CookbookSiteDownload
12
+ class ArtifactoryDownload < Knife::SupermarketDownload
13
13
 
14
14
  dependency_loaders.concat(superclass.dependency_loaders)
15
15
  options.merge!(superclass.options)
@@ -1,15 +1,15 @@
1
- # Overrides the default Chef::Knife::CookbookSiteInstall to allow basic authentication against an Artifactory backend.
1
+ # Overrides the default Chef::Knife::SupermarketInstall to allow basic authentication against an Artifactory backend.
2
2
  # Ideally we would like to use a mechanism that allows injecting pluggable authentication middleware into the Chef::Http
3
3
  # REST clients, but in the interest of allowing not-only-newest knife client versions to work with Artifactory we chose
4
4
  # this solution for now.
5
5
 
6
6
 
7
7
  require 'chef/knife'
8
- require 'chef/knife/cookbook_site_install'
8
+ require 'chef/knife/supermarket_install'
9
9
 
10
10
  class Chef
11
11
  class Knife
12
- class ArtifactoryInstall < Knife::CookbookSiteInstall
12
+ class ArtifactoryInstall < Knife::SupermarketInstall
13
13
 
14
14
  dependency_loaders.concat(superclass.dependency_loaders)
15
15
  options.merge!(superclass.options)
@@ -1,10 +1,10 @@
1
1
 
2
2
  require 'chef/knife'
3
- require 'chef/knife/cookbook_site_list'
3
+ require 'chef/knife/supermarket_list'
4
4
 
5
5
  class Chef
6
6
  class Knife
7
- class ArtifactoryList < Knife::CookbookSiteList
7
+ class ArtifactoryList < Knife::SupermarketList
8
8
 
9
9
  dependency_loaders.concat(superclass.dependency_loaders)
10
10
  options.merge!(superclass.options)
@@ -1,10 +1,10 @@
1
1
 
2
2
  require 'chef/knife'
3
- require 'chef/knife/cookbook_site_search'
3
+ require 'chef/knife/supermarket_search'
4
4
 
5
5
  class Chef
6
6
  class Knife
7
- class ArtifactorySearch < Knife::CookbookSiteSearch
7
+ class ArtifactorySearch < Knife::SupermarketSearch
8
8
 
9
9
  dependency_loaders.concat(superclass.dependency_loaders)
10
10
  options.merge!(superclass.options)
@@ -2,7 +2,7 @@
2
2
  # 1. allow passing flags to the super class so that the do_upload method of this
3
3
  # class is called and that signing key verification is skipped by the underlying Chef::HTTP::Authenticator that's
4
4
  # used with the rest client (see comment below).
5
- # 2. Override (monkey patch) the required methods in Chef::HTTP::Authenticator and Knife::CookbookSiteShare
5
+ # 2. Override (monkey patch) the required methods in Chef::HTTP::Authenticator and Knife::SupermarketShare
6
6
  # to allow inserting our own logic that deploys a cookbook to Artifactory.
7
7
  #
8
8
  # The Supermarket API is kept (post /api/v1/cookbooks/cookbook_name) by Artifactory although it does not currently
@@ -10,11 +10,11 @@
10
10
 
11
11
 
12
12
  require 'chef/knife'
13
- require 'chef/knife/cookbook_site_share'
13
+ require 'chef/knife/supermarket_share'
14
14
 
15
15
  class Chef
16
16
  class Knife
17
- class ArtifactoryShare < Knife::CookbookSiteShare
17
+ class ArtifactoryShare < Knife::SupermarketShare
18
18
 
19
19
  dependency_loaders.concat(superclass.dependency_loaders)
20
20
  options.merge!(superclass.options)
@@ -1,4 +1,4 @@
1
- # More or less copy-pasted from cookbook_site_unshare because the http call happens inside the run method, not much
1
+ # More or less copy-pasted from supermarket_unshare because the http call happens inside the run method, not much
2
2
  # sense in extending it
3
3
 
4
4
  require 'chef/knife'
@@ -1,3 +1,3 @@
1
1
  module KnifeArt
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-art
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Feldman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-21 00:00:00.000000000 Z
11
+ date: 2019-10-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Enables basic authentication support for share and upload operations
14
14
  to Artifactory when it serves as a Supermarket.
@@ -47,7 +47,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
47
  version: '0'
48
48
  requirements: []
49
49
  rubyforge_project:
50
- rubygems_version: 2.6.8
50
+ rubygems_version: 2.7.6
51
51
  signing_key:
52
52
  specification_version: 4
53
53
  summary: Artifactory integration for Knife