Permalink
Commits on Jul 6, 2017
  1. 0.9.7 Changelog

    brendon committed Jul 6, 2017
  2. Version 0.9.7

    brendon committed Jul 6, 2017
Commits on Jul 5, 2017
  1. 0.9.6 Changelog

    brendon committed Jul 5, 2017
  2. Version 0.9.6

    brendon committed Jul 5, 2017
Commits on Jul 4, 2017
  1. Refactor update_all_with_touch (#279)

    ledestin committed with swanandp Jul 4, 2017
    * Refactor: extract PositionColumnMethodDefiner.touch_record_sql
    
    * Refactor: better naming
    
    * Refactor #each -> #inject
    
    * Refactor: extract #touch_record_sql
    
    * Refactor: inline variable
    
    * Refactor: inline "now" variable
    
    * Refactor: extract variable "quoted_now"
    
    * Refactor: extract #quoted_current_time_from_proper_timezone
    
    * Refactor: rename quoted_now -> cached_quoted_now
    
    * Refactor: inline "connection" variable
    
    * Refactor: extract variable "quoted_attr"
    
    * Refactor #inject into #map and #join
    
    * Add private method #connection, delegating to class
    
    * Refactor: inline variable
Commits on Jul 2, 2017
  1. Remove errant sqlite file

    brendon committed Jul 2, 2017
Commits on Jun 18, 2017
  1. Fix Fixnum deprecation warnings. (#282)

    patrickdavey committed with brendon Jun 18, 2017
    Fixnum is being deprecated and merged with Bignum into Integer
    (http://blog.bigbinary.com/2016/11/18/ruby-2-4-unifies-fixnum-and-bignum-into-integer.html)
    
    This PR replaces Fixnum with Integer (in the tests) and fixes the
    deprecation warnings
Commits on Jun 14, 2017
  1. Fix update to scope that was defined with an enum (#281)

    scottmalone committed with brendon Jun 14, 2017
    This is a non-issue with activesupport 5.0, but prior to that, when
    check_scope is assigning the attributes hash, the assignment of an enum
    is invalid and results in a value of 0 being assigned as the scope.
    Assigning with the enum's setter instead.
    
    Fixes #277
Commits on May 10, 2017
  1. Remove AS::Concern from NoUpdate (#274)

    brendon committed on GitHub May 10, 2017
  2. Use `ActiveSupport.on_load` to hook into ActiveRecord (#272)

    brendon committed on GitHub May 10, 2017
    * Use `ActiveSupport.on_load` to hook into ActiveRecord
    * Remove the need for a concern
    
    In our case it’s fairly simple to just call `extend` to bring in the
    class method. The instance methods are then included when
    `acts_as_list` is called.
    
    `active_record` also has `active_support` as a dependency so we don’t
    need to declare that.
Commits on Apr 4, 2017
  1. 0.9.5 Changelog

    brendon committed Apr 4, 2017
  2. Version 0.9.5

    brendon committed Apr 4, 2017
  3. Be more surgical about unscoping (#265)

    brendon committed on GitHub Apr 4, 2017
Commits on Apr 2, 2017
Commits on Mar 20, 2017
  1. Fix version detection

    brendon committed Mar 20, 2017
Commits on Mar 17, 2017
  1. 0.9.4 Changelog

    brendon committed Mar 17, 2017
Commits on Mar 16, 2017
  1. Version 0.9.4

    brendon committed Mar 16, 2017
Commits on Mar 15, 2017
Commits on Mar 14, 2017
  1. 0.9.3 Changelog

    brendon committed Mar 14, 2017
  2. Version 0.9.3

    brendon committed Mar 14, 2017
Commits on Mar 13, 2017
Commits on Mar 3, 2017
Commits on Feb 27, 2017
  1. Refactor column definer module (#258)

    ledestin committed with brendon Feb 27, 2017
    * Refactoring: use a better variable name
    
    Rename column -> position_column to make it clear what kind of column we're
    talking about.
    
    * Refactoring: rename ColumnMethodDefiner -> PositionColumnMethodDefiner
    
    * Refactoring: extract PositionColumnMethodDefiner.define_instance_methods
    
    * Refactoring: extract PositionColumnMethodDefiner.define_class_methods
    
    * Refactoring: define_class_methods before define_instance_methods
    
    * Refactoring: remove redundant interpolation
    
    * Refactoring: extract .mass_assignment_protection_was_used_by_user?
    
    * Refactoring: extract .protect_attributes_from_mass_assignment
    
    * Replace gratuitous defined? with #respond_to?
    
    * Replace !o.blank? with o.present?
  2. Merge pull request #259 from CvX/rails-5.1.0.beta1

    swanandp committed on GitHub Feb 27, 2017
    Fix deprecation introduced in ActiveRecord 5.1.0.beta1. Closes #257
Commits on Feb 25, 2017
  1. Fix deprecation introduced in ActiveRecord 5.1.

    CvX committed Feb 24, 2017
    `attribute_was` replaced by `attribute_before_last_save`
Commits on Feb 24, 2017
Commits on Feb 7, 2017
  1. Updated Changelog

    brendon committed Feb 7, 2017
  2. Version 0.9.2

    brendon committed Feb 7, 2017
  3. Stop quoting primary key's manually

    brendon committed Feb 7, 2017
    In the past we were string interpolating and so needed to quote the id
    properly. Now Rails will handle this for us.
Commits on Jan 26, 2017
  1. 0.9.1 Changelog

    brendon committed Jan 26, 2017
  2. Version 0.9.1

    brendon committed Jan 26, 2017
Commits on Jan 23, 2017
  1. Updated Changelog 0.9.0

    brendon committed Jan 23, 2017