activeadmin-mongoid-reorder 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.name = 'activeadmin-mongoid-reorder'
6
- gem.version = '0.2.0'
6
+ gem.version = '0.2.1'
7
7
  gem.summary = 'Reorder index table rows plugin for activeadmin.'
8
8
  gem.description = ''
9
9
  gem.license = 'MIT'
@@ -1,3 +1,6 @@
1
+ if !Array.prototype.last
2
+ Array.prototype.last = () -> return this[this.length - 1]
3
+
1
4
  $ ->
2
5
  window.sortable_options = (url) ->
3
6
  options =
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin-mongoid-reorder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-23 00:00:00.000000000 Z
12
+ date: 2012-07-25 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ''
15
15
  email: santyor@gmail.com