magellan-cli 0.2.6 → 0.2.7

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dc92cf3e0e0141eb19280700221219f1b82a6190
4
- data.tar.gz: a20713db85336209e9f92be4663d0d32ba76b56e
3
+ metadata.gz: 73d1f40fdfc7506bd3896f983666f347ee1dbb53
4
+ data.tar.gz: 7bdf741e09e11d6daf57dd229faf3e12bd731956
5
5
  SHA512:
6
- metadata.gz: 353448bf17405cb8310baade3384c0c99756448f80831d9ca28b399342ca51aa300ea746be12b668d01c596f4d51b40353d278880e349ff037bc0210c4ab9bfe
7
- data.tar.gz: c096fd8bc9bbb8146a3715af8f24059690924f6675f5b5ffc1ec1af037a07f8821111635ca93586a9fb14a339d3dd1a3b1d3394feefe3ae82b54cd366288769e
6
+ metadata.gz: cc40cac7fead1cc17822544c2a138f68837d760868b69e326d9cf90140e834d3556630354bd4658f99bf3ffd168841941c5aa4c0b8c3e1e92d5c999f6db61e9e
7
+ data.tar.gz: e90258063827ea1c377d56f85a8d574e3f60a6016ec9aa7f9b054e4c061ef4443dc4b0ba5d763e6ee92e27cc5fa1cf4791071f22e8d8de61b9b593406c6be0d7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- magellan-cli (0.2.6)
4
+ magellan-cli (0.2.7)
5
5
  activesupport (~> 4.1.4)
6
6
  httpclient
7
7
  nokogiri
@@ -12,8 +12,7 @@ module Magellan
12
12
  self.multiline_fields = %w[docker_properties_json links_yaml publishings_yaml volumes_yaml env_yaml].map(&:freeze).freeze
13
13
  self.field_associations = {
14
14
  "stage_version_id" => {name: "stage", resource: "stage~version"},
15
- "container_image_id" => {name: "image", class: "ContainerImage"},
16
- # "container_assignment_id" => {name: "assignment", class: "ContainerAssignment"},
15
+ "container_image_id" => {name: "image", class: "Image"},
17
16
  }
18
17
  end
19
18
 
@@ -75,7 +75,7 @@ module Magellan
75
75
  s = load_selection("stage")
76
76
  id = s["id"]
77
77
  r = post_json("/admin/stage~title/#{id}/simple_method_call.json", {method_name: "prepare_containers"})
78
- ContainerInstance.new.show_list(r["result"])
78
+ Container.new.show_list(r["result"])
79
79
  end
80
80
 
81
81
  desc "update ATTRIBUTES", "update stage with ATTRIBUTES"
@@ -12,7 +12,7 @@ module Magellan
12
12
  self.multiline_fields = %w[migration_command_1 migration_command_2 run_command environment_vars_yaml].map(&:freeze).freeze
13
13
  self.field_associations = {"stage_version_id" => {name: "stage", resource: "stage~version"} }
14
14
 
15
- desc "create NAME, IMAGE", "create WorkerVersion with NAME, IMAGE"
15
+ desc "create NAME, IMAGE", "create Worker with NAME, IMAGE"
16
16
  method_option :attributes_yaml, aliases: "-A", desc: "path to YAML file which defines attributes"
17
17
  def create(name, image_name)
18
18
  s = load_selection("stage-version")
@@ -1,5 +1,5 @@
1
1
  module Magellan
2
2
  module Cli
3
- VERSION = "0.2.6"
3
+ VERSION = "0.2.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: magellan-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - akm2000