Permalink
Commits on Jan 25, 2012
  1. @blakewatters
  2. @blakewatters
Commits on Jan 24, 2012
  1. @blakewatters

    Fix test for pull request 519

    Christopher Swasey committed with blakewatters Jan 23, 2012
  2. @bmorton @blakewatters
  3. @bmorton @blakewatters

    Move RKRequest timeoutTimer creation to a helper method so that we ca…

    …n test the number of times it is invoked.
    bmorton committed with blakewatters Jan 22, 2012
  4. @bmorton @blakewatters
Commits on Jan 20, 2012
  1. Merge pull request #505 from spenrose/xml-attributes-bug

    This fixes a bug where attributes of a object would also get added to parent object.
    Jeff Arena committed Jan 20, 2012
  2. @blakewatters
  3. @marlonandrade @blakewatters
  4. @blakewatters
  5. @bmorton @blakewatters

    Add RKRequestConnectionTimeoutError to throw when our connection time…

    …out has been exceeded.
    bmorton committed with blakewatters Jan 5, 2012
  6. @bmorton @blakewatters

    Add support for timing out an RKRequest via a timeoutTimer and a time…

    …out property.
    
    * Add timeoutInterval property on RKRequest with a default value of 120.0
    * Add timeout method that is called by the timer when the timeout interval has been exceeded to cancel the request and return an error via didFailLoadWithError:
    * Add invalidateTimeoutTimer method that is called by RKResponse when the NSURLConnection begins receiving data.
    * Add call to invalidateTimeoutTimer in RKRequest cancelAndInformDelegate: so we don't have a dangling timer.
    * Add timer creation to sendAsynchronously and sendSynchronously
    bmorton committed with blakewatters Jan 5, 2012
  7. @bmorton @blakewatters

    Invalidate the RKRequest timer in RKResponse when the NSURLConnection…

    … begins receiving data.
    bmorton committed with blakewatters Jan 5, 2012
  8. @bmorton @blakewatters
  9. @bmorton @blakewatters

    Responsibly invalidate the timeoutTimer when the RKRequest is dealloc…

    …ated. Move location of timer creation for asynchronous request.
    bmorton committed with blakewatters Jan 5, 2012
  10. @bmorton @blakewatters

    Move the invalidateTimeoutTimer call in RKResponse from didReceiveDat…

    …a to didReceiveResponse and didFailWithError so we are sure its always called and as early as possible.
    bmorton committed with blakewatters Jan 5, 2012
  11. @bmorton @blakewatters

    Add /timeout route to fake a long response for testing RKRequest's ti…

    …meout interval. We need to leave this around 4 seconds so we don't hold up the ruby process too long and cause the tests launched after to fail.
    bmorton committed with blakewatters Jan 12, 2012
  12. @bmorton @blakewatters

    Add test for confirming that an RKClient object can pass through a ti…

    …meoutInterval to a request.
    bmorton committed with blakewatters Jan 12, 2012
  13. @bmorton @blakewatters

    Add cast to int to failureError.code so this test works on both the i…

    …OS and Mac OS X frameworks.
    bmorton committed with blakewatters Jan 12, 2012
Commits on Jan 14, 2012
  1. @spenrose

    This fixes a bug where attributes of a object would also get added to…

    … parent object.
    
    XML to parse
    ```
    <exchange_rate type="XML_RATE_TYPE_EBNK_MIDDLE" valid_from="2011-08-03 00:00:00.0">
        <currency name="AUD" quota="1" rate="18.416"/>
        <currency name="HRK" quota="1" rate="3.25017"/>
        <currency name="DKK" quota="1" rate="3.251"/>
    </exchange_rate>
    ```
    
    BEFORE FIX
    ```
    <CFBasicHash 0xab93140 [0x520b38]>{type = mutable dict, count = 1,
    entries =>
    	0 : <CFString 0xabacac0 [0x520b38]>{contents = "exchange_rate"} = <CFBasicHash 0xaba99e0 [0x520b38]>{type = mutable dict, count = 6,
    entries =>
    	0 : <CFString 0xabc1e40 [0x520b38]>{contents = "currency"} = (
            {
            name = AUD;
            quota = 1;
            rate = "18.416";
        },
            {
            name = HRK;
            quota = 1;
            rate = "3.25017";
        },
            {
            name = DKK;
            quota = 1;
            rate = "3.251";
        }
    )
    	1 : <CFString 0xaba9940 [0x520b38]>{contents = "name"} = <CFString 0xaba9960 [0x520b38]>{contents = "DKK"}
    	2 : <CFString 0xaba9990 [0x520b38]>{contents = "rate"} = <CFString 0xaba99c0 [0x520b38]>{contents = "3.251"}
    	3 : <CFString 0xaba9980 [0x520b38]>{contents = "quota"} = <CFString 0xaba99a0 [0x520b38]>{contents = "1"}
    	4 : <CFString 0xab93180 [0x520b38]>{contents = "type"} = <CFString 0xab931b0 [0x520b38]>{contents = "XML_RATE_TYPE_EBNK_MIDDLE"}
    	5 : <CFString 0xab93190 [0x520b38]>{contents = "valid_from"} = <CFString 0xab93220 [0x520b38]>{contents = "2011-08-03 00:00:00.0"}
    }
    
    }
    ```
    
    AFTER FIX
    ```
    <CFBasicHash 0xa689830 [0x520b38]>{type = mutable dict, count = 1,
    entries =>
    	0 : <CFString 0xa6816a0 [0x520b38]>{contents = "exchange_rate"} = <CFBasicHash 0xa6897c0 [0x520b38]>{type = mutable dict, count = 3,
    entries =>
    	0 : <CFString 0xa692100 [0x520b38]>{contents = "valid_from"} = <CFString 0xa692190 [0x520b38]>{contents = "2011-08-03 00:00:00.0"}
    	1 : <CFString 0xa680860 [0x520b38]>{contents = "currency"} = (
            {
            name = AUD;
            quota = 1;
            rate = "18.416";
        },
            {
            name = HRK;
            quota = 1;
            rate = "3.25017";
        },
            {
            name = DKK;
            quota = 1;
            rate = "3.251";
        }
    )
    	2 : <CFString 0xa6920f0 [0x520b38]>{contents = "type"} = <CFString 0xa692120 [0x520b38]>{contents = "XML_RATE_TYPE_EBNK_MIDDLE"}
    }
    
    }
    ```
    spenrose committed Jan 14, 2012
  2. @blakewatters

    Merge pull request #504 from bmorton/ordered-set

    Integrate support for NSOrderedSet
    blakewatters committed Jan 14, 2012
  3. @bmorton
Commits on Jan 13, 2012
  1. @bmorton
  2. @bmorton
Commits on Jan 12, 2012
  1. @blakewatters
Commits on Jan 10, 2012
  1. @blakewatters

    Remove 'file' from Specs/Uploads group. This is a test asset that sho…

    …uld not be part of the project.
    blakewatters committed Jan 10, 2012
  2. @rayfix @blakewatters
  3. @DavidYKay @blakewatters
  4. @blakewatters

    Revert "Merge branch 'nolanw-request-delegate-gets-failed-auth-challe…

    …nge'"
    
    This reverts commit d6510d9, reversing
    changes made to a1e2061.
    blakewatters committed Jan 10, 2012
Commits on Jan 4, 2012
  1. @blakewatters

    Remove UISpecRunner gem

    blakewatters committed Jan 4, 2012
Commits on Dec 17, 2011
  1. @blakewatters

    Merge pull request #477 from rayfix/fix-log-root-key-path

    Fixed logging of root key path on object mapping. Remove TODO comment.
    blakewatters committed Dec 17, 2011
  2. Fixed logging of root key path on object mapping. Remove TODO comment…

    … that is done.
    chethan committed Dec 17, 2011
Commits on Dec 16, 2011
  1. @blakewatters

    Bump version number

    blakewatters committed Dec 16, 2011
Commits on Dec 15, 2011
  1. @blakewatters
Commits on Dec 14, 2011
  1. @blakewatters