flexirest 1.6.5 → 1.6.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/README.md +92 -1243
  4. data/docs/associations.md +181 -0
  5. data/docs/authentication.md +76 -0
  6. data/docs/automatic-conversion-of-fields-to-datedatetime.md +34 -0
  7. data/docs/basic-usage.md +103 -0
  8. data/docs/body-types.md +33 -0
  9. data/docs/caching.md +26 -0
  10. data/docs/combined-example.md +72 -0
  11. data/docs/debugging.md +32 -0
  12. data/docs/default-parameters.md +37 -0
  13. data/docs/faking-calls.md +22 -0
  14. data/docs/faraday-configuration.md +28 -0
  15. data/docs/filtering-result-lists.md +16 -0
  16. data/docs/httpparse-error-handling.md +17 -0
  17. data/{CONTRIBUTING.md → docs/internals.md} +4 -6
  18. data/docs/json-api.md +42 -0
  19. data/docs/lazy-loading.md +31 -0
  20. data/{Migrating-from-ActiveRestClient.md → docs/migrating-from-activerestclient.md} +2 -2
  21. data/docs/parallel-requests.md +28 -0
  22. data/docs/per-request-parameter-encoding.md +32 -0
  23. data/docs/per-request-timeouts.md +13 -0
  24. data/docs/plain-requests.md +30 -0
  25. data/docs/proxying-apis.md +86 -0
  26. data/docs/raw-requests.md +38 -0
  27. data/docs/required-parameters.md +17 -0
  28. data/docs/root-elements.md +34 -0
  29. data/{Ruby-on-Rails-Integration.md → docs/ruby-on-rails-integration.md} +16 -12
  30. data/docs/{Flexirest Internals.graffle → source/Flexirest Internals.graffle} +0 -0
  31. data/docs/{Flexirest Logo.sketch → source/Flexirest Logo.sketch} +0 -0
  32. data/docs/translating-apis.md +31 -0
  33. data/docs/updating-only-changed-dirty-attributes.md +37 -0
  34. data/docs/using-callbacks.md +114 -0
  35. data/docs/validation.md +89 -0
  36. data/docs/xml-responses.md +58 -0
  37. data/lib/flexirest/configuration.rb +36 -20
  38. data/lib/flexirest/request.rb +12 -4
  39. data/lib/flexirest/version.rb +1 -1
  40. data/spec/lib/request_spec.rb +28 -0
  41. metadata +35 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 88460364adba4f360035ba08d19969c3411f0080
4
- data.tar.gz: 58277b7260c0a458511751f3d7b707b66fdde2b3
3
+ metadata.gz: 3515fbcc420fd60dd7e4ba9bf60c7024746577f8
4
+ data.tar.gz: 2f0170a3acfdf49ea822579bd38bda1ebad2ccc5
5
5
  SHA512:
6
- metadata.gz: e15be449e543d7c9e4452ad3e1b23774a22455155a34ae81917104da6bd3f6eed45efabfe817b814254f65bec21735e3a03b140052e4bce4fe7373fc6aed2357
7
- data.tar.gz: 07b34166ddc8fc7b62eef8fe8af5f1bb48ec8988e4c9a4d4a60cd5a01acef7bff3dfdfe2e751cdbe4e749ef5b58b0e7cd304e845f9cd80c6ee57051c322cbfbe
6
+ metadata.gz: 1efda5ef18d2c289f1d0c82732b2cf65adce2ea7367dd9be11506d81e7858a95ba9944012c33d8fc6e8bc630a741201055f8054e24685bdf9222fe393b2c4d09
7
+ data.tar.gz: 7fe7c9f5276d3e17ccc7fd3d44244cd88707905c9c98c55f78d9776fc061f76f8144015cf6e9cbd411cba295ee94f25129f447abf7cc719dad68d989a84ed531
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.6.6
4
+
5
+ Feature:
6
+
7
+ - Username and Password can now take a block/proc for dynamically retrieving the username and password, and will pass in the object if called in a current object context (thanks to Sam Starling for suggesting this lack of functionality)
8
+
3
9
  ## 1.6.5
4
10
 
5
11
  Bugfix: