rails_sortable 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -0
  3. data/app/controllers/sortable_controller.rb +4 -3
  4. data/app/models/rails_sortable/model.rb +8 -6
  5. data/lib/rails_sortable/version.rb +1 -1
  6. data/spec/dummy/app/assets/javascripts/other_items.js +5 -0
  7. data/spec/dummy/app/assets/stylesheets/other_items.css +4 -0
  8. data/spec/dummy/app/controllers/other_items_controller.rb +58 -0
  9. data/spec/dummy/app/helpers/other_items_helper.rb +2 -0
  10. data/spec/dummy/app/models/other_item.rb +6 -0
  11. data/spec/dummy/app/views/items/index.html.erb +2 -0
  12. data/spec/dummy/app/views/other_items/_form.html.erb +25 -0
  13. data/spec/dummy/app/views/other_items/edit.html.erb +6 -0
  14. data/spec/dummy/app/views/other_items/index.html.erb +31 -0
  15. data/spec/dummy/app/views/other_items/new.html.erb +5 -0
  16. data/spec/dummy/app/views/other_items/show.html.erb +14 -0
  17. data/spec/dummy/config/routes.rb +1 -55
  18. data/spec/dummy/db/development.sqlite3 +0 -0
  19. data/spec/dummy/db/migrate/20170414031946_create_other_items.rb +10 -0
  20. data/spec/dummy/db/schema.rb +8 -1
  21. data/spec/dummy/db/seeds.rb +1 -0
  22. data/spec/dummy/db/test.sqlite3 +0 -0
  23. data/spec/dummy/log/development.log +4740 -0
  24. data/spec/dummy/spec/controllers/other_items_controller_spec.rb +160 -0
  25. data/spec/dummy/spec/helpers/other_items_helper_spec.rb +15 -0
  26. data/spec/dummy/spec/models/other_item_spec.rb +5 -0
  27. data/spec/dummy/spec/requests/other_items_spec.rb +11 -0
  28. data/spec/dummy/spec/routing/other_items_routing_spec.rb +35 -0
  29. data/spec/dummy/spec/views/other_items/edit.html.erb_spec.rb +20 -0
  30. data/spec/dummy/spec/views/other_items/index.html.erb_spec.rb +23 -0
  31. data/spec/dummy/spec/views/other_items/new.html.erb_spec.rb +20 -0
  32. data/spec/dummy/spec/views/other_items/show.html.erb_spec.rb +17 -0
  33. data/spec/dummy/tmp/cache/assets/development/sprockets/12cbee6eebaf49677ad022dd0439ab2e +0 -0
  34. data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  35. data/spec/dummy/tmp/cache/assets/development/sprockets/169ca557f36990ca5a0bf41b568058c1 +0 -0
  36. data/spec/dummy/tmp/cache/assets/development/sprockets/16ebd8823402ffcbec50e00b9c986d88 +0 -0
  37. data/spec/dummy/tmp/cache/assets/development/sprockets/29ddb38e507866bd0d14ee3066577a13 +0 -0
  38. data/spec/dummy/tmp/cache/assets/development/sprockets/2a12017b9edad26552e15cf0ad0ce1c7 +0 -0
  39. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  40. data/spec/dummy/tmp/cache/assets/development/sprockets/32f5ac92bd43740affbe36ff6f265e64 +0 -0
  41. data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  42. data/spec/dummy/tmp/cache/assets/development/sprockets/3c09fa61770201a39046a8e4d6a3e7d7 +0 -0
  43. data/spec/dummy/tmp/cache/assets/development/sprockets/5925df0f9ff8e2ea81f30117ff546d42 +0 -0
  44. data/spec/dummy/tmp/cache/assets/development/sprockets/6176fc9d09e72292743942762e1948c8 +0 -0
  45. data/spec/dummy/tmp/cache/assets/development/sprockets/64ef0d21f3330a3a6fb7b9d19d9b7113 +0 -0
  46. data/spec/dummy/tmp/cache/assets/development/sprockets/66a0cb6cc3da1b720df3804b8fe870d9 +0 -0
  47. data/spec/dummy/tmp/cache/assets/development/sprockets/6987684d75bbac54fa187a95f03ef7ab +0 -0
  48. data/spec/dummy/tmp/cache/assets/development/sprockets/9e017bbc538e6bb1024ac72d0bc99878 +0 -0
  49. data/spec/dummy/tmp/cache/assets/development/sprockets/ad27673fe7e40e01c4331c51a77c06b6 +0 -0
  50. data/spec/dummy/tmp/cache/assets/development/sprockets/b0b1192c95fc766d20bc390fd84e6ce2 +0 -0
  51. data/spec/dummy/tmp/cache/assets/development/sprockets/b6a46b344df0519f0350c6d99da95fd7 +0 -0
  52. data/spec/dummy/tmp/cache/assets/development/sprockets/c2af5e0b855f05bcbb2882a6c9dd197b +0 -0
  53. data/spec/dummy/tmp/cache/assets/development/sprockets/cd2583287ebbdee518ce95e1d2957fc6 +0 -0
  54. data/spec/dummy/tmp/cache/assets/development/sprockets/cd6296f75369d2146297e4b2a84d70b0 +0 -0
  55. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  56. data/spec/dummy/tmp/cache/assets/development/sprockets/d00f204bf603e03151f85e592afe7a7d +0 -0
  57. data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  58. data/spec/dummy/tmp/cache/assets/development/sprockets/d884159a9f27628f06186f753cd16fab +0 -0
  59. data/spec/dummy/tmp/cache/assets/development/sprockets/f0b3fccf643eef7ad5945955a256fbf4 +0 -0
  60. data/spec/dummy/tmp/cache/assets/development/sprockets/f5f8e39a71c0c550fb303ddc1e022374 +0 -0
  61. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  62. data/spec/dummy/tmp/cache/assets/development/sprockets/fb3f0fc2d7367505c548c5995d5004e8 +0 -0
  63. metadata +91 -4
  64. data/lib/tasks/rails_sortable_tasks.rake +0 -4
@@ -0,0 +1,160 @@
1
+ require 'spec_helper'
2
+
3
+ # This spec was generated by rspec-rails when you ran the scaffold generator.
4
+ # It demonstrates how one might use RSpec to specify the controller code that
5
+ # was generated by Rails when you ran the scaffold generator.
6
+ #
7
+ # It assumes that the implementation code is generated by the rails scaffold
8
+ # generator. If you are using any extension libraries to generate different
9
+ # controller code, this generated spec may or may not pass.
10
+ #
11
+ # It only uses APIs available in rails and/or rspec-rails. There are a number
12
+ # of tools you can use to make these specs even more expressive, but we're
13
+ # sticking to rails and rspec-rails APIs to keep things simple and stable.
14
+ #
15
+ # Compared to earlier versions of this generator, there is very limited use of
16
+ # stubs and message expectations in this spec. Stubs are only used when there
17
+ # is no simpler way to get a handle on the object needed for the example.
18
+ # Message expectations are only used when there is no simpler way to specify
19
+ # that an instance is receiving a specific message.
20
+
21
+ describe OtherItemsController do
22
+
23
+ # This should return the minimal set of attributes required to create a valid
24
+ # OtherItem. As you add validations to OtherItem, be sure to
25
+ # adjust the attributes here as well.
26
+ let(:valid_attributes) { { "title" => "MyString" } }
27
+
28
+ # This should return the minimal set of values that should be in the session
29
+ # in order to pass any filters (e.g. authentication) defined in
30
+ # OtherItemsController. Be sure to keep this updated too.
31
+ let(:valid_session) { {} }
32
+
33
+ describe "GET index" do
34
+ it "assigns all other_items as @other_items" do
35
+ other_item = OtherItem.create! valid_attributes
36
+ get :index, {}, valid_session
37
+ assigns(:other_items).should eq([other_item])
38
+ end
39
+ end
40
+
41
+ describe "GET show" do
42
+ it "assigns the requested other_item as @other_item" do
43
+ other_item = OtherItem.create! valid_attributes
44
+ get :show, {:id => other_item.to_param}, valid_session
45
+ assigns(:other_item).should eq(other_item)
46
+ end
47
+ end
48
+
49
+ describe "GET new" do
50
+ it "assigns a new other_item as @other_item" do
51
+ get :new, {}, valid_session
52
+ assigns(:other_item).should be_a_new(OtherItem)
53
+ end
54
+ end
55
+
56
+ describe "GET edit" do
57
+ it "assigns the requested other_item as @other_item" do
58
+ other_item = OtherItem.create! valid_attributes
59
+ get :edit, {:id => other_item.to_param}, valid_session
60
+ assigns(:other_item).should eq(other_item)
61
+ end
62
+ end
63
+
64
+ describe "POST create" do
65
+ describe "with valid params" do
66
+ it "creates a new OtherItem" do
67
+ expect {
68
+ post :create, {:other_item => valid_attributes}, valid_session
69
+ }.to change(OtherItem, :count).by(1)
70
+ end
71
+
72
+ it "assigns a newly created other_item as @other_item" do
73
+ post :create, {:other_item => valid_attributes}, valid_session
74
+ assigns(:other_item).should be_a(OtherItem)
75
+ assigns(:other_item).should be_persisted
76
+ end
77
+
78
+ it "redirects to the created other_item" do
79
+ post :create, {:other_item => valid_attributes}, valid_session
80
+ response.should redirect_to(OtherItem.last)
81
+ end
82
+ end
83
+
84
+ describe "with invalid params" do
85
+ it "assigns a newly created but unsaved other_item as @other_item" do
86
+ # Trigger the behavior that occurs when invalid params are submitted
87
+ OtherItem.any_instance.stub(:save).and_return(false)
88
+ post :create, {:other_item => { "title" => "invalid value" }}, valid_session
89
+ assigns(:other_item).should be_a_new(OtherItem)
90
+ end
91
+
92
+ it "re-renders the 'new' template" do
93
+ # Trigger the behavior that occurs when invalid params are submitted
94
+ OtherItem.any_instance.stub(:save).and_return(false)
95
+ post :create, {:other_item => { "title" => "invalid value" }}, valid_session
96
+ response.should render_template("new")
97
+ end
98
+ end
99
+ end
100
+
101
+ describe "PUT update" do
102
+ describe "with valid params" do
103
+ it "updates the requested other_item" do
104
+ other_item = OtherItem.create! valid_attributes
105
+ # Assuming there are no other other_items in the database, this
106
+ # specifies that the OtherItem created on the previous line
107
+ # receives the :update_attributes message with whatever params are
108
+ # submitted in the request.
109
+ OtherItem.any_instance.should_receive(:update).with({ "title" => "MyString" })
110
+ put :update, {:id => other_item.to_param, :other_item => { "title" => "MyString" }}, valid_session
111
+ end
112
+
113
+ it "assigns the requested other_item as @other_item" do
114
+ other_item = OtherItem.create! valid_attributes
115
+ put :update, {:id => other_item.to_param, :other_item => valid_attributes}, valid_session
116
+ assigns(:other_item).should eq(other_item)
117
+ end
118
+
119
+ it "redirects to the other_item" do
120
+ other_item = OtherItem.create! valid_attributes
121
+ put :update, {:id => other_item.to_param, :other_item => valid_attributes}, valid_session
122
+ response.should redirect_to(other_item)
123
+ end
124
+ end
125
+
126
+ describe "with invalid params" do
127
+ it "assigns the other_item as @other_item" do
128
+ other_item = OtherItem.create! valid_attributes
129
+ # Trigger the behavior that occurs when invalid params are submitted
130
+ OtherItem.any_instance.stub(:save).and_return(false)
131
+ put :update, {:id => other_item.to_param, :other_item => { "title" => "invalid value" }}, valid_session
132
+ assigns(:other_item).should eq(other_item)
133
+ end
134
+
135
+ it "re-renders the 'edit' template" do
136
+ other_item = OtherItem.create! valid_attributes
137
+ # Trigger the behavior that occurs when invalid params are submitted
138
+ OtherItem.any_instance.stub(:save).and_return(false)
139
+ put :update, {:id => other_item.to_param, :other_item => { "title" => "invalid value" }}, valid_session
140
+ response.should render_template("edit")
141
+ end
142
+ end
143
+ end
144
+
145
+ describe "DELETE destroy" do
146
+ it "destroys the requested other_item" do
147
+ other_item = OtherItem.create! valid_attributes
148
+ expect {
149
+ delete :destroy, {:id => other_item.to_param}, valid_session
150
+ }.to change(OtherItem, :count).by(-1)
151
+ end
152
+
153
+ it "redirects to the other_items list" do
154
+ other_item = OtherItem.create! valid_attributes
155
+ delete :destroy, {:id => other_item.to_param}, valid_session
156
+ response.should redirect_to(other_items_url)
157
+ end
158
+ end
159
+
160
+ end
@@ -0,0 +1,15 @@
1
+ require 'spec_helper'
2
+
3
+ # Specs in this file have access to a helper object that includes
4
+ # the OtherItemsHelper. For example:
5
+ #
6
+ # describe OtherItemsHelper do
7
+ # describe "string concat" do
8
+ # it "concats two strings with spaces" do
9
+ # expect(helper.concat_strings("this","that")).to eq("this that")
10
+ # end
11
+ # end
12
+ # end
13
+ describe OtherItemsHelper do
14
+ pending "add some examples to (or delete) #{__FILE__}"
15
+ end
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe OtherItem do
4
+ pending "add some examples to (or delete) #{__FILE__}"
5
+ end
@@ -0,0 +1,11 @@
1
+ require 'spec_helper'
2
+
3
+ describe "OtherItems" do
4
+ describe "GET /other_items" do
5
+ it "works! (now write some real specs)" do
6
+ # Run the generator again with the --webrat flag if you want to use webrat methods/matchers
7
+ get other_items_path
8
+ response.status.should be(200)
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,35 @@
1
+ require "spec_helper"
2
+
3
+ describe OtherItemsController do
4
+ describe "routing" do
5
+
6
+ it "routes to #index" do
7
+ get("/other_items").should route_to("other_items#index")
8
+ end
9
+
10
+ it "routes to #new" do
11
+ get("/other_items/new").should route_to("other_items#new")
12
+ end
13
+
14
+ it "routes to #show" do
15
+ get("/other_items/1").should route_to("other_items#show", :id => "1")
16
+ end
17
+
18
+ it "routes to #edit" do
19
+ get("/other_items/1/edit").should route_to("other_items#edit", :id => "1")
20
+ end
21
+
22
+ it "routes to #create" do
23
+ post("/other_items").should route_to("other_items#create")
24
+ end
25
+
26
+ it "routes to #update" do
27
+ put("/other_items/1").should route_to("other_items#update", :id => "1")
28
+ end
29
+
30
+ it "routes to #destroy" do
31
+ delete("/other_items/1").should route_to("other_items#destroy", :id => "1")
32
+ end
33
+
34
+ end
35
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe "other_items/edit" do
4
+ before(:each) do
5
+ @other_item = assign(:other_item, stub_model(OtherItem,
6
+ :title => "MyString",
7
+ :sequence => 1
8
+ ))
9
+ end
10
+
11
+ it "renders the edit other_item form" do
12
+ render
13
+
14
+ # Run the generator again with the --webrat flag if you want to use webrat matchers
15
+ assert_select "form[action=?][method=?]", other_item_path(@other_item), "post" do
16
+ assert_select "input#other_item_title[name=?]", "other_item[title]"
17
+ assert_select "input#other_item_sequence[name=?]", "other_item[sequence]"
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,23 @@
1
+ require 'spec_helper'
2
+
3
+ describe "other_items/index" do
4
+ before(:each) do
5
+ assign(:other_items, [
6
+ stub_model(OtherItem,
7
+ :title => "Title",
8
+ :sequence => 1
9
+ ),
10
+ stub_model(OtherItem,
11
+ :title => "Title",
12
+ :sequence => 1
13
+ )
14
+ ])
15
+ end
16
+
17
+ it "renders a list of other_items" do
18
+ render
19
+ # Run the generator again with the --webrat flag if you want to use webrat matchers
20
+ assert_select "tr>td", :text => "Title".to_s, :count => 2
21
+ assert_select "tr>td", :text => 1.to_s, :count => 2
22
+ end
23
+ end
@@ -0,0 +1,20 @@
1
+ require 'spec_helper'
2
+
3
+ describe "other_items/new" do
4
+ before(:each) do
5
+ assign(:other_item, stub_model(OtherItem,
6
+ :title => "MyString",
7
+ :sequence => 1
8
+ ).as_new_record)
9
+ end
10
+
11
+ it "renders new other_item form" do
12
+ render
13
+
14
+ # Run the generator again with the --webrat flag if you want to use webrat matchers
15
+ assert_select "form[action=?][method=?]", other_items_path, "post" do
16
+ assert_select "input#other_item_title[name=?]", "other_item[title]"
17
+ assert_select "input#other_item_sequence[name=?]", "other_item[sequence]"
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,17 @@
1
+ require 'spec_helper'
2
+
3
+ describe "other_items/show" do
4
+ before(:each) do
5
+ @other_item = assign(:other_item, stub_model(OtherItem,
6
+ :title => "Title",
7
+ :sequence => 1
8
+ ))
9
+ end
10
+
11
+ it "renders attributes in <p>" do
12
+ render
13
+ # Run the generator again with the --webrat flag if you want to use webrat matchers
14
+ rendered.should match(/Title/)
15
+ rendered.should match(/1/)
16
+ end
17
+ end
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: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - itmammoth
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-15 00:00:00.000000000 Z
11
+ date: 2017-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -125,26 +125,35 @@ files:
125
125
  - lib/rails_sortable.rb
126
126
  - lib/rails_sortable/engine.rb
127
127
  - lib/rails_sortable/version.rb
128
- - lib/tasks/rails_sortable_tasks.rake
129
128
  - spec/controllers/sortable_controller_spec.rb
130
129
  - spec/dummy/README.rdoc
131
130
  - spec/dummy/Rakefile
132
131
  - spec/dummy/app/assets/javascripts/application.js
133
132
  - spec/dummy/app/assets/javascripts/items.js
133
+ - spec/dummy/app/assets/javascripts/other_items.js
134
134
  - spec/dummy/app/assets/stylesheets/application.css
135
135
  - spec/dummy/app/assets/stylesheets/items.css
136
+ - spec/dummy/app/assets/stylesheets/other_items.css
136
137
  - spec/dummy/app/assets/stylesheets/scaffold.css
137
138
  - spec/dummy/app/controllers/application_controller.rb
138
139
  - spec/dummy/app/controllers/items_controller.rb
140
+ - spec/dummy/app/controllers/other_items_controller.rb
139
141
  - spec/dummy/app/helpers/application_helper.rb
140
142
  - spec/dummy/app/helpers/items_helper.rb
143
+ - spec/dummy/app/helpers/other_items_helper.rb
141
144
  - spec/dummy/app/models/item.rb
145
+ - spec/dummy/app/models/other_item.rb
142
146
  - spec/dummy/app/views/items/_form.html.erb
143
147
  - spec/dummy/app/views/items/edit.html.erb
144
148
  - spec/dummy/app/views/items/index.html.erb
145
149
  - spec/dummy/app/views/items/new.html.erb
146
150
  - spec/dummy/app/views/items/show.html.erb
147
151
  - spec/dummy/app/views/layouts/application.html.erb
152
+ - spec/dummy/app/views/other_items/_form.html.erb
153
+ - spec/dummy/app/views/other_items/edit.html.erb
154
+ - spec/dummy/app/views/other_items/index.html.erb
155
+ - spec/dummy/app/views/other_items/new.html.erb
156
+ - spec/dummy/app/views/other_items/show.html.erb
148
157
  - spec/dummy/bin/bundle
149
158
  - spec/dummy/bin/rails
150
159
  - spec/dummy/bin/rake
@@ -167,6 +176,7 @@ files:
167
176
  - spec/dummy/config/routes.rb
168
177
  - spec/dummy/db/development.sqlite3
169
178
  - spec/dummy/db/migrate/20131223124841_create_items.rb
179
+ - spec/dummy/db/migrate/20170414031946_create_other_items.rb
170
180
  - spec/dummy/db/schema.rb
171
181
  - spec/dummy/db/seeds.rb
172
182
  - spec/dummy/db/test.sqlite3
@@ -176,18 +186,34 @@ files:
176
186
  - spec/dummy/public/422.html
177
187
  - spec/dummy/public/500.html
178
188
  - spec/dummy/public/favicon.ico
189
+ - spec/dummy/spec/controllers/other_items_controller_spec.rb
190
+ - spec/dummy/spec/helpers/other_items_helper_spec.rb
191
+ - spec/dummy/spec/models/other_item_spec.rb
192
+ - spec/dummy/spec/requests/other_items_spec.rb
193
+ - spec/dummy/spec/routing/other_items_routing_spec.rb
194
+ - spec/dummy/spec/views/other_items/edit.html.erb_spec.rb
195
+ - spec/dummy/spec/views/other_items/index.html.erb_spec.rb
196
+ - spec/dummy/spec/views/other_items/new.html.erb_spec.rb
197
+ - spec/dummy/spec/views/other_items/show.html.erb_spec.rb
179
198
  - spec/dummy/tmp/cache/assets/development/sprockets/09c0e9561d4e4c3ec8867c7a8a9b9b42
180
199
  - spec/dummy/tmp/cache/assets/development/sprockets/0e84bdca51a3a0487e386e9da49cab86
181
200
  - spec/dummy/tmp/cache/assets/development/sprockets/12552dd68c1fdaa0e003f5139c1ef188
201
+ - spec/dummy/tmp/cache/assets/development/sprockets/12cbee6eebaf49677ad022dd0439ab2e
182
202
  - spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
203
+ - spec/dummy/tmp/cache/assets/development/sprockets/169ca557f36990ca5a0bf41b568058c1
204
+ - spec/dummy/tmp/cache/assets/development/sprockets/16ebd8823402ffcbec50e00b9c986d88
183
205
  - spec/dummy/tmp/cache/assets/development/sprockets/21445b043a030a6b874e6fc2926b3f03
184
206
  - spec/dummy/tmp/cache/assets/development/sprockets/24af22f97404b0fdf1924aa9c64dbefc
185
207
  - spec/dummy/tmp/cache/assets/development/sprockets/24e4e999e945d87db51a6c0639266e6c
186
208
  - spec/dummy/tmp/cache/assets/development/sprockets/271346ac3b88c8d5b342e1e9617ecd25
209
+ - spec/dummy/tmp/cache/assets/development/sprockets/29ddb38e507866bd0d14ee3066577a13
210
+ - spec/dummy/tmp/cache/assets/development/sprockets/2a12017b9edad26552e15cf0ad0ce1c7
187
211
  - spec/dummy/tmp/cache/assets/development/sprockets/2a668655870d5f03dc3a3d9aa691bfed
188
212
  - spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
213
+ - spec/dummy/tmp/cache/assets/development/sprockets/32f5ac92bd43740affbe36ff6f265e64
189
214
  - spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
190
215
  - spec/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212
216
+ - spec/dummy/tmp/cache/assets/development/sprockets/3c09fa61770201a39046a8e4d6a3e7d7
191
217
  - spec/dummy/tmp/cache/assets/development/sprockets/3d7976736cb0fb316656b1ceeeb68979
192
218
  - spec/dummy/tmp/cache/assets/development/sprockets/3f88dd8cc7343b35f4ad7016c8a8aa2f
193
219
  - spec/dummy/tmp/cache/assets/development/sprockets/443eeec33985f295f3de84d801267f43
@@ -196,11 +222,16 @@ files:
196
222
  - spec/dummy/tmp/cache/assets/development/sprockets/47210cd74cee569fb21f67fe042804a0
197
223
  - spec/dummy/tmp/cache/assets/development/sprockets/48711599d95075043d13736e542084b4
198
224
  - spec/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5
225
+ - spec/dummy/tmp/cache/assets/development/sprockets/5925df0f9ff8e2ea81f30117ff546d42
199
226
  - spec/dummy/tmp/cache/assets/development/sprockets/59a3fa5688c2134fd84019b59936c2b6
200
227
  - spec/dummy/tmp/cache/assets/development/sprockets/5c5e9ad9739439966aa96de5924073ba
201
228
  - spec/dummy/tmp/cache/assets/development/sprockets/5da49418ee5d9d42e17ac02fca5457b6
229
+ - spec/dummy/tmp/cache/assets/development/sprockets/6176fc9d09e72292743942762e1948c8
202
230
  - spec/dummy/tmp/cache/assets/development/sprockets/618391a0ef7663854d9df6f34286bfbd
203
231
  - spec/dummy/tmp/cache/assets/development/sprockets/62485efd0b3ff6bb41eac572b53368da
232
+ - spec/dummy/tmp/cache/assets/development/sprockets/64ef0d21f3330a3a6fb7b9d19d9b7113
233
+ - spec/dummy/tmp/cache/assets/development/sprockets/66a0cb6cc3da1b720df3804b8fe870d9
234
+ - spec/dummy/tmp/cache/assets/development/sprockets/6987684d75bbac54fa187a95f03ef7ab
204
235
  - spec/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2
205
236
  - spec/dummy/tmp/cache/assets/development/sprockets/70de4d1e613727407438e972a9099dfd
206
237
  - spec/dummy/tmp/cache/assets/development/sprockets/71418eee6104b64017eb6e6a1f2773c4
@@ -212,22 +243,31 @@ files:
212
243
  - spec/dummy/tmp/cache/assets/development/sprockets/8f32d9d0ad1e7bbeaf8ae8477dc9f861
213
244
  - spec/dummy/tmp/cache/assets/development/sprockets/96d9c878cbed31839fb895da7fea6146
214
245
  - spec/dummy/tmp/cache/assets/development/sprockets/9daa91d8364698dd61c25d6de342962d
246
+ - spec/dummy/tmp/cache/assets/development/sprockets/9e017bbc538e6bb1024ac72d0bc99878
215
247
  - spec/dummy/tmp/cache/assets/development/sprockets/a1a1917817d5eb7f6a00422e9b3f731e
248
+ - spec/dummy/tmp/cache/assets/development/sprockets/ad27673fe7e40e01c4331c51a77c06b6
249
+ - spec/dummy/tmp/cache/assets/development/sprockets/b0b1192c95fc766d20bc390fd84e6ce2
216
250
  - spec/dummy/tmp/cache/assets/development/sprockets/b0e2031acc600ce5786fd4e5685545ae
251
+ - spec/dummy/tmp/cache/assets/development/sprockets/b6a46b344df0519f0350c6d99da95fd7
217
252
  - spec/dummy/tmp/cache/assets/development/sprockets/bc6acc8a7c1dacadb37b0bd2e5df09dd
218
253
  - spec/dummy/tmp/cache/assets/development/sprockets/c292a12f53708efd19a07da3aa15a0b8
254
+ - spec/dummy/tmp/cache/assets/development/sprockets/c2af5e0b855f05bcbb2882a6c9dd197b
219
255
  - spec/dummy/tmp/cache/assets/development/sprockets/c374e273ada03bedc3ec10dddbaf5a5d
220
256
  - spec/dummy/tmp/cache/assets/development/sprockets/c5b2447c005428e7f762f972217f7fc9
221
257
  - spec/dummy/tmp/cache/assets/development/sprockets/c7fb08920199d3630a32e2233c85433e
222
258
  - spec/dummy/tmp/cache/assets/development/sprockets/cb36d45bba6ca52ebb343d2ceeff7645
223
259
  - spec/dummy/tmp/cache/assets/development/sprockets/ccaade7f71ba3ee748987ed0d4e09af8
260
+ - spec/dummy/tmp/cache/assets/development/sprockets/cd2583287ebbdee518ce95e1d2957fc6
261
+ - spec/dummy/tmp/cache/assets/development/sprockets/cd6296f75369d2146297e4b2a84d70b0
224
262
  - spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
263
+ - spec/dummy/tmp/cache/assets/development/sprockets/d00f204bf603e03151f85e592afe7a7d
225
264
  - spec/dummy/tmp/cache/assets/development/sprockets/d23f84be9419f8cd6361e094fd9aa0ff
226
265
  - spec/dummy/tmp/cache/assets/development/sprockets/d2b64ac41957bdfd9906972476b82d0e
227
266
  - spec/dummy/tmp/cache/assets/development/sprockets/d486933f2537d00d15fd3cf43bf7af8f
228
267
  - spec/dummy/tmp/cache/assets/development/sprockets/d4d4f33a44b8bd5e03a00ac263ac59d8
229
268
  - spec/dummy/tmp/cache/assets/development/sprockets/d69e40330afbc5a33c238ac4dfbd86a6
230
269
  - spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
270
+ - spec/dummy/tmp/cache/assets/development/sprockets/d884159a9f27628f06186f753cd16fab
231
271
  - spec/dummy/tmp/cache/assets/development/sprockets/d9c4872ec9b791bd126278e92b90b65e
232
272
  - spec/dummy/tmp/cache/assets/development/sprockets/df136c2e2fc74151ed1324d5fd05481e
233
273
  - spec/dummy/tmp/cache/assets/development/sprockets/e53e5796f1d20035e44b39e6e98503b1
@@ -235,9 +275,12 @@ files:
235
275
  - spec/dummy/tmp/cache/assets/development/sprockets/e9bb2f00040ed550d231427ad03b236e
236
276
  - spec/dummy/tmp/cache/assets/development/sprockets/ecbc5574068be4c5270f875b71d7e95a
237
277
  - spec/dummy/tmp/cache/assets/development/sprockets/ee8d3ea7f4ea5f4f5204e13648ebad08
278
+ - spec/dummy/tmp/cache/assets/development/sprockets/f0b3fccf643eef7ad5945955a256fbf4
238
279
  - spec/dummy/tmp/cache/assets/development/sprockets/f5086810e52de33164c7427bec325b8d
280
+ - spec/dummy/tmp/cache/assets/development/sprockets/f5f8e39a71c0c550fb303ddc1e022374
239
281
  - spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
240
282
  - spec/dummy/tmp/cache/assets/development/sprockets/f932895e1a3359b877edea2bedae3850
283
+ - spec/dummy/tmp/cache/assets/development/sprockets/fb3f0fc2d7367505c548c5995d5004e8
241
284
  - spec/dummy/tmp/cache/assets/development/sprockets/ff209c6e804d4f56d185430b6ed27bc4
242
285
  - spec/helpers/sortable_helper_spec.rb
243
286
  - spec/models/rails_sortable/model_spec.rb
@@ -264,7 +307,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
264
307
  version: '0'
265
308
  requirements: []
266
309
  rubyforge_project:
267
- rubygems_version: 2.2.0
310
+ rubygems_version: 2.6.8
268
311
  signing_key:
269
312
  specification_version: 4
270
313
  summary: Easy drag & drop sorting for rails.
@@ -272,20 +315,30 @@ test_files:
272
315
  - spec/controllers/sortable_controller_spec.rb
273
316
  - spec/dummy/app/assets/javascripts/application.js
274
317
  - spec/dummy/app/assets/javascripts/items.js
318
+ - spec/dummy/app/assets/javascripts/other_items.js
275
319
  - spec/dummy/app/assets/stylesheets/application.css
276
320
  - spec/dummy/app/assets/stylesheets/items.css
321
+ - spec/dummy/app/assets/stylesheets/other_items.css
277
322
  - spec/dummy/app/assets/stylesheets/scaffold.css
278
323
  - spec/dummy/app/controllers/application_controller.rb
279
324
  - spec/dummy/app/controllers/items_controller.rb
325
+ - spec/dummy/app/controllers/other_items_controller.rb
280
326
  - spec/dummy/app/helpers/application_helper.rb
281
327
  - spec/dummy/app/helpers/items_helper.rb
328
+ - spec/dummy/app/helpers/other_items_helper.rb
282
329
  - spec/dummy/app/models/item.rb
330
+ - spec/dummy/app/models/other_item.rb
283
331
  - spec/dummy/app/views/items/_form.html.erb
284
332
  - spec/dummy/app/views/items/edit.html.erb
285
333
  - spec/dummy/app/views/items/index.html.erb
286
334
  - spec/dummy/app/views/items/new.html.erb
287
335
  - spec/dummy/app/views/items/show.html.erb
288
336
  - spec/dummy/app/views/layouts/application.html.erb
337
+ - spec/dummy/app/views/other_items/_form.html.erb
338
+ - spec/dummy/app/views/other_items/edit.html.erb
339
+ - spec/dummy/app/views/other_items/index.html.erb
340
+ - spec/dummy/app/views/other_items/new.html.erb
341
+ - spec/dummy/app/views/other_items/show.html.erb
289
342
  - spec/dummy/bin/bundle
290
343
  - spec/dummy/bin/rails
291
344
  - spec/dummy/bin/rake
@@ -308,6 +361,7 @@ test_files:
308
361
  - spec/dummy/config.ru
309
362
  - spec/dummy/db/development.sqlite3
310
363
  - spec/dummy/db/migrate/20131223124841_create_items.rb
364
+ - spec/dummy/db/migrate/20170414031946_create_other_items.rb
311
365
  - spec/dummy/db/schema.rb
312
366
  - spec/dummy/db/seeds.rb
313
367
  - spec/dummy/db/test.sqlite3
@@ -319,18 +373,34 @@ test_files:
319
373
  - spec/dummy/public/favicon.ico
320
374
  - spec/dummy/Rakefile
321
375
  - spec/dummy/README.rdoc
376
+ - spec/dummy/spec/controllers/other_items_controller_spec.rb
377
+ - spec/dummy/spec/helpers/other_items_helper_spec.rb
378
+ - spec/dummy/spec/models/other_item_spec.rb
379
+ - spec/dummy/spec/requests/other_items_spec.rb
380
+ - spec/dummy/spec/routing/other_items_routing_spec.rb
381
+ - spec/dummy/spec/views/other_items/edit.html.erb_spec.rb
382
+ - spec/dummy/spec/views/other_items/index.html.erb_spec.rb
383
+ - spec/dummy/spec/views/other_items/new.html.erb_spec.rb
384
+ - spec/dummy/spec/views/other_items/show.html.erb_spec.rb
322
385
  - spec/dummy/tmp/cache/assets/development/sprockets/09c0e9561d4e4c3ec8867c7a8a9b9b42
323
386
  - spec/dummy/tmp/cache/assets/development/sprockets/0e84bdca51a3a0487e386e9da49cab86
324
387
  - spec/dummy/tmp/cache/assets/development/sprockets/12552dd68c1fdaa0e003f5139c1ef188
388
+ - spec/dummy/tmp/cache/assets/development/sprockets/12cbee6eebaf49677ad022dd0439ab2e
325
389
  - spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
390
+ - spec/dummy/tmp/cache/assets/development/sprockets/169ca557f36990ca5a0bf41b568058c1
391
+ - spec/dummy/tmp/cache/assets/development/sprockets/16ebd8823402ffcbec50e00b9c986d88
326
392
  - spec/dummy/tmp/cache/assets/development/sprockets/21445b043a030a6b874e6fc2926b3f03
327
393
  - spec/dummy/tmp/cache/assets/development/sprockets/24af22f97404b0fdf1924aa9c64dbefc
328
394
  - spec/dummy/tmp/cache/assets/development/sprockets/24e4e999e945d87db51a6c0639266e6c
329
395
  - spec/dummy/tmp/cache/assets/development/sprockets/271346ac3b88c8d5b342e1e9617ecd25
396
+ - spec/dummy/tmp/cache/assets/development/sprockets/29ddb38e507866bd0d14ee3066577a13
397
+ - spec/dummy/tmp/cache/assets/development/sprockets/2a12017b9edad26552e15cf0ad0ce1c7
330
398
  - spec/dummy/tmp/cache/assets/development/sprockets/2a668655870d5f03dc3a3d9aa691bfed
331
399
  - spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
400
+ - spec/dummy/tmp/cache/assets/development/sprockets/32f5ac92bd43740affbe36ff6f265e64
332
401
  - spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
333
402
  - spec/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212
403
+ - spec/dummy/tmp/cache/assets/development/sprockets/3c09fa61770201a39046a8e4d6a3e7d7
334
404
  - spec/dummy/tmp/cache/assets/development/sprockets/3d7976736cb0fb316656b1ceeeb68979
335
405
  - spec/dummy/tmp/cache/assets/development/sprockets/3f88dd8cc7343b35f4ad7016c8a8aa2f
336
406
  - spec/dummy/tmp/cache/assets/development/sprockets/443eeec33985f295f3de84d801267f43
@@ -339,11 +409,16 @@ test_files:
339
409
  - spec/dummy/tmp/cache/assets/development/sprockets/47210cd74cee569fb21f67fe042804a0
340
410
  - spec/dummy/tmp/cache/assets/development/sprockets/48711599d95075043d13736e542084b4
341
411
  - spec/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5
412
+ - spec/dummy/tmp/cache/assets/development/sprockets/5925df0f9ff8e2ea81f30117ff546d42
342
413
  - spec/dummy/tmp/cache/assets/development/sprockets/59a3fa5688c2134fd84019b59936c2b6
343
414
  - spec/dummy/tmp/cache/assets/development/sprockets/5c5e9ad9739439966aa96de5924073ba
344
415
  - spec/dummy/tmp/cache/assets/development/sprockets/5da49418ee5d9d42e17ac02fca5457b6
416
+ - spec/dummy/tmp/cache/assets/development/sprockets/6176fc9d09e72292743942762e1948c8
345
417
  - spec/dummy/tmp/cache/assets/development/sprockets/618391a0ef7663854d9df6f34286bfbd
346
418
  - spec/dummy/tmp/cache/assets/development/sprockets/62485efd0b3ff6bb41eac572b53368da
419
+ - spec/dummy/tmp/cache/assets/development/sprockets/64ef0d21f3330a3a6fb7b9d19d9b7113
420
+ - spec/dummy/tmp/cache/assets/development/sprockets/66a0cb6cc3da1b720df3804b8fe870d9
421
+ - spec/dummy/tmp/cache/assets/development/sprockets/6987684d75bbac54fa187a95f03ef7ab
347
422
  - spec/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2
348
423
  - spec/dummy/tmp/cache/assets/development/sprockets/70de4d1e613727407438e972a9099dfd
349
424
  - spec/dummy/tmp/cache/assets/development/sprockets/71418eee6104b64017eb6e6a1f2773c4
@@ -355,22 +430,31 @@ test_files:
355
430
  - spec/dummy/tmp/cache/assets/development/sprockets/8f32d9d0ad1e7bbeaf8ae8477dc9f861
356
431
  - spec/dummy/tmp/cache/assets/development/sprockets/96d9c878cbed31839fb895da7fea6146
357
432
  - spec/dummy/tmp/cache/assets/development/sprockets/9daa91d8364698dd61c25d6de342962d
433
+ - spec/dummy/tmp/cache/assets/development/sprockets/9e017bbc538e6bb1024ac72d0bc99878
358
434
  - spec/dummy/tmp/cache/assets/development/sprockets/a1a1917817d5eb7f6a00422e9b3f731e
435
+ - spec/dummy/tmp/cache/assets/development/sprockets/ad27673fe7e40e01c4331c51a77c06b6
436
+ - spec/dummy/tmp/cache/assets/development/sprockets/b0b1192c95fc766d20bc390fd84e6ce2
359
437
  - spec/dummy/tmp/cache/assets/development/sprockets/b0e2031acc600ce5786fd4e5685545ae
438
+ - spec/dummy/tmp/cache/assets/development/sprockets/b6a46b344df0519f0350c6d99da95fd7
360
439
  - spec/dummy/tmp/cache/assets/development/sprockets/bc6acc8a7c1dacadb37b0bd2e5df09dd
361
440
  - spec/dummy/tmp/cache/assets/development/sprockets/c292a12f53708efd19a07da3aa15a0b8
441
+ - spec/dummy/tmp/cache/assets/development/sprockets/c2af5e0b855f05bcbb2882a6c9dd197b
362
442
  - spec/dummy/tmp/cache/assets/development/sprockets/c374e273ada03bedc3ec10dddbaf5a5d
363
443
  - spec/dummy/tmp/cache/assets/development/sprockets/c5b2447c005428e7f762f972217f7fc9
364
444
  - spec/dummy/tmp/cache/assets/development/sprockets/c7fb08920199d3630a32e2233c85433e
365
445
  - spec/dummy/tmp/cache/assets/development/sprockets/cb36d45bba6ca52ebb343d2ceeff7645
366
446
  - spec/dummy/tmp/cache/assets/development/sprockets/ccaade7f71ba3ee748987ed0d4e09af8
447
+ - spec/dummy/tmp/cache/assets/development/sprockets/cd2583287ebbdee518ce95e1d2957fc6
448
+ - spec/dummy/tmp/cache/assets/development/sprockets/cd6296f75369d2146297e4b2a84d70b0
367
449
  - spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
450
+ - spec/dummy/tmp/cache/assets/development/sprockets/d00f204bf603e03151f85e592afe7a7d
368
451
  - spec/dummy/tmp/cache/assets/development/sprockets/d23f84be9419f8cd6361e094fd9aa0ff
369
452
  - spec/dummy/tmp/cache/assets/development/sprockets/d2b64ac41957bdfd9906972476b82d0e
370
453
  - spec/dummy/tmp/cache/assets/development/sprockets/d486933f2537d00d15fd3cf43bf7af8f
371
454
  - spec/dummy/tmp/cache/assets/development/sprockets/d4d4f33a44b8bd5e03a00ac263ac59d8
372
455
  - spec/dummy/tmp/cache/assets/development/sprockets/d69e40330afbc5a33c238ac4dfbd86a6
373
456
  - spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
457
+ - spec/dummy/tmp/cache/assets/development/sprockets/d884159a9f27628f06186f753cd16fab
374
458
  - spec/dummy/tmp/cache/assets/development/sprockets/d9c4872ec9b791bd126278e92b90b65e
375
459
  - spec/dummy/tmp/cache/assets/development/sprockets/df136c2e2fc74151ed1324d5fd05481e
376
460
  - spec/dummy/tmp/cache/assets/development/sprockets/e53e5796f1d20035e44b39e6e98503b1
@@ -378,9 +462,12 @@ test_files:
378
462
  - spec/dummy/tmp/cache/assets/development/sprockets/e9bb2f00040ed550d231427ad03b236e
379
463
  - spec/dummy/tmp/cache/assets/development/sprockets/ecbc5574068be4c5270f875b71d7e95a
380
464
  - spec/dummy/tmp/cache/assets/development/sprockets/ee8d3ea7f4ea5f4f5204e13648ebad08
465
+ - spec/dummy/tmp/cache/assets/development/sprockets/f0b3fccf643eef7ad5945955a256fbf4
381
466
  - spec/dummy/tmp/cache/assets/development/sprockets/f5086810e52de33164c7427bec325b8d
467
+ - spec/dummy/tmp/cache/assets/development/sprockets/f5f8e39a71c0c550fb303ddc1e022374
382
468
  - spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
383
469
  - spec/dummy/tmp/cache/assets/development/sprockets/f932895e1a3359b877edea2bedae3850
470
+ - spec/dummy/tmp/cache/assets/development/sprockets/fb3f0fc2d7367505c548c5995d5004e8
384
471
  - spec/dummy/tmp/cache/assets/development/sprockets/ff209c6e804d4f56d185430b6ed27bc4
385
472
  - spec/helpers/sortable_helper_spec.rb
386
473
  - spec/models/rails_sortable/model_spec.rb