nimbu 0.11.6 → 0.11.7

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: 2e19f6596fbae0133931683a46de1d0be82a30e113ec10bc46cee91dfaa7f157
4
- data.tar.gz: 7d47be7f6700f8020229e80104d63faffd0d774c0bc77d9c1c700a159d80b187
3
+ metadata.gz: cb2fd62be83abfab5bb5140ab9e7684244c8cc2f9e846cbd7fcc348d52665207
4
+ data.tar.gz: ff769326c75744b4828927e3a2c2acd28428b12b4ed28ae124ec46738e33794d
5
5
  SHA512:
6
- metadata.gz: 24298b4200c9f28a08c6650ae82f3445c315c0502eb2bb0b028371d7959a45b735f039f998562a9531b2ef0753a1f8d41232920e1b2ddec101f13469c91da9ec
7
- data.tar.gz: 8a7923f7698a902e0c7050d740bf2df77cfafcbef150dacd93bcb240f7d0d2dab94ce2b85e8293a5c7d4f00055b0ba2a990ccd96eca2889c0b7f7d07eec49061
6
+ metadata.gz: e9360177b8ca832417910cccc4be1b5e6b4e0d1f29fc71152fb90ab8581e2ba8c3e3b758e57af0a04fb98ae9632e309a1aa8d34f72730f7a6ff11933e3e91fc6
7
+ data.tar.gz: '016388979461fa6440e6010cebac71af7fa09230299eae5ae918b1f6d8a50f9632ca28da3806b6540c69857e81c0b1995aaf29548ab4e0d6db85afc648b4b5db'
@@ -23,8 +23,10 @@ class Nimbu::Command::Server < Nimbu::Command::Base
23
23
  #
24
24
  def index
25
25
  # Check if config file is present?
26
- if !Nimbu::Auth.read_configuration || !Nimbu::Auth.read_credentials
27
- print red(bold("ERROR")), ": this directory does not seem to contain any Nimbu theme or your credentials are not set. \n ==> Run \"", bold { "nimbu init"}, "\" to initialize this directory."
26
+ if !Nimbu::Auth.read_configuration
27
+ print red(bold("ERROR")), ": this directory does not seem to contain any Nimbu theme configuration. \n ==> Run \"", bold { "nimbu init"}, "\" to initialize this directory."
28
+ elsif Nimbu::Auth.token.nil?
29
+ print red(bold("ERROR")), ": it seems you are not authenticated. \n ==> Run \"", bold { "nimbu login"}, "\" to initialize a session."
28
30
  else
29
31
  @with_haml = options[:haml]
30
32
  @with_compass = options[:compass] || options[:c]
data/lib/nimbu/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Nimbu
3
- VERSION = "0.11.6"
3
+ VERSION = "0.11.7"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nimbu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.6
4
+ version: 0.11.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zenjoy BVBA
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-17 00:00:00.000000000 Z
11
+ date: 2019-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: term-ansicolor