Narsimham Chelluri
bc551bd1f2
Made SSL connections use the system certificate store by default.
...
- Set http.verify_mode to OpenSSL::SSL::VERIFY_PEER by default
- Use OpenSSL::X509::Store.new as certificate store unless another is specified
Adapted from Faraday.
See: b25adc0ca6/lib/faraday/adapter/net_http.rb (L100)
2013-08-01 01:32:25 -07:00
John Nunemaker
ad7681757f
Merge branch 'ssl_version' of https://github.com/htanata/httparty into htanata-ssl_version
...
Conflicts:
lib/httparty/request.rb
spec/httparty/request_spec.rb
2012-09-07 12:36:01 -04:00
John Nunemaker
c0f0dc0e7b
Formatting cleanup.
2012-04-15 22:51:39 -04:00
John Nunemaker
720e96a608
Switch to bundler for release management and use hand made gemspec.
2011-04-16 14:43:20 -04:00
Dwayne Litzenberger
f9c74788d5
Add ssl_ca_file and ssl_ca_path options to allow SSL certificate verification.
2010-07-19 08:44:52 -04:00
Sandro Turriate
acb95ec1a8
Only disable net connections during the spec suite
2010-05-13 21:48:42 -04:00
Sandro Turriate
5e96290ee2
Remove dependency of rubygems
...
Closes gh-27
2010-01-30 22:08:29 -05:00
Sandro Turriate
e6e5990497
Encapsulate spec helper methods into a module
...
It's a good idea to encapsulate methods rather than have them hanging
around in global scope.
2010-01-29 15:20:48 -05:00
Sandro Turriate
2acc891779
Update to latest version of rspec
2009-11-09 22:09:03 -05:00
John Nunemaker
3509007215
Merge branch 'master' of github.com:jnunemaker/httparty
2009-09-15 09:09:09 -04:00
Sandro Turriate
fe529f9eb9
Specify version for rspec developer dependency
2009-09-12 23:11:02 -04:00
John Nunemaker
6f12a866a0
Added fakeweb to make sure no external requests get out.
2009-09-09 00:07:48 -04:00
Sandro Turriate
1214bb0e4b
Update the way we load rspec
2009-09-08 21:58:46 -04:00
John Nunemaker
87b9729b66
Added fakeweb to make sure no external requests get out.
2009-08-22 21:14:32 -04:00
John Nunemaker
67fa0d535f
Bumped required version of rspec. One of specs was failing simply from bug in older version of rspec. All specs pass with at least this version.
2009-07-19 20:02:52 -04:00
Florian Munz
d7e5fccfe3
refactor private request methods to make them better testable
...
Signed-off-by: John Nunemaker <nunemaker@gmail.com>
2009-01-29 02:27:37 +08:00
John Nunemaker
8a70a8ef40
Removed active support. Added json. Added some core extensions.
2008-12-06 22:47:39 -05:00
John Nunemaker
80aa3595d5
Tweaked requires and such.
2008-12-06 22:01:42 -05:00
John Nunemaker
aa09eb4c65
Moved module inheritable attributes to it's own file. Added specs for HTTParty.get.
2008-12-06 19:43:31 -05:00
John Nunemaker
1d48da0313
Renamed to HTTParty which is way more fun and unique than boring old web.
2008-07-28 10:49:53 -04:00
John Nunemaker
df29a55264
Initial commit
2008-07-27 11:52:18 -04:00