twitter 5.4.1 → 5.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,25 +2,88 @@ require 'helper'
2
2
 
3
3
  describe Twitter::NullObject do
4
4
 
5
- before do
6
- @null_object = Twitter::NullObject.new
7
- end
8
-
9
5
  describe '#nil?' do
10
6
  it 'returns true' do
11
- expect(@null_object.nil?).to be true
7
+ expect(subject.nil?).to be true
8
+ end
9
+ end
10
+
11
+ describe '#to_a' do
12
+ it 'returns an empty array' do
13
+ expect(subject.to_a).to be_an Array
14
+ expect(subject.to_a).to be_empty
15
+ end
16
+ end
17
+
18
+ describe '#to_ary' do
19
+ it 'returns an empty array' do
20
+ expect(subject.to_ary).to be_an Array
21
+ expect(subject.to_ary).to be_empty
22
+ end
23
+ end
24
+
25
+ if RUBY_VERSION >= '1.9'
26
+ describe '#to_c' do
27
+ it 'returns zero as a complex number' do
28
+ expect(subject.to_c).to be_a Complex
29
+ expect(subject.to_c).to be_zero
30
+ end
31
+ end
32
+
33
+ describe '#to_r' do
34
+ it 'returns zero as a rational number' do
35
+ expect(subject.to_r).to be_a Rational
36
+ expect(subject.to_r).to be_zero
37
+ end
38
+ end
39
+ end
40
+
41
+ if RUBY_VERSION >= '2.0'
42
+ describe '#to_h' do
43
+ it 'returns an empty hash' do
44
+ expect(subject.to_h).to be_a Hash
45
+ expect(subject.to_h).to be_empty
46
+ end
47
+ end
48
+ end
49
+
50
+ describe '#to_f' do
51
+ it 'returns zero as a floating point number' do
52
+ expect(subject.to_f).to be_a Float
53
+ expect(subject.to_f).to be_zero
54
+ end
55
+ end
56
+
57
+ describe '#to_i' do
58
+ it 'returns zero' do
59
+ expect(subject.to_i).to be_an Integer
60
+ expect(subject.to_i).to be_zero
61
+ end
62
+ end
63
+
64
+ describe '#to_s' do
65
+ it 'returns an empty string' do
66
+ expect(subject.to_s).to be_a String
67
+ expect(subject.to_s).to be_empty
68
+ end
69
+ end
70
+
71
+ describe '#to_str' do
72
+ it 'returns an empty string' do
73
+ expect(subject.to_str).to be_a String
74
+ expect(subject.to_str).to be_empty
12
75
  end
13
76
  end
14
77
 
15
78
  describe 'calling any method' do
16
79
  it 'returns self' do
17
- expect(@null_object.any).to equal @null_object
80
+ expect(subject.any).to equal subject
18
81
  end
19
82
  end
20
83
 
21
84
  describe '#respond_to?' do
22
85
  it 'returns true' do
23
- expect(@null_object.respond_to?(:any)).to be true
86
+ expect(subject.respond_to?(:any)).to be true
24
87
  end
25
88
  end
26
89
 
@@ -49,7 +49,7 @@ describe Twitter::REST::API::DirectMessages do
49
49
  it 'returns the specified direct message' do
50
50
  direct_message = @client.direct_message(1_825_786_345)
51
51
  expect(direct_message).to be_a Twitter::DirectMessage
52
- expect(direct_message.sender.id).to eq(7_505_382)
52
+ expect(direct_message.sender.id).to eq(14_471_007)
53
53
  end
54
54
  end
55
55
 
@@ -66,7 +66,7 @@ describe Twitter::REST::API::DirectMessages do
66
66
  direct_messages = @client.direct_messages(1_825_786_345)
67
67
  expect(direct_messages).to be_an Array
68
68
  expect(direct_messages.first).to be_a Twitter::DirectMessage
69
- expect(direct_messages.first.sender.id).to eq(7_505_382)
69
+ expect(direct_messages.first.sender.id).to eq(14_471_007)
70
70
  end
71
71
  end
72
72
  context 'without ids passed' do
@@ -98,34 +98,34 @@ describe Twitter::REST::API::DirectMessages do
98
98
  direct_messages = @client.destroy_direct_message(1_825_785_544)
99
99
  expect(direct_messages).to be_an Array
100
100
  expect(direct_messages.first).to be_a Twitter::DirectMessage
101
- expect(direct_messages.first.sender.id).to eq(7_505_382)
101
+ expect(direct_messages.first.sender.id).to eq(14_471_007)
102
102
  end
103
103
  end
104
104
 
105
105
  describe '#create_direct_message' do
106
106
  before do
107
- stub_post('/1.1/direct_messages/new.json').with(:body => {:screen_name => 'pengwynn', :text => 'Creating a fixture for the Twitter gem'}).to_return(:body => fixture('direct_message.json'), :headers => {:content_type => 'application/json; charset=utf-8'})
107
+ stub_post('/1.1/direct_messages/new.json').with(:body => {:screen_name => 'pengwynn', :text => "My #newride from @PUBLICBikes. Don't you want one? https://t.co/7HIwCl68Y8 https://t.co/JSSxDPr4Sf"}).to_return(:body => fixture('direct_message.json'), :headers => {:content_type => 'application/json; charset=utf-8'})
108
108
  end
109
109
  it 'requests the correct resource' do
110
- @client.create_direct_message('pengwynn', 'Creating a fixture for the Twitter gem')
111
- expect(a_post('/1.1/direct_messages/new.json').with(:body => {:screen_name => 'pengwynn', :text => 'Creating a fixture for the Twitter gem'})).to have_been_made
110
+ @client.create_direct_message('pengwynn', "My #newride from @PUBLICBikes. Don't you want one? https://t.co/7HIwCl68Y8 https://t.co/JSSxDPr4Sf")
111
+ expect(a_post('/1.1/direct_messages/new.json').with(:body => {:screen_name => 'pengwynn', :text => "My #newride from @PUBLICBikes. Don't you want one? https://t.co/7HIwCl68Y8 https://t.co/JSSxDPr4Sf"})).to have_been_made
112
112
  end
113
113
  it 'returns the sent message' do
114
- direct_message = @client.create_direct_message('pengwynn', 'Creating a fixture for the Twitter gem')
114
+ direct_message = @client.create_direct_message('pengwynn', "My #newride from @PUBLICBikes. Don't you want one? https://t.co/7HIwCl68Y8 https://t.co/JSSxDPr4Sf")
115
115
  expect(direct_message).to be_a Twitter::DirectMessage
116
- expect(direct_message.text).to eq('Creating a fixture for the Twitter gem')
116
+ expect(direct_message.text).to eq("My #newride from @PUBLICBikes. Don't you want one? https://t.co/7HIwCl68Y8 https://t.co/JSSxDPr4Sf")
117
117
  end
118
118
  context 'with a URI object passed' do
119
119
  it 'requests the correct resource' do
120
120
  user = URI.parse('https://twitter.com/pengwynn')
121
- @client.create_direct_message(user, 'Creating a fixture for the Twitter gem')
122
- expect(a_post('/1.1/direct_messages/new.json').with(:body => {:screen_name => 'pengwynn', :text => 'Creating a fixture for the Twitter gem'})).to have_been_made
121
+ @client.create_direct_message(user, "My #newride from @PUBLICBikes. Don't you want one? https://t.co/7HIwCl68Y8 https://t.co/JSSxDPr4Sf")
122
+ expect(a_post('/1.1/direct_messages/new.json').with(:body => {:screen_name => 'pengwynn', :text => "My #newride from @PUBLICBikes. Don't you want one? https://t.co/7HIwCl68Y8 https://t.co/JSSxDPr4Sf"})).to have_been_made
123
123
  end
124
124
  end
125
125
  context 'with a URI string passed' do
126
126
  it 'requests the correct resource' do
127
- @client.create_direct_message('https://twitter.com/pengwynn', 'Creating a fixture for the Twitter gem')
128
- expect(a_post('/1.1/direct_messages/new.json').with(:body => {:screen_name => 'pengwynn', :text => 'Creating a fixture for the Twitter gem'})).to have_been_made
127
+ @client.create_direct_message('https://twitter.com/pengwynn', "My #newride from @PUBLICBikes. Don't you want one? https://t.co/7HIwCl68Y8 https://t.co/JSSxDPr4Sf")
128
+ expect(a_post('/1.1/direct_messages/new.json').with(:body => {:screen_name => 'pengwynn', :text => "My #newride from @PUBLICBikes. Don't you want one? https://t.co/7HIwCl68Y8 https://t.co/JSSxDPr4Sf"})).to have_been_made
129
129
  end
130
130
  end
131
131
  end
@@ -52,39 +52,15 @@ describe Twitter::Tweet do
52
52
  end
53
53
  end
54
54
 
55
- describe '#entities?' do
56
- it 'returns false if there are no entities set' do
57
- tweet = Twitter::Tweet.new(:id => 28_669_546_014)
58
- expect(tweet.entities?).to be false
59
- end
60
-
61
- it 'returns false if there are blank lists of entities set' do
62
- tweet = Twitter::Tweet.new(:id => 28_669_546_014, :entities => {:urls => []})
63
- expect(tweet.entities?).to be false
64
- end
65
- it 'returns true if there are entities set' do
66
- urls_array = [
67
- {
68
- :url => 'http://example.com/t.co',
69
- :expanded_url => 'http://example.com/expanded',
70
- :display_url => 'example.com/expanded…',
71
- :indices => [10, 33],
72
- }
73
- ]
74
- tweet = Twitter::Tweet.new(:id => 28_669_546_014, :entities => {:urls => urls_array})
75
- expect(tweet.entities?).to be true
76
- end
77
- end
78
-
79
55
  describe '#filter_level' do
80
56
  it 'returns the filter level when filter_level is set' do
81
57
  tweet = Twitter::Tweet.new(:id => 28_669_546_014, :filter_level => 'high')
82
58
  expect(tweet.filter_level).to be_a String
83
59
  expect(tweet.filter_level).to eq('high')
84
60
  end
85
- it 'returns \'none\' when not set' do
61
+ it 'returns nil when not set' do
86
62
  tweet = Twitter::Tweet.new(:id => 28_669_546_014)
87
- expect(tweet.filter_level).to eq('none')
63
+ expect(tweet.filter_level).to be nil
88
64
  end
89
65
  end
90
66
 
@@ -14,20 +14,20 @@ Gem::Specification.new do |spec|
14
14
  spec.add_dependency 'memoizable', '~> 0.4.0'
15
15
  spec.add_dependency 'simple_oauth', '~> 0.2.0'
16
16
  spec.add_development_dependency 'bundler', '~> 1.0'
17
- spec.authors = ["Erik Michaels-Ober", "John Nunemaker", "Wynn Netherland", "Steve Richert", "Steve Agalloco"]
18
- spec.cert_chain = ['certs/sferik.pem']
17
+ spec.authors = ['Erik Michaels-Ober', 'John Nunemaker', 'Wynn Netherland', 'Steve Richert', 'Steve Agalloco']
18
+ spec.cert_chain = %w[certs/sferik.pem]
19
19
  spec.description = %q{A Ruby interface to the Twitter API.}
20
- spec.email = ["sferik@gmail.com"]
20
+ spec.email = %w[sferik@gmail.com]
21
21
  spec.files = %w(.yardopts CHANGELOG.md CONTRIBUTING.md LICENSE.md README.md Rakefile twitter.gemspec)
22
- spec.files += Dir.glob("lib/**/*.rb")
23
- spec.files += Dir.glob("spec/**/*")
22
+ spec.files += Dir.glob('lib/**/*.rb')
23
+ spec.files += Dir.glob('spec/**/*')
24
24
  spec.homepage = 'http://sferik.github.com/twitter/'
25
- spec.licenses = ['MIT']
25
+ spec.licenses = %w[MIT]
26
26
  spec.name = 'twitter'
27
- spec.require_paths = ['lib']
27
+ spec.require_paths = %w[lib]
28
28
  spec.required_rubygems_version = '>= 1.3.5'
29
- spec.signing_key = File.expand_path("~/.gem/private_key.pem") if $0 =~ /gem\z/
29
+ spec.signing_key = File.expand_path('~/.gem/private_key.pem') if $PROGRAM_NAME =~ /gem\z/
30
30
  spec.summary = spec.description
31
- spec.test_files = Dir.glob("spec/**/*")
31
+ spec.test_files = Dir.glob('spec/**/*')
32
32
  spec.version = Twitter::Version
33
33
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.1
5
- prerelease:
4
+ version: 5.5.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Erik Michaels-Ober
@@ -13,39 +12,32 @@ authors:
13
12
  autorequire:
14
13
  bindir: bin
15
14
  cert_chain:
16
- - !binary |-
17
- LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURMakNDQWhhZ0F3SUJB
18
- Z0lCQURBTkJna3Foa2lHOXcwQkFRVUZBREE5TVE4d0RRWURWUVFEREFaelpt
19
- VnkKYVdzeEZUQVRCZ29Ka2lhSmsvSXNaQUVaRmdWbmJXRnBiREVUTUJFR0Nn
20
- bVNKb21UOGl4a0FSa1dBMk52YlRBZQpGdzB4TXpBeU1ETXhNREF5TWpkYUZ3
21
- MHhOREF5TURNeE1EQXlNamRhTUQweER6QU5CZ05WQkFNTUJuTm1aWEpwCmF6
22
- RVZNQk1HQ2dtU0pvbVQ4aXhrQVJrV0JXZHRZV2xzTVJNd0VRWUtDWkltaVpQ
23
- eUxHUUJHUllEWTI5dE1JSUIKSWpBTkJna3Foa2lHOXcwQkFRRUZBQU9DQVE4
24
- QU1JSUJDZ0tDQVFFQWwweDVkeDh1S3hpN1Rrckl1eUJVVEpWQgp2MW85M25V
25
- QjlqL3k0TTk2Z1Yycll3QWNpMUpQQnNlTmQ2RnliempvM1lHdUhsN0VRSHVT
26
- SE5hZjFwMmx4ZXcvCnk2MEpYSUpCQmdQY0RLL0tDUDROVUhvZm0wamZvWUQr
27
- SDV1TkpmSENOcTcvWnNUeE90RTNSYTkyczBCQ01UcG0Kd0JNTWxXUjVNdGRF
28
- aElZdUJPNFhobmVqWWdIMEwvN0JMMmx5bW50Vm5zci9hZ2RRb29qUUNOMUlR
29
- bXNSSnZyUgpkdVpSTzN0WnZvSW8xcEJjNEpFZWhEdXFDZXlCZ1BMT3FNb0t0
30
- UWxvbGQxVFFzMWtXVUJLN0tXTUZFaEtDL0tnCnp5ektSSFFvOXlEWXdPdllu
31
- Z29CTFkrVC9sd0NUNGR5c3NkaHpSYmZueEFoYUt1NFNBc3NJd2FDMDF5Vm93
32
- SUQKQVFBQm96a3dOekFKQmdOVkhSTUVBakFBTUIwR0ExVWREZ1FXQkJTMHJ1
33
- RGZSYWs1Y2kxT3BETlgvWmRERWtJcwppVEFMQmdOVkhROEVCQU1DQkxBd0RR
34
- WUpLb1pJaHZjTkFRRUZCUUFEZ2dFQkFISFNNcy9NUDBzT2FMa0V2NEpvCnp2
35
- a20zcW41QTZ0MHZhSHg3NzRjbWVqeU1VKzV3eVN4UmV6c3BMN1VMaDlOZXVL
36
- Mk9oVStPZTNUcHFyQWc1VEsKUjhHUUlMblZ1MkZlbUdBNnNBa1BEbGNQdGdB
37
- NmllSTE5UFpPRjZIVkxtYy9JRC9kUC9OZ1pXV3pFZXFRS21jSwoyK0hNK1NF
38
- RURoWmtTY1lla3c0Wk9lMTY0WnRaRzgxNm9BdjV4MHBHaXRTSWt1bVVwN1Y4
39
- aUVaLzZlaHI3WTllClhPZzRlZXVuNUwvSmptakFSb1cya05kdmtSRDNjMkVl
40
- U0xxV3ZRUnNCbHlwSGZoczZKSnVMbHlaUEdoVTNSL3YKU2YzbFZLcEJDV2dS
41
- cEdUdnk0NVhWcEIrNTl5MzNQSm1FdVExUFRFT1l2UXlhbzlVS01BQWFBTi83
42
- cVdRdGpsMApobHc9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
43
- date: 2013-12-24 00:00:00.000000000 Z
15
+ - |
16
+ -----BEGIN CERTIFICATE-----
17
+ MIIDLjCCAhagAwIBAgIBADANBgkqhkiG9w0BAQUFADA9MQ8wDQYDVQQDDAZzZmVy
18
+ aWsxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2NvbTAe
19
+ Fw0xMzAyMDMxMDAyMjdaFw0xNDAyMDMxMDAyMjdaMD0xDzANBgNVBAMMBnNmZXJp
20
+ azEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29tMIIB
21
+ IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl0x5dx8uKxi7TkrIuyBUTJVB
22
+ v1o93nUB9j/y4M96gV2rYwAci1JPBseNd6Fybzjo3YGuHl7EQHuSHNaf1p2lxew/
23
+ y60JXIJBBgPcDK/KCP4NUHofm0jfoYD+H5uNJfHCNq7/ZsTxOtE3Ra92s0BCMTpm
24
+ wBMMlWR5MtdEhIYuBO4XhnejYgH0L/7BL2lymntVnsr/agdQoojQCN1IQmsRJvrR
25
+ duZRO3tZvoIo1pBc4JEehDuqCeyBgPLOqMoKtQlold1TQs1kWUBK7KWMFEhKC/Kg
26
+ zyzKRHQo9yDYwOvYngoBLY+T/lwCT4dyssdhzRbfnxAhaKu4SAssIwaC01yVowID
27
+ AQABozkwNzAJBgNVHRMEAjAAMB0GA1UdDgQWBBS0ruDfRak5ci1OpDNX/ZdDEkIs
28
+ iTALBgNVHQ8EBAMCBLAwDQYJKoZIhvcNAQEFBQADggEBAHHSMs/MP0sOaLkEv4Jo
29
+ zvkm3qn5A6t0vaHx774cmejyMU+5wySxRezspL7ULh9NeuK2OhU+Oe3TpqrAg5TK
30
+ R8GQILnVu2FemGA6sAkPDlcPtgA6ieI19PZOF6HVLmc/ID/dP/NgZWWzEeqQKmcK
31
+ 2+HM+SEEDhZkScYekw4ZOe164ZtZG816oAv5x0pGitSIkumUp7V8iEZ/6ehr7Y9e
32
+ XOg4eeun5L/JjmjARoW2kNdvkRD3c2EeSLqWvQRsBlypHfhs6JJuLlyZPGhU3R/v
33
+ Sf3lVKpBCWgRpGTvy45XVpB+59y33PJmEuQ1PTEOYvQyao9UKMAAaAN/7qWQtjl0
34
+ hlw=
35
+ -----END CERTIFICATE-----
36
+ date: 2014-01-06 00:00:00.000000000 Z
44
37
  dependencies:
45
38
  - !ruby/object:Gem::Dependency
46
39
  name: addressable
47
40
  requirement: !ruby/object:Gem::Requirement
48
- none: false
49
41
  requirements:
50
42
  - - ~>
51
43
  - !ruby/object:Gem::Version
@@ -53,7 +45,6 @@ dependencies:
53
45
  type: :runtime
54
46
  prerelease: false
55
47
  version_requirements: !ruby/object:Gem::Requirement
56
- none: false
57
48
  requirements:
58
49
  - - ~>
59
50
  - !ruby/object:Gem::Version
@@ -61,7 +52,6 @@ dependencies:
61
52
  - !ruby/object:Gem::Dependency
62
53
  name: buftok
63
54
  requirement: !ruby/object:Gem::Requirement
64
- none: false
65
55
  requirements:
66
56
  - - ~>
67
57
  - !ruby/object:Gem::Version
@@ -69,7 +59,6 @@ dependencies:
69
59
  type: :runtime
70
60
  prerelease: false
71
61
  version_requirements: !ruby/object:Gem::Requirement
72
- none: false
73
62
  requirements:
74
63
  - - ~>
75
64
  - !ruby/object:Gem::Version
@@ -77,7 +66,6 @@ dependencies:
77
66
  - !ruby/object:Gem::Dependency
78
67
  name: descendants_tracker
79
68
  requirement: !ruby/object:Gem::Requirement
80
- none: false
81
69
  requirements:
82
70
  - - ~>
83
71
  - !ruby/object:Gem::Version
@@ -85,7 +73,6 @@ dependencies:
85
73
  type: :runtime
86
74
  prerelease: false
87
75
  version_requirements: !ruby/object:Gem::Requirement
88
- none: false
89
76
  requirements:
90
77
  - - ~>
91
78
  - !ruby/object:Gem::Version
@@ -93,7 +80,6 @@ dependencies:
93
80
  - !ruby/object:Gem::Dependency
94
81
  name: equalizer
95
82
  requirement: !ruby/object:Gem::Requirement
96
- none: false
97
83
  requirements:
98
84
  - - ~>
99
85
  - !ruby/object:Gem::Version
@@ -101,7 +87,6 @@ dependencies:
101
87
  type: :runtime
102
88
  prerelease: false
103
89
  version_requirements: !ruby/object:Gem::Requirement
104
- none: false
105
90
  requirements:
106
91
  - - ~>
107
92
  - !ruby/object:Gem::Version
@@ -109,9 +94,8 @@ dependencies:
109
94
  - !ruby/object:Gem::Dependency
110
95
  name: faraday
111
96
  requirement: !ruby/object:Gem::Requirement
112
- none: false
113
97
  requirements:
114
- - - ! '>='
98
+ - - '>='
115
99
  - !ruby/object:Gem::Version
116
100
  version: '0.8'
117
101
  - - <
@@ -120,9 +104,8 @@ dependencies:
120
104
  type: :runtime
121
105
  prerelease: false
122
106
  version_requirements: !ruby/object:Gem::Requirement
123
- none: false
124
107
  requirements:
125
- - - ! '>='
108
+ - - '>='
126
109
  - !ruby/object:Gem::Version
127
110
  version: '0.8'
128
111
  - - <
@@ -131,7 +114,6 @@ dependencies:
131
114
  - !ruby/object:Gem::Dependency
132
115
  name: http
133
116
  requirement: !ruby/object:Gem::Requirement
134
- none: false
135
117
  requirements:
136
118
  - - ~>
137
119
  - !ruby/object:Gem::Version
@@ -139,7 +121,6 @@ dependencies:
139
121
  type: :runtime
140
122
  prerelease: false
141
123
  version_requirements: !ruby/object:Gem::Requirement
142
- none: false
143
124
  requirements:
144
125
  - - ~>
145
126
  - !ruby/object:Gem::Version
@@ -147,7 +128,6 @@ dependencies:
147
128
  - !ruby/object:Gem::Dependency
148
129
  name: http_parser.rb
149
130
  requirement: !ruby/object:Gem::Requirement
150
- none: false
151
131
  requirements:
152
132
  - - ~>
153
133
  - !ruby/object:Gem::Version
@@ -155,7 +135,6 @@ dependencies:
155
135
  type: :runtime
156
136
  prerelease: false
157
137
  version_requirements: !ruby/object:Gem::Requirement
158
- none: false
159
138
  requirements:
160
139
  - - ~>
161
140
  - !ruby/object:Gem::Version
@@ -163,7 +142,6 @@ dependencies:
163
142
  - !ruby/object:Gem::Dependency
164
143
  name: json
165
144
  requirement: !ruby/object:Gem::Requirement
166
- none: false
167
145
  requirements:
168
146
  - - ~>
169
147
  - !ruby/object:Gem::Version
@@ -171,7 +149,6 @@ dependencies:
171
149
  type: :runtime
172
150
  prerelease: false
173
151
  version_requirements: !ruby/object:Gem::Requirement
174
- none: false
175
152
  requirements:
176
153
  - - ~>
177
154
  - !ruby/object:Gem::Version
@@ -179,7 +156,6 @@ dependencies:
179
156
  - !ruby/object:Gem::Dependency
180
157
  name: memoizable
181
158
  requirement: !ruby/object:Gem::Requirement
182
- none: false
183
159
  requirements:
184
160
  - - ~>
185
161
  - !ruby/object:Gem::Version
@@ -187,7 +163,6 @@ dependencies:
187
163
  type: :runtime
188
164
  prerelease: false
189
165
  version_requirements: !ruby/object:Gem::Requirement
190
- none: false
191
166
  requirements:
192
167
  - - ~>
193
168
  - !ruby/object:Gem::Version
@@ -195,7 +170,6 @@ dependencies:
195
170
  - !ruby/object:Gem::Dependency
196
171
  name: simple_oauth
197
172
  requirement: !ruby/object:Gem::Requirement
198
- none: false
199
173
  requirements:
200
174
  - - ~>
201
175
  - !ruby/object:Gem::Version
@@ -203,7 +177,6 @@ dependencies:
203
177
  type: :runtime
204
178
  prerelease: false
205
179
  version_requirements: !ruby/object:Gem::Requirement
206
- none: false
207
180
  requirements:
208
181
  - - ~>
209
182
  - !ruby/object:Gem::Version
@@ -211,7 +184,6 @@ dependencies:
211
184
  - !ruby/object:Gem::Dependency
212
185
  name: bundler
213
186
  requirement: !ruby/object:Gem::Requirement
214
- none: false
215
187
  requirements:
216
188
  - - ~>
217
189
  - !ruby/object:Gem::Version
@@ -219,7 +191,6 @@ dependencies:
219
191
  type: :development
220
192
  prerelease: false
221
193
  version_requirements: !ruby/object:Gem::Requirement
222
- none: false
223
194
  requirements:
224
195
  - - ~>
225
196
  - !ruby/object:Gem::Version
@@ -246,6 +217,7 @@ files:
246
217
  - lib/twitter/creatable.rb
247
218
  - lib/twitter/cursor.rb
248
219
  - lib/twitter/direct_message.rb
220
+ - lib/twitter/entities.rb
249
221
  - lib/twitter/entity/hashtag.rb
250
222
  - lib/twitter/entity/symbol.rb
251
223
  - lib/twitter/entity/uri.rb
@@ -283,6 +255,7 @@ files:
283
255
  - lib/twitter/null_object.rb
284
256
  - lib/twitter/oembed.rb
285
257
  - lib/twitter/place.rb
258
+ - lib/twitter/profile.rb
286
259
  - lib/twitter/profile_banner.rb
287
260
  - lib/twitter/rate_limit.rb
288
261
  - lib/twitter/relationship.rb
@@ -456,30 +429,26 @@ files:
456
429
  homepage: http://sferik.github.com/twitter/
457
430
  licenses:
458
431
  - MIT
432
+ metadata: {}
459
433
  post_install_message:
460
434
  rdoc_options: []
461
435
  require_paths:
462
436
  - lib
463
437
  required_ruby_version: !ruby/object:Gem::Requirement
464
- none: false
465
438
  requirements:
466
- - - ! '>='
439
+ - - '>='
467
440
  - !ruby/object:Gem::Version
468
441
  version: '0'
469
- segments:
470
- - 0
471
- hash: -2856060050130677509
472
442
  required_rubygems_version: !ruby/object:Gem::Requirement
473
- none: false
474
443
  requirements:
475
- - - ! '>='
444
+ - - '>='
476
445
  - !ruby/object:Gem::Version
477
446
  version: 1.3.5
478
447
  requirements: []
479
448
  rubyforge_project:
480
- rubygems_version: 1.8.23
449
+ rubygems_version: 2.0.14
481
450
  signing_key:
482
- specification_version: 3
451
+ specification_version: 4
483
452
  summary: A Ruby interface to the Twitter API.
484
453
  test_files:
485
454
  - spec/fixtures/already_favorited.json