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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2d83391b5e5482cc1ba8dc12fee5d660a3d8b377
4
- data.tar.gz: d602cedbf5c97cd13580d62282058a79406f4453
3
+ metadata.gz: bd2e5f31e46875c84d39b37ee540d374d0c61e9b
4
+ data.tar.gz: e6f36b2c9a5100f2eea010c4f7330bf94d4b238b
5
5
  SHA512:
6
- metadata.gz: 1fdf0dbe36948d65ac4f213a4f8c9b4ec1d88d01a9ed875e4488d8ecbee0bd4bb47bd0deea50ad0dbea8ce1c84258b9d0bcb9ded5129af497f4e7ddb10b28537
7
- data.tar.gz: 9bbd1b0f55ae89bc687cf24fc666899faa6204ce959749f94950f6ba037b9996b2d5efcaf974758c0dad125a708d69a89b998970ce3e76b1100a452a3187e7c9
6
+ metadata.gz: 8127e4870a74b46ea9fe597507d79a0e03cadc0264dbb801966984e41f1662f23305bd81623c53d808a5972dbe14cf4e2592ae43b3e46335d9da05c7d5cf2696
7
+ data.tar.gz: a78c254514bd527153c38d1b49616f756f5bd1b9f5fbf92252f7568b32708cc78de95f6239c60f4f78a5532adcf9a8a78fc206fb952216e30600bb8763e3bc6a
@@ -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)
@@ -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
- 'link.vaemoi.co/revitgqde'
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
- 'info => link.vaemoi.co/revitgqve'
39
+ "info => #{Paint['link.vaemoi.co/revitgqve', :yellow]}"
38
40
  super(msg)
39
41
  end
40
42
  end
@@ -1,3 +1,3 @@
1
1
  module Reivt
2
- VERSION = '1.6.1'.freeze
2
+ VERSION = '1.6.2'.freeze
3
3
  end
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.1
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-19 00:00:00.000000000 Z
12
+ date: 2017-04-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: graphql-client