activerecord-sortable 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. checksums.yaml +7 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +33 -0
  4. data/lib/activerecord/sortable.rb +8 -0
  5. data/lib/activerecord/sortable/acts_as_sortable.rb +40 -0
  6. data/lib/activerecord/sortable/acts_as_sortable/instance_methods.rb +66 -0
  7. data/lib/activerecord/sortable/rails.rb +8 -0
  8. data/lib/activerecord/sortable/version.rb +5 -0
  9. data/lib/assets/javascripts/sortable.js +99 -0
  10. data/lib/tasks/sortable_tasks.rake +4 -0
  11. data/spec/dummy/README.rdoc +28 -0
  12. data/spec/dummy/Rakefile +6 -0
  13. data/spec/dummy/app/assets/javascripts/application.js +9 -0
  14. data/spec/dummy/app/assets/javascripts/jquery.simulate.js +312 -0
  15. data/spec/dummy/app/assets/stylesheets/application.css +14 -0
  16. data/spec/dummy/app/controllers/application_controller.rb +5 -0
  17. data/spec/dummy/app/controllers/things_controller.rb +10 -0
  18. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  19. data/spec/dummy/app/models/item.rb +3 -0
  20. data/spec/dummy/app/models/other_thing.rb +5 -0
  21. data/spec/dummy/app/models/thing.rb +3 -0
  22. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  23. data/spec/dummy/app/views/things/_thing.html.erb +3 -0
  24. data/spec/dummy/app/views/things/index.html.erb +7 -0
  25. data/spec/dummy/app/views/things/move.js.erb +4 -0
  26. data/spec/dummy/bin/bundle +3 -0
  27. data/spec/dummy/bin/rails +4 -0
  28. data/spec/dummy/bin/rake +4 -0
  29. data/spec/dummy/config.ru +4 -0
  30. data/spec/dummy/config/application.rb +24 -0
  31. data/spec/dummy/config/boot.rb +5 -0
  32. data/spec/dummy/config/database.yml +25 -0
  33. data/spec/dummy/config/environment.rb +5 -0
  34. data/spec/dummy/config/environments/development.rb +29 -0
  35. data/spec/dummy/config/environments/production.rb +80 -0
  36. data/spec/dummy/config/environments/test.rb +36 -0
  37. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  38. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  39. data/spec/dummy/config/initializers/inflections.rb +16 -0
  40. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  41. data/spec/dummy/config/initializers/secret_token.rb +12 -0
  42. data/spec/dummy/config/initializers/session_store.rb +3 -0
  43. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  44. data/spec/dummy/config/locales/en.yml +23 -0
  45. data/spec/dummy/config/routes.rb +9 -0
  46. data/spec/dummy/db/development.sqlite3 +0 -0
  47. data/spec/dummy/db/migrate/20140512100816_create_things.rb +10 -0
  48. data/spec/dummy/db/migrate/20140525104834_create_other_things.rb +10 -0
  49. data/spec/dummy/db/migrate/20140525111906_create_items.rb +7 -0
  50. data/spec/dummy/db/migrate/20140525112123_add_position_to_items.rb +13 -0
  51. data/spec/dummy/db/schema.rb +40 -0
  52. data/spec/dummy/db/seeds.rb +3 -0
  53. data/spec/dummy/db/test.sqlite3 +0 -0
  54. data/spec/dummy/log/development.log +5000 -0
  55. data/spec/dummy/log/test.log +125455 -0
  56. data/spec/dummy/public/404.html +58 -0
  57. data/spec/dummy/public/422.html +58 -0
  58. data/spec/dummy/public/500.html +57 -0
  59. data/spec/dummy/public/favicon.ico +0 -0
  60. data/spec/dummy/tmp/cache/assets/development/sprockets/02e6da2de0eeda095c3ab81e1033fc1d +0 -0
  61. data/spec/dummy/tmp/cache/assets/development/sprockets/04cf541b9d1ee4cad14421becb051689 +0 -0
  62. data/spec/dummy/tmp/cache/assets/development/sprockets/06a48cadb2e97ab6c9c35285891cd326 +0 -0
  63. data/spec/dummy/tmp/cache/assets/development/sprockets/0bb2483991c2c5f7f83fde21edafb6a9 +0 -0
  64. data/spec/dummy/tmp/cache/assets/development/sprockets/0d3c3b294494fb664545d3c26ee18f14 +0 -0
  65. data/spec/dummy/tmp/cache/assets/development/sprockets/0de48e81714433e3a37eac8d8be3d97e +0 -0
  66. data/spec/dummy/tmp/cache/assets/development/sprockets/10ae91021bb1bbd0930672c779b3b91a +0 -0
  67. data/spec/dummy/tmp/cache/assets/development/sprockets/11820a6ecc13dd7f7094529f02abab32 +0 -0
  68. data/spec/dummy/tmp/cache/assets/development/sprockets/11854112d39135b018adc8440defeda0 +0 -0
  69. data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  70. data/spec/dummy/tmp/cache/assets/development/sprockets/1510c8e329d6e9494521d212f6436149 +0 -0
  71. data/spec/dummy/tmp/cache/assets/development/sprockets/1f6d40a549a87bc8b9dc59afe0b41143 +0 -0
  72. data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  73. data/spec/dummy/tmp/cache/assets/development/sprockets/30e32f924769f4b2ef4ec2ed78d62f3d +0 -0
  74. data/spec/dummy/tmp/cache/assets/development/sprockets/3102e67dc53e4d0f35c4581e16261889 +0 -0
  75. data/spec/dummy/tmp/cache/assets/development/sprockets/327b885c1a9d58094da4fda60431a466 +0 -0
  76. data/spec/dummy/tmp/cache/assets/development/sprockets/327f7f624a6fc56d3d434e46aceb3299 +0 -0
  77. data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  78. data/spec/dummy/tmp/cache/assets/development/sprockets/3754f0eb2c14b3faa11aec78b2dcee56 +0 -0
  79. data/spec/dummy/tmp/cache/assets/development/sprockets/3a8816f3d1d27361f67808fed1cfaf48 +0 -0
  80. data/spec/dummy/tmp/cache/assets/development/sprockets/3c6d7669755b971545e296fc93a9595b +0 -0
  81. data/spec/dummy/tmp/cache/assets/development/sprockets/3e904cfb843c2a95c02c07b4fbc96e6e +0 -0
  82. data/spec/dummy/tmp/cache/assets/development/sprockets/402789e80a4ebf130058eeae9bacd1e3 +0 -0
  83. data/spec/dummy/tmp/cache/assets/development/sprockets/405ef6e6ee991e0b2d850f3443245dc8 +0 -0
  84. data/spec/dummy/tmp/cache/assets/development/sprockets/4249e053e25b3a5632832c437bfd0e4d +0 -0
  85. data/spec/dummy/tmp/cache/assets/development/sprockets/42b8d23a55d28e131ae662ed762cbf08 +0 -0
  86. data/spec/dummy/tmp/cache/assets/development/sprockets/4646b96b524c218d2b80992e633080ff +0 -0
  87. data/spec/dummy/tmp/cache/assets/development/sprockets/47e71eb31da5be13ced7c7a889342d58 +0 -0
  88. data/spec/dummy/tmp/cache/assets/development/sprockets/485c8ac4edde07df3f326e4f4b9f9106 +0 -0
  89. data/spec/dummy/tmp/cache/assets/development/sprockets/49bf73b3490c4a8e62534bd0d5be81c3 +0 -0
  90. data/spec/dummy/tmp/cache/assets/development/sprockets/4c1e2286914bc9b9ad1073e0aaa47a40 +0 -0
  91. data/spec/dummy/tmp/cache/assets/development/sprockets/4c803caf54aa7538b898209acc1b1070 +0 -0
  92. data/spec/dummy/tmp/cache/assets/development/sprockets/562dbca143b36a28d7fc6820500de6cc +0 -0
  93. data/spec/dummy/tmp/cache/assets/development/sprockets/57c480a56fb25b20eb672e4027117550 +0 -0
  94. data/spec/dummy/tmp/cache/assets/development/sprockets/58b84f82ca3fe739a2c21accf3b43e08 +0 -0
  95. data/spec/dummy/tmp/cache/assets/development/sprockets/5b848793a8918c09f06e30db36aeb816 +0 -0
  96. data/spec/dummy/tmp/cache/assets/development/sprockets/5dc29296d9d4d74645d70a5225f6027f +0 -0
  97. data/spec/dummy/tmp/cache/assets/development/sprockets/61832b49e09217de656ff5bd787626c9 +0 -0
  98. data/spec/dummy/tmp/cache/assets/development/sprockets/6386af6a5c718c1ddd97f609e0f7e9bd +0 -0
  99. data/spec/dummy/tmp/cache/assets/development/sprockets/63c434ac472c04632133d9bc2f8ebe44 +0 -0
  100. data/spec/dummy/tmp/cache/assets/development/sprockets/64ef40135516dbbf1737a2d598b22cfa +0 -0
  101. data/spec/dummy/tmp/cache/assets/development/sprockets/67ad3a3d9a5fa9dd07456e131ce9c2a8 +0 -0
  102. data/spec/dummy/tmp/cache/assets/development/sprockets/6c2e45e1a31edecd0e3584aa2d836c58 +0 -0
  103. data/spec/dummy/tmp/cache/assets/development/sprockets/743ab64e3ac90ba4734a5a1af916fd93 +0 -0
  104. data/spec/dummy/tmp/cache/assets/development/sprockets/77088c2f43bec60ff0e030676e96f686 +0 -0
  105. data/spec/dummy/tmp/cache/assets/development/sprockets/777746e36b5f546628033e633d960005 +0 -0
  106. data/spec/dummy/tmp/cache/assets/development/sprockets/7ed5d11be8a68c295f8833e4961891ff +0 -0
  107. data/spec/dummy/tmp/cache/assets/development/sprockets/80d43205b7942ece8d8b09f859813908 +0 -0
  108. data/spec/dummy/tmp/cache/assets/development/sprockets/867c6ad0b26a9665bc431c93887cea11 +0 -0
  109. data/spec/dummy/tmp/cache/assets/development/sprockets/87f7d23ea55311ee3affe8e6ad8f1b57 +0 -0
  110. data/spec/dummy/tmp/cache/assets/development/sprockets/8a23854402292f417575b8ecaa5ced06 +0 -0
  111. data/spec/dummy/tmp/cache/assets/development/sprockets/8b39a75a80c1fb3a07395e674644e2cc +0 -0
  112. data/spec/dummy/tmp/cache/assets/development/sprockets/8fd0bc56f8581ee9a4376dced1efc158 +0 -0
  113. data/spec/dummy/tmp/cache/assets/development/sprockets/a12ecc7f4b8b7b1315023a6f62aa4ab5 +0 -0
  114. data/spec/dummy/tmp/cache/assets/development/sprockets/a2038db6aaa5289fba7fde9aea561a08 +0 -0
  115. data/spec/dummy/tmp/cache/assets/development/sprockets/ad0693eaa72c0eee52a255fb9d030503 +0 -0
  116. data/spec/dummy/tmp/cache/assets/development/sprockets/b0a786e48e0e908ab34cfbb918853146 +0 -0
  117. data/spec/dummy/tmp/cache/assets/development/sprockets/b84a4d17f27ef190e1eed6129eaac20b +0 -0
  118. data/spec/dummy/tmp/cache/assets/development/sprockets/b9296322253567156d260263305d22d2 +0 -0
  119. data/spec/dummy/tmp/cache/assets/development/sprockets/b970eb3cff83ab8da0076e1472860d75 +0 -0
  120. data/spec/dummy/tmp/cache/assets/development/sprockets/bbceab6aa0252d0552d3a37d2d11e98d +0 -0
  121. data/spec/dummy/tmp/cache/assets/development/sprockets/bfca8c57a5fdc4f3f2e41cea232ed987 +0 -0
  122. data/spec/dummy/tmp/cache/assets/development/sprockets/bfce4ec4b73dd7cbfa1a9dcc601c5050 +0 -0
  123. data/spec/dummy/tmp/cache/assets/development/sprockets/bfd7da030142aceda83eb82f60b33487 +0 -0
  124. data/spec/dummy/tmp/cache/assets/development/sprockets/c7e351cd01a8592503c63b37d7d69e4f +0 -0
  125. data/spec/dummy/tmp/cache/assets/development/sprockets/caf21088467d229770a205c793606696 +0 -0
  126. data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  127. data/spec/dummy/tmp/cache/assets/development/sprockets/d1256d5e44bddbb67bfb24dbab1c3795 +0 -0
  128. data/spec/dummy/tmp/cache/assets/development/sprockets/d2c66e0a8aa45b5f5b17c98c3d39bf91 +0 -0
  129. data/spec/dummy/tmp/cache/assets/development/sprockets/d3fe7bc39b02f61c0f994820aec91f78 +0 -0
  130. data/spec/dummy/tmp/cache/assets/development/sprockets/d4b2ad85aa1a4f1ea28a39b5518f992b +0 -0
  131. data/spec/dummy/tmp/cache/assets/development/sprockets/d5449ece5f819190ad6dd88c1caccffc +0 -0
  132. data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  133. data/spec/dummy/tmp/cache/assets/development/sprockets/d8b62b055a9e2933d39777275cd166f0 +0 -0
  134. data/spec/dummy/tmp/cache/assets/development/sprockets/dbbb41e059e78bdfbb7ec9285ce21b97 +0 -0
  135. data/spec/dummy/tmp/cache/assets/development/sprockets/e0f01bdea42cc99228735a8a21d95ef2 +0 -0
  136. data/spec/dummy/tmp/cache/assets/development/sprockets/ebd00f71b7dcba8d80316e0b8d5e76e3 +0 -0
  137. data/spec/dummy/tmp/cache/assets/development/sprockets/ebe17685dedaf8f574dde1463bdea118 +0 -0
  138. data/spec/dummy/tmp/cache/assets/development/sprockets/f188fdc5d08872237a3dd0231bbfe4e1 +0 -0
  139. data/spec/dummy/tmp/cache/assets/development/sprockets/f4cbaca85a4be542050fd39cbf5eb6c3 +0 -0
  140. data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  141. data/spec/dummy/tmp/cache/assets/development/sprockets/fba7f1b57d7cc3253cb40677cbbd8f54 +0 -0
  142. data/spec/dummy/tmp/cache/assets/development/sprockets/fd13af7854ecfb6bedf12ce71539b636 +0 -0
  143. data/spec/dummy/tmp/cache/assets/test/sprockets/02e6da2de0eeda095c3ab81e1033fc1d +0 -0
  144. data/spec/dummy/tmp/cache/assets/test/sprockets/0bb2483991c2c5f7f83fde21edafb6a9 +0 -0
  145. data/spec/dummy/tmp/cache/assets/test/sprockets/11820a6ecc13dd7f7094529f02abab32 +0 -0
  146. data/spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  147. data/spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  148. data/spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  149. data/spec/dummy/tmp/cache/assets/test/sprockets/405ef6e6ee991e0b2d850f3443245dc8 +0 -0
  150. data/spec/dummy/tmp/cache/assets/test/sprockets/485c8ac4edde07df3f326e4f4b9f9106 +0 -0
  151. data/spec/dummy/tmp/cache/assets/test/sprockets/63c434ac472c04632133d9bc2f8ebe44 +0 -0
  152. data/spec/dummy/tmp/cache/assets/test/sprockets/67ad3a3d9a5fa9dd07456e131ce9c2a8 +0 -0
  153. data/spec/dummy/tmp/cache/assets/test/sprockets/77088c2f43bec60ff0e030676e96f686 +0 -0
  154. data/spec/dummy/tmp/cache/assets/test/sprockets/80d43205b7942ece8d8b09f859813908 +0 -0
  155. data/spec/dummy/tmp/cache/assets/test/sprockets/a2038db6aaa5289fba7fde9aea561a08 +0 -0
  156. data/spec/dummy/tmp/cache/assets/test/sprockets/bbceab6aa0252d0552d3a37d2d11e98d +0 -0
  157. data/spec/dummy/tmp/cache/assets/test/sprockets/c7e351cd01a8592503c63b37d7d69e4f +0 -0
  158. data/spec/dummy/tmp/cache/assets/test/sprockets/caf21088467d229770a205c793606696 +0 -0
  159. data/spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  160. data/spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  161. data/spec/dummy/tmp/cache/assets/test/sprockets/d8b62b055a9e2933d39777275cd166f0 +0 -0
  162. data/spec/dummy/tmp/cache/assets/test/sprockets/ebe17685dedaf8f574dde1463bdea118 +0 -0
  163. data/spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  164. data/spec/dummy/tmp/cache/assets/test/sprockets/fba7f1b57d7cc3253cb40677cbbd8f54 +0 -0
  165. data/spec/dummy/tmp/cache/assets/test/sprockets/fd13af7854ecfb6bedf12ce71539b636 +0 -0
  166. data/spec/features/drag_and_drop_spec.rb +65 -0
  167. data/spec/other_thing_spec.rb +5 -0
  168. data/spec/spec_helper.rb +24 -0
  169. data/spec/support/activerecord_sortable.rb +181 -0
  170. data/spec/thing_spec.rb +5 -0
  171. metadata +458 -0
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe OtherThing do
4
+ it_behaves_like 'activerecord-sortable', :position_column => :place
5
+ end
@@ -0,0 +1,24 @@
1
+ ENV['RAILS_ENV'] ||= 'test'
2
+
3
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
4
+
5
+ require 'rspec/rails'
6
+ require 'activerecord/sortable'
7
+
8
+ require 'coveralls'
9
+ Coveralls.wear!
10
+
11
+ require 'capybara/rspec'
12
+ require 'capybara/rails'
13
+ Capybara.app = Dummy::Application
14
+
15
+ Rails.backtrace_cleaner.remove_silencers!
16
+
17
+ # Load support files
18
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
19
+
20
+ RSpec.configure do |config|
21
+ config.treat_symbols_as_metadata_keys_with_true_values = true
22
+ config.run_all_when_everything_filtered = true
23
+ config.order = "random"
24
+ end
@@ -0,0 +1,181 @@
1
+ shared_examples "activerecord-sortable" do |options = {}|
2
+ position_column = options[:position_column] || :position
3
+
4
+ describe '.create' do
5
+ context 'appending' do
6
+ before(:each) do
7
+ described_class.delete_all
8
+
9
+ described_class.sortable_append = true
10
+ end
11
+
12
+ let!(:thing1) { described_class.create }
13
+
14
+ subject { described_class.create }
15
+
16
+ its(position_column) { should == 1 }
17
+
18
+ it 'should not change first thing updated_at' do
19
+ expect {
20
+ subject
21
+ thing1.reload
22
+ }.not_to change(thing1, :updated_at)
23
+ end
24
+ end
25
+
26
+ context 'prepending' do
27
+ before(:each) do
28
+ described_class.delete_all
29
+
30
+ described_class.sortable_append = false
31
+ end
32
+
33
+ let!(:thing1) { described_class.create }
34
+
35
+ subject { described_class.create }
36
+
37
+ its(position_column) { should == 0 }
38
+
39
+ it 'should change first thing updated_at' do
40
+ expect {
41
+ subject
42
+ thing1.reload
43
+ }.to change(thing1, :updated_at)
44
+ end
45
+ end
46
+ end
47
+
48
+ describe '#destroy' do
49
+ before(:each) do
50
+ described_class.delete_all
51
+
52
+ described_class.sortable_append = true
53
+ end
54
+
55
+ let!(:thing1) { described_class.create }
56
+ let!(:thing2) { described_class.create }
57
+
58
+ subject { thing1.destroy }
59
+
60
+ it 'shifts next records' do
61
+ expect {
62
+ subject
63
+ thing2.reload
64
+ }.to change(thing2, position_column).to(0)
65
+ end
66
+
67
+ it 'change next record updated_at' do
68
+ expect {
69
+ subject
70
+ thing2.reload
71
+ }.to change(thing2, :updated_at)
72
+ end
73
+ end
74
+
75
+ describe 'scopes' do
76
+ before(:each) do
77
+ described_class.delete_all
78
+
79
+ described_class.sortable_append = true
80
+ end
81
+
82
+ let!(:thing1) { described_class.create }
83
+ let!(:thing2) { described_class.create }
84
+
85
+ subject { described_class }
86
+
87
+ its("ordered_by_#{position_column}_asc".to_sym) { should match_array([thing1, thing2])}
88
+ end
89
+
90
+ describe '#move_to!' do
91
+ before(:each) do
92
+ described_class.delete_all
93
+
94
+ described_class.sortable_append = true
95
+ end
96
+
97
+ let!(:thing1) { described_class.create }
98
+ let!(:thing2) { described_class.create }
99
+ let!(:thing3) { described_class.create }
100
+
101
+ context 'prev' do
102
+ subject { thing3.move_to!(1) }
103
+
104
+ it "should change thing3 #{position_column} to 1" do
105
+ expect {
106
+ subject
107
+ thing3.reload
108
+ }.to change(thing3, position_column).to(1)
109
+ end
110
+
111
+ it 'should change thing3 updated_at' do
112
+ expect {
113
+ subject
114
+ thing3.reload
115
+ }.to change(thing3, :updated_at)
116
+ end
117
+
118
+ it "should change thing2 #{position_column} to 2" do
119
+ expect {
120
+ subject
121
+ thing2.reload
122
+ }.to change(thing2, position_column).to(2)
123
+ end
124
+
125
+ it 'should change thing2 updated_at' do
126
+ expect {
127
+ subject
128
+ thing2.reload
129
+ }.to change(thing2, :updated_at)
130
+ end
131
+
132
+ it 'should not change thing1 updated_at' do
133
+ expect {
134
+ subject
135
+ thing1.reload
136
+ }.not_to change(thing1, :updated_at)
137
+ end
138
+ end
139
+
140
+ context 'next' do
141
+ subject { thing1.move_to!(1) }
142
+
143
+ it "should change thing1 #{position_column} to 1" do
144
+ expect {
145
+ subject
146
+ thing1.reload
147
+ }.to change(thing1, position_column).to(1)
148
+ end
149
+
150
+ it 'should change thing1 updated_at' do
151
+ expect {
152
+ subject
153
+ thing1.reload
154
+ }.to change(thing1, :updated_at)
155
+ end
156
+
157
+ it "should change thing2 #{position_column} to 0" do
158
+ expect {
159
+ subject
160
+ thing2.reload
161
+ }.to change(thing2, position_column).to(0)
162
+ end
163
+
164
+ it 'should change thing2 updated_at' do
165
+ expect {
166
+ subject
167
+ thing2.reload
168
+ }.to change(thing2, :updated_at)
169
+ end
170
+
171
+ it 'should not change thing3 updated_at' do
172
+ expect {
173
+ subject
174
+ thing3.reload
175
+ }.not_to change(thing3, :updated_at)
176
+ end
177
+ end
178
+
179
+ subject { thing3.move_to!(2) }
180
+ end
181
+ end
@@ -0,0 +1,5 @@
1
+ require 'spec_helper'
2
+
3
+ describe Thing do
4
+ it_behaves_like 'activerecord-sortable'
5
+ end
metadata ADDED
@@ -0,0 +1,458 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: activerecord-sortable
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Alexandr Borisov
8
+ - Kirill Khrapkov
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-05-28 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: 4.0.5
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: 4.0.5
28
+ - !ruby/object:Gem::Dependency
29
+ name: rspec-rails
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
34
+ version: '0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ">="
40
+ - !ruby/object:Gem::Version
41
+ version: '0'
42
+ - !ruby/object:Gem::Dependency
43
+ name: capybara
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ">="
47
+ - !ruby/object:Gem::Version
48
+ version: '0'
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: selenium-webdriver
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: coveralls
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: sqlite3
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ description:
99
+ email: aishek@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - README.rdoc
105
+ - Rakefile
106
+ - lib/activerecord/sortable.rb
107
+ - lib/activerecord/sortable/acts_as_sortable.rb
108
+ - lib/activerecord/sortable/acts_as_sortable/instance_methods.rb
109
+ - lib/activerecord/sortable/rails.rb
110
+ - lib/activerecord/sortable/version.rb
111
+ - lib/assets/javascripts/sortable.js
112
+ - lib/tasks/sortable_tasks.rake
113
+ - spec/dummy/README.rdoc
114
+ - spec/dummy/Rakefile
115
+ - spec/dummy/app/assets/javascripts/application.js
116
+ - spec/dummy/app/assets/javascripts/jquery.simulate.js
117
+ - spec/dummy/app/assets/stylesheets/application.css
118
+ - spec/dummy/app/controllers/application_controller.rb
119
+ - spec/dummy/app/controllers/things_controller.rb
120
+ - spec/dummy/app/helpers/application_helper.rb
121
+ - spec/dummy/app/models/item.rb
122
+ - spec/dummy/app/models/other_thing.rb
123
+ - spec/dummy/app/models/thing.rb
124
+ - spec/dummy/app/views/layouts/application.html.erb
125
+ - spec/dummy/app/views/things/_thing.html.erb
126
+ - spec/dummy/app/views/things/index.html.erb
127
+ - spec/dummy/app/views/things/move.js.erb
128
+ - spec/dummy/bin/bundle
129
+ - spec/dummy/bin/rails
130
+ - spec/dummy/bin/rake
131
+ - spec/dummy/config.ru
132
+ - spec/dummy/config/application.rb
133
+ - spec/dummy/config/boot.rb
134
+ - spec/dummy/config/database.yml
135
+ - spec/dummy/config/environment.rb
136
+ - spec/dummy/config/environments/development.rb
137
+ - spec/dummy/config/environments/production.rb
138
+ - spec/dummy/config/environments/test.rb
139
+ - spec/dummy/config/initializers/backtrace_silencers.rb
140
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
141
+ - spec/dummy/config/initializers/inflections.rb
142
+ - spec/dummy/config/initializers/mime_types.rb
143
+ - spec/dummy/config/initializers/secret_token.rb
144
+ - spec/dummy/config/initializers/session_store.rb
145
+ - spec/dummy/config/initializers/wrap_parameters.rb
146
+ - spec/dummy/config/locales/en.yml
147
+ - spec/dummy/config/routes.rb
148
+ - spec/dummy/db/development.sqlite3
149
+ - spec/dummy/db/migrate/20140512100816_create_things.rb
150
+ - spec/dummy/db/migrate/20140525104834_create_other_things.rb
151
+ - spec/dummy/db/migrate/20140525111906_create_items.rb
152
+ - spec/dummy/db/migrate/20140525112123_add_position_to_items.rb
153
+ - spec/dummy/db/schema.rb
154
+ - spec/dummy/db/seeds.rb
155
+ - spec/dummy/db/test.sqlite3
156
+ - spec/dummy/log/development.log
157
+ - spec/dummy/log/test.log
158
+ - spec/dummy/public/404.html
159
+ - spec/dummy/public/422.html
160
+ - spec/dummy/public/500.html
161
+ - spec/dummy/public/favicon.ico
162
+ - spec/dummy/tmp/cache/assets/development/sprockets/02e6da2de0eeda095c3ab81e1033fc1d
163
+ - spec/dummy/tmp/cache/assets/development/sprockets/04cf541b9d1ee4cad14421becb051689
164
+ - spec/dummy/tmp/cache/assets/development/sprockets/06a48cadb2e97ab6c9c35285891cd326
165
+ - spec/dummy/tmp/cache/assets/development/sprockets/0bb2483991c2c5f7f83fde21edafb6a9
166
+ - spec/dummy/tmp/cache/assets/development/sprockets/0d3c3b294494fb664545d3c26ee18f14
167
+ - spec/dummy/tmp/cache/assets/development/sprockets/0de48e81714433e3a37eac8d8be3d97e
168
+ - spec/dummy/tmp/cache/assets/development/sprockets/10ae91021bb1bbd0930672c779b3b91a
169
+ - spec/dummy/tmp/cache/assets/development/sprockets/11820a6ecc13dd7f7094529f02abab32
170
+ - spec/dummy/tmp/cache/assets/development/sprockets/11854112d39135b018adc8440defeda0
171
+ - spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
172
+ - spec/dummy/tmp/cache/assets/development/sprockets/1510c8e329d6e9494521d212f6436149
173
+ - spec/dummy/tmp/cache/assets/development/sprockets/1f6d40a549a87bc8b9dc59afe0b41143
174
+ - spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
175
+ - spec/dummy/tmp/cache/assets/development/sprockets/30e32f924769f4b2ef4ec2ed78d62f3d
176
+ - spec/dummy/tmp/cache/assets/development/sprockets/3102e67dc53e4d0f35c4581e16261889
177
+ - spec/dummy/tmp/cache/assets/development/sprockets/327b885c1a9d58094da4fda60431a466
178
+ - spec/dummy/tmp/cache/assets/development/sprockets/327f7f624a6fc56d3d434e46aceb3299
179
+ - spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
180
+ - spec/dummy/tmp/cache/assets/development/sprockets/3754f0eb2c14b3faa11aec78b2dcee56
181
+ - spec/dummy/tmp/cache/assets/development/sprockets/3a8816f3d1d27361f67808fed1cfaf48
182
+ - spec/dummy/tmp/cache/assets/development/sprockets/3c6d7669755b971545e296fc93a9595b
183
+ - spec/dummy/tmp/cache/assets/development/sprockets/3e904cfb843c2a95c02c07b4fbc96e6e
184
+ - spec/dummy/tmp/cache/assets/development/sprockets/402789e80a4ebf130058eeae9bacd1e3
185
+ - spec/dummy/tmp/cache/assets/development/sprockets/405ef6e6ee991e0b2d850f3443245dc8
186
+ - spec/dummy/tmp/cache/assets/development/sprockets/4249e053e25b3a5632832c437bfd0e4d
187
+ - spec/dummy/tmp/cache/assets/development/sprockets/42b8d23a55d28e131ae662ed762cbf08
188
+ - spec/dummy/tmp/cache/assets/development/sprockets/4646b96b524c218d2b80992e633080ff
189
+ - spec/dummy/tmp/cache/assets/development/sprockets/47e71eb31da5be13ced7c7a889342d58
190
+ - spec/dummy/tmp/cache/assets/development/sprockets/485c8ac4edde07df3f326e4f4b9f9106
191
+ - spec/dummy/tmp/cache/assets/development/sprockets/49bf73b3490c4a8e62534bd0d5be81c3
192
+ - spec/dummy/tmp/cache/assets/development/sprockets/4c1e2286914bc9b9ad1073e0aaa47a40
193
+ - spec/dummy/tmp/cache/assets/development/sprockets/4c803caf54aa7538b898209acc1b1070
194
+ - spec/dummy/tmp/cache/assets/development/sprockets/562dbca143b36a28d7fc6820500de6cc
195
+ - spec/dummy/tmp/cache/assets/development/sprockets/57c480a56fb25b20eb672e4027117550
196
+ - spec/dummy/tmp/cache/assets/development/sprockets/58b84f82ca3fe739a2c21accf3b43e08
197
+ - spec/dummy/tmp/cache/assets/development/sprockets/5b848793a8918c09f06e30db36aeb816
198
+ - spec/dummy/tmp/cache/assets/development/sprockets/5dc29296d9d4d74645d70a5225f6027f
199
+ - spec/dummy/tmp/cache/assets/development/sprockets/61832b49e09217de656ff5bd787626c9
200
+ - spec/dummy/tmp/cache/assets/development/sprockets/6386af6a5c718c1ddd97f609e0f7e9bd
201
+ - spec/dummy/tmp/cache/assets/development/sprockets/63c434ac472c04632133d9bc2f8ebe44
202
+ - spec/dummy/tmp/cache/assets/development/sprockets/64ef40135516dbbf1737a2d598b22cfa
203
+ - spec/dummy/tmp/cache/assets/development/sprockets/67ad3a3d9a5fa9dd07456e131ce9c2a8
204
+ - spec/dummy/tmp/cache/assets/development/sprockets/6c2e45e1a31edecd0e3584aa2d836c58
205
+ - spec/dummy/tmp/cache/assets/development/sprockets/743ab64e3ac90ba4734a5a1af916fd93
206
+ - spec/dummy/tmp/cache/assets/development/sprockets/77088c2f43bec60ff0e030676e96f686
207
+ - spec/dummy/tmp/cache/assets/development/sprockets/777746e36b5f546628033e633d960005
208
+ - spec/dummy/tmp/cache/assets/development/sprockets/7ed5d11be8a68c295f8833e4961891ff
209
+ - spec/dummy/tmp/cache/assets/development/sprockets/80d43205b7942ece8d8b09f859813908
210
+ - spec/dummy/tmp/cache/assets/development/sprockets/867c6ad0b26a9665bc431c93887cea11
211
+ - spec/dummy/tmp/cache/assets/development/sprockets/87f7d23ea55311ee3affe8e6ad8f1b57
212
+ - spec/dummy/tmp/cache/assets/development/sprockets/8a23854402292f417575b8ecaa5ced06
213
+ - spec/dummy/tmp/cache/assets/development/sprockets/8b39a75a80c1fb3a07395e674644e2cc
214
+ - spec/dummy/tmp/cache/assets/development/sprockets/8fd0bc56f8581ee9a4376dced1efc158
215
+ - spec/dummy/tmp/cache/assets/development/sprockets/a12ecc7f4b8b7b1315023a6f62aa4ab5
216
+ - spec/dummy/tmp/cache/assets/development/sprockets/a2038db6aaa5289fba7fde9aea561a08
217
+ - spec/dummy/tmp/cache/assets/development/sprockets/ad0693eaa72c0eee52a255fb9d030503
218
+ - spec/dummy/tmp/cache/assets/development/sprockets/b0a786e48e0e908ab34cfbb918853146
219
+ - spec/dummy/tmp/cache/assets/development/sprockets/b84a4d17f27ef190e1eed6129eaac20b
220
+ - spec/dummy/tmp/cache/assets/development/sprockets/b9296322253567156d260263305d22d2
221
+ - spec/dummy/tmp/cache/assets/development/sprockets/b970eb3cff83ab8da0076e1472860d75
222
+ - spec/dummy/tmp/cache/assets/development/sprockets/bbceab6aa0252d0552d3a37d2d11e98d
223
+ - spec/dummy/tmp/cache/assets/development/sprockets/bfca8c57a5fdc4f3f2e41cea232ed987
224
+ - spec/dummy/tmp/cache/assets/development/sprockets/bfce4ec4b73dd7cbfa1a9dcc601c5050
225
+ - spec/dummy/tmp/cache/assets/development/sprockets/bfd7da030142aceda83eb82f60b33487
226
+ - spec/dummy/tmp/cache/assets/development/sprockets/c7e351cd01a8592503c63b37d7d69e4f
227
+ - spec/dummy/tmp/cache/assets/development/sprockets/caf21088467d229770a205c793606696
228
+ - spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
229
+ - spec/dummy/tmp/cache/assets/development/sprockets/d1256d5e44bddbb67bfb24dbab1c3795
230
+ - spec/dummy/tmp/cache/assets/development/sprockets/d2c66e0a8aa45b5f5b17c98c3d39bf91
231
+ - spec/dummy/tmp/cache/assets/development/sprockets/d3fe7bc39b02f61c0f994820aec91f78
232
+ - spec/dummy/tmp/cache/assets/development/sprockets/d4b2ad85aa1a4f1ea28a39b5518f992b
233
+ - spec/dummy/tmp/cache/assets/development/sprockets/d5449ece5f819190ad6dd88c1caccffc
234
+ - spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
235
+ - spec/dummy/tmp/cache/assets/development/sprockets/d8b62b055a9e2933d39777275cd166f0
236
+ - spec/dummy/tmp/cache/assets/development/sprockets/dbbb41e059e78bdfbb7ec9285ce21b97
237
+ - spec/dummy/tmp/cache/assets/development/sprockets/e0f01bdea42cc99228735a8a21d95ef2
238
+ - spec/dummy/tmp/cache/assets/development/sprockets/ebd00f71b7dcba8d80316e0b8d5e76e3
239
+ - spec/dummy/tmp/cache/assets/development/sprockets/ebe17685dedaf8f574dde1463bdea118
240
+ - spec/dummy/tmp/cache/assets/development/sprockets/f188fdc5d08872237a3dd0231bbfe4e1
241
+ - spec/dummy/tmp/cache/assets/development/sprockets/f4cbaca85a4be542050fd39cbf5eb6c3
242
+ - spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
243
+ - spec/dummy/tmp/cache/assets/development/sprockets/fba7f1b57d7cc3253cb40677cbbd8f54
244
+ - spec/dummy/tmp/cache/assets/development/sprockets/fd13af7854ecfb6bedf12ce71539b636
245
+ - spec/dummy/tmp/cache/assets/test/sprockets/02e6da2de0eeda095c3ab81e1033fc1d
246
+ - spec/dummy/tmp/cache/assets/test/sprockets/0bb2483991c2c5f7f83fde21edafb6a9
247
+ - spec/dummy/tmp/cache/assets/test/sprockets/11820a6ecc13dd7f7094529f02abab32
248
+ - spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
249
+ - spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
250
+ - spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
251
+ - spec/dummy/tmp/cache/assets/test/sprockets/405ef6e6ee991e0b2d850f3443245dc8
252
+ - spec/dummy/tmp/cache/assets/test/sprockets/485c8ac4edde07df3f326e4f4b9f9106
253
+ - spec/dummy/tmp/cache/assets/test/sprockets/63c434ac472c04632133d9bc2f8ebe44
254
+ - spec/dummy/tmp/cache/assets/test/sprockets/67ad3a3d9a5fa9dd07456e131ce9c2a8
255
+ - spec/dummy/tmp/cache/assets/test/sprockets/77088c2f43bec60ff0e030676e96f686
256
+ - spec/dummy/tmp/cache/assets/test/sprockets/80d43205b7942ece8d8b09f859813908
257
+ - spec/dummy/tmp/cache/assets/test/sprockets/a2038db6aaa5289fba7fde9aea561a08
258
+ - spec/dummy/tmp/cache/assets/test/sprockets/bbceab6aa0252d0552d3a37d2d11e98d
259
+ - spec/dummy/tmp/cache/assets/test/sprockets/c7e351cd01a8592503c63b37d7d69e4f
260
+ - spec/dummy/tmp/cache/assets/test/sprockets/caf21088467d229770a205c793606696
261
+ - spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
262
+ - spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
263
+ - spec/dummy/tmp/cache/assets/test/sprockets/d8b62b055a9e2933d39777275cd166f0
264
+ - spec/dummy/tmp/cache/assets/test/sprockets/ebe17685dedaf8f574dde1463bdea118
265
+ - spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
266
+ - spec/dummy/tmp/cache/assets/test/sprockets/fba7f1b57d7cc3253cb40677cbbd8f54
267
+ - spec/dummy/tmp/cache/assets/test/sprockets/fd13af7854ecfb6bedf12ce71539b636
268
+ - spec/features/drag_and_drop_spec.rb
269
+ - spec/other_thing_spec.rb
270
+ - spec/spec_helper.rb
271
+ - spec/support/activerecord_sortable.rb
272
+ - spec/thing_spec.rb
273
+ homepage: https://github.com/aishek/activerecord-sortable
274
+ licenses:
275
+ - MIT
276
+ metadata: {}
277
+ post_install_message:
278
+ rdoc_options: []
279
+ require_paths:
280
+ - lib
281
+ required_ruby_version: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - ">="
284
+ - !ruby/object:Gem::Version
285
+ version: '0'
286
+ required_rubygems_version: !ruby/object:Gem::Requirement
287
+ requirements:
288
+ - - ">="
289
+ - !ruby/object:Gem::Version
290
+ version: '0'
291
+ requirements: []
292
+ rubyforge_project:
293
+ rubygems_version: 2.2.2
294
+ signing_key:
295
+ specification_version: 4
296
+ summary: activerecord-sortable allows you easily integrate jquery ui sortable with
297
+ your models
298
+ test_files:
299
+ - spec/dummy/app/assets/javascripts/application.js
300
+ - spec/dummy/app/assets/javascripts/jquery.simulate.js
301
+ - spec/dummy/app/assets/stylesheets/application.css
302
+ - spec/dummy/app/controllers/application_controller.rb
303
+ - spec/dummy/app/controllers/things_controller.rb
304
+ - spec/dummy/app/helpers/application_helper.rb
305
+ - spec/dummy/app/models/item.rb
306
+ - spec/dummy/app/models/other_thing.rb
307
+ - spec/dummy/app/models/thing.rb
308
+ - spec/dummy/app/views/layouts/application.html.erb
309
+ - spec/dummy/app/views/things/_thing.html.erb
310
+ - spec/dummy/app/views/things/index.html.erb
311
+ - spec/dummy/app/views/things/move.js.erb
312
+ - spec/dummy/bin/bundle
313
+ - spec/dummy/bin/rails
314
+ - spec/dummy/bin/rake
315
+ - spec/dummy/config/application.rb
316
+ - spec/dummy/config/boot.rb
317
+ - spec/dummy/config/database.yml
318
+ - spec/dummy/config/environment.rb
319
+ - spec/dummy/config/environments/development.rb
320
+ - spec/dummy/config/environments/production.rb
321
+ - spec/dummy/config/environments/test.rb
322
+ - spec/dummy/config/initializers/backtrace_silencers.rb
323
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
324
+ - spec/dummy/config/initializers/inflections.rb
325
+ - spec/dummy/config/initializers/mime_types.rb
326
+ - spec/dummy/config/initializers/secret_token.rb
327
+ - spec/dummy/config/initializers/session_store.rb
328
+ - spec/dummy/config/initializers/wrap_parameters.rb
329
+ - spec/dummy/config/locales/en.yml
330
+ - spec/dummy/config/routes.rb
331
+ - spec/dummy/config.ru
332
+ - spec/dummy/db/development.sqlite3
333
+ - spec/dummy/db/migrate/20140512100816_create_things.rb
334
+ - spec/dummy/db/migrate/20140525104834_create_other_things.rb
335
+ - spec/dummy/db/migrate/20140525111906_create_items.rb
336
+ - spec/dummy/db/migrate/20140525112123_add_position_to_items.rb
337
+ - spec/dummy/db/schema.rb
338
+ - spec/dummy/db/seeds.rb
339
+ - spec/dummy/db/test.sqlite3
340
+ - spec/dummy/log/development.log
341
+ - spec/dummy/log/test.log
342
+ - spec/dummy/public/404.html
343
+ - spec/dummy/public/422.html
344
+ - spec/dummy/public/500.html
345
+ - spec/dummy/public/favicon.ico
346
+ - spec/dummy/Rakefile
347
+ - spec/dummy/README.rdoc
348
+ - spec/dummy/tmp/cache/assets/development/sprockets/02e6da2de0eeda095c3ab81e1033fc1d
349
+ - spec/dummy/tmp/cache/assets/development/sprockets/04cf541b9d1ee4cad14421becb051689
350
+ - spec/dummy/tmp/cache/assets/development/sprockets/06a48cadb2e97ab6c9c35285891cd326
351
+ - spec/dummy/tmp/cache/assets/development/sprockets/0bb2483991c2c5f7f83fde21edafb6a9
352
+ - spec/dummy/tmp/cache/assets/development/sprockets/0d3c3b294494fb664545d3c26ee18f14
353
+ - spec/dummy/tmp/cache/assets/development/sprockets/0de48e81714433e3a37eac8d8be3d97e
354
+ - spec/dummy/tmp/cache/assets/development/sprockets/10ae91021bb1bbd0930672c779b3b91a
355
+ - spec/dummy/tmp/cache/assets/development/sprockets/11820a6ecc13dd7f7094529f02abab32
356
+ - spec/dummy/tmp/cache/assets/development/sprockets/11854112d39135b018adc8440defeda0
357
+ - spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
358
+ - spec/dummy/tmp/cache/assets/development/sprockets/1510c8e329d6e9494521d212f6436149
359
+ - spec/dummy/tmp/cache/assets/development/sprockets/1f6d40a549a87bc8b9dc59afe0b41143
360
+ - spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
361
+ - spec/dummy/tmp/cache/assets/development/sprockets/30e32f924769f4b2ef4ec2ed78d62f3d
362
+ - spec/dummy/tmp/cache/assets/development/sprockets/3102e67dc53e4d0f35c4581e16261889
363
+ - spec/dummy/tmp/cache/assets/development/sprockets/327b885c1a9d58094da4fda60431a466
364
+ - spec/dummy/tmp/cache/assets/development/sprockets/327f7f624a6fc56d3d434e46aceb3299
365
+ - spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
366
+ - spec/dummy/tmp/cache/assets/development/sprockets/3754f0eb2c14b3faa11aec78b2dcee56
367
+ - spec/dummy/tmp/cache/assets/development/sprockets/3a8816f3d1d27361f67808fed1cfaf48
368
+ - spec/dummy/tmp/cache/assets/development/sprockets/3c6d7669755b971545e296fc93a9595b
369
+ - spec/dummy/tmp/cache/assets/development/sprockets/3e904cfb843c2a95c02c07b4fbc96e6e
370
+ - spec/dummy/tmp/cache/assets/development/sprockets/402789e80a4ebf130058eeae9bacd1e3
371
+ - spec/dummy/tmp/cache/assets/development/sprockets/405ef6e6ee991e0b2d850f3443245dc8
372
+ - spec/dummy/tmp/cache/assets/development/sprockets/4249e053e25b3a5632832c437bfd0e4d
373
+ - spec/dummy/tmp/cache/assets/development/sprockets/42b8d23a55d28e131ae662ed762cbf08
374
+ - spec/dummy/tmp/cache/assets/development/sprockets/4646b96b524c218d2b80992e633080ff
375
+ - spec/dummy/tmp/cache/assets/development/sprockets/47e71eb31da5be13ced7c7a889342d58
376
+ - spec/dummy/tmp/cache/assets/development/sprockets/485c8ac4edde07df3f326e4f4b9f9106
377
+ - spec/dummy/tmp/cache/assets/development/sprockets/49bf73b3490c4a8e62534bd0d5be81c3
378
+ - spec/dummy/tmp/cache/assets/development/sprockets/4c1e2286914bc9b9ad1073e0aaa47a40
379
+ - spec/dummy/tmp/cache/assets/development/sprockets/4c803caf54aa7538b898209acc1b1070
380
+ - spec/dummy/tmp/cache/assets/development/sprockets/562dbca143b36a28d7fc6820500de6cc
381
+ - spec/dummy/tmp/cache/assets/development/sprockets/57c480a56fb25b20eb672e4027117550
382
+ - spec/dummy/tmp/cache/assets/development/sprockets/58b84f82ca3fe739a2c21accf3b43e08
383
+ - spec/dummy/tmp/cache/assets/development/sprockets/5b848793a8918c09f06e30db36aeb816
384
+ - spec/dummy/tmp/cache/assets/development/sprockets/5dc29296d9d4d74645d70a5225f6027f
385
+ - spec/dummy/tmp/cache/assets/development/sprockets/61832b49e09217de656ff5bd787626c9
386
+ - spec/dummy/tmp/cache/assets/development/sprockets/6386af6a5c718c1ddd97f609e0f7e9bd
387
+ - spec/dummy/tmp/cache/assets/development/sprockets/63c434ac472c04632133d9bc2f8ebe44
388
+ - spec/dummy/tmp/cache/assets/development/sprockets/64ef40135516dbbf1737a2d598b22cfa
389
+ - spec/dummy/tmp/cache/assets/development/sprockets/67ad3a3d9a5fa9dd07456e131ce9c2a8
390
+ - spec/dummy/tmp/cache/assets/development/sprockets/6c2e45e1a31edecd0e3584aa2d836c58
391
+ - spec/dummy/tmp/cache/assets/development/sprockets/743ab64e3ac90ba4734a5a1af916fd93
392
+ - spec/dummy/tmp/cache/assets/development/sprockets/77088c2f43bec60ff0e030676e96f686
393
+ - spec/dummy/tmp/cache/assets/development/sprockets/777746e36b5f546628033e633d960005
394
+ - spec/dummy/tmp/cache/assets/development/sprockets/7ed5d11be8a68c295f8833e4961891ff
395
+ - spec/dummy/tmp/cache/assets/development/sprockets/80d43205b7942ece8d8b09f859813908
396
+ - spec/dummy/tmp/cache/assets/development/sprockets/867c6ad0b26a9665bc431c93887cea11
397
+ - spec/dummy/tmp/cache/assets/development/sprockets/87f7d23ea55311ee3affe8e6ad8f1b57
398
+ - spec/dummy/tmp/cache/assets/development/sprockets/8a23854402292f417575b8ecaa5ced06
399
+ - spec/dummy/tmp/cache/assets/development/sprockets/8b39a75a80c1fb3a07395e674644e2cc
400
+ - spec/dummy/tmp/cache/assets/development/sprockets/8fd0bc56f8581ee9a4376dced1efc158
401
+ - spec/dummy/tmp/cache/assets/development/sprockets/a12ecc7f4b8b7b1315023a6f62aa4ab5
402
+ - spec/dummy/tmp/cache/assets/development/sprockets/a2038db6aaa5289fba7fde9aea561a08
403
+ - spec/dummy/tmp/cache/assets/development/sprockets/ad0693eaa72c0eee52a255fb9d030503
404
+ - spec/dummy/tmp/cache/assets/development/sprockets/b0a786e48e0e908ab34cfbb918853146
405
+ - spec/dummy/tmp/cache/assets/development/sprockets/b84a4d17f27ef190e1eed6129eaac20b
406
+ - spec/dummy/tmp/cache/assets/development/sprockets/b9296322253567156d260263305d22d2
407
+ - spec/dummy/tmp/cache/assets/development/sprockets/b970eb3cff83ab8da0076e1472860d75
408
+ - spec/dummy/tmp/cache/assets/development/sprockets/bbceab6aa0252d0552d3a37d2d11e98d
409
+ - spec/dummy/tmp/cache/assets/development/sprockets/bfca8c57a5fdc4f3f2e41cea232ed987
410
+ - spec/dummy/tmp/cache/assets/development/sprockets/bfce4ec4b73dd7cbfa1a9dcc601c5050
411
+ - spec/dummy/tmp/cache/assets/development/sprockets/bfd7da030142aceda83eb82f60b33487
412
+ - spec/dummy/tmp/cache/assets/development/sprockets/c7e351cd01a8592503c63b37d7d69e4f
413
+ - spec/dummy/tmp/cache/assets/development/sprockets/caf21088467d229770a205c793606696
414
+ - spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
415
+ - spec/dummy/tmp/cache/assets/development/sprockets/d1256d5e44bddbb67bfb24dbab1c3795
416
+ - spec/dummy/tmp/cache/assets/development/sprockets/d2c66e0a8aa45b5f5b17c98c3d39bf91
417
+ - spec/dummy/tmp/cache/assets/development/sprockets/d3fe7bc39b02f61c0f994820aec91f78
418
+ - spec/dummy/tmp/cache/assets/development/sprockets/d4b2ad85aa1a4f1ea28a39b5518f992b
419
+ - spec/dummy/tmp/cache/assets/development/sprockets/d5449ece5f819190ad6dd88c1caccffc
420
+ - spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
421
+ - spec/dummy/tmp/cache/assets/development/sprockets/d8b62b055a9e2933d39777275cd166f0
422
+ - spec/dummy/tmp/cache/assets/development/sprockets/dbbb41e059e78bdfbb7ec9285ce21b97
423
+ - spec/dummy/tmp/cache/assets/development/sprockets/e0f01bdea42cc99228735a8a21d95ef2
424
+ - spec/dummy/tmp/cache/assets/development/sprockets/ebd00f71b7dcba8d80316e0b8d5e76e3
425
+ - spec/dummy/tmp/cache/assets/development/sprockets/ebe17685dedaf8f574dde1463bdea118
426
+ - spec/dummy/tmp/cache/assets/development/sprockets/f188fdc5d08872237a3dd0231bbfe4e1
427
+ - spec/dummy/tmp/cache/assets/development/sprockets/f4cbaca85a4be542050fd39cbf5eb6c3
428
+ - spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
429
+ - spec/dummy/tmp/cache/assets/development/sprockets/fba7f1b57d7cc3253cb40677cbbd8f54
430
+ - spec/dummy/tmp/cache/assets/development/sprockets/fd13af7854ecfb6bedf12ce71539b636
431
+ - spec/dummy/tmp/cache/assets/test/sprockets/02e6da2de0eeda095c3ab81e1033fc1d
432
+ - spec/dummy/tmp/cache/assets/test/sprockets/0bb2483991c2c5f7f83fde21edafb6a9
433
+ - spec/dummy/tmp/cache/assets/test/sprockets/11820a6ecc13dd7f7094529f02abab32
434
+ - spec/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705
435
+ - spec/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af
436
+ - spec/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953
437
+ - spec/dummy/tmp/cache/assets/test/sprockets/405ef6e6ee991e0b2d850f3443245dc8
438
+ - spec/dummy/tmp/cache/assets/test/sprockets/485c8ac4edde07df3f326e4f4b9f9106
439
+ - spec/dummy/tmp/cache/assets/test/sprockets/63c434ac472c04632133d9bc2f8ebe44
440
+ - spec/dummy/tmp/cache/assets/test/sprockets/67ad3a3d9a5fa9dd07456e131ce9c2a8
441
+ - spec/dummy/tmp/cache/assets/test/sprockets/77088c2f43bec60ff0e030676e96f686
442
+ - spec/dummy/tmp/cache/assets/test/sprockets/80d43205b7942ece8d8b09f859813908
443
+ - spec/dummy/tmp/cache/assets/test/sprockets/a2038db6aaa5289fba7fde9aea561a08
444
+ - spec/dummy/tmp/cache/assets/test/sprockets/bbceab6aa0252d0552d3a37d2d11e98d
445
+ - spec/dummy/tmp/cache/assets/test/sprockets/c7e351cd01a8592503c63b37d7d69e4f
446
+ - spec/dummy/tmp/cache/assets/test/sprockets/caf21088467d229770a205c793606696
447
+ - spec/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994
448
+ - spec/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
449
+ - spec/dummy/tmp/cache/assets/test/sprockets/d8b62b055a9e2933d39777275cd166f0
450
+ - spec/dummy/tmp/cache/assets/test/sprockets/ebe17685dedaf8f574dde1463bdea118
451
+ - spec/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
452
+ - spec/dummy/tmp/cache/assets/test/sprockets/fba7f1b57d7cc3253cb40677cbbd8f54
453
+ - spec/dummy/tmp/cache/assets/test/sprockets/fd13af7854ecfb6bedf12ce71539b636
454
+ - spec/features/drag_and_drop_spec.rb
455
+ - spec/other_thing_spec.rb
456
+ - spec/spec_helper.rb
457
+ - spec/support/activerecord_sortable.rb
458
+ - spec/thing_spec.rb