acts_as_list-rails3 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/README.rdoc +17 -5
  2. data/lib/acts_as_list/version.rb +1 -1
  3. metadata +3 -3
@@ -1,11 +1,11 @@
1
- ActsAsList
2
- ==========
1
+ = ActsAsList
2
+
3
+ == Description
3
4
 
4
5
  This acts_as extension provides the capabilities for sorting and reordering a number of objects in a list. The class that has this specified needs to have a +position+ column defined as an integer on the mapped database table.
5
6
 
6
7
 
7
- Example
8
- =======
8
+ == Example
9
9
 
10
10
  class TodoList < ActiveRecord::Base
11
11
  has_many :todo_items, :order => "position"
@@ -19,5 +19,17 @@ Example
19
19
  todo_list.first.move_to_bottom
20
20
  todo_list.last.move_higher
21
21
 
22
+ == Contributing to acts_as_list
23
+
24
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
25
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
26
+ * Fork the project
27
+ * Start a feature/bugfix branch
28
+ * Commit and push until you are happy with your contribution
29
+ * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
30
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
31
+
32
+ == Copyright
33
+
34
+ Copyright (c) 2007 David Heinemeier Hansson, released under the MIT license
22
35
 
23
- Copyright (c) 2007 David Heinemeier Hansson, released under the MIT license
@@ -1,7 +1,7 @@
1
1
  module ActiveRecord
2
2
  module Acts
3
3
  module List
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_list-rails3
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Heinemeier Hansson