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 CHANGED
@@ -7,7 +7,7 @@ gem 'activesupport'
7
7
  gem 'awesome_print'
8
8
  gem 'launchy'
9
9
  gem 'oauth'
10
- gem 'twitter_oauth'
10
+ gem 'twitter_oauth', '0.4.3'
11
11
  gem 'slop'
12
12
 
13
13
  group :development do
@@ -53,4 +53,4 @@ DEPENDENCIES
53
53
  rspec (~> 2.3.0)
54
54
  slop
55
55
  twitter-stream
56
- twitter_oauth
56
+ twitter_oauth (= 0.4.3)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.9
1
+ 0.6.0
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{earthquake}
8
- s.version = "0.5.9"
8
+ s.version = "0.6.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["jugyo"]
@@ -92,7 +92,6 @@ module Earthquake
92
92
  Readline::HISTORY.pop if buf.empty? || Readline::HISTORY[-1] == Readline::HISTORY[-2]
93
93
  end
94
94
  sync { input(buf.strip) }
95
- sleep 1 if buf.present?
96
95
  end
97
96
  end
98
97
 
@@ -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|
@@ -4,7 +4,7 @@ module Earthquake
4
4
  consumer = OAuth::Consumer.new(
5
5
  self.config[:consumer_key],
6
6
  self.config[:consumer_secret],
7
- :site => 'http://api.twitter.com'
7
+ :site => 'https://api.twitter.com'
8
8
  )
9
9
  request_token = consumer.get_request_token
10
10
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: earthquake
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.5.9
5
+ version: 0.6.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - jugyo