bullet_train-sortable 1.0.1 → 1.0.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: e088d85e4b8369dd3db4030926e04f374d7541b910946846be16172f570cd727
4
- data.tar.gz: d8eba03abce080f0f6281993ed5bfdee2ac98cd33a153bb70b05ae1ce8cdc457
3
+ metadata.gz: fff0856e0a46a10b09270bc22d59958017ef78bbb70b02e095cbf5d503480c68
4
+ data.tar.gz: 6cb89997aa69c266582a59e5aa91512045e919600a43befd6e931799d85c5347
5
5
  SHA512:
6
- metadata.gz: 1fa217ecabd0c3383e85263e8a1c87b399a61e6cfb53380251d2936edf3883a75ac09c7eee57b322baf365784960fa6d56bd151f6d9d0f7a44cbc6b407544041
7
- data.tar.gz: '09867ea369840cc946ba306a90621c3a90f451a49d24de28c184c6ccb515b30264357aa6b71d1c2e2ae6a93b5972e8acf49d639fcf79896836896af33b2fd974'
6
+ metadata.gz: 8de58432c2ad9f78f670636bb8b370f40470124e929f993704fc0d17adb7ad934eebc65dd70ba80e438d7d257d4091fa67a02d7790c5776668ee66519b7cfc89
7
+ data.tar.gz: 7b31ae826cf01892d88dfb5d22cbcd941d164294e82401d2e5b22298fc801d0928583b85ecd7bec96bf6f73754e58012bcb3dfffb7e93d50640bfa0a35459e1a
data/config/routes.rb CHANGED
@@ -1,7 +0,0 @@
1
- Rails.application.routes.draw do
2
- concern :sortable do
3
- collection do
4
- post :reorder
5
- end
6
- end
7
- end
@@ -1,6 +1,15 @@
1
1
  module BulletTrain
2
2
  module Sortable
3
3
  class Engine < ::Rails::Engine
4
+ initializer "bullet_train.sortable.register_routing_concerns" do |app|
5
+ BulletTrain.routing_concerns << Proc.new do
6
+ concern :sortable do
7
+ collection do
8
+ post :reorder
9
+ end
10
+ end
11
+ end
12
+ end
4
13
  end
5
14
  end
6
15
  end
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module Sortable
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-sortable
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-31 00:00:00.000000000 Z
11
+ date: 2022-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails