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 +4 -4
- data/lib/agile/commands/projects.rb +3 -2
- data/lib/agile/constants.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13b04ca67f9a464a663e5660fb6754f85b83708c7120c3b6944ec3ddb022ef19
|
4
|
+
data.tar.gz: 84706f2a92b9fa946e9d064e8839a9592242d2b10f159c5316e5642e7ef3838e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
8
|
-
|
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"
|
data/lib/agile/constants.rb
CHANGED