twail 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.markdown +5 -0
  2. data/lib/twail.rb +1 -1
  3. data/twail.gemspec +1 -1
  4. metadata +27 -36
data/README.markdown CHANGED
@@ -107,6 +107,11 @@ To stop fetching results after n pages, use this form:
107
107
 
108
108
  twail s [n] [search args]
109
109
 
110
+ Please note that you want to search for a hashtag, you need to put it in quotes.
111
+ E.g.,
112
+
113
+ twail s 1 '#codeforamerica'
114
+
110
115
  The output of `twail` in search mode looks like this:
111
116
 
112
117
  $ twail s vitunes itunes
data/lib/twail.rb CHANGED
@@ -67,7 +67,7 @@ end
67
67
  # search is different
68
68
  if ARGV.first =~ /^s/ # search
69
69
  ARGV.shift
70
- max_pages = if ARGV[0] =~ /\d+/
70
+ max_pages = if ARGV[0] =~ /^\d+/
71
71
  ARGV.shift
72
72
  end
73
73
  query = "?q=#{URI.escape(ARGV.join(' '))}"
data/twail.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
  $:.push File.expand_path("../lib", __FILE__)
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "twail"
5
- s.version = '0.1.0'
5
+ s.version = '0.1.1'
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.required_ruby_version = '>= 1.9.0'
8
8
 
metadata CHANGED
@@ -1,39 +1,35 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: twail
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
4
5
  prerelease:
5
- version: 0.1.0
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Daniel Choi
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
-
13
- date: 2011-08-02 00:00:00 -04:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
12
+ date: 2012-01-17 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
17
15
  name: twurl
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70202532567840 !ruby/object:Gem::Requirement
20
17
  none: false
21
- requirements:
22
- - - ">="
23
- - !ruby/object:Gem::Version
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
24
21
  version: 0.6.3
25
22
  type: :runtime
26
- version_requirements: *id001
23
+ prerelease: false
24
+ version_requirements: *70202532567840
27
25
  description: tail your Twitter timelines, or search Twitter
28
- email:
26
+ email:
29
27
  - dhchoi@gmail.com
30
- executables:
28
+ executables:
31
29
  - twail
32
30
  extensions: []
33
-
34
31
  extra_rdoc_files: []
35
-
36
- files:
32
+ files:
37
33
  - .gitignore
38
34
  - MIT-LICENSE.txt
39
35
  - README.markdown
@@ -44,33 +40,28 @@ files:
44
40
  - notes.txt
45
41
  - screenshot.png
46
42
  - twail.gemspec
47
- has_rdoc: true
48
43
  homepage: https://github.com/danchoi/twail
49
44
  licenses: []
50
-
51
45
  post_install_message:
52
46
  rdoc_options: []
53
-
54
- require_paths:
47
+ require_paths:
55
48
  - lib
56
- required_ruby_version: !ruby/object:Gem::Requirement
49
+ required_ruby_version: !ruby/object:Gem::Requirement
57
50
  none: false
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
61
54
  version: 1.9.0
62
- required_rubygems_version: !ruby/object:Gem::Requirement
55
+ required_rubygems_version: !ruby/object:Gem::Requirement
63
56
  none: false
64
- requirements:
65
- - - ">="
66
- - !ruby/object:Gem::Version
67
- version: "0"
57
+ requirements:
58
+ - - ! '>='
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
68
61
  requirements: []
69
-
70
62
  rubyforge_project: twail
71
- rubygems_version: 1.6.1
63
+ rubygems_version: 1.8.10
72
64
  signing_key:
73
65
  specification_version: 3
74
66
  summary: tail your Twitter timelines, or search Twitter
75
67
  test_files: []
76
-