Not sure if it actually works at mocking, I just moved the mocks around so it can be required without crashing.
This makes it much easier moving using motions and editing files in a number of editors.
This spec was ripped straight from Bundler (https://github.com/carlhuda/bundler/blob/1-0-stable/spec/quality_spec.rb)
Fixed syntax error in README examples
This spec is massively flaky and fails under 90% of circumstances.
This conditional is of no use. The gem specification generated is not dynamic and will always contain these gems. In order to support JRuby properly we'll need to create a separate gemspec.
Based upon sferik@b18306a
Although adding this gem requirement will not install dependencies via RubyGems it will install gem dependencies when running specs. Conflicts: Gemfile
sferik: > Rakefiles are executables, and rake loads rake, not rakefile code
New httpclient version does not support #body
Fix Webmock's handling of Curl::Easy#content_type.
Webmock doesn't work with addressable-2.2.5 and a new version, 2.2.6, has been released to help with this. Change Webmock's dependency to that version or higher.
- Describe how to create a gemset for each supported Ruby version - A rake task to run specs via RVM's exec command - Add a link to the contributors page Running `rake spec:rubies` will use RVM's exec to run specs against MRI 1.8.6, 1.8.7 and 1.9.2, Ruby Enterprise Edition and jRuby.
After a request, Curl::Easy#content_type returns the value of the "Content-Type" header from the response. Previously, using Curl::Easy with Webmock resulted in that method always returning nil. This patch makes Webmock set that value correctly.
Previous to this commit, Curl::Easy#last_effective_url will always be nil. This adds support for both last_effective_url and Curl::Easy#follow_location, as the former doesn't do much good w/o the latter. Closes #88.
…anymore. #content seems to be available in both new and older versions.
…nage dev dependencies for this project.