magellan-cli 0.2.13 → 0.2.14

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: a02012f22d7aa0048af7384eeec8052bdf2378e1
4
- data.tar.gz: a9fc376533dd36789f0ca03437f56c983ff30c97
3
+ metadata.gz: 421440e81cdb0cf9f8bbbf55ba2b336f8e1ec571
4
+ data.tar.gz: 2d6f67025f452b2d69e2ab42ff213c4c8568628f
5
5
  SHA512:
6
- metadata.gz: 3cebafac6b5fc98b854ce60d25d6d195307280b3cf331e2032ed6419b6502a1e87e20095bc2c9d0a317f4f0ab47cbcf210cab590749b04e650269e074002dd78
7
- data.tar.gz: eb1714d8ed7cb5c37f20bbcc60afbf8e7a2c61887b3f7f79aaecef2442709cec6884b27ec828ca75e2be536554adcbb25c1fcab8a38444abece5922f8da883b2
6
+ metadata.gz: 723fc9cc0f8a7c934a523be52e8bd63e724da6909babc4b85c487cc28af70eeeec7ff6b94435f82e3617db2d6bdfef49c897cc5227a4714143c2cd9defc12f54
7
+ data.tar.gz: 878793f2f9a9d4c050bf9196e27dc7c3e9ecd19d8e54a4e487fb16da55f9ccea3c5b6ca84f406fe524ee8e82a8f822c31a617cfd334a250db7e3e47eadbe2b5d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- magellan-cli (0.2.13)
4
+ magellan-cli (0.2.14)
5
5
  activesupport (~> 4.1.4)
6
6
  httpclient
7
7
  nokogiri
@@ -12,8 +12,8 @@ module Magellan
12
12
 
13
13
  desc "create NAME ROLE", "create Team with NAME ROLE"
14
14
  def create(name, role)
15
- unless %w{ readers admin }.include?(role)
16
- raise "ROLE should be 'readers' or 'admin'"
15
+ unless %w{ reader admin }.include?(role)
16
+ raise "ROLE should be 'reader' or 'admin'"
17
17
  end
18
18
  o = load_selection(Organization.parameter_name)
19
19
  params = {
@@ -1,5 +1,5 @@
1
1
  module Magellan
2
2
  module Cli
3
- VERSION = "0.2.13"
3
+ VERSION = "0.2.14"
4
4
  end
5
5
  end
@@ -26,8 +26,8 @@ describe Magellan::Cli::Resources::Team do
26
26
  allow(cmd).to receive(:get_json).with(any_args).and_return(team_list_response)
27
27
  allow(cmd).to receive(:get_json).with(any_args).and_return(team_list_response)
28
28
  end
29
- context "role=readers" do
30
- let(:role){ "readers" }
29
+ context "role=reader" do
30
+ let(:role){ "reader" }
31
31
  it do
32
32
  cmd.create("team1", role)
33
33
  end
@@ -40,8 +40,8 @@ describe Magellan::Cli::Resources::Team do
40
40
  end
41
41
  end
42
42
  describe :error do
43
- context "role=owners" do
44
- let(:role){ "owners" }
43
+ context "role=owner" do
44
+ let(:role){ "owner" }
45
45
  it do
46
46
  expect{
47
47
  cmd.create("team1", role)
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.13
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - akm2000