pauldix-typhoeus 0.0.22 → 0.0.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/ext/typhoeus/extconf.rb +10 -3
  2. data/lib/typhoeus.rb +3 -1
  3. metadata +2 -3
@@ -1,4 +1,6 @@
1
- ENV["ARCHFLAGS"] = "-arch #{`uname -p` =~ /powerpc/ ? 'ppc' : 'i386'}"
1
+ ENV['RC_ARCHS'] = '' if RUBY_PLATFORM =~ /darwin/
2
+
3
+ # :stopdoc:
2
4
 
3
5
  require 'mkmf'
4
6
 
@@ -6,15 +8,20 @@ ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..'))
6
8
  LIBDIR = Config::CONFIG['libdir']
7
9
  INCLUDEDIR = Config::CONFIG['includedir']
8
10
 
9
- use_macports = !(defined?(RUBY_ENGINE) && RUBY_ENGINE != 'ruby')
11
+ if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'macruby'
12
+ $LIBRUBYARG_STATIC.gsub!(/-static/, '')
13
+ end
10
14
 
11
15
  $CFLAGS << " #{ENV["CFLAGS"]}"
12
16
  if Config::CONFIG['target_os'] == 'mingw32'
13
- $CFLAGS << " -DXP_WIN -DXP_WIN32"
17
+ $CFLAGS << " -DXP_WIN -DXP_WIN32 -DUSE_INCLUDED_VASPRINTF"
18
+ elsif Config::CONFIG['target_os'] == 'solaris2'
19
+ $CFLAGS << " -DUSE_INCLUDED_VASPRINTF"
14
20
  else
15
21
  $CFLAGS << " -g -DXP_UNIX"
16
22
  end
17
23
 
24
+ use_macports = !(defined?(RUBY_ENGINE) && RUBY_ENGINE != 'ruby')
18
25
  $LIBPATH << "/opt/local/lib" if use_macports
19
26
 
20
27
  $CFLAGS << " -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline"
@@ -10,9 +10,11 @@ require 'typhoeus/remote_method'
10
10
  require 'typhoeus/remote'
11
11
  require 'typhoeus/remote_proxy_object'
12
12
  require 'typhoeus/response'
13
+ require 'typhoeus/request'
14
+ require 'typhoeus/hydra'
13
15
 
14
16
  module Typhoeus
15
- VERSION = "0.0.22"
17
+ VERSION = "0.0.23"
16
18
 
17
19
  def self.easy_object_pool
18
20
  @easy_objects ||= []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pauldix-typhoeus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.22
4
+ version: 0.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Dix
@@ -51,7 +51,6 @@ files:
51
51
  - spec/servers/method_server.rb
52
52
  has_rdoc: true
53
53
  homepage: http://github.com/pauldix/typhoeus
54
- licenses:
55
54
  post_install_message:
56
55
  rdoc_options: []
57
56
 
@@ -73,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
72
  requirements: []
74
73
 
75
74
  rubyforge_project:
76
- rubygems_version: 1.3.5
75
+ rubygems_version: 1.2.0
77
76
  signing_key:
78
77
  specification_version: 2
79
78
  summary: A library for interacting with web services (and building SOAs) at blinding speed.