jnunemaker-twitter 0.3.7 → 0.3.8

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/lib/twitter/base.rb CHANGED
@@ -205,7 +205,7 @@ module Twitter
205
205
  uri = URI.parse("http://#{@api_host}")
206
206
 
207
207
  begin
208
- response = Net::HTTP.start(uri.host, 80) do |http|
208
+ response = Net::HTTP::Proxy(options[:proxy_host], options[:proxy_port]).start(uri.host, uri.port) do |http|
209
209
  klass = Net::HTTP.const_get options[:method].to_s.downcase.capitalize
210
210
  req = klass.new("#{uri.path}/#{path}", options[:headers])
211
211
  req.basic_auth(@config[:email], @config[:password]) if options[:auth]
@@ -2,7 +2,7 @@ module Twitter #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- TINY = 7
5
+ TINY = 8
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -1,5 +1,5 @@
1
1
  desc 'Preps the gem for a new release'
2
- task :prep_for_release do
2
+ task :prepare do
3
3
  require 'rio'
4
4
  Rake::Task['manifest:refresh'].invoke
5
5
  gemspec = %x[rake debug_gem]
data/twitter.gemspec CHANGED
@@ -1,10 +1,12 @@
1
+ # -*- encoding: utf-8 -*-
2
+
1
3
  Gem::Specification.new do |s|
2
4
  s.name = %q{twitter}
3
- s.version = "0.3.7"
5
+ s.version = "0.3.8"
4
6
 
5
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
8
  s.authors = ["John Nunemaker"]
7
- s.date = %q{2008-08-26}
9
+ s.date = %q{2008-12-13}
8
10
  s.default_executable = %q{twitter}
9
11
  s.description = %q{a command line interface for twitter, also a library which wraps the twitter api}
10
12
  s.email = %q{nunemaker@gmail.com}
@@ -16,20 +18,21 @@ Gem::Specification.new do |s|
16
18
  s.rdoc_options = ["--main", "README.txt"]
17
19
  s.require_paths = ["lib"]
18
20
  s.rubyforge_project = %q{twitter}
19
- s.rubygems_version = %q{1.2.0}
21
+ s.rubygems_version = %q{1.3.1}
20
22
  s.summary = %q{a command line interface for twitter, also a library which wraps the twitter api}
21
23
 
22
24
  if s.respond_to? :specification_version then
23
25
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
24
26
  s.specification_version = 2
25
27
 
26
- if current_version >= 3 then
28
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
27
29
  s.add_runtime_dependency(%q<hpricot>, [">= 0.6"])
28
30
  s.add_runtime_dependency(%q<activesupport>, [">= 2.1"])
29
31
  s.add_runtime_dependency(%q<main>, [">= 2.8.2"])
30
32
  s.add_runtime_dependency(%q<highline>, [">= 1.4.0"])
31
33
  s.add_runtime_dependency(%q<activerecord>, [">= 2.1"])
32
34
  s.add_runtime_dependency(%q<httparty>, [">= 0.1.0"])
35
+ s.add_development_dependency(%q<hoe>, [">= 1.8.0"])
33
36
  else
34
37
  s.add_dependency(%q<hpricot>, [">= 0.6"])
35
38
  s.add_dependency(%q<activesupport>, [">= 2.1"])
@@ -37,6 +40,7 @@ Gem::Specification.new do |s|
37
40
  s.add_dependency(%q<highline>, [">= 1.4.0"])
38
41
  s.add_dependency(%q<activerecord>, [">= 2.1"])
39
42
  s.add_dependency(%q<httparty>, [">= 0.1.0"])
43
+ s.add_dependency(%q<hoe>, [">= 1.8.0"])
40
44
  end
41
45
  else
42
46
  s.add_dependency(%q<hpricot>, [">= 0.6"])
@@ -45,5 +49,6 @@ Gem::Specification.new do |s|
45
49
  s.add_dependency(%q<highline>, [">= 1.4.0"])
46
50
  s.add_dependency(%q<activerecord>, [">= 2.1"])
47
51
  s.add_dependency(%q<httparty>, [">= 0.1.0"])
52
+ s.add_dependency(%q<hoe>, [">= 1.8.0"])
48
53
  end
49
54
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jnunemaker-twitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Nunemaker
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-08-26 00:00:00 -07:00
12
+ date: 2008-12-13 00:00:00 -08:00
13
13
  default_executable: twitter
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -66,6 +66,15 @@ dependencies:
66
66
  - !ruby/object:Gem::Version
67
67
  version: 0.1.0
68
68
  version:
69
+ - !ruby/object:Gem::Dependency
70
+ name: hoe
71
+ version_requirement:
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: 1.8.0
77
+ version:
69
78
  description: a command line interface for twitter, also a library which wraps the twitter api
70
79
  email: nunemaker@gmail.com
71
80
  executables: