Permalink
Commits on Feb 25, 2012
  1. Use runtime checks for NSOrderedSet class to enable building against …

    …iOS 4.x and OS X 10.6. fixes #568, #545
    blakewatters committed Feb 25, 2012
Commits on Feb 24, 2012
  1. Merge pull request #541 from amallavarapu/patch-1

    Added documentation for handling GET and POST params.
    blakewatters committed Feb 24, 2012
Commits on Feb 1, 2012
  1. Added documentation for handling GET and POST params.

    Aneil Mallavarapu committed Feb 1, 2012
Commits on Jan 25, 2012
Commits on Jan 24, 2012
  1. Fix test for pull request 519

    Christopher Swasey committed with blakewatters Jan 23, 2012
  2. 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
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. Add RKRequestConnectionTimeoutError to throw when our connection time…

    …out has been exceeded.
    bmorton committed with blakewatters Jan 5, 2012
  3. 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
  4. Invalidate the RKRequest timer in RKResponse when the NSURLConnection…

    … begins receiving data.
    bmorton committed with blakewatters Jan 5, 2012
  5. 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
  6. 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
  7. 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
  8. Add test for confirming that an RKClient object can pass through a ti…

    …meoutInterval to a request.
    bmorton committed with blakewatters Jan 12, 2012
  9. 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. 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. Merge pull request #504 from bmorton/ordered-set

    Integrate support for NSOrderedSet
    blakewatters committed Jan 14, 2012
Commits on Jan 13, 2012
Commits on Jan 12, 2012
Commits on Jan 10, 2012
  1. 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. 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. Remove UISpecRunner gem

    blakewatters committed Jan 4, 2012