active-list 4.2.3 → 4.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/active-list/finder.rb +2 -1
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.2.3
1
+ 4.2.4
@@ -12,7 +12,8 @@ module ActiveList
12
12
  if columns.size > 0
13
13
  self.options[:order] = columns[0].name.to_s # self.model.connection.quote_column_name(columns[0].name.to_s)
14
14
  else
15
- raise ArgumentError.new("Option :order is needed for the list :#{self.name}")
15
+ # raise ArgumentError.new("Option :order is needed for the list :#{self.name}")
16
+ self.options[:order] = "id DESC"
16
17
  end
17
18
  end
18
19
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: active-list
3
3
  version: !ruby/object:Gem::Version
4
4
  version: !binary |-
5
- NC4yLjM=
5
+ NC4yLjQ=
6
6
  prerelease:
7
7
  platform: ruby
8
8
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-02-24 00:00:00.000000000 Z
13
+ date: 2013-03-15 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails