Add quote for id in sql request (for when id is a uuid string for example).
Add missing quote for id in sql request.
Removed attr_accessible & ProtectedLists, replaced finder
Changed syntax ruby1.9
Update acts_as_list.gemspec
Removed version ruby1.8
Fix check_scope to work on lists with array scopes

Squashed commits follow:

Fix issue with old order not being set

When moving an item between lists, previously the old order was not being set on the record before calling `decrement_positions_on_lower_items`. This had the side effect of leaving the previous list with duplicate or incorrect order numbers if you moved the item to a new list with a different position.

TODO: Add support for multiple scope conditions when moving an item between lists. Refactor `check_scope` for clarity and DRYness.

Conflicts:
	lib/acts_as_list/active_record/acts/list.rb

Add failing tests

Add failing tests for moving items between lists with multiple scopes

Implement moving between lists with array scope

When check_scope is called it checks if there have been any changes to scope properties. This is handled by a new private method, scope_changed? which looks at a new method 'scope' which returns the raw scope data. If the scope has changed, swap_changed attributes is called, this sets all the changes back to the objects previous state so we can update it's previous list. The changes are then swapped back using the same method and we add it to the new list.

TODO:

- Consider changing check_scope to a better name like update_previous_list?
- How should this handle scopes that use string interpolation? Should the scope always be considered changed?

Remove scope_name function

Add comments to private methods

Add tests for changing only one scope property

Previous tests only covered changing all scope properties at once.

Add tests for moving to empty list

Add scope_name function back in

Pass move_within_scope tests
Add 1.8.7 compatability, refactor for simplicity
Merge pull request #81 from conzett/master

Fix check_scope to work on lists with array scopes
Merge remote-tracking branch 'upstream/master' into rails4_compatibility

Conflicts:
	test/shared_list.rb
Removing allowed failures on travis, Updating ActiveRecord version
Merge pull request #80 from philippfranke/rails4_compatibility

Rails4 compatibility
Version bump. 0.3.0 is Rails 4 compatible.
Update README.md
Adds required_ruby_version to gemspec
Merge pull request #90 from tvdeyen/gemspec-fix

Adds `required_ruby_version` to gemspec
Merge pull request #69, "Add quotes to Id in SQL requests" from github.com:webdoc

* 'master' of github.com:webdoc/acts_as_list:
  Add missing quote for id in sql request.
  Add quote for id in sql request (for when id is a uuid string for example).

Conflicts:
	lib/acts_as_list/active_record/acts/list.rb
Use the correct syntax for conditions in Rails 4.
Merge pull request #94 from gotjosh/master

Use the correct syntax for conditions in Rails 4 on the readme.
Update Gemfiles to allow use of JRuby or Rubinius.  Update .travis.yml to include these VMs.  Add begin/rescue block to Rakefile for RDocTask