twim 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/twim.rb +1 -6
  2. data/twim.gemspec +1 -1
  3. metadata +36 -27
data/lib/twim.rb CHANGED
@@ -9,13 +9,8 @@ class Twim
9
9
  vimscript = File.expand_path '../twim.vim', __FILE__
10
10
  f = Tempfile.new('twitter-msg')
11
11
 
12
- if ARGV.size > 0
13
- f.write ARGV.join(' ')
14
- f.rewind
15
- end
16
-
17
12
  msg = begin
18
- system "vim -S %s %s" % [vimscript, f.path]
13
+ system %Q|vim -S %s -c "normal i#{ARGV.join(' ')}" %s| % [vimscript, f.path]
19
14
  # f.read # not working on OS X Lion
20
15
  `cat #{f.path}`
21
16
  ensure
data/twim.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 = "twim"
5
- s.version = '0.0.4'
5
+ s.version = '0.0.5'
6
6
  s.platform = Gem::Platform::RUBY
7
7
  s.required_ruby_version = '>= 1.9.0'
8
8
 
metadata CHANGED
@@ -1,35 +1,39 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: twim
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.4
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 0.0.5
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Daniel Choi
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-07-28 00:00:00.000000000Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
12
+
13
+ date: 2011-08-04 00:00:00 -04:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
15
17
  name: twurl
16
- requirement: &70108409190880 !ruby/object:Gem::Requirement
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
17
20
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
+ requirements:
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
21
24
  version: 0.6.3
22
25
  type: :runtime
23
- prerelease: false
24
- version_requirements: *70108409190880
26
+ version_requirements: *id001
25
27
  description: tail your Twitter timeslines
26
- email:
28
+ email:
27
29
  - dhchoi@gmail.com
28
- executables:
30
+ executables:
29
31
  - twim
30
32
  extensions: []
33
+
31
34
  extra_rdoc_files: []
32
- files:
35
+
36
+ files:
33
37
  - .gitignore
34
38
  - README.markdown
35
39
  - Rakefile
@@ -38,28 +42,33 @@ files:
38
42
  - lib/twim.vim
39
43
  - screenshot.png
40
44
  - twim.gemspec
45
+ has_rdoc: true
41
46
  homepage: https://github.com/danchoi/twim
42
47
  licenses: []
48
+
43
49
  post_install_message:
44
50
  rdoc_options: []
45
- require_paths:
51
+
52
+ require_paths:
46
53
  - lib
47
- required_ruby_version: !ruby/object:Gem::Requirement
54
+ required_ruby_version: !ruby/object:Gem::Requirement
48
55
  none: false
49
- requirements:
50
- - - ! '>='
51
- - !ruby/object:Gem::Version
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
52
59
  version: 1.9.0
53
- required_rubygems_version: !ruby/object:Gem::Requirement
60
+ required_rubygems_version: !ruby/object:Gem::Requirement
54
61
  none: false
55
- requirements:
56
- - - ! '>='
57
- - !ruby/object:Gem::Version
58
- version: '0'
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: "0"
59
66
  requirements: []
67
+
60
68
  rubyforge_project: twim
61
- rubygems_version: 1.8.6
69
+ rubygems_version: 1.6.1
62
70
  signing_key:
63
71
  specification_version: 3
64
72
  summary: tail your Twitter timeslines
65
73
  test_files: []
74
+