gaah 0.1.4 → 0.1.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZTkxMGJhZjBlNTdkZWM3YzM3NTliODFkNjBlOTQ2YmMyYTJjYTNmYw==
4
+ MDA5OTBlMGJhMTU3MjFiOTk5Y2IzMjQ2MjY1NDhiMzhmMDUyODAwMA==
5
5
  data.tar.gz: !binary |-
6
- ODM1MDBjZTYwODFmN2NlZWQ4YzBiNTBlNjViMzg4ZTg5YzY5YjIzNA==
6
+ ZGUyZDEyMjVjYjhmYjczZjNiYzQ2M2I3NTllNGY0Y2Q1ODM5ODAzYw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MTNhZjllNWJkNjAxMWVhZWFkMzlmYjUxOTc0Yjc2OWEyZjQ1MjA2NjRkMDE1
10
- MTlhNmI5ZTU5NDEzODdkMTdiOTM1NTYzODZhNzg3YjlmMTEyYjk1YTFjMDhk
11
- YWM5OWZiOTc0NWIxNmFmNDg3Yzc2NWE5YTQxNjIxZmM3YzAzZGY=
9
+ OTM0ZGVlNmUzNzJiZjk2YWNlZmIwZjJmZGI2YWI3MzI1Y2UwNDViMTU3MjIz
10
+ N2JmMDU1ZDIzNjVhNTA2NWE0ZGFkZmRhZTM5YTg1MmM3OWU0M2I5M2IzZGRm
11
+ NTJjYWU2OGZjNjRmZDdkZGY1NjhlN2IxZDhjM2IyODllOWZjMTI=
12
12
  data.tar.gz: !binary |-
13
- YjE4YTQ5N2NkMzkyMDk3YWZiYzZlYTVlOGQ5MTRjZjA1MTgyMzcwZGE4NzFl
14
- YjI3YTc4MmY1ZDVmOTVhYjJkMmE3YzI3YmEwZGJjNzY2YjA1NWQ0ZjFlMzkz
15
- NjViNTcyOTdhZTZhYmE5ODA4M2ViMDhiNWE0OWNmMWJjYWRmZWM=
13
+ YWNiMDQ3ZDlkZTM3YzRiZjVhYmE4OTMwODFiOWNkNTgzNDk1NzdlMDgxMGJh
14
+ NTBhMTE5ZTMzMGFmOWEyZjYwZDZiYTc2MGE5OWRmNjk3NTg4YmE2Yjc2ODY3
15
+ M2QyYzcxZmNiYTRkNWFmM2QxYjkxM2QzYzc2NDUxYWU1MGU3YmQ=
@@ -42,6 +42,8 @@ module Gaah
42
42
  make_request(method, response['Location'])
43
43
  elsif response.is_a? Net::HTTPForbidden
44
44
  raise Gaah::HTTPForbidden
45
+ elsif response.is_a? Net::HTTPUnauthorized
46
+ raise Gaah::HTTPUnauthorized
45
47
  else
46
48
  # TODO: error handling
47
49
  response
@@ -1,3 +1,4 @@
1
1
  module Gaah
2
2
  class HTTPForbidden < Exception;end
3
+ class HTTPUnauthorized < Exception;end
3
4
  end
@@ -1,3 +1,3 @@
1
1
  module Gaah
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gaah
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hwan-Joon Choi