magellan-cli 0.7.3 → 0.7.4
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8837c48a25aaa438bece6b35bff3b7f9cdf5510f
|
4
|
+
data.tar.gz: 23e784964ad970648a0f26f32932b8c559419bed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61a705b8f92a3c5a9f41cac08ce9c5684579f8a0bcb6837a92f84106fdc0d823b15d4fb710b0cc57152c70e830891e2cd62a6b99b660dffc35ed596254077293
|
7
|
+
data.tar.gz: 4f628308d86e54518cfd3aff48590f82cb06c89be1ab9020bca4e81b460f4d561dd869635c00083b925af4e20b00e44c452f7460067e2a550307713600911130
|
data/Gemfile.lock
CHANGED
@@ -66,6 +66,11 @@ module Magellan
|
|
66
66
|
super("/admin/#{resource_key}/#{r['id']}/delete")
|
67
67
|
log_success("OK")
|
68
68
|
end
|
69
|
+
|
70
|
+
desc "select VERSION", I18n.t(:select, scope: [:resources, :client_version, :cmd], resource_name: 'client_version')
|
71
|
+
def select(name)
|
72
|
+
super
|
73
|
+
end
|
69
74
|
end
|
70
75
|
|
71
76
|
end
|
@@ -14,7 +14,7 @@ module Magellan
|
|
14
14
|
def delete(name)
|
15
15
|
q = build_query("name" => name).update(default_query)
|
16
16
|
r = get_first_result!(self.class.resource_name, name, "/admin/#{resource_key}.json", q)
|
17
|
-
super("/admin/#{resource_key}/#{r['id']}/delete")
|
17
|
+
super("/admin/#{resource_key}/#{r['id']}/delete.json")
|
18
18
|
log_success("OK")
|
19
19
|
end
|
20
20
|
|
@@ -110,7 +110,7 @@ module Magellan
|
|
110
110
|
def update(attrs)
|
111
111
|
s = load_selection!(self.class)
|
112
112
|
attrs = JSON.parse(File.readable?(attrs) ? File.read(attrs) : attrs)
|
113
|
-
put_json("/admin/stage~title/#{s['id']}/edit", {"stage_title" => attrs})
|
113
|
+
put_json("/admin/stage~title/#{s['id']}/edit.json", {"stage_title" => attrs})
|
114
114
|
end
|
115
115
|
|
116
116
|
desc "release_now", I18n.t(:release_now, scope: [:resources, :stage, :cmd])
|
data/lib/magellan/cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: magellan-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- akm2000
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|