agile-cli 0.0.13 → 0.0.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
  SHA256:
3
- metadata.gz: 2dbfc91b566b6a16cea9bf61b50fb084bca009860b8abeba522d2aae66223c05
4
- data.tar.gz: 76768f714d22d45b2c98b038e56d7ed457e84126e8b3f834334449573a918013
3
+ metadata.gz: 13b04ca67f9a464a663e5660fb6754f85b83708c7120c3b6944ec3ddb022ef19
4
+ data.tar.gz: 84706f2a92b9fa946e9d064e8839a9592242d2b10f159c5316e5642e7ef3838e
5
5
  SHA512:
6
- metadata.gz: 99ecfd2115cba80ebe0053a8bfb4a358b38330fe41cb724d9d98270747eba9e6f98dc405330468cddd80bc160170c72f4a0dd07162eb7bc1768e2a196a8937b3
7
- data.tar.gz: cac2c09e124c17a1b74932fe7f3a8e870c45359aad5e4aa13fdcfb1a48f496e80b1ad54cc7fe801fba2c0c6c440ae2c793c22369f0f24019eef9b2a112626df4
6
+ metadata.gz: b053d4681f2208eec6c08dfd3703bfd53a4c5b595a09cb79e5ff2b3da7fbcfbfa36b75153a06461bebe31bdd9b30617fcca2f65cc6a6825cf0589da3ccb5a838
7
+ data.tar.gz: 16dd40eb7b911f3282e95caffe586aff1b5eeadbc30fdff9c36a77cd3999ba2a44a80fb08f1e6c93ea923c94240f796816f0e3a3dadf5850cea62a91f24f9bf5
@@ -4,8 +4,9 @@ module Agile
4
4
  desc "create <project>", "Create new project"
5
5
  def create(project_name)
6
6
  error_checking_projects
7
- if RestClient.post "#{CONFIG['current_remote']}/api/v1/projects/",
8
- name: project_name, current_user: CONFIG["current_user"]
7
+ response = RestClient.post "#{CONFIG['current_remote']}/api/v1/projects/",
8
+ name: project_name, current_user: CONFIG["current_user"]
9
+ if response.body
9
10
  say "Successfully created project #{project_name}"
10
11
  else
11
12
  say "Try again"
@@ -1,5 +1,5 @@
1
1
  module Agile
2
- VERSION = "0.0.13".freeze
2
+ VERSION = "0.0.14".freeze
3
3
  GITHUB_URL = %(https://github.com/login).freeze
4
4
  TERMINAL_STYLE = { border_x: "=", border_i: "x", padding_left: 3 }.freeze
5
5
  CLIENT_ID = "8bf42da7e4f9032ac5d8".freeze
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agile-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - rubizza-camp