sql_search_n_sort 1.0 → 1.01
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b9166156c85992c60e1dea813550ca5e8f37a0e7
|
|
4
|
+
data.tar.gz: fa386de71f9b68fbe44a31128db72689c2348d68
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f860371c8796dc94e943d0d0bd70735504330aaef3d560e661ff57b87b9d70e5b495fdee791f57fd2612ae6fb79ae89dcd6264e43898e7cdeb0fb3647c32e16
|
|
7
|
+
data.tar.gz: 3e273d3391cc15b29623bd9471229dd3a7b633b04b71bc5dffdcf63a6b23a12cd2fca2a3cd8dfafaffcd9f820babc7c605937103c3ab6c28620bf36acdccca20
|
data/test/dummy/log/test.log
CHANGED
|
@@ -386027,3 +386027,51 @@ Processing by PeopleController#index as HTML
|
|
|
386027
386027
|
Rendered application/_search_form.html.haml (0.3ms)
|
|
386028
386028
|
[1m[35mPerson Load (0.2ms)[0m SELECT "people".* FROM "people" WHERE (1=2 or first_name like '%%' or last_name like '%%') ORDER BY "people"."last_name" ASC
|
|
386029
386029
|
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.2ms)
|
|
386030
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
386031
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
386032
|
+
----------------------------------------------------------------
|
|
386033
|
+
InstallGeneratorTest: test_Assert_all_files_are_properly_created
|
|
386034
|
+
----------------------------------------------------------------
|
|
386035
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
386036
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
386037
|
+
----------------------------------------------------------------------------
|
|
386038
|
+
InstallGeneratorTest: test_Assert_lines_have_been_inserted_into_proper_files
|
|
386039
|
+
----------------------------------------------------------------------------
|
|
386040
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
386041
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
386042
|
+
------------------------------
|
|
386043
|
+
SqlSearchNSortTest: test_truth
|
|
386044
|
+
------------------------------
|
|
386045
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
386046
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
386047
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
386048
|
+
----------------------------------------------------------------
|
|
386049
|
+
InstallGeneratorTest: test_Assert_all_files_are_properly_created
|
|
386050
|
+
----------------------------------------------------------------
|
|
386051
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
386052
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
386053
|
+
----------------------------------------------------------------------------
|
|
386054
|
+
InstallGeneratorTest: test_Assert_lines_have_been_inserted_into_proper_files
|
|
386055
|
+
----------------------------------------------------------------------------
|
|
386056
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
386057
|
+
[1m[35m (0.0ms)[0m begin transaction
|
|
386058
|
+
------------------------------
|
|
386059
|
+
SqlSearchNSortTest: test_truth
|
|
386060
|
+
------------------------------
|
|
386061
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
386062
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
386063
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
386064
|
+
----------------------------------------------------------------
|
|
386065
|
+
InstallGeneratorTest: test_Assert_all_files_are_properly_created
|
|
386066
|
+
----------------------------------------------------------------
|
|
386067
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
386068
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
386069
|
+
----------------------------------------------------------------------------
|
|
386070
|
+
InstallGeneratorTest: test_Assert_lines_have_been_inserted_into_proper_files
|
|
386071
|
+
----------------------------------------------------------------------------
|
|
386072
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
386073
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
386074
|
+
------------------------------
|
|
386075
|
+
SqlSearchNSortTest: test_truth
|
|
386076
|
+
------------------------------
|
|
386077
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
@@ -45,7 +45,7 @@ class InstallGeneratorTest < Rails::Generators::TestCase
|
|
|
45
45
|
run_generator @args
|
|
46
46
|
|
|
47
47
|
assert_file "app/controllers/application_controller.rb" do |app_ctrlr|
|
|
48
|
-
|
|
48
|
+
assert_match(/include SqlSortSetup/, app_ctrlr)
|
|
49
49
|
assert_match(/before_filter :setup_sql_sort, :only => \[:index/, app_ctrlr)
|
|
50
50
|
end
|
|
51
51
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sql_search_n_sort
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '1.
|
|
4
|
+
version: '1.01'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John O'Malley
|
|
@@ -164,7 +164,7 @@ dependencies:
|
|
|
164
164
|
- - ">="
|
|
165
165
|
- !ruby/object:Gem::Version
|
|
166
166
|
version: '0'
|
|
167
|
-
description:
|
|
167
|
+
description: A gem that allows for simple SQL-based search and sort functionality
|
|
168
168
|
email:
|
|
169
169
|
- jom@nycap.rr.com
|
|
170
170
|
executables: []
|
|
@@ -265,7 +265,6 @@ files:
|
|
|
265
265
|
- test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
|
266
266
|
- test/dummy/tmp/cache/assets/test/sprockets/e8b18160729bab32f8368174bf32a9ce
|
|
267
267
|
- test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
|
268
|
-
- test/dummy/tmp/pids/server.pid
|
|
269
268
|
- test/generators/sql_search_n_sort/dummy_test_files/app/assets/javascripts/application.js
|
|
270
269
|
- test/generators/sql_search_n_sort/dummy_test_files/app/controllers/application_controller.rb
|
|
271
270
|
- test/generators/sql_search_n_sort/install_test.rb
|
|
@@ -380,7 +379,6 @@ test_files:
|
|
|
380
379
|
- test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
|
381
380
|
- test/dummy/tmp/cache/assets/test/sprockets/e8b18160729bab32f8368174bf32a9ce
|
|
382
381
|
- test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
|
383
|
-
- test/dummy/tmp/pids/server.pid
|
|
384
382
|
- test/generators/sql_search_n_sort/dummy_test_files/app/assets/javascripts/application.js
|
|
385
383
|
- test/generators/sql_search_n_sort/dummy_test_files/app/controllers/application_controller.rb
|
|
386
384
|
- test/generators/sql_search_n_sort/install_test.rb
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
26108
|