sql_search_n_sort 1.0 → 1.01

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9159e52669875e916cf5e6fd9fe607af5590fa23
4
- data.tar.gz: e21ca29e1e2519a8df30f29b7c62e58b449ac120
3
+ metadata.gz: b9166156c85992c60e1dea813550ca5e8f37a0e7
4
+ data.tar.gz: fa386de71f9b68fbe44a31128db72689c2348d68
5
5
  SHA512:
6
- metadata.gz: 101da012bca04eb0d8ecabec46e14de02e4080ce4f642cc63c41ec5bb0cbc12752d5b03107a7e117d00fd3ee0751283c389f4f43d3ead7d6209e376d60ca066f
7
- data.tar.gz: 95e9c55b4884de1d30392bfa847ca4ac706b5d202934ea5723e1619d2024cf8ba783b09798c8aa11efa2494b72625b83d6337aef82433b7670c65f214c91a759
6
+ metadata.gz: 7f860371c8796dc94e943d0d0bd70735504330aaef3d560e661ff57b87b9d70e5b495fdee791f57fd2612ae6fb79ae89dcd6264e43898e7cdeb0fb3647c32e16
7
+ data.tar.gz: 3e273d3391cc15b29623bd9471229dd3a7b633b04b71bc5dffdcf63a6b23a12cd2fca2a3cd8dfafaffcd9f820babc7c605937103c3ab6c28620bf36acdccca20
@@ -1,3 +1,3 @@
1
1
  module SqlSearchNSort
2
- VERSION = "1.0"
2
+ VERSION = "1.01"
3
3
  end
@@ -4,9 +4,4 @@ class ApplicationController < ActionController::Base
4
4
  # For APIs, you may want to use :null_session instead.
5
5
  protect_from_forgery with: :exception
6
6
 
7
-
8
- include SqlSortSetup
9
-
10
- before_filter :setup_sql_sort, :only => [:index, :sort_only_index]
11
-
12
7
  end
@@ -386027,3 +386027,51 @@ Processing by PeopleController#index as HTML
386027
386027
  Rendered application/_search_form.html.haml (0.3ms)
386028
386028
  Person Load (0.2ms) 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
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
386031
+  (0.1ms) begin transaction
386032
+ ----------------------------------------------------------------
386033
+ InstallGeneratorTest: test_Assert_all_files_are_properly_created
386034
+ ----------------------------------------------------------------
386035
+  (0.1ms) rollback transaction
386036
+  (0.1ms) begin transaction
386037
+ ----------------------------------------------------------------------------
386038
+ InstallGeneratorTest: test_Assert_lines_have_been_inserted_into_proper_files
386039
+ ----------------------------------------------------------------------------
386040
+  (0.1ms) rollback transaction
386041
+  (0.0ms) begin transaction
386042
+ ------------------------------
386043
+ SqlSearchNSortTest: test_truth
386044
+ ------------------------------
386045
+  (0.0ms) rollback transaction
386046
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
386047
+  (0.1ms) begin transaction
386048
+ ----------------------------------------------------------------
386049
+ InstallGeneratorTest: test_Assert_all_files_are_properly_created
386050
+ ----------------------------------------------------------------
386051
+  (0.1ms) rollback transaction
386052
+  (0.1ms) begin transaction
386053
+ ----------------------------------------------------------------------------
386054
+ InstallGeneratorTest: test_Assert_lines_have_been_inserted_into_proper_files
386055
+ ----------------------------------------------------------------------------
386056
+  (0.1ms) rollback transaction
386057
+  (0.0ms) begin transaction
386058
+ ------------------------------
386059
+ SqlSearchNSortTest: test_truth
386060
+ ------------------------------
386061
+  (0.0ms) rollback transaction
386062
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
386063
+  (0.1ms) begin transaction
386064
+ ----------------------------------------------------------------
386065
+ InstallGeneratorTest: test_Assert_all_files_are_properly_created
386066
+ ----------------------------------------------------------------
386067
+  (0.1ms) rollback transaction
386068
+  (0.1ms) begin transaction
386069
+ ----------------------------------------------------------------------------
386070
+ InstallGeneratorTest: test_Assert_lines_have_been_inserted_into_proper_files
386071
+ ----------------------------------------------------------------------------
386072
+  (0.1ms) rollback transaction
386073
+  (0.1ms) begin transaction
386074
+ ------------------------------
386075
+ SqlSearchNSortTest: test_truth
386076
+ ------------------------------
386077
+  (0.0ms) rollback transaction
@@ -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
- assert_no_match(/include SqlSortSetup/, app_ctrlr)
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.0'
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: see README.md
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