skype 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/History.txt +5 -0
- data/lib/skype/main.rb +1 -1
- data/lib/skype/version.rb +1 -1
- data/lib/skype/wrappers/error.rb +2 -2
- data/test/test_error.rb +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57cf53dd39ff5c0815b8f2640d2b4953a952c351
|
4
|
+
data.tar.gz: 04a4765ce71299b844e5b3dd9b3c75e50a96e969
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ec61d7ba4485bda049e578bae098e0dd3eab1dce95efd693aed835f73d367200bc388258a3b6f0acf99f7a01bd8bac63e0f8923bff5724d36967d2dd629dc1e
|
7
|
+
data.tar.gz: 9329c540c794efd9ee9c22e6894f374bea0bf88137c62cc808732daeefdc6ef5324d11cc248987dcc7b4f4d6c2c6090c9356d871155415bcd39d769907a15736
|
data/Gemfile.lock
CHANGED
data/History.txt
CHANGED
data/lib/skype/main.rb
CHANGED
data/lib/skype/version.rb
CHANGED
data/lib/skype/wrappers/error.rb
CHANGED
data/test/test_error.rb
CHANGED
@@ -2,12 +2,14 @@ require File.expand_path 'test_helper', File.dirname(__FILE__)
|
|
2
2
|
|
3
3
|
class TestSkypeError < MiniTest::Test
|
4
4
|
|
5
|
-
def
|
5
|
+
def test_api_error
|
6
6
|
begin
|
7
7
|
Skype.asdfhujiko
|
8
8
|
rescue => e
|
9
|
-
|
9
|
+
err = e
|
10
10
|
end
|
11
|
+
assert_equal err.class, Skype::APIError
|
12
|
+
assert err.message =~ /^ERROR /
|
11
13
|
end
|
12
14
|
|
13
15
|
end
|