morpheus-cli 3.6.34 → 3.6.35

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
2
  SHA256:
3
- metadata.gz: 03c18d43e96d7394aabce8a73272699ff9f101656b69718f5e5e5b9e8ba34788
4
- data.tar.gz: d582d32ac7892abfa3032d047017e4984e757a26d02edf6033ba5dcfc16ac2d2
3
+ metadata.gz: 5fd79f6b8674a89df944f13956e82b1cfd8d9e83063a6350cbb7ea8f21a17652
4
+ data.tar.gz: 942e86582c8015d8d52fc078b49ef0b59ba34a274535bc92f991736947c938c0
5
5
  SHA512:
6
- metadata.gz: cb6890cfaccadaa431a9aed05ca627010b4d6923d42a38bb3571a4838510e7f06b8d7b4104ee5393a90c8e52eadfdcc6cb14edb676235a4b324c80bfea03cd62
7
- data.tar.gz: 1284d5feea3bdd4b3876b251cc52618dcf28224b9d6a72165d2d49917e76d895da4fb11c4ed7fa3872aa0e71cbac0b15f713ff7f8010c91889cca00c66e1ab81
6
+ metadata.gz: c175ea4319eecbff42dc485e38a56d546fab31de5326f91e6775c7679393f465d21012e4b56f8ead7d794c3bd8f5137f489e65aeb1b6921a955027207c1745f5
7
+ data.tar.gz: 1e81854c188945c27991b0c8f2d639cbb906a105dc3d550839e522e6db1d8b2f39291728637cb82ff988829574ee945b1fbcd82e3357446f8279909dc82a7a7f
@@ -108,8 +108,7 @@ class Morpheus::ArchiveBucketsInterface < Morpheus::APIClient
108
108
  end
109
109
  }
110
110
  opts[:block_response] = block
111
- http_response = RestClient::Request.new(opts).execute
112
- # RestClient::Request.execute(opts)
111
+ http_response = Morpheus::RestClient.execute(opts)
113
112
  }
114
113
  return http_response
115
114
  end
@@ -48,8 +48,7 @@ class Morpheus::ArchiveFilesInterface < Morpheus::APIClient
48
48
  end
49
49
  }
50
50
  opts[:block_response] = block
51
- http_response = RestClient::Request.new(opts).execute
52
- # RestClient::Request.execute(opts)
51
+ http_response = Morpheus::RestClient.execute(opts)
53
52
  }
54
53
  return http_response
55
54
  end
@@ -78,8 +77,7 @@ class Morpheus::ArchiveFilesInterface < Morpheus::APIClient
78
77
  end
79
78
  }
80
79
  opts[:block_response] = block
81
- http_response = RestClient::Request.new(opts).execute
82
- # RestClient::Request.execute(opts)
80
+ http_response = Morpheus::RestClient.execute(opts)
83
81
  }
84
82
  return http_response
85
83
  end
@@ -109,8 +107,7 @@ class Morpheus::ArchiveFilesInterface < Morpheus::APIClient
109
107
  end
110
108
  }
111
109
  opts[:block_response] = block
112
- http_response = RestClient::Request.new(opts).execute
113
- # RestClient::Request.execute(opts)
110
+ http_response = Morpheus::RestClient.execute(opts)
114
111
  }
115
112
  return http_response
116
113
  end
@@ -67,8 +67,7 @@ class Morpheus::FileCopyRequestInterface < Morpheus::APIClient
67
67
  end
68
68
  }
69
69
  opts[:block_response] = block
70
- http_response = RestClient::Request.new(opts).execute
71
- # RestClient::Request.execute(opts)
70
+ http_response = Morpheus::RestClient.execute(opts)
72
71
  }
73
72
  return http_response
74
73
  end
@@ -109,8 +109,7 @@ class Morpheus::PackagesInterface < Morpheus::APIClient
109
109
  end
110
110
  }
111
111
  opts[:block_response] = block
112
- http_response = RestClient::Request.new(opts).execute
113
- # RestClient::Request.execute(opts)
112
+ http_response = Morpheus::RestClient.execute(opts)
114
113
  }
115
114
  return http_response, bad_body
116
115
  end
@@ -68,8 +68,7 @@ class Morpheus::ReportsInterface < Morpheus::APIClient
68
68
  end
69
69
  }
70
70
  opts[:block_response] = block
71
- http_response = RestClient::Request.new(opts).execute
72
- # RestClient::Request.execute(opts)
71
+ http_response = Morpheus::RestClient.execute(opts)
73
72
  }
74
73
  return http_response
75
74
  end
@@ -121,8 +121,7 @@ class Morpheus::StorageProvidersInterface < Morpheus::APIClient
121
121
  end
122
122
  }
123
123
  opts[:block_response] = block
124
- http_response = RestClient::Request.new(opts).execute
125
- # RestClient::Request.execute(opts)
124
+ http_response = Morpheus::RestClient.execute(opts)
126
125
  }
127
126
  return http_response
128
127
  end
@@ -151,8 +150,7 @@ class Morpheus::StorageProvidersInterface < Morpheus::APIClient
151
150
  end
152
151
  }
153
152
  opts[:block_response] = block
154
- http_response = RestClient::Request.new(opts).execute
155
- # RestClient::Request.execute(opts)
153
+ http_response = Morpheus::RestClient.execute(opts)
156
154
  }
157
155
  return http_response
158
156
  end
@@ -3,7 +3,7 @@ require 'morpheus/cli/cli_command'
3
3
  require 'morpheus/cli/mixins/library_helper'
4
4
  require 'morpheus/morpkg'
5
5
 
6
- class Morpheus::Cli::LibraryPackagesCommand
6
+ class Morpheus::Cli::PackagesCommand
7
7
  include Morpheus::Cli::CliCommand
8
8
  include Morpheus::Cli::LibraryHelper
9
9
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  module Morpheus
3
3
  module Cli
4
- VERSION = "3.6.34"
4
+ VERSION = "3.6.35"
5
5
  end
6
6
  end
@@ -32,7 +32,7 @@ module Morpheus
32
32
  opts[:headers] ||= {}
33
33
  opts[:headers][:user_agent] ||= self.user_agent
34
34
 
35
- # serialize params oureselves, this way we get arrays without the [] suffix
35
+ # serialize params ourselves, this way we get arrays without the [] suffix
36
36
  params = nil
37
37
  if opts[:params] && !opts[:params].empty?
38
38
  params = opts.delete(:params)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: morpheus-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.34
4
+ version: 3.6.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Estes
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-07-09 00:00:00.000000000 Z
14
+ date: 2019-07-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler