collection_sorter 0.0.3 → 0.0.4

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.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 089b35c551853d0c77d2eb11660bdebc9b8e1586
4
+ data.tar.gz: 09e9558b14b9ec0ab0535e6cdbd0bc4af4560871
5
+ SHA512:
6
+ metadata.gz: 3bcb6c3f9e3f11d54a1398c3e4d3580ba8b804406b9af6c25208425201aba58dd57a6f9c8bec2397f23c72bca42eeb618ca115bda628ad76bf46b30c82150dca
7
+ data.tar.gz: 614fdaf339ca676c8c6e0ad56e02432b6672ec8a59b19f134d63462ee880ff4f27750a68f281f5527888ad9d1f625413e9a258013321695bf443977b61c7f8a3
@@ -1,3 +1,3 @@
1
1
  module CollectionSorter
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,46 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: collection_sorter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 0.0.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Rahmat Budiharso
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-11-27 00:00:00.000000000 Z
11
+ date: 2014-04-10 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
- version: 4.0.1
19
+ version: 4.0.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: 4.0.1
26
+ version: 4.0.0
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: sqlite3
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  description: Rails plugin to sort collection based on params
@@ -50,16 +45,18 @@ executables: []
50
45
  extensions: []
51
46
  extra_rdoc_files: []
52
47
  files:
48
+ - MIT-LICENSE
49
+ - README.rdoc
50
+ - Rakefile
51
+ - lib/collection_sorter.rb
53
52
  - lib/collection_sorter/railtie.rb
54
53
  - lib/collection_sorter/sorter.rb
55
54
  - lib/collection_sorter/version.rb
56
- - lib/collection_sorter.rb
57
55
  - lib/tasks/collection_sorter_tasks.rake
58
- - MIT-LICENSE
59
- - Rakefile
60
- - README.rdoc
61
56
  - test/collection_sorter_test.rb
62
57
  - test/controller_test.rb
58
+ - test/dummy/README.rdoc
59
+ - test/dummy/Rakefile
63
60
  - test/dummy/app/assets/javascripts/application.js
64
61
  - test/dummy/app/assets/stylesheets/application.css
65
62
  - test/dummy/app/controllers/application_controller.rb
@@ -70,6 +67,7 @@ files:
70
67
  - test/dummy/bin/bundle
71
68
  - test/dummy/bin/rails
72
69
  - test/dummy/bin/rake
70
+ - test/dummy/config.ru
73
71
  - test/dummy/config/application.rb
74
72
  - test/dummy/config/boot.rb
75
73
  - test/dummy/config/database.yml
@@ -86,49 +84,43 @@ files:
86
84
  - test/dummy/config/initializers/wrap_parameters.rb
87
85
  - test/dummy/config/locales/en.yml
88
86
  - test/dummy/config/routes.rb
89
- - test/dummy/config.ru
90
- - test/dummy/db/development.sqlite3
91
87
  - test/dummy/db/migrate/20131127040711_create_songs.rb
92
88
  - test/dummy/db/schema.rb
93
- - test/dummy/db/test.sqlite3
94
- - test/dummy/log/development.log
95
- - test/dummy/log/test.log
96
89
  - test/dummy/public/404.html
97
90
  - test/dummy/public/422.html
98
91
  - test/dummy/public/500.html
99
92
  - test/dummy/public/favicon.ico
100
- - test/dummy/Rakefile
101
- - test/dummy/README.rdoc
102
93
  - test/dummy/test/fixtures/songs.yml
103
94
  - test/sorter_test.rb
104
95
  - test/test_helper.rb
105
96
  homepage: https://github.com/rbudiharso/collection_sorter
106
97
  licenses: []
98
+ metadata: {}
107
99
  post_install_message:
108
100
  rdoc_options: []
109
101
  require_paths:
110
102
  - lib
111
103
  required_ruby_version: !ruby/object:Gem::Requirement
112
- none: false
113
104
  requirements:
114
- - - ! '>='
105
+ - - ">="
115
106
  - !ruby/object:Gem::Version
116
107
  version: '0'
117
108
  required_rubygems_version: !ruby/object:Gem::Requirement
118
- none: false
119
109
  requirements:
120
- - - ! '>='
110
+ - - ">="
121
111
  - !ruby/object:Gem::Version
122
112
  version: '0'
123
113
  requirements: []
124
114
  rubyforge_project:
125
- rubygems_version: 1.8.23
115
+ rubygems_version: 2.2.2
126
116
  signing_key:
127
- specification_version: 3
117
+ specification_version: 4
128
118
  summary: Rails plugin to sort collection based on params
129
119
  test_files:
130
120
  - test/collection_sorter_test.rb
131
121
  - test/controller_test.rb
122
+ - test/dummy/README.rdoc
123
+ - test/dummy/Rakefile
132
124
  - test/dummy/app/assets/javascripts/application.js
133
125
  - test/dummy/app/assets/stylesheets/application.css
134
126
  - test/dummy/app/controllers/application_controller.rb
@@ -156,18 +148,12 @@ test_files:
156
148
  - test/dummy/config/locales/en.yml
157
149
  - test/dummy/config/routes.rb
158
150
  - test/dummy/config.ru
159
- - test/dummy/db/development.sqlite3
160
151
  - test/dummy/db/migrate/20131127040711_create_songs.rb
161
152
  - test/dummy/db/schema.rb
162
- - test/dummy/db/test.sqlite3
163
- - test/dummy/log/development.log
164
- - test/dummy/log/test.log
165
153
  - test/dummy/public/404.html
166
154
  - test/dummy/public/422.html
167
155
  - test/dummy/public/500.html
168
156
  - test/dummy/public/favicon.ico
169
- - test/dummy/Rakefile
170
- - test/dummy/README.rdoc
171
157
  - test/dummy/test/fixtures/songs.yml
172
158
  - test/sorter_test.rb
173
159
  - test/test_helper.rb
Binary file
Binary file
@@ -1,14 +0,0 @@
1
-  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
-  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
- Migrating to CreateSongs (20131127040711)
5
-  (0.1ms) begin transaction
6
-  (0.4ms) CREATE TABLE "songs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
7
- SQL (2.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131127040711"]]
8
-  (1.2ms) commit transaction
9
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
-  (1.6ms) CREATE TABLE "songs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime) 
11
-  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
12
-  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13
-  (0.2ms) SELECT version FROM "schema_migrations"
14
-  (1.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20131127040711')
@@ -1,265 +0,0 @@
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
222
-  (0.6ms) begin transaction
223
- --------------------------------
224
- CollectionSorterTest: test_truth
225
- --------------------------------
226
-  (0.2ms) rollback transaction
227
-  (0.1ms) begin transaction
228
- ------------------------------
229
- ControllerTest: test_GET_index
230
- ------------------------------
231
- Processing by HomeController#index as HTML
232
- Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
233
-  (0.1ms) rollback transaction
234
-  (0.1ms) begin transaction
235
- -------------------------------------------------
236
- ControllerTest: test_included_in_ActionController
237
- -------------------------------------------------
238
-  (0.1ms) rollback transaction
239
-  (0.1ms) begin transaction
240
- -----------------------------------------
241
- SorterTest: test_should_sort_a_collection
242
- -----------------------------------------
243
-  (0.1ms) rollback transaction
244
-  (0.3ms) begin transaction
245
- --------------------------------
246
- CollectionSorterTest: test_truth
247
- --------------------------------
248
-  (0.1ms) rollback transaction
249
-  (0.1ms) begin transaction
250
- ------------------------------
251
- ControllerTest: test_GET_index
252
- ------------------------------
253
- Processing by HomeController#index as HTML
254
- Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
255
-  (0.1ms) rollback transaction
256
-  (0.1ms) begin transaction
257
- -------------------------------------------------
258
- ControllerTest: test_included_in_ActionController
259
- -------------------------------------------------
260
-  (0.1ms) rollback transaction
261
-  (0.0ms) begin transaction
262
- -----------------------------------------
263
- SorterTest: test_should_sort_a_collection
264
- -----------------------------------------
265
-  (0.0ms) rollback transaction