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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08399492b4d47444c8c43d975b3df949219276b076a98579b461823c0e5d1081'
4
- data.tar.gz: 07c1d0c6e29b7953d840e92fa773b0ffc755ea72f6e43b062b71072267aa45d0
3
+ metadata.gz: f0fcd7a31e9cd33e09713b00d1f7cc0b4f50c2cf8318e6030133d27959ecc742
4
+ data.tar.gz: d85ae50d14de761edfb5d7b00ec7a99a1b82a04ef8cecc5d394fd80956cda89d
5
5
  SHA512:
6
- metadata.gz: bf8804f0e3a76aa3a07a97051a14d09434cd48773f0304d85e0bf7cfa0f8e0182ad8d99b8bcf71a59a88376f1608b3285a99bd0c171b54a0dbe8919dda2a3cc9
7
- data.tar.gz: 11049ae95e7cdb9934f37549d7e79bf4ccc4fbf23705f13f15cad36817bf9bb075b402d3bf96b16496495dae5978b021114d6eaaf9872daba93b57084addc4d5
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Neh
4
- VERSION = "0.0.14"
4
+ VERSION = "0.0.15"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Atsushi Ishida