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: 42f93c40c0530fe9de00293a796186c0c301b80f
4
- data.tar.gz: 02bb60ac905e4c91e6b4c363a78b676c1d2aea51
3
+ metadata.gz: 8837c48a25aaa438bece6b35bff3b7f9cdf5510f
4
+ data.tar.gz: 23e784964ad970648a0f26f32932b8c559419bed
5
5
  SHA512:
6
- metadata.gz: 119dfa2d5e61b72d06f4d269a0b997ccbd6e22081a552756e4d637cac62e92a2ae3014418dd6e73c9003e234977e97a213b8eeafb2a78f44ef0fd2b98fc1f815
7
- data.tar.gz: f785e4eb5d0c696cb2bd3bef14ebf86229f5d12312315cf0771fad03af117913a687de25b66724a8c6e421340f8ca6124229d11137b25c9cb39d388f98152e68
6
+ metadata.gz: 61a705b8f92a3c5a9f41cac08ce9c5684579f8a0bcb6837a92f84106fdc0d823b15d4fb710b0cc57152c70e830891e2cd62a6b99b660dffc35ed596254077293
7
+ data.tar.gz: 4f628308d86e54518cfd3aff48590f82cb06c89be1ab9020bca4e81b460f4d561dd869635c00083b925af4e20b00e44c452f7460067e2a550307713600911130
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- magellan-cli (0.7.3)
4
+ magellan-cli (0.7.4)
5
5
  activesupport (~> 4.1.4)
6
6
  groovenauts-thor
7
7
  httpclient (~> 2.5)
@@ -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])
@@ -1,5 +1,5 @@
1
1
  module Magellan
2
2
  module Cli
3
- VERSION = "0.7.3"
3
+ VERSION = "0.7.4"
4
4
  end
5
5
  end
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.3
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-16 00:00:00.000000000 Z
11
+ date: 2015-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httpclient