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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 445c02c3ef66d3a1cae6a955c10a0ec9926e108a3709f54a6dfa12879740ded5
4
- data.tar.gz: 8da306e6a35e23efcd7a124c1672dd67ef6d5241bdccab3163453d4ae8728b3b
3
+ metadata.gz: f3e4dd9b38aa0b80d3653029755fe498ca57ef2ba468ef326ae9082dcd00d507
4
+ data.tar.gz: 6ae95c628aa6343ae5c7b60cd55d4a940027ca31c51d449e578f43f07a145059
5
5
  SHA512:
6
- metadata.gz: 23efb1c11441e03cef136050bc9faad7659922d47d9211e253ade366ac7fc642842aca560cf7cf086838e9e57ce7c6eb75cedc01c70b0b901dbc0fc1084b7128
7
- data.tar.gz: ade698566b283360095e2bad1a0f2f4dc1839f37ae2569b9fa5178d5f1299c3bf5bcf6e2ecd6d01cfa1adc0af63a43917d104c9a013ed5388bd424bc621fde98
6
+ metadata.gz: 9afbd929c0b16fc9223757f4eba952ba938535dfc0b0997df5ee65c1627abfecf4135cdd1bb83224cefa89bf47c659cb96007c67b5b0524630ff75ef6c9782b6
7
+ data.tar.gz: 07ab07cd7f538f054178bb203195bfba2456b407b25bb1e771f8ad12f34655c837e46e8f8d6aa1e2cf57bc4a098b44a7dfcd318e87554dcf4ebad61135bea2d9
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ninny (0.1.1)
4
+ ninny (0.1.2)
5
5
  git (~> 1.5.0)
6
6
  gitlab (~> 4.11.0)
7
7
  pastel (~> 0.7.2)
@@ -31,7 +31,11 @@ module Ninny
31
31
  end
32
32
 
33
33
  def prompt_for_gitlab_private_token
34
- new_token_text = config.gitlab_private_token ? ' new' : ''
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
@@ -1,3 +1,3 @@
1
1
  module Ninny
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ninny
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carl Allen