magellan-cli 0.7.0 → 0.7.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/resources/authority.rb +5 -2
- 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: f77c5031315c63fbe3cca5882bab0f0e2c40a77d
|
4
|
+
data.tar.gz: 0ede35a0ea73bd4d5b889d8b59ab2cf439443045
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 779eb8b284712a6c0d4c2ccee7740995ce815ff4bb1589ce0c59d37f04a1f3b7364e50a8435c9904c000169b3341bc5a6e636e5b96b3bc48a05c18f9ee9af099
|
7
|
+
data.tar.gz: 0e472548dcba042f98b7f877aa0fca00dc4e50dfcc8813bb0e25db74173cfd3e8c3d5f64b55bfb45971e9206bfdafc48019f8556ea5cc586bdddb9ea5a2b46ff
|
data/Gemfile.lock
CHANGED
@@ -9,7 +9,7 @@ module Magellan
|
|
9
9
|
self.resource_key = "magellan~auth~authority"
|
10
10
|
self.resource_dependency = { "team" => Team.parameter_name }
|
11
11
|
self.hidden_fields = %w[auth_type created_at updated_at].map(&:freeze).freeze
|
12
|
-
self.field_associations = {"team_id" => {name: "team", class: "
|
12
|
+
self.field_associations = {"team_id" => {name: "team", class: "Team"},
|
13
13
|
"auth_id" => {name: "project", class: "Project"} }
|
14
14
|
|
15
15
|
desc "update ATTRIBUTES", I18n.t(:update, scope: [:resources, :common, :cmd], resource_name: resource_name)
|
@@ -48,7 +48,10 @@ module Magellan
|
|
48
48
|
"stage_type" => stage_type_map[stage_type],
|
49
49
|
}
|
50
50
|
}
|
51
|
-
post_json("/admin/#{resource_key}/new.json", params)
|
51
|
+
ret = post_json("/admin/#{resource_key}/new.json", params)
|
52
|
+
if ret and ret["id"]
|
53
|
+
select ret["id"]
|
54
|
+
end
|
52
55
|
end
|
53
56
|
|
54
57
|
desc "select ID", I18n.t(:select, scope: [:resources, :authority, :cmd], resource_name: resource_name)
|
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.1
|
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-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|