Thomas Grainger
41949f7dc6
use conditional requirements for backport libraries Fixes #147
2015-07-02 09:34:27 +01:00
Ivan 'Goat' Malison
d14888ccd8
Merge pull request #161 from graingert/packaging-fixes
...
packaging fixes
2015-06-30 12:02:38 -07:00
Thomas Grainger
a9ede54064
packaging fixes
2015-06-30 12:19:05 +01:00
Ivan 'Goat' Malison
ce7ceb0a1e
Merge pull request #159 from MrJohz/master
...
Fix issue #158
2015-06-25 01:04:12 -04:00
Jonathan
e742d32a8a
Update test to ensure that filter is correctly applied
2015-06-24 16:27:45 +01:00
Jonathan
ccc1ccaa0e
Allow filtering post params in requests
2015-06-24 16:23:00 +01:00
Ivan Malison
731a33a79a
test for xmlrpclib to make sure #140 is actually fixed.
2015-06-09 01:13:58 -07:00
Antoine Bertin
6cbc0fb279
Fix httplib endheaders if a message_body exists
...
Fixes #140
2015-06-09 00:59:43 -07:00
Ivan Malison
789f118c98
whitespace change.
2015-06-09 00:54:54 -07:00
Ivan Malison
4f07cb5257
Fix tox.ini requests26: requests==2.6.0
2015-06-09 00:53:28 -07:00
Ivan Malison
ad6f635ac2
Version 1.5.2.
v1.5.2
2015-05-15 16:54:40 -07:00
Ivan 'Goat' Malison
142b840eee
Merge pull request #155 from gazpachoking/explicit_paths
...
Crash when cassette path contains cassette_library_dir
2015-05-15 16:51:03 -07:00
Chase Sterling
32c687522d
Fix bug when specifying cassette path containing cassette_library_dir
2015-05-15 19:07:18 -04:00
Chase Sterling
5fc33c7e70
Add tests for explicitly specifying a path when library dir is defined
2015-05-15 19:06:05 -04:00
Ivan Malison
0f81f023c8
Fix readme, version 1.5.1
v1.5.1
2015-05-14 14:46:14 -07:00
Ivan Malison
e324a9677d
version 1.5.0
v1.5.0
2015-05-14 14:05:50 -07:00
Ivan Malison
28640beb7d
README updates.
2015-05-14 14:03:49 -07:00
Ivan 'Goat' Malison
c338d5d32c
Merge pull request #154 from marco-santamaria/master
...
Filter parameters from 'application/json' content-type POST requests
2015-05-14 14:03:14 -07:00
marco.santamaria
59aa351ca8
Added support for json post data in filter_post_data_parameters.
2015-05-14 14:13:14 +02:00
Ivan Malison
2323b9da5f
Automatically generate cassette names from function names. Add
...
`path_transformer` and `func_path_generator`. Closes #151 .
2015-05-10 03:22:43 -07:00
Ivan Malison
0bbbc694b0
Make CassetteContextDecorator decorator produce reentrant functions.
...
Closes #150 .
2015-05-09 23:14:00 -07:00
Kevin McCarthy
d293020617
Merge pull request #153 from addgene/mw/specify-six-version
...
Fix version of `six` dependency.
2015-05-07 20:34:38 -10:00
Morgan Wahl
daac863f0b
Fixed version of six dependency.
...
`from six.moves.http_client import HTTPConnection` fails before version 1.5.0 of six. (on Python 2.7, at least.)
2015-05-07 15:35:26 -04:00
Kevin McCarthy
5cfb005b48
bump version
v1.4.2
2015-05-05 22:22:37 -10:00
Kevin McCarthy
4ade547779
python3 uses capital headers sometimes, let's do a case-agnostic header removal
2015-05-05 21:59:48 -10:00
Kevin McCarthy
dc8eedf555
we dont actually need lxml for tests
2015-05-05 21:59:31 -10:00
Kevin McCarthy
5b9b6cd8b5
dont try to load chunked responses from cassettes, we already unchunked everything
2015-05-05 21:32:32 -10:00
Kevin McCarthy
856c38479a
add failing test for requests2.7/gzip issue
2015-05-05 20:49:12 -10:00
Kevin McCarthy
52496cd091
really add requests 2.7 to tox
2015-05-05 19:50:20 -10:00
Kevin McCarthy
bc26ce877a
add requests 2.7 to tox and travis
2015-05-05 19:44:19 -10:00
Kevin McCarthy
8db0d245a5
bump version
2015-04-11 11:21:31 -10:00
Kevin McCarthy
47544b08fe
Merge pull request #148 from ralphbean/master
...
Ship extra bits with the pypi tarball.
2015-04-11 11:18:57 -10:00
Ralph Bean
4e560fc8db
Ship extra bits with the pypi tarball.
...
This change should make new tarballs uploaded to pypi include various
nice pieces:
- The README
- The LICENSE
- The tests
The text of the license actually specifies that the full text must be
distributed with all copies of the software. So, you need it to be in
compliance with the MIT license.
The README is just nice to have, and the tests are particularly nice for
my use case. I am packaging vcrpy for inclusion in the Fedora linux
distribution and:
- We like to use the tarball from pypi because it is the same source
distribution that everyone else is using.
- We like to run the tests before we build the rpm in our build system
to make sure nothing crazy is going on.
Of course, we can use the tarball for the source and then do a second
step to clone the source and get the tests. But, this is more work than
we like if we can just get the tests added to the tarball. Other
distributions (like Debian) like this too.
2015-04-11 14:53:48 -04:00
Ivan Malison
8bb3c6beee
v1.4.0
v1.4.0
2015-04-02 12:20:16 -07:00
Ivan Malison
df3ad5f35c
remove compat.py in favor of backport_collections.
2015-04-02 10:32:34 -07:00
Ivan Malison
e8a6a7a49f
add backport_collections, tweaks to setup.py.
2015-04-02 10:23:22 -07:00
Ivan Malison
881138cb8d
inject_cassette fallout.
2015-04-01 17:46:35 -07:00
Ivan Malison
639dba6f7a
Write test for #145 that checks behavior of with_current_defaults.
2015-04-01 17:30:05 -07:00
Ivan Malison
b9bdc6401d
inject_cassette kwarg.
2015-04-01 17:30:05 -07:00
Ivan Malison
3ca5529d26
Touch ups.
2015-04-01 15:38:59 -07:00
Sam Stavinoha
e3f2bc8369
fix with_current_defaults causing TypeError
...
The from_args() method in cassette.py was
throwing a TypeError when calling
use_cassette(..., with_current_defaults=True)
...
TypeError: from_args() takes exactly 3 arguments (4 given)
The path was then being passed to use() twice.
2015-03-31 21:08:26 -05:00
Edward Stone
fc4e985ee9
fallback to compat OrderedDict if collections.OrderedDict unavailable
2015-03-31 13:12:13 -07:00
Edward Stone
9038bc9066
fix docs for post data filter
2015-03-31 13:12:13 -07:00
Edward Stone
0def349420
Add ability to filter post data parameters
2015-03-31 13:12:13 -07:00
Ivan Malison
0dd7b05990
Get rid of all the constructor parameters that were removed in 0871c3b87c
2015-03-31 13:03:11 -07:00
Ivan Malison
630088599f
Update copyright.
2015-03-31 13:02:59 -07:00
Ivan Malison
870ab276c4
Possible fix for #140 .
2015-03-25 13:01:55 -07:00
Ivan 'Goat' Malison
779f3b0474
Merge pull request #141 from IvanMalison/post_files_through_requests
...
Add support for posting files through requests. closes #121
2015-03-24 16:43:13 -07:00
Ivan Malison
b948ed4857
Fix python3 support for requests file uploads.
2015-03-24 15:41:14 -07:00
Ivan Malison
c43e618635
Add mention of urllib3 support in readme.
2015-03-24 14:24:47 -07:00