tw 1.0.10 → 1.0.11

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: f414dd60051735f5301d5326319d47d580def00e
4
- data.tar.gz: bd377615a9045984f1d16763b3b040276db3a96c
3
+ metadata.gz: 271e22fb02642ba1ad7507ee26a6e24c4ad7c3f3
4
+ data.tar.gz: b1fecbeb246aa5408aa554fa9506917903958e13
5
5
  SHA512:
6
- metadata.gz: 310f5c8691251663464becb0d7c0f08e14e3718d78114f77d2c634ce2fa04c29200e38967324983ab7fa7d6e9cbc2f4a1b2bdd38d339b5794754c8cd582680bd
7
- data.tar.gz: f8c4e8b48d0361f0e0b77123c7e256d51ce24cad8cb4a02e19234d5ef74b9e6f984f741076fed0ba19a6afd4b5053208014db0247c571db6644da0dbd7a5747f
6
+ metadata.gz: 78804021959b9e732f848eac9e6ea40b8c3618b7bddbdb126b5216afe1e19947ce1aab93dd41d4f02e38cf419529fd275218393b33bc79a77a1e6ddb749b17f0
7
+ data.tar.gz: 96cd0caf3651de0dc12f9f785ea7ffade83a55bca1d367a6423bf75c1f3bb285e601de00112129d80adc9063dff3388cea63b6f343cf2b4364bdf0d6c650b728
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 1.0.11 2015-10-19
2
+
3
+ * bugfix search #65
4
+
1
5
  === 1.0.10 2015-10-18
2
6
 
3
7
  * support a timezone #66
@@ -13,7 +13,7 @@ module Tw
13
13
  end
14
14
 
15
15
  def search(word)
16
- @rest_client.search(word).map{|m|
16
+ @rest_client.search(word).take(20).map{|m|
17
17
  Tw::Tweet.new(:id => m.id,
18
18
  :user => m.user.screen_name,
19
19
  :text => m.text,
data/lib/tw/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tw
2
- VERSION = '1.0.10'
2
+ VERSION = '1.0.11'
3
3
  end
data/test/test_tw.rb CHANGED
@@ -22,7 +22,7 @@ class TestTw < MiniTest::Test
22
22
  end
23
23
  return true
24
24
  end
25
-
25
+
26
26
  def test_mentions
27
27
  assert response? @client.mentions
28
28
  end
data/tw.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
17
17
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
18
  gem.require_paths = ["lib"]
19
19
 
20
- gem.add_dependency 'twitter', '>= 5.6.0'
20
+ gem.add_dependency 'twitter', '>= 5.15.0'
21
21
  gem.add_dependency 'userstream', '>= 1.2.0'
22
22
  gem.add_dependency 'json', '>= 1.7.0'
23
23
  gem.add_dependency 'rainbow', '>= 2.0.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tw
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sho Hashimoto
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 5.6.0
19
+ version: 5.15.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 5.6.0
26
+ version: 5.15.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: userstream
29
29
  requirement: !ruby/object:Gem::Requirement