Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

ActiveRecord 3.2 and up compatibility #9

Merged
merged 3 commits into from

2 participants

@bittersweet

I've tested Resort with 3.2.1 via the specs and in my own application and it seems to work fine. So I don't think there is any reason to set an upper limit to the ActiveRecord version :-)

I've also taken the liberty of adding the Travis buildstatus image to the readme so it's directly obvious Resort is being tested on Travis. I've removed rbx-2.0 as this version is not available anymore.

@bittersweet

Could I get an update on this? Would love to be able to just use the main version instead of my fork :)

@txus
Owner

Sorry, totally forgot! Merging!

@txus txus merged commit 47a07d6 into from
@txus
Owner

Released 0.3.1 with this! :)

@bittersweet

No worries, I know how it is :) Thanks for the release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 18, 2012
  1. @bittersweet
Commits on Feb 19, 2012
  1. @bittersweet
  2. @bittersweet

    Remove rbx-2.0 from .travis.yml

    bittersweet authored
    This is not available so the build will always fail.
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 8 deletions.
  1. +0 −1  .travis.yml
  2. +5 −5 Readme.md
  3. +1 −2  resort.gemspec
View
1  .travis.yml
@@ -5,4 +5,3 @@ rvm:
- ree
- ruby-head
- rbx
- - rbx-2.0
View
10 Readme.md
@@ -1,4 +1,4 @@
-#resort
+#resort [![Build Status](https://secure.travis-ci.org/codegram/resort.png)](http://travis-ci.org/codegram/resort)
Resort provides sorting capabilities to your Rails 3 models.
@@ -55,15 +55,15 @@ end
### Concurrency
-Multiple users modifying the same list at the same time could be a problem,
+Multiple users modifying the same list at the same time could be a problem,
so it's always a good practice to wrap the changes in a transaction:
-
+
```ruby
Product.transaction do
my_product.append_to(another_product)
end
```
-
+
###API
**Every time a product is created, it will be appended after the last element.**
@@ -157,7 +157,7 @@ You can also build the documentation with the following command:
rake docs
## Note on Patches/Pull Requests
-
+
* Fork the project.
* Make your feature addition or bug fix.
* Add tests for it. This is important so I don't break it in a
View
3  resort.gemspec
@@ -14,8 +14,7 @@ Gem::Specification.new do |s|
s.rubyforge_project = "resort"
- s.add_runtime_dependency 'activerecord', '>= 3.0.5', '< 3.2'
-# s.add_runtime_dependency 'activerecord', '~> 3.0.5'
+ s.add_runtime_dependency 'activerecord', '>= 3.0.5'
s.add_development_dependency 'sqlite3'
s.add_development_dependency 'rspec', '~> 2.5.0'
s.add_development_dependency 'yard'
Something went wrong with that request. Please try again.