earthquake 0.8.5 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,44 @@
1
+ # rcov generated
2
+ coverage
3
+
4
+ # rdoc generated
5
+ rdoc
6
+
7
+ # yard generated
8
+ doc
9
+ .yardoc
10
+
11
+ # bundler
12
+ .bundle
13
+
14
+ # jeweler generated
15
+ pkg
16
+
17
+ # Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
18
+ #
19
+ # * Create a file at ~/.gitignore
20
+ # * Include files you want ignored
21
+ # * Run: git config --global core.excludesfile ~/.gitignore
22
+ #
23
+ # After doing this, these files will be ignored in all your git projects,
24
+ # saving you from having to 'pollute' every project you touch with them
25
+ #
26
+ # Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
27
+ #
28
+ # For MacOS:
29
+ #
30
+ #.DS_Store
31
+ #
32
+ # For TextMate
33
+ #*.tmproj
34
+ #tmtags
35
+ #
36
+ # For emacs:
37
+ #*~
38
+ #\#*
39
+ #.\#*
40
+ #
41
+ # For vim:
42
+ #*.swp
43
+ consumer.yml
44
+ Gemfile.lock
data/Gemfile CHANGED
@@ -1,17 +1,4 @@
1
1
  source "http://rubygems.org"
2
2
 
3
- gem 'twitter-stream'
4
- gem 'notify'
5
- gem 'i18n'
6
- gem 'activesupport'
7
- gem 'awesome_print'
8
- gem 'launchy'
9
- gem 'oauth'
10
- gem 'twitter_oauth', '0.4.3'
11
- gem 'slop', '~> 2.0'
12
-
13
- group :development do
14
- gem "rspec", "~> 2.3.0"
15
- gem "bundler", "~> 1.0.0"
16
- gem "jeweler", "~> 1.5.2"
17
- end
3
+ # Specify your gem's dependencies in earthquake.gemspec
4
+ gemspec
data/Rakefile CHANGED
@@ -1,31 +1,4 @@
1
- require 'rubygems'
2
- require 'bundler'
3
- begin
4
- Bundler.setup(:default, :development)
5
- rescue Bundler::BundlerError => e
6
- $stderr.puts e.message
7
- $stderr.puts "Run `bundle install` to install missing gems"
8
- exit e.status_code
9
- end
10
- require 'rake'
11
-
12
- require 'jeweler'
13
- Jeweler::Tasks.new do |gem|
14
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
15
- gem.name = "earthquake"
16
- gem.homepage = "http://github.com/jugyo/earthquake"
17
- gem.license = "MIT"
18
- gem.summary = %Q{Twitter Client on Terminal.}
19
- gem.description = %Q{Twitter Client on Terminal with Twitter Streaming API.}
20
- gem.email = "jugyo.org@gmail.com"
21
- gem.authors = ["jugyo"]
22
- # Include your dependencies below. Runtime dependencies are required when using your gem,
23
- # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
24
- # gem.add_runtime_dependency 'jabber4r', '> 0.1'
25
- # gem.add_development_dependency 'rspec', '> 1.2.3'
26
- gem.required_ruby_version = Gem::Requirement.new(">= 1.9.1")
27
- end
28
- Jeweler::RubygemsDotOrgTasks.new
1
+ require "bundler/gem_tasks"
29
2
 
30
3
  require 'rspec/core'
31
4
  require 'rspec/core/rake_task'
@@ -34,13 +7,3 @@ RSpec::Core::RakeTask.new(:spec) do |spec|
34
7
  end
35
8
 
36
9
  task :default => :spec
37
-
38
- require 'rake/rdoctask'
39
- Rake::RDocTask.new do |rdoc|
40
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
41
-
42
- rdoc.rdoc_dir = 'rdoc'
43
- rdoc.title = "earthquake #{version}"
44
- rdoc.rdoc_files.include('README*')
45
- rdoc.rdoc_files.include('lib/**/*.rb')
46
- end
data/bin/earthquake CHANGED
@@ -7,7 +7,6 @@ slop.banner "Usage: earthquake [options] [directory]"
7
7
  slop.on :d, :debug, 'Enable debug mode'
8
8
  slop.on :n, :'no-logo', 'No Logo'
9
9
  slop.on :c, :command, "Invoke a command and exit", true
10
- slop.on :l, :lolize, 'enable lolize (see: https://github.com/miaout17/lolize)'
11
10
  begin
12
11
  slop.parse!(argv)
13
12
  rescue => e
@@ -19,15 +18,12 @@ options.delete(:help)
19
18
  options[:dir] = argv.shift unless argv.empty?
20
19
 
21
20
  require 'pathname'
22
- eq_dir = Pathname.new(__FILE__).realpath.parent.parent
23
-
24
- $:.unshift eq_dir.join('lib') if $0 == __FILE__
21
+ $:.unshift Pathname.new(__FILE__).realpath.join('../../lib') if $0 == __FILE__
22
+ require "earthquake/version"
25
23
 
26
24
  command = options.delete(:command)
27
25
  no_logo = options.delete(:'no-logo')
28
26
 
29
- require 'lolize/auto' if options[:lolize]
30
-
31
27
  if !no_logo && !command
32
28
  print "\e[31m"
33
29
  puts %q{
@@ -37,7 +33,7 @@ if !no_logo && !command
37
33
  | __/ (_| | | | |_| | | | (_| | |_| | (_| | < __/
38
34
  \___|\__,_|_| \__|_| |_|\__, |\__,_|\__,_|_|\_\___|
39
35
  |_| }.
40
- gsub(/^\n/, '') + "v#{eq_dir.join('VERSION').read}".rjust(10) + "\n\n"
36
+ gsub(/^\n/, '') + "v#{Earthquake::VERSION}".rjust(10) + "\n\n"
41
37
  print "\e[0m"
42
38
  end
43
39
 
data/earthquake.gemspec CHANGED
@@ -1,101 +1,36 @@
1
- # Generated by jeweler
2
- # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
1
  # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "earthquake/version"
5
4
 
6
5
  Gem::Specification.new do |s|
7
- s.name = "earthquake"
8
- s.version = "0.8.5"
6
+ s.name = "earthquake"
7
+ s.version = Earthquake::VERSION
8
+ s.authors = ["jugyo"]
9
+ s.email = ["jugyo.org@gmail.com"]
10
+ s.homepage = "https://github.com/jugyo/earthquake"
11
+ s.summary = %q{Terminal Twitter Client}
12
+ s.description = %q{Twitter Client on Terminal with Twitter Streaming API.}
9
13
 
10
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["jugyo"]
12
- s.date = "2012-02-29"
13
- s.description = "Twitter Client on Terminal with Twitter Streaming API."
14
- s.email = "jugyo.org@gmail.com"
15
- s.executables = ["earthquake"]
16
- s.extra_rdoc_files = [
17
- "LICENSE.txt",
18
- "README.md"
19
- ]
20
- s.files = [
21
- ".document",
22
- ".rspec",
23
- "Gemfile",
24
- "Gemfile.lock",
25
- "LICENSE.txt",
26
- "README.md",
27
- "Rakefile",
28
- "VERSION",
29
- "bin/earthquake",
30
- "earthquake.gemspec",
31
- "lib/earthquake.rb",
32
- "lib/earthquake/cache.rb",
33
- "lib/earthquake/commands.rb",
34
- "lib/earthquake/core.rb",
35
- "lib/earthquake/ext.rb",
36
- "lib/earthquake/get_access_token.rb",
37
- "lib/earthquake/help.rb",
38
- "lib/earthquake/id_var.rb",
39
- "lib/earthquake/input.rb",
40
- "lib/earthquake/output.rb",
41
- "lib/earthquake/twitter.rb",
42
- "spec/earthquake_spec.rb",
43
- "spec/spec_helper.rb"
44
- ]
45
- s.homepage = "http://github.com/jugyo/earthquake"
46
- s.licenses = ["MIT"]
14
+ s.rubyforge_project = "earthquake"
15
+
16
+ s.files = `git ls-files`.split("\n") + ['consumer.yml']
17
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
47
19
  s.require_paths = ["lib"]
48
- s.required_ruby_version = Gem::Requirement.new(">= 1.9.1")
49
- s.rubygems_version = "1.8.11"
50
- s.summary = "Twitter Client on Terminal."
51
- s.test_files = [
52
- "spec/earthquake_spec.rb",
53
- "spec/spec_helper.rb"
54
- ]
55
20
 
56
- if s.respond_to? :specification_version then
57
- s.specification_version = 3
21
+ s.add_runtime_dependency "twitter-stream"
22
+ s.add_runtime_dependency "notify"
23
+ s.add_runtime_dependency "i18n"
24
+ s.add_runtime_dependency "activesupport"
25
+ s.add_runtime_dependency "awesome_print"
26
+ s.add_runtime_dependency "launchy"
27
+ s.add_runtime_dependency "oauth"
28
+ s.add_runtime_dependency "twitter_oauth", "= 0.4.3"
29
+ s.add_runtime_dependency "slop", "~> 2.0"
30
+ s.add_development_dependency "rspec", "~> 2.0"
31
+ s.add_development_dependency "bundler"
58
32
 
59
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
60
- s.add_runtime_dependency(%q<twitter-stream>, [">= 0"])
61
- s.add_runtime_dependency(%q<notify>, [">= 0"])
62
- s.add_runtime_dependency(%q<i18n>, [">= 0"])
63
- s.add_runtime_dependency(%q<activesupport>, [">= 0"])
64
- s.add_runtime_dependency(%q<awesome_print>, [">= 0"])
65
- s.add_runtime_dependency(%q<launchy>, [">= 0"])
66
- s.add_runtime_dependency(%q<oauth>, [">= 0"])
67
- s.add_runtime_dependency(%q<twitter_oauth>, ["= 0.4.3"])
68
- s.add_runtime_dependency(%q<slop>, ["~> 2.0"])
69
- s.add_development_dependency(%q<rspec>, ["~> 2.3.0"])
70
- s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
71
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
72
- else
73
- s.add_dependency(%q<twitter-stream>, [">= 0"])
74
- s.add_dependency(%q<notify>, [">= 0"])
75
- s.add_dependency(%q<i18n>, [">= 0"])
76
- s.add_dependency(%q<activesupport>, [">= 0"])
77
- s.add_dependency(%q<awesome_print>, [">= 0"])
78
- s.add_dependency(%q<launchy>, [">= 0"])
79
- s.add_dependency(%q<oauth>, [">= 0"])
80
- s.add_dependency(%q<twitter_oauth>, ["= 0.4.3"])
81
- s.add_dependency(%q<slop>, ["~> 2.0"])
82
- s.add_dependency(%q<rspec>, ["~> 2.3.0"])
83
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
84
- s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
85
- end
86
- else
87
- s.add_dependency(%q<twitter-stream>, [">= 0"])
88
- s.add_dependency(%q<notify>, [">= 0"])
89
- s.add_dependency(%q<i18n>, [">= 0"])
90
- s.add_dependency(%q<activesupport>, [">= 0"])
91
- s.add_dependency(%q<awesome_print>, [">= 0"])
92
- s.add_dependency(%q<launchy>, [">= 0"])
93
- s.add_dependency(%q<oauth>, [">= 0"])
94
- s.add_dependency(%q<twitter_oauth>, ["= 0.4.3"])
95
- s.add_dependency(%q<slop>, ["~> 2.0"])
96
- s.add_dependency(%q<rspec>, ["~> 2.3.0"])
97
- s.add_dependency(%q<bundler>, ["~> 1.0.0"])
98
- s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
99
- end
33
+ # specify any dependencies here; for example:
34
+ # s.add_development_dependency "rspec"
35
+ # s.add_runtime_dependency "rest-client"
100
36
  end
101
-
@@ -64,6 +64,14 @@ Earthquake.init do
64
64
  ⚡ :eval 1 + 1
65
65
  HELP
66
66
 
67
+ command :eval_update do |m|
68
+ input ":update #{eval(m[1])}"
69
+ end
70
+ alias_command :eu, :eval_update
71
+ help :eval_update, 'eval and update the result', <<-HELP
72
+ ⚡ :eval_update 1 + 1
73
+ HELP
74
+
67
75
  command :aa do |m|
68
76
  begin
69
77
  raw_text, config[:raw_text] = config[:raw_text], true
@@ -153,7 +161,7 @@ Earthquake.init do
153
161
  HELP
154
162
 
155
163
  command :mentions do
156
- puts_items twitter.mentions
164
+ puts_items twitter.mentions(:include_entities => :true)
157
165
  end
158
166
 
159
167
  help :mentions, "show mentions timeline"
@@ -370,7 +378,7 @@ Earthquake.init do
370
378
  end
371
379
  print "\e[2K\e[0G"
372
380
  puts_items thread.reverse_each.with_index{|tweet, indent|
373
- tweet["_mark"] = " " * indent
381
+ tweet["_mark"] = config[:thread_indent] * indent
374
382
  }
375
383
  end
376
384
 
@@ -411,11 +419,11 @@ Earthquake.init do
411
419
  ⚡ :browse username
412
420
  HELP
413
421
 
414
- command :sh do
422
+ command :shell do
415
423
  system ENV["SHELL"] || 'sh'
416
424
  end
417
-
418
- help :sh, "opens a shell"
425
+ alias_command :sh, :shell
426
+ help :shell, "opens a shell"
419
427
 
420
428
  command %r|:!(.+)| do |m|
421
429
  command = m[1].strip
@@ -485,4 +493,13 @@ Earthquake.init do
485
493
  end
486
494
 
487
495
  help :reauthorize, "prompts for new oauth credentials"
496
+
497
+ command %r{^:api\s+(get|post|delete|GET|POST|DELETE)\s+(.*)}, :as => :api do |m|
498
+ _, http_method, path = *m
499
+ ap twitter.send(http_method.downcase.to_sym, path)
500
+ end
501
+ help :api, "call twitter api ", <<-HELP
502
+ ⚡ :api post /statuses/update.json?status=test
503
+ ⚡ :api get /statuses/mentions.json?trim_user=true
504
+ HELP
488
505
  end
@@ -39,6 +39,7 @@ module Earthquake
39
39
  end
40
40
 
41
41
  def reload
42
+ Gem.refresh
42
43
  loaded = ActiveSupport::Dependencies.loaded.dup
43
44
  ActiveSupport::Dependencies.clear
44
45
  loaded.each { |lib| require_dependency lib }
@@ -49,18 +50,21 @@ module Earthquake
49
50
  end
50
51
 
51
52
  def load_config
53
+ consumer = YAML.load_file(File.expand_path('../../../consumer.yml', __FILE__))
54
+
52
55
  config[:dir] ||= File.expand_path('~/.earthquake')
53
56
  config[:time_format] ||= Time::DATE_FORMATS[:short]
54
57
  config[:plugin_dir] ||= File.join(config[:dir], 'plugin')
55
58
  config[:file] ||= File.join(config[:dir], 'config')
56
59
  config[:prompt] ||= '⚡ '
57
- config[:consumer_key] ||= 'RmzuwQ5g0SYObMfebIKJag'
58
- config[:consumer_secret] ||= 'V98dYYmWm9JoG7qfOF0jhJaVEVW3QhGYcDJ9JQSXU'
60
+ config[:consumer_key] ||= consumer['key']
61
+ config[:consumer_secret] ||= consumer['secret']
59
62
  config[:output_interval] ||= 1
60
63
  config[:history_size] ||= 1000
61
64
  config[:api] ||= { :host => 'userstream.twitter.com', :path => '/2/user.json', :ssl => true }
62
65
  config[:confirm_type] ||= :y
63
66
  config[:expand_url] ||= false
67
+ config[:thread_indent] ||= " "
64
68
 
65
69
  [config[:dir], config[:plugin_dir]].each do |dir|
66
70
  unless File.exists?(dir)
@@ -19,6 +19,8 @@ end
19
19
 
20
20
  module TwitterOAuth
21
21
  class Client
22
+ [:get, :post, :delete].each { |m| public m }
23
+
22
24
  private
23
25
  def consumer
24
26
  @consumer ||= OAuth::Consumer.new(
@@ -32,8 +34,6 @@ end
32
34
 
33
35
  class String
34
36
  def c(*codes)
35
- return self if Earthquake.config[:lolize]
36
-
37
37
  codes = codes.flatten.map { |code|
38
38
  case code
39
39
  when String, Symbol
@@ -46,8 +46,6 @@ class String
46
46
  end
47
47
 
48
48
  def coloring(pattern, color = nil, &block)
49
- return self if Earthquake.config[:lolize]
50
-
51
49
  self.gsub(pattern) do |i|
52
50
  applied_colors = $`.scan(/\e\[[\d;]+m/)
53
51
  c = color || block.call(i)
@@ -0,0 +1,3 @@
1
+ module Earthquake
2
+ VERSION = '0.9.0'
3
+ end
@@ -1,4 +1,4 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
1
+ require 'spec_helper'
2
2
 
3
3
  describe "Earthquake" do
4
4
  it "fails" do
data/spec/spec_helper.rb CHANGED
@@ -1,12 +1,5 @@
1
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
- $LOAD_PATH.unshift(File.dirname(__FILE__))
3
1
  require 'rspec'
4
2
  require 'earthquake'
5
3
 
6
- # Requires supporting files with custom matchers and macros, etc,
7
- # in ./support/ and its subdirectories.
8
- Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
-
10
4
  RSpec.configure do |config|
11
-
12
- end
5
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: earthquake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.5
4
+ version: 0.9.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-29 00:00:00.000000000 Z
12
+ date: 2012-04-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: twitter-stream
16
- requirement: &70312537483480 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70312537483480
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '0'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: notify
27
- requirement: &70312537482700 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: '0'
33
38
  type: :runtime
34
39
  prerelease: false
35
- version_requirements: *70312537482700
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: i18n
38
- requirement: &70312537481500 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ! '>='
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: '0'
44
54
  type: :runtime
45
55
  prerelease: false
46
- version_requirements: *70312537481500
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: activesupport
49
- requirement: &70312537472560 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ! '>='
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: '0'
55
70
  type: :runtime
56
71
  prerelease: false
57
- version_requirements: *70312537472560
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: awesome_print
60
- requirement: &70312537471940 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ! '>='
@@ -65,10 +85,15 @@ dependencies:
65
85
  version: '0'
66
86
  type: :runtime
67
87
  prerelease: false
68
- version_requirements: *70312537471940
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
69
94
  - !ruby/object:Gem::Dependency
70
95
  name: launchy
71
- requirement: &70312537471300 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
72
97
  none: false
73
98
  requirements:
74
99
  - - ! '>='
@@ -76,10 +101,15 @@ dependencies:
76
101
  version: '0'
77
102
  type: :runtime
78
103
  prerelease: false
79
- version_requirements: *70312537471300
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
80
110
  - !ruby/object:Gem::Dependency
81
111
  name: oauth
82
- requirement: &70312537470720 !ruby/object:Gem::Requirement
112
+ requirement: !ruby/object:Gem::Requirement
83
113
  none: false
84
114
  requirements:
85
115
  - - ! '>='
@@ -87,21 +117,31 @@ dependencies:
87
117
  version: '0'
88
118
  type: :runtime
89
119
  prerelease: false
90
- version_requirements: *70312537470720
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ! '>='
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
91
126
  - !ruby/object:Gem::Dependency
92
127
  name: twitter_oauth
93
- requirement: &70312537470060 !ruby/object:Gem::Requirement
128
+ requirement: !ruby/object:Gem::Requirement
94
129
  none: false
95
130
  requirements:
96
- - - =
131
+ - - '='
97
132
  - !ruby/object:Gem::Version
98
133
  version: 0.4.3
99
134
  type: :runtime
100
135
  prerelease: false
101
- version_requirements: *70312537470060
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - '='
140
+ - !ruby/object:Gem::Version
141
+ version: 0.4.3
102
142
  - !ruby/object:Gem::Dependency
103
143
  name: slop
104
- requirement: &70312537469360 !ruby/object:Gem::Requirement
144
+ requirement: !ruby/object:Gem::Requirement
105
145
  none: false
106
146
  requirements:
107
147
  - - ~>
@@ -109,57 +149,59 @@ dependencies:
109
149
  version: '2.0'
110
150
  type: :runtime
111
151
  prerelease: false
112
- version_requirements: *70312537469360
152
+ version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
154
+ requirements:
155
+ - - ~>
156
+ - !ruby/object:Gem::Version
157
+ version: '2.0'
113
158
  - !ruby/object:Gem::Dependency
114
159
  name: rspec
115
- requirement: &70312537468340 !ruby/object:Gem::Requirement
160
+ requirement: !ruby/object:Gem::Requirement
116
161
  none: false
117
162
  requirements:
118
163
  - - ~>
119
164
  - !ruby/object:Gem::Version
120
- version: 2.3.0
165
+ version: '2.0'
121
166
  type: :development
122
167
  prerelease: false
123
- version_requirements: *70312537468340
124
- - !ruby/object:Gem::Dependency
125
- name: bundler
126
- requirement: &70312537467720 !ruby/object:Gem::Requirement
168
+ version_requirements: !ruby/object:Gem::Requirement
127
169
  none: false
128
170
  requirements:
129
171
  - - ~>
130
172
  - !ruby/object:Gem::Version
131
- version: 1.0.0
132
- type: :development
133
- prerelease: false
134
- version_requirements: *70312537467720
173
+ version: '2.0'
135
174
  - !ruby/object:Gem::Dependency
136
- name: jeweler
137
- requirement: &70312537467140 !ruby/object:Gem::Requirement
175
+ name: bundler
176
+ requirement: !ruby/object:Gem::Requirement
138
177
  none: false
139
178
  requirements:
140
- - - ~>
179
+ - - ! '>='
141
180
  - !ruby/object:Gem::Version
142
- version: 1.5.2
181
+ version: '0'
143
182
  type: :development
144
183
  prerelease: false
145
- version_requirements: *70312537467140
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
146
190
  description: Twitter Client on Terminal with Twitter Streaming API.
147
- email: jugyo.org@gmail.com
191
+ email:
192
+ - jugyo.org@gmail.com
148
193
  executables:
149
194
  - earthquake
150
195
  extensions: []
151
- extra_rdoc_files:
152
- - LICENSE.txt
153
- - README.md
196
+ extra_rdoc_files: []
154
197
  files:
155
198
  - .document
199
+ - .gitignore
156
200
  - .rspec
157
201
  - Gemfile
158
- - Gemfile.lock
159
202
  - LICENSE.txt
160
203
  - README.md
161
204
  - Rakefile
162
- - VERSION
163
205
  - bin/earthquake
164
206
  - earthquake.gemspec
165
207
  - lib/earthquake.rb
@@ -173,11 +215,12 @@ files:
173
215
  - lib/earthquake/input.rb
174
216
  - lib/earthquake/output.rb
175
217
  - lib/earthquake/twitter.rb
218
+ - lib/earthquake/version.rb
176
219
  - spec/earthquake_spec.rb
177
220
  - spec/spec_helper.rb
178
- homepage: http://github.com/jugyo/earthquake
179
- licenses:
180
- - MIT
221
+ - consumer.yml
222
+ homepage: https://github.com/jugyo/earthquake
223
+ licenses: []
181
224
  post_install_message:
182
225
  rdoc_options: []
183
226
  require_paths:
@@ -187,7 +230,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
187
230
  requirements:
188
231
  - - ! '>='
189
232
  - !ruby/object:Gem::Version
190
- version: 1.9.1
233
+ version: '0'
191
234
  required_rubygems_version: !ruby/object:Gem::Requirement
192
235
  none: false
193
236
  requirements:
@@ -195,11 +238,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
238
  - !ruby/object:Gem::Version
196
239
  version: '0'
197
240
  requirements: []
198
- rubyforge_project:
199
- rubygems_version: 1.8.11
241
+ rubyforge_project: earthquake
242
+ rubygems_version: 1.8.21
200
243
  signing_key:
201
244
  specification_version: 3
202
- summary: Twitter Client on Terminal.
245
+ summary: Terminal Twitter Client
203
246
  test_files:
204
247
  - spec/earthquake_spec.rb
205
248
  - spec/spec_helper.rb
data/Gemfile.lock DELETED
@@ -1,56 +0,0 @@
1
- GEM
2
- remote: http://rubygems.org/
3
- specs:
4
- activesupport (3.0.5)
5
- awesome_print (0.3.2)
6
- configuration (1.2.0)
7
- diff-lcs (1.1.2)
8
- eventmachine (0.12.10)
9
- git (1.2.5)
10
- i18n (0.5.0)
11
- jeweler (1.5.2)
12
- bundler (~> 1.0.0)
13
- git (>= 1.2.5)
14
- rake
15
- json (1.5.1)
16
- launchy (0.4.0)
17
- configuration (>= 0.0.5)
18
- rake (>= 0.8.1)
19
- mime-types (1.16)
20
- notify (0.3.0)
21
- oauth (0.4.4)
22
- rake (0.8.7)
23
- roauth (0.0.3)
24
- rspec (2.3.0)
25
- rspec-core (~> 2.3.0)
26
- rspec-expectations (~> 2.3.0)
27
- rspec-mocks (~> 2.3.0)
28
- rspec-core (2.3.1)
29
- rspec-expectations (2.3.0)
30
- diff-lcs (~> 1.1.2)
31
- rspec-mocks (2.3.0)
32
- slop (2.4.4)
33
- twitter-stream (0.1.12)
34
- eventmachine (>= 0.12.8)
35
- roauth (>= 0.0.2)
36
- twitter_oauth (0.4.3)
37
- json (>= 1.1.9)
38
- mime-types (>= 1.16)
39
- oauth (>= 0.4.1)
40
-
41
- PLATFORMS
42
- ruby
43
-
44
- DEPENDENCIES
45
- activesupport
46
- awesome_print
47
- bundler (~> 1.0.0)
48
- i18n
49
- jeweler (~> 1.5.2)
50
- launchy
51
- notify
52
- oauth
53
- rspec (~> 2.3.0)
54
- slop (~> 2.0)
55
- twitter-stream
56
- twitter_oauth (= 0.4.3)
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.8.5