skype 0.1.1 → 0.1.2
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/version.rb +1 -1
- data/lib/skype/wrappers/chat.rb +1 -1
- 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: 903e0cbc11719056bdfd2ed7c958998666da8e4e
|
4
|
+
data.tar.gz: 15c4de23bccc80e943f6e513168a06e4a23c5ce8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2969f9bc8c6402ecea6823225dc5f36bfbae5872d0e10f27f1552381a8a26453a408bea4f801b07896f9f9592d4b0ccfdfb2baa7b7e6211dfc622f34afe40ac
|
7
|
+
data.tar.gz: 978831a1c108f4411956e9dc981e11543263e3ace9b0b8d6a740137838cc8e4aa8c9798e111a3a7c41c42a3a023fd2afb15da8b44d54acb52bcd6da6d34fdf7e
|
data/Gemfile.lock
CHANGED
data/History.txt
CHANGED
data/lib/skype/version.rb
CHANGED
data/lib/skype/wrappers/chat.rb
CHANGED
@@ -37,7 +37,7 @@ module Skype
|
|
37
37
|
def initialize(id)
|
38
38
|
@id = id
|
39
39
|
@user = ::Skype.exec("GET CHATMESSAGE #{@id} from_handle").split(/\s/).last rescue @user = ""
|
40
|
-
@body = ::Skype.exec("GET CHATMESSAGE #{@id} body").scan(/^MESSAGE #{@id} BODY (.+)$/)[0][
|
40
|
+
@body = ::Skype.exec("GET CHATMESSAGE #{@id} body").scan(/^(CHAT)?MESSAGE #{@id} BODY (.+)$/)[0][1] rescue @body = ""
|
41
41
|
@time = Time.at ::Skype.exec("GET CHATMESSAGE #{@id} timestamp").split(/\s/).last.to_i
|
42
42
|
end
|
43
43
|
|