magellan-cli 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/magellan/cli/http.rb +1 -1
- data/lib/magellan/cli/resources/cloudsql.rb +2 -5
- data/lib/magellan/cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 677c866fdec8cf71b6cc7f80d3565362bee866ed
|
4
|
+
data.tar.gz: 8bcbdfa44c81412e912f27ebf33367e3fa0c14fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f25ddfdafe4d927d7d56f596ef11cb414cf55538c5d6a9f86dc130cd90cfdbff1d2373e3f1781f525be08b1235938256d7ff0b3c7f2a46429bdbe99a51cf2ae
|
7
|
+
data.tar.gz: 810aa638fcd93250ed8d1b4ae9f2686ff343a202b2a5a9daaf0f04d67ad178cabc2c53d061814491f8ffcee4a2fe1380ad3937e9837be52f0b109004d3185b94
|
data/Gemfile.lock
CHANGED
data/lib/magellan/cli/http.rb
CHANGED
@@ -6,6 +6,8 @@ module Magellan
|
|
6
6
|
module Resources
|
7
7
|
|
8
8
|
class Cloudsql < Base
|
9
|
+
include Deletable
|
10
|
+
|
9
11
|
self.resource_key = "cloudsql~database"
|
10
12
|
self.resource_dependency = {"stage" => Stage.parameter_name}
|
11
13
|
self.hidden_fields = %w[cloudsql_instance_id].map(&:freeze).freeze
|
@@ -22,11 +24,6 @@ module Magellan
|
|
22
24
|
post_json("/admin/#{resource_key}/new.json", params)
|
23
25
|
select(name)
|
24
26
|
end
|
25
|
-
|
26
|
-
desc "delete ID", "Delete the #{resource_name} database specified by ID"
|
27
|
-
def delete(id)
|
28
|
-
super("/admin/#{resource_key}/#{id}/delete.js")
|
29
|
-
end
|
30
27
|
end
|
31
28
|
end
|
32
29
|
end
|
data/lib/magellan/cli/version.rb
CHANGED
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.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- akm2000
|
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
196
196
|
version: '0'
|
197
197
|
requirements: []
|
198
198
|
rubyforge_project:
|
199
|
-
rubygems_version: 2.
|
199
|
+
rubygems_version: 2.4.5
|
200
200
|
signing_key:
|
201
201
|
specification_version: 4
|
202
202
|
summary: commandline tools for magellanic cloud service.
|