morpheus-cli 3.6.34 → 3.6.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/morpheus/api/archive_buckets_interface.rb +1 -2
- data/lib/morpheus/api/archive_files_interface.rb +3 -6
- data/lib/morpheus/api/file_copy_request_interface.rb +1 -2
- data/lib/morpheus/api/packages_interface.rb +1 -2
- data/lib/morpheus/api/reports_interface.rb +1 -2
- data/lib/morpheus/api/storage_providers_interface.rb +2 -4
- data/lib/morpheus/cli/packages_command.rb +1 -1
- data/lib/morpheus/cli/version.rb +1 -1
- data/lib/morpheus/rest_client.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5fd79f6b8674a89df944f13956e82b1cfd8d9e83063a6350cbb7ea8f21a17652
|
|
4
|
+
data.tar.gz: 942e86582c8015d8d52fc078b49ef0b59ba34a274535bc92f991736947c938c0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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::
|
|
6
|
+
class Morpheus::Cli::PackagesCommand
|
|
7
7
|
include Morpheus::Cli::CliCommand
|
|
8
8
|
include Morpheus::Cli::LibraryHelper
|
|
9
9
|
|
data/lib/morpheus/cli/version.rb
CHANGED
data/lib/morpheus/rest_client.rb
CHANGED
|
@@ -32,7 +32,7 @@ module Morpheus
|
|
|
32
32
|
opts[:headers] ||= {}
|
|
33
33
|
opts[:headers][:user_agent] ||= self.user_agent
|
|
34
34
|
|
|
35
|
-
# serialize params
|
|
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.
|
|
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-
|
|
14
|
+
date: 2019-07-12 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: bundler
|