rails_sortable 1.3.1 → 1.3.2

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
  SHA256:
3
- metadata.gz: a95f25947f4b499a0bdfa722338fec758335623ea43267ff2b73fa804b1a58c5
4
- data.tar.gz: b1bf8e01136997c58e3f4d3c1396c4b7b47479c5d85ab4c71c1cee74be9accca
3
+ metadata.gz: e82a388afb0fcd3f8b3965d5c66da761a8820a27309a7461f57394c02e032f4e
4
+ data.tar.gz: 9a7b8c0b9ccd02384105268fb2fd13aeb0559aea2a75fafb00f60c71afd5dde7
5
5
  SHA512:
6
- metadata.gz: 8e5042e068b9c5b45d5406c7ef79e5d6594503a4333e0b10e8636d8a2c92246b7e275a8d557751af7222a1c752ffccaba8b7f5b240568ecbeaded684294c1e6c
7
- data.tar.gz: 0c2f42bb1cc07c15e048552162433af9946211ea4b84f42d0ada9be66b3a84f5cd1a1b011fa4e7bab6c796080e1121a0137f995cdd2d48968c93be2d928fd401
6
+ metadata.gz: 8be3de6f518fc1c101cf11113568fbcb19a6e4003bbfe4edb4ebeaa25ee82bb7b171f57c0a10dd01d6cdd545bea7b066a22a7954c5a8372b2a941754455e02b3
7
+ data.tar.gz: 10c557eaab04018d69553a4f3ab19f54376b4359bef5c81c0b0f8e084fb7cd5f3c662919de0a79e210385044e7a1c2bd27a05b601663ad05a088763bfb1c616e
@@ -25,6 +25,6 @@ private
25
25
 
26
26
  def find_model(token)
27
27
  klass, id = VERIFIER.verify(token).match(/class=(.+),id=(.+)/)[1..2]
28
- klass.constantize.find(id.to_i)
28
+ klass.constantize.find(id)
29
29
  end
30
30
  end
@@ -1,3 +1,3 @@
1
1
  module RailsSortable
2
- VERSION = '1.3.1'
2
+ VERSION = '1.3.2'
3
3
  end
@@ -0,0 +1,3 @@
1
+ //= link_tree ../images
2
+ //= link_directory ../javascripts .js
3
+ //= link_directory ../stylesheets .css
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_sortable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - itmammoth
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-21 00:00:00.000000000 Z
11
+ date: 2019-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: appraisal
@@ -116,6 +116,7 @@ files:
116
116
  - spec/controllers/sortable_controller_spec.rb
117
117
  - spec/dummy/README.rdoc
118
118
  - spec/dummy/Rakefile
119
+ - spec/dummy/app/assets/config/manifest.js
119
120
  - spec/dummy/app/assets/javascripts/application.js
120
121
  - spec/dummy/app/assets/javascripts/items.js
121
122
  - spec/dummy/app/assets/javascripts/multiple_classes.js
@@ -207,6 +208,7 @@ test_files:
207
208
  - spec/controllers/sortable_controller_spec.rb
208
209
  - spec/dummy/README.rdoc
209
210
  - spec/dummy/Rakefile
211
+ - spec/dummy/app/assets/config/manifest.js
210
212
  - spec/dummy/app/assets/javascripts/application.js
211
213
  - spec/dummy/app/assets/javascripts/items.js
212
214
  - spec/dummy/app/assets/javascripts/multiple_classes.js