skype 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a374dd4707ba6ebcd367220c2acb71eeb1fbe56
4
- data.tar.gz: c2a6cd4dc9e31794a60ce5b1cc0fa33dedfba53f
3
+ metadata.gz: 903e0cbc11719056bdfd2ed7c958998666da8e4e
4
+ data.tar.gz: 15c4de23bccc80e943f6e513168a06e4a23c5ce8
5
5
  SHA512:
6
- metadata.gz: 70bcedf70842e5f9cb7fa127febfa815bf563e7914bcda542d7615ac4d3b96db793f7d9358d912f517ec95f752ae71115e7764a1ca9b9773b5250748ab02a58d
7
- data.tar.gz: c0a1fb7f01c9bb8dda17151749601ca6a378a0cb2a66133e61c4e11f09437f4396b8828409b09073b9e2190cc084ef79e11dc35aa491856f861ae1c0f59072c9
6
+ metadata.gz: e2969f9bc8c6402ecea6823225dc5f36bfbae5872d0e10f27f1552381a8a26453a408bea4f801b07896f9f9592d4b0ccfdfb2baa7b7e6211dfc622f34afe40ac
7
+ data.tar.gz: 978831a1c108f4411956e9dc981e11543263e3ace9b0b8d6a740137838cc8e4aa8c9798e111a3a7c41c42a3a023fd2afb15da8b44d54acb52bcd6da6d34fdf7e
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- skype (0.1.1)
4
+ skype (0.1.2)
5
5
  tmp_cache
6
6
 
7
7
  GEM
@@ -1,3 +1,8 @@
1
+ === 0.1.2 2013-06-29
2
+
3
+ * bugfix Chat API wrapper
4
+ * passed all tests for linux
5
+
1
6
  === 0.1.1 2013-06-29
2
7
 
3
8
  * add tests
@@ -1,3 +1,3 @@
1
1
  module Skype
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -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][0] rescue @body = ""
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skype
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Hashimoto