Skip to content
Commits on Jul 17, 2015
  1. Merge pull request #35 from brianstien/rspec3

    Rspec3
    committed Jul 17, 2015
  2. Merge pull request #34 from brianstien/update_alias

    Add update and update! methods
    committed Jul 17, 2015
Commits on Jul 16, 2015
  1. Merge pull request #33 from brianstien/fix_reload

    Fix the reload method
    committed Jul 16, 2015
Commits on Jul 14, 2015
  1. Merge pull request #30 from brianstien/master

    Fix failing spec.
    committed Jul 13, 2015
Commits on May 14, 2015
  1. Bump version to 2.2.0

    committed May 14, 2015
  2. Convert specs to RSpec 2.99.2 syntax with Transpec

    This conversion is done by Transpec 3.1.0 with the following command:
        transpec
    
    * 84 conversions
        from: obj.should
          to: expect(obj).to
    
    * 40 conversions
        from: obj.should_receive(:message)
          to: expect(obj).to receive(:message)
    
    * 19 conversions
        from: obj.stub(:message)
          to: allow(obj).to receive(:message)
    
    * 14 conversions
        from: be_true
          to: be_truthy
    
    * 12 conversions
        from: be_false
          to: be_falsey
    
    * 12 conversions
        from: it { should ... }
          to: it { is_expected.to ... }
    
    * 5 conversions
        from: obj.unstub(:message)
          to: allow(obj).to receive(:message).and_call_original
    
    * 4 conversions
        from: Klass.any_instance.should_receive(:message)
          to: expect_any_instance_of(Klass).to receive(:message)
    
    * 2 conversions
        from: =~ [1, 2]
          to: match_array([1, 2])
    
    * 2 conversions
        from: Klass.any_instance.stub(:message)
          to: allow_any_instance_of(Klass).to receive(:message)
    
    * 1 conversion
        from: obj.should_not
          to: expect(obj).not_to
    
    For more details: https://github.com/yujinakayama/transpec#supported-conversions
    committed May 14, 2015
  3. Add rspec-its

    RSpec's its behavior was extracted into a separate gem.
    committed May 14, 2015
  4. Merge pull request #29 from brianstien/validations

    Add support for validations
    committed May 14, 2015
Commits on Apr 3, 2014
  1. Bump version to 2.1.0

    committed Apr 3, 2014
Commits on Mar 15, 2014
  1. Bump version to 2.1.0.rc2

    committed Mar 15, 2014
  2. Reinstate Model#add_errors_from_response

    When Model#add_errors_from_response was deprecated, checking if the response
    actually defines errors was removed as well. Since not all responses
    have define errors, this causes exceptions.
    
    The problem with Model#add_errors_from_response wasn't that it took a
    response, but that it relied on @last_response. Instead of deprecating
    the whole method, just deprecate that behavior.
    committed Mar 15, 2014
Commits on Mar 12, 2014
  1. Bump version to 2.1.0.rc1

    committed Mar 12, 2014
  2. Deprecate Model#_active_remote_search

    Now that RPC handling isn't embedded, the _active_remote_search method
    isn't necessary. Deprecate it.
    committed Mar 12, 2014
  3. Add errors in #delete, #destroy

    them so the check is useless. Add the errors so it actually works.
    committed Mar 12, 2014
  4. Deprecated embedded RPC calls

    Instead of using the embedded RPC calls, use the new RPC adapter
    (Model.rpc) instead.
    committed Mar 12, 2014
  5. Add some deprecation warnings to Bulk module

    - Deprecated bulk responses that don't respond to :records
    - Deprecated :parse_records (it should have been an internal API)
    - Cleaned up the bulk specs
    committed Mar 12, 2014
Commits on Mar 10, 2014
  1. Bump version to 2.1.0.beta2

    committed Mar 10, 2014
  2. Merge pull request #23 from nelsonwittwer/nw/serialization_bug_fix

    Fix errors interface
    committed Mar 10, 2014
  3. Bump version to 2.1.0.beta1

    committed Mar 10, 2014
  4. Merge branch '2-0-stable'

    committed Mar 10, 2014
  5. Add a proper RPC adapter

    Rather than relying on the RPC execution code being embedded directly
    into `Base`, extract it into a proper adapter, paving the way to support
    multiple RPC adapaters.
    
    The existing pattern still works, but will be deprecated with this
    release.
    committed Mar 10, 2014
  6. Merge pull request #22 from liveh2o/rework_serialization

    Rework serialization
    committed Mar 10, 2014
  7. Execute RPC calls using .rpc instead of instances

    Currently, the RPC module is mixed into ARem::Base. This is a bad
    pattern that couples the RPC layer with the data model. Instead, there
    should be a clean separation much like AR's database connection.
    
    This is the first step in unraveling all the things.
    committed Mar 3, 2014
  8. Deprecate last_response based serialization

    Relying on #last_response is a bad pattern. Instead of expecting it to
    be set when serializing records or adding errors, deprecate the old
    methods and add new ones that take arguments instead.
    committed Mar 3, 2014
  9. Return last response from execute

    Rather than relying on the internal last_response attribute to get at
    the response from an execute call, simply return the response from
    execute.
    committed Mar 3, 2014
  10. Merge pull request #20 from nelsonwittwer/nw/configurable_keys

    Add PrimaryKey module
    committed Mar 10, 2014
Commits on Mar 8, 2014
  1. Bump version to 2.0.2

    committed Mar 7, 2014
  2. Merge pull request #21 from liveh2o/bdewitt/bulk_empty_records

    account for having empty records in the parse_response
    committed Mar 7, 2014
Something went wrong with that request. Please try again.