earthquake 0.5.9 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Gemfile.lock +1 -1
- data/VERSION +1 -1
- data/earthquake.gemspec +1 -1
- data/lib/earthquake/core.rb +0 -1
- data/lib/earthquake/ext.rb +13 -0
- data/lib/earthquake/get_access_token.rb +1 -1
- metadata +1 -1
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.6.0
|
data/earthquake.gemspec
CHANGED
data/lib/earthquake/core.rb
CHANGED
data/lib/earthquake/ext.rb
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
module TwitterOAuth
|
2
|
+
class Client
|
3
|
+
private
|
4
|
+
def consumer
|
5
|
+
@consumer ||= OAuth::Consumer.new(
|
6
|
+
@consumer_key,
|
7
|
+
@consumer_secret,
|
8
|
+
{ :site => 'https://api.twitter.com', :proxy => @proxy }
|
9
|
+
)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
1
14
|
class String
|
2
15
|
def c(*codes)
|
3
16
|
codes = codes.flatten.map { |code|
|