acts_as_list 0.7.0 → 0.7.1

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.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MmFkMDliYmQwMmYxMjBlM2UzMjdiM2VjZDc3NTA0NTdkY2Y3NmVmNg==
5
+ data.tar.gz: !binary |-
6
+ YmUzYTMwNmQxNzc3ZjhhMWY0YWRhNDIyNzIxMGRiMDNjMzM5MTkyNA==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NjE4Yjc3ZTRlNzc3M2EzZWE4MDA2MjgxMTdjYzMwMWViZTFlMTQ3YTY4MDE3
10
+ YjI3MTgzMzZiY2FhM2ZiMDFjYzUxMDNhNWRkZGEzNGY0MmExZjlhYzE3NDQw
11
+ MjZkYWJkMjJlYzkxY2NmNmMwZGU2ZDZhZDY0MzZiYzA0Mjk2Nzg=
12
+ data.tar.gz: !binary |-
13
+ NWViNjA3NmFlMzBkYWY4OTIyNGNjZTUxMzVlZDQ3MTljNTM2Nzk5ZGYyODhk
14
+ ZmMzZDg3MDg0N2ZmZDA5ZWJiNWMxN2QzZDgzNWE0OTQ3OWE1YzhmYWNlNTRl
15
+ ZmYxMzg0OTlhOGZjMDdhYmJhZjBjMDNjOGY1YjZkM2JkMTA5YjI=
data/.gitignore CHANGED
@@ -5,3 +5,5 @@ pkg/*
5
5
  .rvmrc
6
6
  *.tmproj
7
7
  .rbenv-version
8
+ .ruby-gemset
9
+ .ruby-version
data/README.md CHANGED
@@ -25,7 +25,7 @@ After that you can use `acts_as_list` method in the model:
25
25
 
26
26
  ```ruby
27
27
  class TodoList < ActiveRecord::Base
28
- has_many :todo_items, -> { order("position ASC") }
28
+ has_many :todo_items, -> { order(position: :asc) }
29
29
  end
30
30
 
31
31
  class TodoItem < ActiveRecord::Base
@@ -1,7 +1,7 @@
1
1
  module ActiveRecord
2
2
  module Acts
3
3
  module List
4
- VERSION = '0.7.0'
4
+ VERSION = '0.7.1'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_list
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
5
- prerelease:
4
+ version: 0.7.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - David Heinemeier Hansson
@@ -11,12 +10,11 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2015-05-01 00:00:00.000000000 Z
13
+ date: 2015-05-06 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: activerecord
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
19
  - - ! '>='
22
20
  - !ruby/object:Gem::Version
@@ -24,7 +22,6 @@ dependencies:
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
26
  - - ! '>='
30
27
  - !ruby/object:Gem::Version
@@ -32,7 +29,6 @@ dependencies:
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: bundler
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
33
  - - ! '>='
38
34
  - !ruby/object:Gem::Version
@@ -40,7 +36,6 @@ dependencies:
40
36
  type: :development
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
40
  - - ! '>='
46
41
  - !ruby/object:Gem::Version
@@ -85,27 +80,26 @@ files:
85
80
  homepage: http://github.com/swanandp/acts_as_list
86
81
  licenses:
87
82
  - MIT
83
+ metadata: {}
88
84
  post_install_message:
89
85
  rdoc_options: []
90
86
  require_paths:
91
87
  - lib
92
88
  required_ruby_version: !ruby/object:Gem::Requirement
93
- none: false
94
89
  requirements:
95
90
  - - ! '>='
96
91
  - !ruby/object:Gem::Version
97
92
  version: 1.9.2
98
93
  required_rubygems_version: !ruby/object:Gem::Requirement
99
- none: false
100
94
  requirements:
101
95
  - - ! '>='
102
96
  - !ruby/object:Gem::Version
103
97
  version: '0'
104
98
  requirements: []
105
99
  rubyforge_project: acts_as_list
106
- rubygems_version: 1.8.24
100
+ rubygems_version: 2.4.5
107
101
  signing_key:
108
- specification_version: 3
102
+ specification_version: 4
109
103
  summary: A gem adding sorting, reordering capabilities to an active_record model,
110
104
  allowing it to act as a list
111
105
  test_files: