neh 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/neh/cli/base.rb +3 -1
- data/lib/neh/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: f0fcd7a31e9cd33e09713b00d1f7cc0b4f50c2cf8318e6030133d27959ecc742
|
4
|
+
data.tar.gz: d85ae50d14de761edfb5d7b00ec7a99a1b82a04ef8cecc5d394fd80956cda89d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14190faccda79ce77123c39b8e658b5829e9f6aacef8395f8429a5cdf6a67a899387c0ae5957d152f8e64aef3832e52014b41e192f41de919b26851d0e431eb5
|
7
|
+
data.tar.gz: b7a9d0a744422f6c6b2fde1a2bfce49dcce667b967d3fd2962d60d2cc51a19b7d3ddbf5c4194c533fe6ff59a58ca9499ec1118b42026db37298efe8ed890253c
|
data/lib/neh/cli/base.rb
CHANGED
@@ -8,7 +8,7 @@ require 'async/http/endpoint'
|
|
8
8
|
require 'async/websocket/client'
|
9
9
|
require 'ruby-progressbar'
|
10
10
|
require 'faraday'
|
11
|
-
require 'pry'
|
11
|
+
require 'pry' if ENV['NEH_DEBUG']
|
12
12
|
require 'active_support/all'
|
13
13
|
|
14
14
|
class Neh::Cli::Base
|
@@ -41,6 +41,8 @@ class Neh::Cli::Base
|
|
41
41
|
|
42
42
|
def token
|
43
43
|
ENV.fetch('NEH_PERSONAL_ACCESS_TOKEN')
|
44
|
+
rescue KeyError
|
45
|
+
puts 'Please set the environment variable NEH_PERSONAL_ACCESS_TOKEN'
|
44
46
|
end
|
45
47
|
|
46
48
|
def on_receive(connection, message)
|
data/lib/neh/version.rb
CHANGED