skype 0.2.7 → 0.2.8

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: 5f8611a44ee82314eed292caf5093b9a10aa2667
4
- data.tar.gz: e6c997dbd9dbc497d4c112e48b410c9072dd148e
3
+ metadata.gz: 542e4ea72c8bb7c9badd86ba6f33b1703cb1a4e6
4
+ data.tar.gz: a108de61a1c476a80ef6aca140936ee5b74ed41c
5
5
  SHA512:
6
- metadata.gz: 21b8eb038088dd26031e1aafb2a0d08183f5f06a23799271246a521dab61f459a9ce0b8d36990862e92e8281004f23c0acba3dba2f71804764d15aba5119cf59
7
- data.tar.gz: 9aad06c79910950188f41ad160f2aa38bf0893cb8125a43bbf27ad90b3979d242284f538c33a835b12f1bc8ce9c6af6e09f6e1fdfd9b7ffe7483411dfbf5fff1
6
+ metadata.gz: b0b1ac5f7f180a20981a35fc76ec8ec32aea68e6b40e479b89c91dca0b02d0b972d68d4518c17447739bdbd2dd2f54b23a5b1abec9958a61eb165ad917b109dd
7
+ data.tar.gz: bee87d58cd1b042d2c122918e8b75f54e0d4410d46e222866c855ebced9f88400e9be8a60193838314e733d2bbfdd55e86d134aa2ff3c5b191b98c89faecb721
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- skype (0.2.7)
4
+ skype (0.2.8)
5
5
  tmp_cache
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- minitest (5.0.6)
11
- rake (10.1.0)
10
+ minitest (5.3.5)
11
+ rake (10.3.2)
12
12
  tmp_cache (0.1.1)
13
13
 
14
14
  PLATFORMS
@@ -1,3 +1,8 @@
1
+ === 0.2.8 2013-08-03
2
+
3
+ * Fix recentchats regex to match all chats #16
4
+ * thank you for contributing @chrisbolt
5
+
1
6
  === 0.2.7 2013-08-03
2
7
 
3
8
  * add samples/chat_list.rb
@@ -1,3 +1,3 @@
1
1
  module Skype
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
@@ -6,7 +6,7 @@ module Skype
6
6
 
7
7
  def self.chats
8
8
  search("recentchats").
9
- scan(/(#[^\s,]+)[\s,]/).
9
+ scan(/\s(#[^\s,]+),?/).
10
10
  map{|i| Chat.new i[0] }
11
11
  end
12
12
 
@@ -0,0 +1,10 @@
1
+ require File.expand_path 'test_helper', File.dirname(__FILE__)
2
+
3
+ class TestEnvVariables < MiniTest::Test
4
+
5
+ def test_env_var
6
+ assert ENV.has_key?("SKYPE_FROM"), "ENV variable SKYPE_FROM must not be empty"
7
+ assert ENV.has_key?("SKYPE_TO"), "ENV variable SKYPE_TO must not be empty"
8
+ end
9
+
10
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skype
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Hashimoto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-03 00:00:00.000000000 Z
11
+ date: 2014-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tmp_cache
@@ -97,6 +97,7 @@ files:
97
97
  - skype.gemspec
98
98
  - test/test_call.rb
99
99
  - test/test_chat.rb
100
+ - test/test_env_var.rb
100
101
  - test/test_error.rb
101
102
  - test/test_helper.rb
102
103
  - test/test_skype.rb
@@ -120,13 +121,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
121
  version: '0'
121
122
  requirements: []
122
123
  rubyforge_project:
123
- rubygems_version: 2.0.5
124
+ rubygems_version: 2.0.3
124
125
  signing_key:
125
126
  specification_version: 4
126
127
  summary: Skype Desktop API Ruby wrapper for Mac/Linux.
127
128
  test_files:
128
129
  - test/test_call.rb
129
130
  - test/test_chat.rb
131
+ - test/test_env_var.rb
130
132
  - test/test_error.rb
131
133
  - test/test_helper.rb
132
134
  - test/test_skype.rb