reivt 1.6.1 → 1.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/reivt/cli.rb +2 -2
- data/lib/reivt/exception.rb +5 -3
- data/lib/reivt/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd2e5f31e46875c84d39b37ee540d374d0c61e9b
|
4
|
+
data.tar.gz: e6f36b2c9a5100f2eea010c4f7330bf94d4b238b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8127e4870a74b46ea9fe597507d79a0e03cadc0264dbb801966984e41f1662f23305bd81623c53d808a5972dbe14cf4e2592ae43b3e46335d9da05c7d5cf2696
|
7
|
+
data.tar.gz: a78c254514bd527153c38d1b49616f756f5bd1b9f5fbf92252f7568b32708cc78de95f6239c60f4f78a5532adcf9a8a78fc206fb952216e30600bb8763e3bc6a
|
data/lib/reivt/cli.rb
CHANGED
@@ -100,7 +100,7 @@ module Reivt
|
|
100
100
|
rescue Errno::ECONNRESET, Errno::EINVAL, EOFError, Net::HTTPBadResponse,
|
101
101
|
Net::HTTPHeaderSyntaxError, Net::OpenTimeout, Net::ProtocolError,
|
102
102
|
Reivt::BaemptyException, Reivt::GraphQLDataException,
|
103
|
-
Reivt::GraphQLValidationException => e
|
103
|
+
Reivt::GraphQLValidationException, Reivt::LoginException => e
|
104
104
|
|
105
105
|
Reivt::DEVLOGGER.error(e.message)
|
106
106
|
Reivt::LOGGER.error(e.message)
|
@@ -156,7 +156,7 @@ module Reivt
|
|
156
156
|
Net::HTTPBadResponse, Net::HTTPHeaderSyntaxError,
|
157
157
|
Net::OpenTimeout, Net::ProtocolError,
|
158
158
|
Reivt::GraphQLDataException,
|
159
|
-
Reivt::GraphQLValidationException => e
|
159
|
+
Reivt::GraphQLValidationException, Reivt::LoginException => e
|
160
160
|
|
161
161
|
Reivt::DEVLOGGER.error(e.message)
|
162
162
|
Reivt::DEVLOGGER.error(e.message)
|
data/lib/reivt/exception.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'paint'
|
2
|
+
|
1
3
|
# An extension of our main module
|
2
4
|
#
|
3
5
|
# @author [brwnrclse]
|
@@ -10,7 +12,7 @@ module Reivt
|
|
10
12
|
class BaemptyException < IOError
|
11
13
|
def initialize(msg = 'Bare or Empty repo passed!')
|
12
14
|
msg = "BaemptyException:\n" + msg + "\nVisit here for more info => " \
|
13
|
-
'link.vaemoi.co/revitbaempty'
|
15
|
+
"#{Paint['link.vaemoi.co/revitbaempty', :yellow]}"
|
14
16
|
super(msg)
|
15
17
|
end
|
16
18
|
end
|
@@ -22,7 +24,7 @@ module Reivt
|
|
22
24
|
class GraphQLDataException < IOError
|
23
25
|
def initialize(msg = 'Error in GraphQL API request!')
|
24
26
|
msg = "GraphQLDataException:\n" + msg + "\nVisit her for more info => " \
|
25
|
-
|
27
|
+
"#{Paint['link.vaemoi.co/revitgqde', :yellow]}"
|
26
28
|
super(msg)
|
27
29
|
end
|
28
30
|
end
|
@@ -34,7 +36,7 @@ module Reivt
|
|
34
36
|
class GraphQLValidationException < IOError
|
35
37
|
def initialize(msg = 'Error in GraphQL Validation!')
|
36
38
|
msg = "GraphQLValidationException:\n" + msg + "\nVisit here for more " \
|
37
|
-
|
39
|
+
"info => #{Paint['link.vaemoi.co/revitgqve', :yellow]}"
|
38
40
|
super(msg)
|
39
41
|
end
|
40
42
|
end
|
data/lib/reivt/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reivt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vaemoi
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-04-
|
12
|
+
date: 2017-04-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: graphql-client
|