copy-ruby 0.0.1 → 0.0.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: a48afe7aa5c5ea2b0abd8e11f0270c4bd5920388
4
- data.tar.gz: 74493f67ce12f9f779c3d81f989688ebabd781dd
3
+ metadata.gz: 2c3457beed83c9c2d7fe34e919d11b0c3ad2429c
4
+ data.tar.gz: 2e91d53ee641c17390dd881089f495e4e4bfe38d
5
5
  SHA512:
6
- metadata.gz: b7a180c4ece7c8b4705a57247e6a6123ae4ae48bb003512f5fd136b9fcb52cb865286bf4f9e7a957d70bc0270a5f45b4e65d953a1ccb428eaad9733428a774ad
7
- data.tar.gz: 2a919a45e70748b9d88b351451472ef8a24c9100a06841771eab38bdb74b7fd357c2a519e6392ffe191fa161f01bf235b4a92deba8ece48150c611fa1b2ecf51
6
+ metadata.gz: 0ce89be2a8eabe47e40bfaf27816fbaf305a705d412080bdd3c324bb210badd567d0a8d9931240d0a6b47fad4a0c04e244e5521862fff71b79f6818a8a5eddac
7
+ data.tar.gz: 357a378cfae09c4d4225aabca2f2088e3e1f3db9b1808f429558a0f5ecf85b12571c753f2d832ac18f41f65b3393dee0a32f56415bf4bc90168830a8bfea9125
@@ -42,8 +42,8 @@ module Copy
42
42
  error = case code
43
43
  when 1021, 1024 then ObjectNotFound.new(message)
44
44
  when 1300, 1303 then BadRequest.new(message)
45
+ when 2000 then AuthenticationError.new(message)
45
46
  else
46
- binding.pry
47
47
  APIError.new(message)
48
48
  end
49
49
  fail error
@@ -1,3 +1,3 @@
1
1
  module Copy
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: copy-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andres Bravo