twitter4r 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -67,8 +67,14 @@ class Twitter::Client
67
67
 
68
68
  def rest_access_token
69
69
  unless @rest_access_token
70
- key = @oauth_access[:key] || @oauth_access["key"]
71
- secret = @oauth_access[:secret] || @oauth_access["secret"]
70
+ access = @oauth_access
71
+ if access
72
+ key = access[:key] || access["key"]
73
+ secret = access[:secret] || access["secret"]
74
+ else
75
+ key = ""
76
+ secret = ""
77
+ end
72
78
  @rest_access_token = OAuth::AccessToken.new(rest_consumer, key, secret)
73
79
  end
74
80
  @rest_access_token
@@ -4,7 +4,7 @@
4
4
  module Twitter::Version #:nodoc:
5
5
  MAJOR = 0
6
6
  MINOR = 5
7
- REVISION = 1
7
+ REVISION = 2
8
8
  class << self
9
9
  # Returns X.Y.Z formatted version string
10
10
  def to_version
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter4r
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 15
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 5
8
- - 1
9
- version: 0.5.1
9
+ - 2
10
+ version: 0.5.2
10
11
  platform: ruby
11
12
  authors:
12
13
  - Susan Potter
@@ -14,16 +15,18 @@ autorequire: twitter
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-09-07 00:00:00 -05:00
18
+ date: 2010-09-13 00:00:00 -05:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: oauth
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
27
  - - ">="
26
28
  - !ruby/object:Gem::Version
29
+ hash: 13
27
30
  segments:
28
31
  - 0
29
32
  - 4
@@ -35,9 +38,11 @@ dependencies:
35
38
  name: json
36
39
  prerelease: false
37
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
38
42
  requirements:
39
43
  - - ">="
40
44
  - !ruby/object:Gem::Version
45
+ hash: 17
41
46
  segments:
42
47
  - 1
43
48
  - 1
@@ -117,18 +122,22 @@ rdoc_options: []
117
122
  require_paths:
118
123
  - lib
119
124
  required_ruby_version: !ruby/object:Gem::Requirement
125
+ none: false
120
126
  requirements:
121
127
  - - ">="
122
128
  - !ruby/object:Gem::Version
129
+ hash: 59
123
130
  segments:
124
131
  - 1
125
132
  - 8
126
133
  - 6
127
134
  version: 1.8.6
128
135
  required_rubygems_version: !ruby/object:Gem::Requirement
136
+ none: false
129
137
  requirements:
130
138
  - - ">="
131
139
  - !ruby/object:Gem::Version
140
+ hash: 3
132
141
  segments:
133
142
  - 0
134
143
  version: "0"
@@ -137,7 +146,7 @@ requirements:
137
146
  - json gem, version 0.4.3 or higher
138
147
  - jcode (for unicode support)
139
148
  rubyforge_project: twitter4r
140
- rubygems_version: 1.3.6
149
+ rubygems_version: 1.3.7
141
150
  signing_key:
142
151
  specification_version: 3
143
152
  summary: A clean Twitter client API in pure Ruby. Will include Twitter add-ons also in Ruby.