ninny 0.1.1 → 0.1.2
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/ninny/commands/setup.rb +5 -1
- data/lib/ninny/version.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: f3e4dd9b38aa0b80d3653029755fe498ca57ef2ba468ef326ae9082dcd00d507
|
4
|
+
data.tar.gz: 6ae95c628aa6343ae5c7b60cd55d4a940027ca31c51d449e578f43f07a145059
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9afbd929c0b16fc9223757f4eba952ba938535dfc0b0997df5ee65c1627abfecf4135cdd1bb83224cefa89bf47c659cb96007c67b5b0524630ff75ef6c9782b6
|
7
|
+
data.tar.gz: 07ab07cd7f538f054178bb203195bfba2456b407b25bb1e771f8ad12f34655c837e46e8f8d6aa1e2cf57bc4a098b44a7dfcd318e87554dcf4ebad61135bea2d9
|
data/Gemfile.lock
CHANGED
data/lib/ninny/commands/setup.rb
CHANGED
@@ -31,7 +31,11 @@ module Ninny
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def prompt_for_gitlab_private_token
|
34
|
-
|
34
|
+
begin
|
35
|
+
new_token_text = config.gitlab_private_token ? ' new' : ''
|
36
|
+
rescue MissingUserConfig
|
37
|
+
new_token_text = 'new'
|
38
|
+
end
|
35
39
|
if prompt.yes?("Do you have a#{new_token_text} gitlab private token?")
|
36
40
|
private_token = prompt.ask("Enter private token", required: true)
|
37
41
|
config.set(:gitlab_private_token, value: private_token)
|
data/lib/ninny/version.rb
CHANGED