redditor 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e068df1a9789fe7f9258f5826f7f875bac8e5441
4
- data.tar.gz: 9e1dba5675f9156aff64c7100882a69a6860fde7
3
+ metadata.gz: dea55399ec72c3758f76bcfa1c6affa14e795b1a
4
+ data.tar.gz: f9714cee23292cb0d62eca3109054194954ca7d1
5
5
  SHA512:
6
- metadata.gz: c5d2c605852ca1556028a85a57bae097fbdcdbb0eacd5d3d14a82e57ca24bd09bda5a4ca34cf95e151928f6a458d1784e41465e96e42fc6cbabf17be875c2a27
7
- data.tar.gz: e5fc8b7f6a1580863d7e125f4d90e62bcb392720673a2306117c3f9893bd110e90c25d42e534888c13f8ef77fc48e6486a70c5b0a37b7b50992ef66bfde61928
6
+ metadata.gz: 9229d2406979e19c63d7ca55aa4069ec74068f04534ca55ee14f3690add41c1c4514dc10bda85ddecb0dbcec7ab65ce12482c2e33a1770d5cd605fe3abb4e0f3
7
+ data.tar.gz: e8257ebbfdff12044041686809819f5b7735ec053a813033fb576e1a8f0990efba5071016e9b2f44b746d2e759c014d362d42ce651c8ea9187e5b9c0fb19adb9
@@ -6,7 +6,7 @@ class Redditor::Admin::PagesController < Redditor::Admin::BaseController
6
6
  def sort
7
7
  params[:sort].each do |k, v|
8
8
  v.each do |klass, info|
9
- "Redditor::#{klass.camelcase}".constantize.find_by_id(info[:index]).update_attributes(position: info[:position]) rescue nil
9
+ "Redditor::#{klass.camelcase.gsub('Redditor::', '')}".constantize.find_by_id(info[:index]).update_attributes(position: info[:position]) rescue nil
10
10
  end
11
11
  end
12
12
 
@@ -1,3 +1,3 @@
1
1
  module Redditor
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redditor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oleg Bovykin