summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #40 from choroba/master masterAsh Berlin2015-01-111-2/+2
|\ | | | | Replace deprecated dist-zilla plugins
| * replace deprecated pluginsE. Choroba2015-01-111-2/+2
|/
* Merge pull request #36 from chiselwright/tgz_encodingAsh Berlin2014-02-011-0/+4
|\ | | | | Tgz encoding
| * Set 'bytes' encoding for t/specs/content.tgzChisel2014-01-301-0/+4
| | | | | | | | iAs per: https://github.com/rjbs/Dist-Zilla/issues/270
| * Use Class::Load::load_class instead of Class::MOP::load_classChisel2014-01-081-2/+3
| | | | | | | | | | | | This should resolve franckcuny/net-http-spore/#32 No new deps need to be specified as the dist uses [AutoPrereqs]
| * Wrap enum values in arrayref (franckcuny/net-http-spore#30)Chisel2014-01-081-1/+1
| |
* | Merge pull request #35 from chiselwright/enum_arrayrefAsh Berlin2014-02-011-1/+1
|\ \ | | | | | | Wrap enum values in arrayref (franckcuny/net-http-spore#30)
| * | Wrap enum values in arrayref (franckcuny/net-http-spore#30)Chisel2014-01-301-1/+1
| | |
* | | Merge pull request #24 from hakamadare/typo_fixAsh Berlin2014-02-012-2/+5
|\ \ \ | |/ / |/| | Fixing attribute name typo
| * | Fixing attribute name typoSteve Huff2013-06-252-2/+5
| | | | | | | | | | | | Also adding a test case
* | | Merge pull request #33 from chiselwright/class_loadAsh Berlin2014-01-251-2/+3
|\ \ \ | |_|/ |/| | Use Class::Load::load_class instead of Class::MOP::load_class
| * | Use Class::Load::load_class instead of Class::MOP::load_classChisel2014-01-081-2/+3
|/ / | | | | | | | | | | This should resolve franckcuny/net-http-spore/#32 No new deps need to be specified as the dist uses [AutoPrereqs]
* | Merge pull request #26 from oalders/masterAsh Berlin2013-08-141-12/+21
|\ \ | |/ |/| Typo fixes
| * Re-wrap some documentation.Olaf Alders2013-08-141-11/+20
| |
| * Fixes typos.Olaf Alders2013-08-141-2/+2
|/
* v0.06Ash Berlin2013-04-191-0/+2
| | | | | | | | | - Fix random test failure in t/spore-method/base.t related to random hash ordering in perl 5.17.6+ (#19) - Add support for PATCH HTTP method (#13, Andreas Marienborg) - Allow anonymous subs to be used as middleware (Brian Phillips) - Refactor internals of Net::HTTP::Spore building of specs to allow easier subclassing
* The order of dxil plugins matters - we want to commit *after* the changes ↵Ash Berlin2013-04-191-9/+3
| | | | | file has been updated Also don't need to specify TestRelease, ConfirmRelease and UploadToCPAN as they are in the Basic bundle already
* Allow _add_methods and _attach_spec_to_class to be subclassed.Ash Berlin2013-04-192-8/+10
| | | | For instance I have plans to parse Google's discovery documents which have the right information but are in a different format to SPORE specs.
* Don't test pod coverage on releaseAsh Berlin2013-04-191-1/+0
| | | It's currently failing and I don't care enough to tweak the plugin to stop it complaining about all the implementation roles etc.
* Automatically work out next version from git tagsAsh Berlin2013-04-191-1/+3
|
* use NextRelease plugin to automatically update version in Changes file on ↵Ash Berlin2013-04-191-0/+2
| | | | release
* Add myself to authors sectionAsh Berlin2013-04-191-0/+1
|
* make sure authentication default on method is lazyBrian Phillips2013-04-192-0/+3
| | | | | if it's not marked lazy, the predicate has no value (as it's always set at object creation time)
* clean up typesBrian Phillips2013-04-194-51/+59
| | | | | | | | | - Split out type declarations into separate class - Use namespaced types instead of global types (via MooseX::Types) - use declared types where possible, instead of quoted type names (i.e. isa => Str, instead of isa => 'Str') - Allow "authentication" attribute to coerce from a JSON::is_bool() value (instead of expecting it to be a 1 or a 0 all the time)
* support for anonymous middlewaresBrian Phillips2013-04-184-2/+74
|
* Changes entry for adding PATCH support (Closes #13)Ash Berlin2013-04-181-0/+1
|
* Merge branch 'method-patch' of git://github.com/omega/net-http-spore into ↵Ash Berlin2013-04-182-5/+13
|\ | | | | | | omega-method-patch
| * Fix an error string, add a crude testAndreas Marienborg2012-02-062-3/+11
| |
| * Support PATCH method (that github uses)Andreas Marienborg2012-02-061-2/+2
| |
* | Clarifies that new_from_string expects a string in JSON format.Olaf Alders2013-04-181-1/+4
| |
* | Fix random test failure in perl v5.17.6. Closes #19Ash Berlin2013-04-182-0/+5
| |
* | Prepare a new releaseFranck Cuny2012-11-253-3/+13
| |
* | DZ: fix MetaResourcesOlivier Mengué2012-11-251-3/+5
| |
* | Use $args{name} outside of subref to avoid memory leak.Michael Reddick2012-11-251-1/+2
| |
* | Let Dist::Zilla handle the version number.Franck Cuny2012-11-251-2/+0
|/
* Merge branch 'bricas'franck cuny2012-01-022-11/+10
|\ | | | | | | | | | | | | | | | | * bricas: use eq and ne instead of a regex pod fix confess when we are unable to fetch a spec via LWP remove unused var; simplify conditions fix warnings in test
| * use eq and ne instead of a regexfranck cuny2012-01-021-2/+2
| |
| * pod fixBrian Cassidy2011-12-081-1/+1
| |
| * confess when we are unable to fetch a spec via LWPBrian Cassidy2011-12-081-0/+4
| |
| * remove unused var; simplify conditionsBrian Cassidy2011-12-081-7/+2
| |
| * fix warnings in testBrian Cassidy2011-12-081-3/+3
| |
* | use eq and ne instead of a regexfranck cuny2012-01-021-2/+2
|/
* update POD for some middlewaresfranck cuny2011-07-264-14/+31
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* fix broken PODfranck cuny2011-07-261-1/+2
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* update changesfranck cuny2011-07-261-1/+2
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* remove Try::Tiny and YAML::Syck from testfranck cuny2011-07-261-3/+0
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* add new middleware: DoNotTrackfranck cuny2011-07-262-0/+46
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* add some changesfranck cuny2011-07-261-2/+4
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* update debugfranck cuny2011-07-261-1/+1
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* fix wrong testfranck cuny2011-07-261-1/+1
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* scheme is stored in spore.url_scheme not spore.schemefranck cuny2011-07-261-2/+2
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* add tests for oauthfranck cuny2011-07-261-23/+72
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* fix test for port and schenefranck cuny2011-07-261-2/+7
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* tests for oauthfranck cuny2011-07-261-8/+20
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* working OAuth middlewarefranck cuny2011-07-261-32/+203
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* fix bug with trace set to 0franck cuny2011-07-261-2/+11
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* debug string if definedfranck cuny2011-07-261-2/+6
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* add query_string to debugfranck cuny2011-07-261-0/+1
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* add test for loading a middleware outside N::H::Spore namespacefranck cuny2011-07-261-0/+44
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* add documentation for tracingfranck cuny2011-07-261-0/+18
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* cleanup testfranck cuny2011-07-261-2/+1
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* add a simple test for tracefranck cuny2011-07-261-0/+39
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* add debug while loading middlewaresfranck cuny2011-07-261-0/+1
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* enable trace with environment or constructorfranck cuny2011-07-261-23/+26
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* add test for timeoutfranck cuny2011-07-261-0/+23
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* be explicit when there is a timeoutfranck cuny2011-07-261-1/+5
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* can't log at this point when we attach a methodfranck cuny2011-07-261-0/+6
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* fix path_infofranck cuny2011-07-261-1/+1
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* userinfo if availablefranck cuny2011-07-261-1/+5
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* add spore.userinfofranck cuny2011-07-262-0/+3
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* add tests for middleware Auth::Headerfranck cuny2011-07-262-1/+71
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* new middlewarefranck cuny2011-07-261-0/+32
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* update changesfranck cuny2011-07-261-0/+1
|
* add some testsfranck cuny2011-07-261-0/+46
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* multiple clientsfranck cuny2011-07-261-30/+34
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* basic role for SPOREfranck cuny2011-07-261-0/+56
| | | | Signed-off-by: franck cuny <franck@lumberjaph.net>
* set a default value to 0 for trace attribute in debug roleniko2011-07-261-3/+3
|
* log request and resposefranck cuny2011-07-261-3/+26
|
* basic code to logfranck cuny2011-07-261-5/+34
|
* add host method to request objectfranck cuny2011-07-261-0/+9
|
* no debug herefranck cuny2011-07-261-1/+1
|
* trying to finish the trace stuff ..franck cuny2011-07-263-8/+13
|
* fix a problem when decoding serialized content when not neededfranck cuny2011-07-261-1/+2
|
* Merge pull request #8 from stevan/masterfranck2011-07-131-1/+1
|\ | | | | Adding in all the remaining HTTP 1.1 methods
| * support all HTTP methodsStevan Little2011-07-131-1/+1
|/
* update versionfranck cuny2011-01-191-1/+1
|
* need to rewrite thisfranck cuny2010-11-261-1/+4
|
* update Changesfranck cuny2010-11-251-0/+1
|
* allow XML::Simple options (fperrad)franck cuny2010-11-252-3/+17
|
* add .gitignorefranck cuny2010-11-251-0/+7
|
* update Changesfranck cuny2010-11-241-0/+8
|
* update testsfranck cuny2010-11-242-7/+21
|
* stringify body to a usefull messagefranck cuny2010-11-241-1/+10
|
* fix an issue where content-type was not set correctlyfranck cuny2010-11-241-1/+2
|
* add new tests to check content-type valuefranck cuny2010-11-241-1/+16
|
* add new method in test description filefranck cuny2010-11-241-0/+4
|
* Remove outdated spec/ files. Add github.com/SPORE/specifications link to docs.Tim Bunce2010-11-233-559/+7
|
* Add is_success method to Net/HTTP/Spore/Response.pmTim Bunce2010-11-231-0/+1
|
* Throw exception by default if not is_success (but excepted takes precedence)Tim Bunce2010-11-231-2/+4
|
* Change deprecated AutoPrereq to recommended AutoPrereqsTim Bunce2010-11-231-1/+1
|
* Some more clarifications and wishes.Tim Bunce2010-11-231-4/+8
|
* Simplify the element titles to make them easy to link to.Plus other refinements.Tim Bunce2010-11-221-40/+50
|
* Convert =items to =head3 where appropriateTim Bunce2010-11-221-34/+22
|
* Convert examples to JSON. Refine/extend some docs.Tim Bunce2010-11-221-47/+58
|
* Minor doc updates plus lots of XXX where clarifications are neededTim Bunce2010-11-221-6/+32
|
* prepare to release 0.03franck cuny2010-11-225-11/+13
|
* remove two middlewarefranck cuny2010-11-222-25/+0
|
* try / catch error on middlewaresfranck cuny2010-11-171-1/+9
|
* mock call finalizefranck cuny2010-11-051-1/+2
|
* remove two methodsfranck cuny2010-11-054-132/+61
|
* typofranck cuny2010-11-051-1/+1
|
* remove remaining :name in pathfranck cuny2010-11-031-3/+10
|
* add new testfranck cuny2010-11-031-1/+11
|
* use new redirect portfranck cuny2010-11-011-2/+4
|
* Merge branch 'master' of github.com:franckcuny/net-http-sporefranck cuny2010-11-011-1/+1
|\ | | | | | | | | * 'master' of github.com:franckcuny/net-http-spore: regex to check method
| * regex to check methodfranck cuny2010-10-271-1/+1
| |
* | don't trace yetfranck cuny2010-11-011-5/+5
| |
* | add some testsfranck cuny2010-11-013-0/+104
| |
* | rewrite request using moose; not yet finishedfranck cuny2010-11-011-45/+225
| |
* | tidy; add form-data and headersfranck cuny2010-11-011-10/+19
| |
* | update synopsisfranck cuny2010-11-011-0/+7
| |
* | add fallbackfranck cuny2010-11-011-1/+1
| |
* | add new methods to implement headers and form-datafranck cuny2010-11-011-0/+17
| |
* | mergefranck cuny2010-11-017-12/+128
|\ \
| * | add headersfranck cuny2010-10-301-0/+5
| | |
| * | fix testfranck cuny2010-10-191-2/+2
| | |
| * | by default, no redirectfranck cuny2010-10-191-0/+1
| | |
| * | small updates on request:franck cuny2010-10-191-8/+26
| | | | | | | | | | | | | | | | | | | | | * abstract method to execute middlewares on response * on response callback, middlewares can return a Net::HTTP::Spore::Response object * method _request
| * | new middlewares:franck cuny2010-10-194-0/+96
| | | | | | | | | | | | | | | | | | | | | * fileupload: upload a file (will detect mime type to set appropriate headers) * paranoidagent: handle blacklist and whitelist * redirection: follows HTTP redirection (HTTP status 30*) * test for redirection
* | | fix method namefranck cuny2010-10-261-1/+1
| | |
* | | add role to tracefranck cuny2010-10-265-2/+28
| |/ |/|
* | add expected_status to top levelfranck cuny2010-10-261-0/+7
| |
* | add tests to payloadfranck cuny2010-10-261-3/+19
| |
* | add payload and form-data to the method objectfranck cuny2010-10-252-9/+59
| |
* | api spec can be modularized:franck cuny2010-10-253-41/+155
|/ | | | | | * add two new methods: new_from_specs and new_from_strings theses two methods can receive more than one description to create a client * add tests and api desc
* update tests to use the dummy api, and replace api_base_url with base_urlfranck cuny2010-10-1710-44/+46
|
* remove couchdb api; add dummy spec for testsfranck cuny2010-10-173-93/+24
|
* don't rely on net::http::api::errorfranck cuny2010-10-171-6/+4
|
* reflect specification updatefranck cuny2010-10-173-71/+53
|
* simplify github examplefranck cuny2010-10-171-13/+2
|
* update version and changesfranck cuny2010-10-142-1/+7
|
* add subtypes for Bool; change how params worksfranck cuny2010-10-141-16/+65
| | | | | * add subtypes for JSON bool * params is now an hashref with 'required' and 'optional' keys
* params is an HashRef nowfranck cuny2010-10-141-1/+1
|
* new specfranck cuny2010-10-141-45/+60
|
* use Scalar::Utils to check if self is blessedfranck cuny2010-10-141-1/+2
|
* use utf8franck cuny2010-10-141-2/+2
|
* dist.ini file and basic test for format::authofranck cuny2010-10-122-0/+66
|
* update PODfranck cuny2010-10-128-8/+102
|
* add enable_if feature + testsfranck cuny2010-10-123-13/+87
|
* add new_from_string and some testsfranck cuny2010-10-082-16/+88
|
* update API; add PODfranck cuny2010-09-161-9/+84
|
* add Changesfranck cuny2010-09-161-0/+2
|
* remove api_base_urlfranck cuny2010-09-151-8/+0
|
* podfranck cuny2010-09-155-0/+84
|
* auth format remove protofranck cuny2010-09-151-13/+21
|
* new role to loadfranck cuny2010-09-151-0/+1
|
* init. object with api attributesfranck cuny2010-09-151-9/+19
|
* api attributesfranck cuny2010-09-151-0/+27
|
* update specfranck cuny2010-09-151-1/+9
|
* remove protocol testfranck cuny2010-09-151-1/+0
|
* PODfranck cuny2010-09-152-13/+250
|
* update testsfranck cuny2010-09-155-5/+73
|
* add a auth methodfranck cuny2010-09-151-1/+2
|
* tests use the mockerfranck cuny2010-09-155-25/+53
|
* rewrite test using mockerfranck cuny2010-09-151-19/+41
|
* mocker for requestfranck cuny2010-09-151-12/+0
|
* remove useless filesfranck cuny2010-09-152-28/+38
|
* foofranck cuny2010-09-151-0/+0
|
* remove and renamedfranck cuny2010-09-152-252/+0
|
* fix podfranck cuny2010-09-151-0/+256
|
* update specificationfranck cuny2010-09-152-22/+174
|
* POD for mw useragentfranck cuny2010-09-151-1/+11
|
* POD for mw runtimefranck cuny2010-09-151-0/+14
|
* auths mw extends authfranck cuny2010-09-153-4/+44
|
* add podfranck cuny2010-09-151-5/+6
|
* added first incomplete draft of implementation specsNils Grunwald2010-09-151-0/+250
|
* fixed various spelling mistakes and some rewritingNils Grunwald2010-09-151-15/+15
|
* some POD and examplesfranck cuny2010-09-134-5/+127
|
* simple oauth middlewarefranck cuny2010-09-131-1/+4
|
* remote trailings argsfranck cuny2010-09-131-4/+3
|
* remove specsfranck cuny2010-09-134-99/+0
|
* initial importfranck cuny2010-09-1353-0/+2070