neh 0.0.13 → 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: 0c3f44261ded942a8b71b5220b9090665c7bab7a421cad3679021b0532659bec
4
- data.tar.gz: 5933563a6faface0525a0e09db270fc110a5701124e31f64fed68d21c293d27c
3
+ metadata.gz: f0fcd7a31e9cd33e09713b00d1f7cc0b4f50c2cf8318e6030133d27959ecc742
4
+ data.tar.gz: d85ae50d14de761edfb5d7b00ec7a99a1b82a04ef8cecc5d394fd80956cda89d
5
5
  SHA512:
6
- metadata.gz: c937fce4a966a8862dfa7a49a6559384d0ec2d4cc310d3953a37930b70e61cc2cd950945282600980b79c6f548e388650c5bbb0d44f85c4494963e33d5f55412
7
- data.tar.gz: f916960510c1afee4da69f1769e80d5f3fcf564dbe327cc25f4380df9c1f24b281ca4a908c12da602696358bd44883dad74b5b9c5911c7933836a2d967df823f
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.13"
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.13
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Atsushi Ishida
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '7.2'
19
+ version: '7.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '7.2'
26
+ version: '7.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: async-io
29
29
  requirement: !ruby/object:Gem::Requirement