earthquake 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile CHANGED
@@ -1,23 +1,17 @@
1
1
  source "http://rubygems.org"
2
- # Add dependencies required to use your gem here.
3
- # Example:
4
- # gem "activesupport", ">= 2.3.5"
5
2
 
6
- gem 'twitter-stream', :require => 'twitter/json_stream'
3
+ gem 'twitter-stream'
7
4
  gem 'notify'
8
5
  gem 'i18n'
9
- gem 'activesupport', :require => ['active_support/core_ext', 'active_support/dependencies']
10
- gem 'awesome_print', :require => 'ap'
6
+ gem 'activesupport'
7
+ gem 'awesome_print'
11
8
  gem 'launchy'
12
9
  gem 'oauth'
13
10
  gem 'twitter_oauth'
14
11
  gem 'termcolor'
15
12
 
16
- # Add dependencies to develop your gem here.
17
- # Include everything needed to run rake, tests, features, etc.
18
13
  group :development do
19
14
  gem "rspec", "~> 2.3.0"
20
15
  gem "bundler", "~> 1.0.0"
21
16
  gem "jeweler", "~> 1.5.2"
22
- gem "rcov", ">= 0"
23
17
  end
data/README.md CHANGED
@@ -61,7 +61,7 @@ The blue is excluded.
61
61
 
62
62
  ### Defining your commands
63
63
 
64
- A command named 'foo':
64
+ #### A command named 'foo':
65
65
 
66
66
  Earthquake.init do
67
67
  command :foo do
@@ -69,7 +69,7 @@ A command named 'foo':
69
69
  end
70
70
  end
71
71
 
72
- Handle the command args:
72
+ #### Handle the command args:
73
73
 
74
74
  Earthquake.init do
75
75
  command :hi do |m|
@@ -79,7 +79,7 @@ Handle the command args:
79
79
 
80
80
  The 'm' is a MatchData.
81
81
 
82
- Using regexp:
82
+ #### Using regexp:
83
83
 
84
84
  Earthquake.init do
85
85
  # Usage: :add 10 20
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
data/earthquake.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{earthquake}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["jugyo"]
data/lib/earthquake.rb CHANGED
@@ -1,10 +1,17 @@
1
- require 'json'
2
- require 'thread'
3
- require 'readline'
4
- require 'bundler/setup'
5
- Bundler.require :default
6
-
7
- Thread.abort_on_exception = true
1
+ %w(
2
+ json
3
+ thread
4
+ readline
5
+ active_support/core_ext
6
+ active_support/dependencies
7
+ twitter/json_stream
8
+ notify
9
+ ap
10
+ launchy
11
+ oauth
12
+ twitter_oauth
13
+ termcolor
14
+ ).each { |lib| require lib }
8
15
 
9
16
  %w(
10
17
  ext
@@ -15,3 +22,5 @@ Thread.abort_on_exception = true
15
22
  twitter
16
23
  commands
17
24
  ).each { |name| require_dependency File.expand_path("../earthquake/#{name}", __FILE__) }
25
+
26
+ Thread.abort_on_exception = true
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: earthquake
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.0
5
+ version: 0.2.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - jugyo