collection_sorter 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +32 -0
  4. data/lib/collection_sorter/railtie.rb +7 -0
  5. data/lib/collection_sorter/sorter.rb +29 -0
  6. data/lib/collection_sorter/version.rb +3 -0
  7. data/lib/collection_sorter.rb +5 -0
  8. data/lib/tasks/collection_sorter_tasks.rake +4 -0
  9. data/test/collection_sorter_test.rb +7 -0
  10. data/test/controller_test.rb +16 -0
  11. data/test/dummy/README.rdoc +28 -0
  12. data/test/dummy/Rakefile +6 -0
  13. data/test/dummy/app/assets/javascripts/application.js +13 -0
  14. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  15. data/test/dummy/app/controllers/application_controller.rb +5 -0
  16. data/test/dummy/app/controllers/home_controller.rb +15 -0
  17. data/test/dummy/app/helpers/application_helper.rb +2 -0
  18. data/test/dummy/app/models/song.rb +2 -0
  19. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  20. data/test/dummy/bin/bundle +3 -0
  21. data/test/dummy/bin/rails +4 -0
  22. data/test/dummy/bin/rake +4 -0
  23. data/test/dummy/config/application.rb +23 -0
  24. data/test/dummy/config/boot.rb +5 -0
  25. data/test/dummy/config/database.yml +25 -0
  26. data/test/dummy/config/environment.rb +5 -0
  27. data/test/dummy/config/environments/development.rb +29 -0
  28. data/test/dummy/config/environments/production.rb +80 -0
  29. data/test/dummy/config/environments/test.rb +36 -0
  30. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  31. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  32. data/test/dummy/config/initializers/inflections.rb +16 -0
  33. data/test/dummy/config/initializers/mime_types.rb +5 -0
  34. data/test/dummy/config/initializers/secret_token.rb +12 -0
  35. data/test/dummy/config/initializers/session_store.rb +3 -0
  36. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  37. data/test/dummy/config/locales/en.yml +23 -0
  38. data/test/dummy/config/routes.rb +3 -0
  39. data/test/dummy/config.ru +4 -0
  40. data/test/dummy/db/development.sqlite3 +0 -0
  41. data/test/dummy/db/migrate/20131127040711_create_songs.rb +9 -0
  42. data/test/dummy/db/schema.rb +22 -0
  43. data/test/dummy/db/test.sqlite3 +0 -0
  44. data/test/dummy/log/development.log +14 -0
  45. data/test/dummy/log/test.log +221 -0
  46. data/test/dummy/public/404.html +58 -0
  47. data/test/dummy/public/422.html +58 -0
  48. data/test/dummy/public/500.html +57 -0
  49. data/test/dummy/public/favicon.ico +0 -0
  50. data/test/dummy/test/fixtures/songs.yml +7 -0
  51. data/test/sorter_test.rb +18 -0
  52. data/test/test_helper.rb +15 -0
  53. metadata +173 -0
@@ -0,0 +1,221 @@
1
+  (0.6ms) begin transaction
2
+ --------------------------------
3
+ CollectionSorterTest: test_truth
4
+ --------------------------------
5
+  (0.1ms) rollback transaction
6
+  (0.3ms) begin transaction
7
+ --------------------------------
8
+ CollectionSorterTest: test_truth
9
+ --------------------------------
10
+  (0.1ms) rollback transaction
11
+  (0.3ms) begin transaction
12
+ --------------------------------
13
+ CollectionSorterTest: test_truth
14
+ --------------------------------
15
+  (0.0ms) rollback transaction
16
+  (0.1ms) begin transaction
17
+ ------------------------------------------------
18
+ SorterTest: test_sorter_should_sort_a_collection
19
+ ------------------------------------------------
20
+  (0.1ms) rollback transaction
21
+  (0.3ms) begin transaction
22
+ --------------------------------
23
+ CollectionSorterTest: test_truth
24
+ --------------------------------
25
+  (0.1ms) rollback transaction
26
+  (0.0ms) begin transaction
27
+ -----------------------------------------
28
+ SorterTest: test_should_sort_a_collection
29
+ -----------------------------------------
30
+  (0.1ms) rollback transaction
31
+  (0.3ms) begin transaction
32
+ --------------------------------
33
+ CollectionSorterTest: test_truth
34
+ --------------------------------
35
+  (0.1ms) rollback transaction
36
+  (0.0ms) begin transaction
37
+ -----------------------------------------
38
+ SorterTest: test_should_sort_a_collection
39
+ -----------------------------------------
40
+  (0.0ms) rollback transaction
41
+  (0.6ms) begin transaction
42
+ --------------------------------
43
+ CollectionSorterTest: test_truth
44
+ --------------------------------
45
+  (0.1ms) rollback transaction
46
+  (0.1ms) begin transaction
47
+ -----------------------------------------
48
+ SorterTest: test_should_sort_a_collection
49
+ -----------------------------------------
50
+  (0.1ms) rollback transaction
51
+  (0.3ms) begin transaction
52
+ --------------------------------
53
+ CollectionSorterTest: test_truth
54
+ --------------------------------
55
+  (0.1ms) rollback transaction
56
+  (0.1ms) begin transaction
57
+ -----------------------------------------
58
+ SorterTest: test_should_sort_a_collection
59
+ -----------------------------------------
60
+  (0.2ms) rollback transaction
61
+  (0.3ms) begin transaction
62
+ --------------------------------
63
+ CollectionSorterTest: test_truth
64
+ --------------------------------
65
+  (0.1ms) rollback transaction
66
+  (0.0ms) begin transaction
67
+ -----------------------------------------
68
+ SorterTest: test_should_sort_a_collection
69
+ -----------------------------------------
70
+  (0.1ms) rollback transaction
71
+  (0.3ms) begin transaction
72
+ --------------------------------
73
+ CollectionSorterTest: test_truth
74
+ --------------------------------
75
+  (0.1ms) rollback transaction
76
+  (0.1ms) begin transaction
77
+ -----------------------------------------
78
+ SorterTest: test_should_sort_a_collection
79
+ -----------------------------------------
80
+  (0.1ms) rollback transaction
81
+  (0.4ms) begin transaction
82
+ --------------------------------
83
+ CollectionSorterTest: test_truth
84
+ --------------------------------
85
+  (0.1ms) rollback transaction
86
+  (0.1ms) begin transaction
87
+ -----------------------------------------
88
+ SorterTest: test_should_sort_a_collection
89
+ -----------------------------------------
90
+  (0.1ms) rollback transaction
91
+  (0.3ms) begin transaction
92
+ --------------------------------
93
+ CollectionSorterTest: test_truth
94
+ --------------------------------
95
+  (0.1ms) rollback transaction
96
+  (0.1ms) begin transaction
97
+ -----------------------------------------
98
+ SorterTest: test_should_sort_a_collection
99
+ -----------------------------------------
100
+  (0.1ms) rollback transaction
101
+  (0.3ms) begin transaction
102
+ --------------------------------
103
+ CollectionSorterTest: test_truth
104
+ --------------------------------
105
+  (0.1ms) rollback transaction
106
+  (0.0ms) begin transaction
107
+ -----------------------------------------
108
+ SorterTest: test_should_sort_a_collection
109
+ -----------------------------------------
110
+  (0.0ms) rollback transaction
111
+  (1.2ms) CREATE TABLE "songs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
112
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
113
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
114
+  (0.1ms) SELECT version FROM "schema_migrations"
115
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20131127040711')
116
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
117
+  (2.6ms) CREATE TABLE "songs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
118
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
119
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
120
+  (0.1ms) SELECT version FROM "schema_migrations"
121
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20131127040711')
122
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
123
+  (0.3ms) begin transaction
124
+ ------------------------------------------------------------
125
+ CollectionSorterTest: test_included_in_ApplicationController
126
+ ------------------------------------------------------------
127
+  (0.1ms) rollback transaction
128
+  (0.1ms) begin transaction
129
+ --------------------------------
130
+ CollectionSorterTest: test_truth
131
+ --------------------------------
132
+  (0.0ms) rollback transaction
133
+  (0.0ms) begin transaction
134
+ -----------------------------------------
135
+ SorterTest: test_should_sort_a_collection
136
+ -----------------------------------------
137
+  (0.1ms) rollback transaction
138
+  (0.3ms) begin transaction
139
+ --------------------------------
140
+ CollectionSorterTest: test_truth
141
+ --------------------------------
142
+  (0.1ms) rollback transaction
143
+  (0.1ms) begin transaction
144
+ ------------------------------
145
+ ControllerTest: test_GET_index
146
+ ------------------------------
147
+  (0.1ms) rollback transaction
148
+  (0.0ms) begin transaction
149
+ -----------------------------------------
150
+ SorterTest: test_should_sort_a_collection
151
+ -----------------------------------------
152
+  (0.0ms) rollback transaction
153
+  (0.4ms) begin transaction
154
+ --------------------------------
155
+ CollectionSorterTest: test_truth
156
+ --------------------------------
157
+  (0.1ms) rollback transaction
158
+  (0.1ms) begin transaction
159
+ ------------------------------
160
+ ControllerTest: test_GET_index
161
+ ------------------------------
162
+  (0.1ms) rollback transaction
163
+  (0.0ms) begin transaction
164
+ -----------------------------------------
165
+ SorterTest: test_should_sort_a_collection
166
+ -----------------------------------------
167
+  (0.1ms) rollback transaction
168
+  (0.3ms) begin transaction
169
+ --------------------------------
170
+ CollectionSorterTest: test_truth
171
+ --------------------------------
172
+  (0.1ms) rollback transaction
173
+  (0.1ms) begin transaction
174
+ ------------------------------
175
+ ControllerTest: test_GET_index
176
+ ------------------------------
177
+  (0.1ms) rollback transaction
178
+  (0.1ms) begin transaction
179
+ -----------------------------------------
180
+ SorterTest: test_should_sort_a_collection
181
+ -----------------------------------------
182
+  (0.1ms) rollback transaction
183
+  (0.4ms) begin transaction
184
+ --------------------------------
185
+ CollectionSorterTest: test_truth
186
+ --------------------------------
187
+  (0.1ms) rollback transaction
188
+  (0.1ms) begin transaction
189
+ ------------------------------
190
+ ControllerTest: test_GET_index
191
+ ------------------------------
192
+ Processing by HomeController#index as HTML
193
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
194
+  (0.1ms) rollback transaction
195
+  (0.1ms) begin transaction
196
+ -----------------------------------------
197
+ SorterTest: test_should_sort_a_collection
198
+ -----------------------------------------
199
+  (0.1ms) rollback transaction
200
+  (0.4ms) begin transaction
201
+ --------------------------------
202
+ CollectionSorterTest: test_truth
203
+ --------------------------------
204
+  (0.1ms) rollback transaction
205
+  (0.1ms) begin transaction
206
+ ------------------------------
207
+ ControllerTest: test_GET_index
208
+ ------------------------------
209
+ Processing by HomeController#index as HTML
210
+ Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
211
+  (0.1ms) rollback transaction
212
+  (0.0ms) begin transaction
213
+ -------------------------------------------------
214
+ ControllerTest: test_included_in_ActionController
215
+ -------------------------------------------------
216
+  (0.1ms) rollback transaction
217
+  (0.0ms) begin transaction
218
+ -----------------------------------------
219
+ SorterTest: test_should_sort_a_collection
220
+ -----------------------------------------
221
+  (0.1ms) rollback transaction
@@ -0,0 +1,58 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/404.html -->
52
+ <div class="dialog">
53
+ <h1>The page you were looking for doesn't exist.</h1>
54
+ <p>You may have mistyped the address or the page may have moved.</p>
55
+ </div>
56
+ <p>If you are the application owner check the logs for more information.</p>
57
+ </body>
58
+ </html>
@@ -0,0 +1,58 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/422.html -->
52
+ <div class="dialog">
53
+ <h1>The change you wanted was rejected.</h1>
54
+ <p>Maybe you tried to change something you didn't have access to.</p>
55
+ </div>
56
+ <p>If you are the application owner check the logs for more information.</p>
57
+ </body>
58
+ </html>
@@ -0,0 +1,57 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <style>
6
+ body {
7
+ background-color: #EFEFEF;
8
+ color: #2E2F30;
9
+ text-align: center;
10
+ font-family: arial, sans-serif;
11
+ }
12
+
13
+ div.dialog {
14
+ width: 25em;
15
+ margin: 4em auto 0 auto;
16
+ border: 1px solid #CCC;
17
+ border-right-color: #999;
18
+ border-left-color: #999;
19
+ border-bottom-color: #BBB;
20
+ border-top: #B00100 solid 4px;
21
+ border-top-left-radius: 9px;
22
+ border-top-right-radius: 9px;
23
+ background-color: white;
24
+ padding: 7px 4em 0 4em;
25
+ }
26
+
27
+ h1 {
28
+ font-size: 100%;
29
+ color: #730E15;
30
+ line-height: 1.5em;
31
+ }
32
+
33
+ body > p {
34
+ width: 33em;
35
+ margin: 0 auto 1em;
36
+ padding: 1em 0;
37
+ background-color: #F7F7F7;
38
+ border: 1px solid #CCC;
39
+ border-right-color: #999;
40
+ border-bottom-color: #999;
41
+ border-bottom-left-radius: 4px;
42
+ border-bottom-right-radius: 4px;
43
+ border-top-color: #DADADA;
44
+ color: #666;
45
+ box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
46
+ }
47
+ </style>
48
+ </head>
49
+
50
+ <body>
51
+ <!-- This file lives in public/500.html -->
52
+ <div class="dialog">
53
+ <h1>We're sorry, but something went wrong.</h1>
54
+ </div>
55
+ <p>If you are the application owner check the logs for more information.</p>
56
+ </body>
57
+ </html>
File without changes
@@ -0,0 +1,7 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ title: MyString
5
+
6
+ two:
7
+ title: MyString
@@ -0,0 +1,18 @@
1
+ require 'test_helper'
2
+
3
+ class SorterTest < ActiveSupport::TestCase
4
+ class Sorted
5
+ include CollectionSorter::Sorter
6
+
7
+ sort_with :asc do |coll|
8
+ coll.sort do |a,b|
9
+ b[:v] > a[:v] ? -1 : b[:v] == a[:v] ? 0 : 1
10
+ end
11
+ end
12
+ end
13
+
14
+ test "should sort a collection" do
15
+ @coll = [{v: 3}, {v: 1}, {v: 2}]
16
+ assert_equal [{v: 1}, {v: 2}, {v: 3}], Sorted.new.apply_sort(@coll, :asc)
17
+ end
18
+ end
@@ -0,0 +1,15 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+
12
+ # Load fixtures from the engine
13
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
+ end
metadata ADDED
@@ -0,0 +1,173 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: collection_sorter
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Rahmat Budiharso
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-11-27 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 4.0.1
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 4.0.1
30
+ - !ruby/object:Gem::Dependency
31
+ name: sqlite3
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :development
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ description: Sort a collection
47
+ email:
48
+ - rbudiharso@gmail.com
49
+ executables: []
50
+ extensions: []
51
+ extra_rdoc_files: []
52
+ files:
53
+ - lib/collection_sorter/railtie.rb
54
+ - lib/collection_sorter/sorter.rb
55
+ - lib/collection_sorter/version.rb
56
+ - lib/collection_sorter.rb
57
+ - lib/tasks/collection_sorter_tasks.rake
58
+ - MIT-LICENSE
59
+ - Rakefile
60
+ - README.rdoc
61
+ - test/collection_sorter_test.rb
62
+ - test/controller_test.rb
63
+ - test/dummy/app/assets/javascripts/application.js
64
+ - test/dummy/app/assets/stylesheets/application.css
65
+ - test/dummy/app/controllers/application_controller.rb
66
+ - test/dummy/app/controllers/home_controller.rb
67
+ - test/dummy/app/helpers/application_helper.rb
68
+ - test/dummy/app/models/song.rb
69
+ - test/dummy/app/views/layouts/application.html.erb
70
+ - test/dummy/bin/bundle
71
+ - test/dummy/bin/rails
72
+ - test/dummy/bin/rake
73
+ - test/dummy/config/application.rb
74
+ - test/dummy/config/boot.rb
75
+ - test/dummy/config/database.yml
76
+ - test/dummy/config/environment.rb
77
+ - test/dummy/config/environments/development.rb
78
+ - test/dummy/config/environments/production.rb
79
+ - test/dummy/config/environments/test.rb
80
+ - test/dummy/config/initializers/backtrace_silencers.rb
81
+ - test/dummy/config/initializers/filter_parameter_logging.rb
82
+ - test/dummy/config/initializers/inflections.rb
83
+ - test/dummy/config/initializers/mime_types.rb
84
+ - test/dummy/config/initializers/secret_token.rb
85
+ - test/dummy/config/initializers/session_store.rb
86
+ - test/dummy/config/initializers/wrap_parameters.rb
87
+ - test/dummy/config/locales/en.yml
88
+ - test/dummy/config/routes.rb
89
+ - test/dummy/config.ru
90
+ - test/dummy/db/development.sqlite3
91
+ - test/dummy/db/migrate/20131127040711_create_songs.rb
92
+ - test/dummy/db/schema.rb
93
+ - test/dummy/db/test.sqlite3
94
+ - test/dummy/log/development.log
95
+ - test/dummy/log/test.log
96
+ - test/dummy/public/404.html
97
+ - test/dummy/public/422.html
98
+ - test/dummy/public/500.html
99
+ - test/dummy/public/favicon.ico
100
+ - test/dummy/Rakefile
101
+ - test/dummy/README.rdoc
102
+ - test/dummy/test/fixtures/songs.yml
103
+ - test/sorter_test.rb
104
+ - test/test_helper.rb
105
+ homepage: http://github.com
106
+ licenses: []
107
+ post_install_message:
108
+ rdoc_options: []
109
+ require_paths:
110
+ - lib
111
+ required_ruby_version: !ruby/object:Gem::Requirement
112
+ none: false
113
+ requirements:
114
+ - - ! '>='
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ required_rubygems_version: !ruby/object:Gem::Requirement
118
+ none: false
119
+ requirements:
120
+ - - ! '>='
121
+ - !ruby/object:Gem::Version
122
+ version: '0'
123
+ requirements: []
124
+ rubyforge_project:
125
+ rubygems_version: 1.8.23
126
+ signing_key:
127
+ specification_version: 3
128
+ summary: Sort a collection
129
+ test_files:
130
+ - test/collection_sorter_test.rb
131
+ - test/controller_test.rb
132
+ - test/dummy/app/assets/javascripts/application.js
133
+ - test/dummy/app/assets/stylesheets/application.css
134
+ - test/dummy/app/controllers/application_controller.rb
135
+ - test/dummy/app/controllers/home_controller.rb
136
+ - test/dummy/app/helpers/application_helper.rb
137
+ - test/dummy/app/models/song.rb
138
+ - test/dummy/app/views/layouts/application.html.erb
139
+ - test/dummy/bin/bundle
140
+ - test/dummy/bin/rails
141
+ - test/dummy/bin/rake
142
+ - test/dummy/config/application.rb
143
+ - test/dummy/config/boot.rb
144
+ - test/dummy/config/database.yml
145
+ - test/dummy/config/environment.rb
146
+ - test/dummy/config/environments/development.rb
147
+ - test/dummy/config/environments/production.rb
148
+ - test/dummy/config/environments/test.rb
149
+ - test/dummy/config/initializers/backtrace_silencers.rb
150
+ - test/dummy/config/initializers/filter_parameter_logging.rb
151
+ - test/dummy/config/initializers/inflections.rb
152
+ - test/dummy/config/initializers/mime_types.rb
153
+ - test/dummy/config/initializers/secret_token.rb
154
+ - test/dummy/config/initializers/session_store.rb
155
+ - test/dummy/config/initializers/wrap_parameters.rb
156
+ - test/dummy/config/locales/en.yml
157
+ - test/dummy/config/routes.rb
158
+ - test/dummy/config.ru
159
+ - test/dummy/db/development.sqlite3
160
+ - test/dummy/db/migrate/20131127040711_create_songs.rb
161
+ - test/dummy/db/schema.rb
162
+ - test/dummy/db/test.sqlite3
163
+ - test/dummy/log/development.log
164
+ - test/dummy/log/test.log
165
+ - test/dummy/public/404.html
166
+ - test/dummy/public/422.html
167
+ - test/dummy/public/500.html
168
+ - test/dummy/public/favicon.ico
169
+ - test/dummy/Rakefile
170
+ - test/dummy/README.rdoc
171
+ - test/dummy/test/fixtures/songs.yml
172
+ - test/sorter_test.rb
173
+ - test/test_helper.rb