quick_search-core 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +43 -55
  3. data/Rakefile +30 -4
  4. data/app/assets/javascripts/quick_search/event_tracking.js.erb +2 -8
  5. data/app/assets/stylesheets/{quick_search.css.scss.erb → quick_search.scss.erb} +0 -0
  6. data/app/assets/stylesheets/quick_search/{appstats.css.scss → appstats.scss} +0 -0
  7. data/app/assets/stylesheets/quick_search/{opensearch.css.scss → opensearch.scss} +0 -0
  8. data/app/assets/stylesheets/quick_search/{pages.css.scss → pages.scss} +0 -0
  9. data/app/assets/stylesheets/quick_search/{quick_search.css.scss → quick_search.scss} +1 -0
  10. data/app/assets/stylesheets/quick_search/{search.css.scss → search.scss} +0 -0
  11. data/app/controllers/concerns/quick_search/searcher_concern.rb +8 -1
  12. data/app/controllers/concerns/quick_search/searcher_config.rb +5 -2
  13. data/app/controllers/quick_search/appstats_controller.rb +2 -2
  14. data/app/controllers/quick_search/search_controller.rb +7 -7
  15. data/app/models/application_record.rb +3 -0
  16. data/app/models/event.rb +1 -1
  17. data/app/models/search.rb +1 -1
  18. data/app/searchers/quick_search/best_bets_searcher.rb +25 -7
  19. data/app/views/layouts/quick_search/_google_analytics.html.erb +0 -9
  20. data/lib/generators/quick_search/install_generator.rb +101 -0
  21. data/lib/generators/quick_search/templates/best_bets.yml +86 -0
  22. data/lib/generators/quick_search/templates/post_install.txt +3 -1
  23. data/lib/generators/quick_search/templates/quick_search_config.yml +25 -3
  24. data/lib/quick_search.rb +0 -2
  25. data/lib/quick_search/engine.rb +16 -1
  26. data/lib/quick_search/version.rb +1 -1
  27. data/lib/tasks/best_bets.rake +2 -0
  28. data/test/controllers/concerns/doi_trap_test.rb +3 -3
  29. data/test/controllers/concerns/on_campus_test.rb +4 -4
  30. data/test/controllers/concerns/query_parser_test.rb +6 -6
  31. data/test/controllers/{appstats_controller_test.rb → quick_search/appstats_controller_test.rb} +1 -1
  32. data/test/controllers/{opensearch_controller_test.rb → quick_search/opensearch_controller_test.rb} +6 -1
  33. data/test/controllers/{pages_controller_test.rb → quick_search/pages_controller_test.rb} +1 -1
  34. data/test/controllers/quick_search/search_controller_test.rb +15 -0
  35. data/test/dummy/README.rdoc +28 -0
  36. data/test/dummy/Rakefile +6 -0
  37. data/test/dummy/app/assets/javascripts/application.js +13 -0
  38. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  39. data/test/dummy/app/controllers/application_controller.rb +5 -0
  40. data/test/dummy/app/helpers/application_helper.rb +2 -0
  41. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  42. data/test/dummy/bin/bundle +3 -0
  43. data/test/dummy/bin/rails +4 -0
  44. data/test/dummy/bin/rake +4 -0
  45. data/test/dummy/config.ru +4 -0
  46. data/{config → test/dummy/config}/application.rb +6 -8
  47. data/test/dummy/config/best_bets.yml +86 -0
  48. data/test/dummy/config/boot.rb +5 -0
  49. data/test/dummy/config/database.yml +25 -0
  50. data/test/dummy/config/environment.rb +5 -0
  51. data/test/dummy/config/environments/development.rb +37 -0
  52. data/test/dummy/config/environments/production.rb +78 -0
  53. data/test/dummy/config/environments/test.rb +39 -0
  54. data/test/dummy/config/initializers/assets.rb +8 -0
  55. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  56. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  57. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  58. data/test/dummy/config/initializers/inflections.rb +16 -0
  59. data/test/dummy/config/initializers/mime_types.rb +4 -0
  60. data/test/dummy/config/initializers/session_store.rb +3 -0
  61. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  62. data/test/dummy/config/locales/en.yml +23 -0
  63. data/test/dummy/config/quick_search_config.yml +58 -0
  64. data/test/dummy/config/routes.rb +6 -0
  65. data/test/dummy/config/secrets.yml +22 -0
  66. data/test/dummy/db/schema.rb +31 -0
  67. data/test/dummy/db/test.sqlite3 +0 -0
  68. data/test/dummy/log/benchmark.log +241 -0
  69. data/test/dummy/log/test.log +4762 -0
  70. data/test/dummy/public/404.html +67 -0
  71. data/test/dummy/public/422.html +67 -0
  72. data/test/dummy/public/500.html +66 -0
  73. data/test/dummy/public/favicon.ico +0 -0
  74. data/test/dummy/tmp/cache/assets/sprockets/v3.0/0_/0_w_ydOOEFQOoETxJa-IxKppQocaiDwM5V08djCPYso.cache +3 -0
  75. data/test/dummy/tmp/cache/assets/sprockets/v3.0/1n/1nStVaWIQEwAlksUpB1fInwq6v3TikPvuRaSwwCnCLQ.cache +1 -0
  76. data/test/dummy/tmp/cache/assets/sprockets/v3.0/3m/3mWfBeEpm_bJvaPQZYvnnAVtE_2helOWh_Tv-cEflrk.cache +5 -0
  77. data/test/dummy/tmp/cache/assets/sprockets/v3.0/4s/4sg52OgD5l4qx4GnojCVxg2itqwqb-KRanEdmdMus3Y.cache +0 -0
  78. data/test/dummy/tmp/cache/assets/sprockets/v3.0/5U/5UPnsccuZFLk9OqbmFMvB55mbvGptApx9Z55HWjEN90.cache +3 -0
  79. data/test/dummy/tmp/cache/assets/sprockets/v3.0/9a/9acKNgyVD8_WK401tMy6Ce98g-LS4VpwFvGQdzCV9mI.cache +0 -0
  80. data/test/dummy/tmp/cache/assets/sprockets/v3.0/B5/B5ptGSZGmgHvoK2UDCAtpMhWxJEKxKFhyL9ACeBfzQk.cache +1 -0
  81. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Ba/BaymviI8cwAJQMOIzWCf6Lt-PM2sNFTvY9hQKsfDNNw.cache +3 -0
  82. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Dd/DdFHg3C_voetfvKGKX7t8PGzZlkO45-huHNtaou5rxg.cache +1 -0
  83. data/test/dummy/tmp/cache/assets/sprockets/v3.0/F0/F0oWBwLHpGFYNNtnGav-dJFH8rMDpNA5L8_aWm5Wq34.cache +0 -0
  84. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Fp/FprCQeeZguht46WNSpA3Y3JHKehovFXrj63nDrvvwFE.cache +1 -0
  85. data/test/dummy/tmp/cache/assets/sprockets/v3.0/GJ/GJrfWiarIi0Dt6sdKVMfUF1cdZ6NbqZxXHhzNbFtpBw.cache +1 -0
  86. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Gp/GpoziOxxB-hisco0rl7Nnsnw0UWud7R9Yge2Q3o1eN4.cache +2 -0
  87. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Hr/Hr-kCuPY72nIKAdnsDTz9JqXd_z1WL6FSGMAq4HppZg.cache +1 -0
  88. data/test/dummy/tmp/cache/assets/sprockets/v3.0/It/It5VkJv-53-LICLKZWWyp2WcbD86DGotAL0MY3hhfpg.cache +6 -0
  89. data/test/dummy/tmp/cache/assets/sprockets/v3.0/MA/MAY_nSUZSFcwPf9b-AWcqad4OIb_VKmHGs5E7PYdgvI.cache +2 -0
  90. data/test/dummy/tmp/cache/assets/sprockets/v3.0/O6/O6dw148Xya7NYlsRFMEzJyvRcySM6iOL1jRUpdQo9B8.cache +1 -0
  91. data/test/dummy/tmp/cache/assets/sprockets/v3.0/O8/O8akbUwAbmIKY-AhITimq-JDQ6IgsO3Hvq2v5etufFw.cache +2 -0
  92. data/test/dummy/tmp/cache/assets/sprockets/v3.0/OD/ODHapE0li3WI1laVJoksoI5nmQd-8dDJXq_VxS4XefE.cache +1 -0
  93. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Oj/OjMkKTW7OkthjJAQHDID8GV30IZC9F0dJ1zGiFame9U.cache +4 -0
  94. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Os/OsQkEOfE0Pfy_sIdEIVWLojZnQm4mcrZpXg4suYrV70.cache +2 -0
  95. data/test/dummy/tmp/cache/assets/sprockets/v3.0/SU/SUtZ_ltPqy9A9A-_zqNPhNPvjxCOnrdqXHSZv5S9mOk.cache +1 -0
  96. data/test/dummy/tmp/cache/assets/sprockets/v3.0/Tv/TvZgmm69VEMHUJQIBoij61oXMkgzp6whVo7l8mJ9qpw.cache +3 -0
  97. data/test/dummy/tmp/cache/assets/sprockets/v3.0/UA/UAOIipK_ejTAUFI6XxASoweyUiC3t64VfVzV-MfsFD8.cache +0 -0
  98. data/test/dummy/tmp/cache/assets/sprockets/v3.0/YJ/YJZdK01T1KTS84Mb6p_2TasmJNZeGZc4FMtBPCKGr_M.cache +3 -0
  99. data/test/dummy/tmp/cache/assets/sprockets/v3.0/ah/ahhhd3ysbQmVDNzq2L_rb4t6rqqdnqeY6ujztBoZDA8.cache +1 -0
  100. data/test/dummy/tmp/cache/assets/sprockets/v3.0/dz/dzCaa80YgyvJINTgsyrVhKv9UQ1OC82GfAsA-IP96iQ.cache +0 -0
  101. data/test/dummy/tmp/cache/assets/sprockets/v3.0/fI/fInu_Gja7ik39t207tqj4CtlL0akQRbjD2T7qEtd0zE.cache +1 -0
  102. data/test/dummy/tmp/cache/assets/sprockets/v3.0/gv/gvZKkbgiExbcQrT4eo0HB-j4JoDRAxdmDjKRxeEdK0Y.cache +1 -0
  103. data/test/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj_r-O1QjHJIPcZVnlB_FGPdIRAi9NkxpT2oXDRIsGE.cache +1 -0
  104. data/test/dummy/tmp/cache/assets/sprockets/v3.0/jj/jjdQCKZsewws2eRP7b2AVxRMvseOp8djjlDkB8UOtac.cache +3 -0
  105. data/test/dummy/tmp/cache/assets/sprockets/v3.0/o2/o2V1ahk8vFR6sXWNh5BB7w6MBj04zCyX-o1xFZONydE.cache +1 -0
  106. data/test/dummy/tmp/cache/assets/sprockets/v3.0/o6/o6ZQbq1aBFuVrE2xLbSbyZH2736sWM3Yj4ky9chT1bI.cache +1 -0
  107. data/test/dummy/tmp/cache/assets/sprockets/v3.0/os/os0qWv3yDfep0e7vVSGTgfn_n3xc4C4QZgmMzLQn0Ks.cache +1 -0
  108. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pO/pO8hHVwybv1ZJBdPa2YC6bjqmk020OYFl85TYxtmrWQ.cache +0 -0
  109. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pj/pjJDYrBipDo6Tr9_-W4UDzfZZ4UPTy9YpXrBQFRXnlo.cache +3 -0
  110. data/test/dummy/tmp/cache/assets/sprockets/v3.0/pw/pwiIhcWPwTuy5Miz5zqOQGYFx-K3TbaCVQ6ls7EBkk0.cache +0 -0
  111. data/test/dummy/tmp/cache/assets/sprockets/v3.0/sR/sRU-UT8qK_38kkiFDXKBPogO1oOZuSvJFH-pgqPL_Ms.cache +0 -0
  112. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tE/tEO71oPPFXN_2c4p39nU0OiF9ARg13fjdQlnPqAx1KY.cache +4 -0
  113. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tP/tPF6H9NRpGO3whu2y5_e_R_1EACKdCwu5437D83qJT0.cache +2 -0
  114. data/test/dummy/tmp/cache/assets/sprockets/v3.0/tW/tWFRsAv4WWu2ch-x3AJZd3KOvBXG3MwH6Q6Xn-tFBtw.cache +1 -0
  115. data/test/dummy/tmp/cache/assets/sprockets/v3.0/x6/x6W754ylumshr3wBUHHmcgyWs8UR3Od7FaI6tqvjKmk.cache +1 -0
  116. data/test/dummy/tmp/cache/assets/sprockets/v3.0/yy/yyJ1P7RQciOiW8TgQiu1RMDdbWd4rqxd2BGU9HkY3L8.cache +0 -0
  117. data/test/integration/searching_test.rb +15 -27
  118. data/test/searcher/best_bets_test.rb +13 -18
  119. data/test/test_helper.rb +23 -10
  120. data/test/vcr_cassettes/searches/best_bets_acm.yml +31 -0
  121. data/test/vcr_cassettes/searches/harry_potter.yml +6901 -0
  122. data/test/vcr_cassettes/searches/hunt_library.yml +66736 -0
  123. data/test/vcr_cassettes/searches/printing.yml +191 -0
  124. data/test/vcr_cassettes/searches/speling.yml +1172 -0
  125. metadata +197 -71
  126. data/test/controllers/search_controller_test.rb +0 -15
  127. data/test/integration/catalog_search_test.rb +0 -8
  128. data/test/integration/google_analytics_test.rb +0 -23
  129. data/test/integration/smart_subjects_test.rb +0 -8
  130. data/test/integration/website_search_test.rb +0 -8
  131. data/test/searcher/catalog_test.rb +0 -35
  132. data/test/searcher/ematrix_database_test.rb +0 -27
  133. data/test/searcher/ematrix_journal_test.rb +0 -27
  134. data/test/searcher/faq_test.rb +0 -27
  135. data/test/searcher/smart_subjects_test.rb +0 -27
  136. data/test/searcher/summon_test.rb +0 -13
  137. data/test/searcher/website_test.rb +0 -34
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quick_search-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Beswick
8
+ - Nushrat Khan
8
9
  - Cory Lown
9
10
  - Jason Ronallo
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2016-04-20 00:00:00.000000000 Z
14
+ date: 2016-07-19 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: rails
@@ -18,14 +19,14 @@ dependencies:
18
19
  requirements:
19
20
  - - "~>"
20
21
  - !ruby/object:Gem::Version
21
- version: '4.1'
22
+ version: '5.0'
22
23
  type: :runtime
23
24
  prerelease: false
24
25
  version_requirements: !ruby/object:Gem::Requirement
25
26
  requirements:
26
27
  - - "~>"
27
28
  - !ruby/object:Gem::Version
28
- version: '4.1'
29
+ version: '5.0'
29
30
  - !ruby/object:Gem::Dependency
30
31
  name: kaminari
31
32
  requirement: !ruby/object:Gem::Requirement
@@ -82,34 +83,6 @@ dependencies:
82
83
  - - ">="
83
84
  - !ruby/object:Gem::Version
84
85
  version: '0'
85
- - !ruby/object:Gem::Dependency
86
- name: rsolr
87
- requirement: !ruby/object:Gem::Requirement
88
- requirements:
89
- - - ">="
90
- - !ruby/object:Gem::Version
91
- version: '0'
92
- type: :runtime
93
- prerelease: false
94
- version_requirements: !ruby/object:Gem::Requirement
95
- requirements:
96
- - - ">="
97
- - !ruby/object:Gem::Version
98
- version: '0'
99
- - !ruby/object:Gem::Dependency
100
- name: exception_notification
101
- requirement: !ruby/object:Gem::Requirement
102
- requirements:
103
- - - ">="
104
- - !ruby/object:Gem::Version
105
- version: '0'
106
- type: :runtime
107
- prerelease: false
108
- version_requirements: !ruby/object:Gem::Requirement
109
- requirements:
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- version: '0'
113
86
  - !ruby/object:Gem::Dependency
114
87
  name: modernizr-rails
115
88
  requirement: !ruby/object:Gem::Requirement
@@ -178,12 +151,12 @@ files:
178
151
  - app/assets/javascripts/quick_search/search.js
179
152
  - app/assets/javascripts/quick_search/xhr_search.js
180
153
  - app/assets/stylesheets/foundation_and_overrides.scss
181
- - app/assets/stylesheets/quick_search.css.scss.erb
182
- - app/assets/stylesheets/quick_search/appstats.css.scss
183
- - app/assets/stylesheets/quick_search/opensearch.css.scss
184
- - app/assets/stylesheets/quick_search/pages.css.scss
185
- - app/assets/stylesheets/quick_search/quick_search.css.scss
186
- - app/assets/stylesheets/quick_search/search.css.scss
154
+ - app/assets/stylesheets/quick_search.scss.erb
155
+ - app/assets/stylesheets/quick_search/appstats.scss
156
+ - app/assets/stylesheets/quick_search/opensearch.scss
157
+ - app/assets/stylesheets/quick_search/pages.scss
158
+ - app/assets/stylesheets/quick_search/quick_search.scss
159
+ - app/assets/stylesheets/quick_search/search.scss
187
160
  - app/controllers/concerns/quick_search/auth.rb
188
161
  - app/controllers/concerns/quick_search/doi_trap.rb
189
162
  - app/controllers/concerns/quick_search/encode_utf8.rb
@@ -202,6 +175,7 @@ files:
202
175
  - app/helpers/quick_search/opensearch_helper.rb
203
176
  - app/helpers/quick_search/pages_helper.rb
204
177
  - app/helpers/quick_search/search_helper.rb
178
+ - app/models/application_record.rb
205
179
  - app/models/event.rb
206
180
  - app/models/search.rb
207
181
  - app/searchers/quick_search/best_bets_searcher.rb
@@ -255,7 +229,6 @@ files:
255
229
  - app/views/quick_search/search/_xhr_response.json.erb
256
230
  - app/views/quick_search/search/_xhr_response_with_paging.html.erb
257
231
  - app/views/quick_search/search/index.html.erb
258
- - config/application.rb
259
232
  - config/best_bets.yml
260
233
  - config/boot.rb
261
234
  - config/database.yml.example
@@ -270,6 +243,7 @@ files:
270
243
  - lib/benchmark_logger.rb
271
244
  - lib/capistrano/tasks/access_check.cap
272
245
  - lib/generators/quick_search/install_generator.rb
246
+ - lib/generators/quick_search/templates/best_bets.yml
273
247
  - lib/generators/quick_search/templates/kaminari.rb
274
248
  - lib/generators/quick_search/templates/post_install.txt
275
249
  - lib/generators/quick_search/templates/quick_search_config.yml
@@ -278,37 +252,113 @@ files:
278
252
  - lib/quick_search/engine.rb
279
253
  - lib/quick_search/version.rb
280
254
  - lib/tasks/best_bets.rake
281
- - test/controllers/appstats_controller_test.rb
282
255
  - test/controllers/concerns/doi_trap_test.rb
283
256
  - test/controllers/concerns/on_campus_test.rb
284
257
  - test/controllers/concerns/query_parser_test.rb
285
- - test/controllers/opensearch_controller_test.rb
286
- - test/controllers/pages_controller_test.rb
287
- - test/controllers/search_controller_test.rb
258
+ - test/controllers/quick_search/appstats_controller_test.rb
259
+ - test/controllers/quick_search/opensearch_controller_test.rb
260
+ - test/controllers/quick_search/pages_controller_test.rb
261
+ - test/controllers/quick_search/search_controller_test.rb
262
+ - test/dummy/README.rdoc
263
+ - test/dummy/Rakefile
264
+ - test/dummy/app/assets/javascripts/application.js
265
+ - test/dummy/app/assets/stylesheets/application.css
266
+ - test/dummy/app/controllers/application_controller.rb
267
+ - test/dummy/app/helpers/application_helper.rb
268
+ - test/dummy/app/views/layouts/application.html.erb
269
+ - test/dummy/bin/bundle
270
+ - test/dummy/bin/rails
271
+ - test/dummy/bin/rake
272
+ - test/dummy/config.ru
273
+ - test/dummy/config/application.rb
274
+ - test/dummy/config/best_bets.yml
275
+ - test/dummy/config/boot.rb
276
+ - test/dummy/config/database.yml
277
+ - test/dummy/config/environment.rb
278
+ - test/dummy/config/environments/development.rb
279
+ - test/dummy/config/environments/production.rb
280
+ - test/dummy/config/environments/test.rb
281
+ - test/dummy/config/initializers/assets.rb
282
+ - test/dummy/config/initializers/backtrace_silencers.rb
283
+ - test/dummy/config/initializers/cookies_serializer.rb
284
+ - test/dummy/config/initializers/filter_parameter_logging.rb
285
+ - test/dummy/config/initializers/inflections.rb
286
+ - test/dummy/config/initializers/mime_types.rb
287
+ - test/dummy/config/initializers/session_store.rb
288
+ - test/dummy/config/initializers/wrap_parameters.rb
289
+ - test/dummy/config/locales/en.yml
290
+ - test/dummy/config/quick_search_config.yml
291
+ - test/dummy/config/routes.rb
292
+ - test/dummy/config/secrets.yml
293
+ - test/dummy/db/schema.rb
294
+ - test/dummy/db/test.sqlite3
295
+ - test/dummy/log/benchmark.log
296
+ - test/dummy/log/test.log
297
+ - test/dummy/public/404.html
298
+ - test/dummy/public/422.html
299
+ - test/dummy/public/500.html
300
+ - test/dummy/public/favicon.ico
301
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/0_/0_w_ydOOEFQOoETxJa-IxKppQocaiDwM5V08djCPYso.cache
302
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/1n/1nStVaWIQEwAlksUpB1fInwq6v3TikPvuRaSwwCnCLQ.cache
303
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/3m/3mWfBeEpm_bJvaPQZYvnnAVtE_2helOWh_Tv-cEflrk.cache
304
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/4s/4sg52OgD5l4qx4GnojCVxg2itqwqb-KRanEdmdMus3Y.cache
305
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/5U/5UPnsccuZFLk9OqbmFMvB55mbvGptApx9Z55HWjEN90.cache
306
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/9a/9acKNgyVD8_WK401tMy6Ce98g-LS4VpwFvGQdzCV9mI.cache
307
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/B5/B5ptGSZGmgHvoK2UDCAtpMhWxJEKxKFhyL9ACeBfzQk.cache
308
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Ba/BaymviI8cwAJQMOIzWCf6Lt-PM2sNFTvY9hQKsfDNNw.cache
309
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Dd/DdFHg3C_voetfvKGKX7t8PGzZlkO45-huHNtaou5rxg.cache
310
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/F0/F0oWBwLHpGFYNNtnGav-dJFH8rMDpNA5L8_aWm5Wq34.cache
311
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Fp/FprCQeeZguht46WNSpA3Y3JHKehovFXrj63nDrvvwFE.cache
312
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/GJ/GJrfWiarIi0Dt6sdKVMfUF1cdZ6NbqZxXHhzNbFtpBw.cache
313
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Gp/GpoziOxxB-hisco0rl7Nnsnw0UWud7R9Yge2Q3o1eN4.cache
314
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Hr/Hr-kCuPY72nIKAdnsDTz9JqXd_z1WL6FSGMAq4HppZg.cache
315
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/It/It5VkJv-53-LICLKZWWyp2WcbD86DGotAL0MY3hhfpg.cache
316
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/MA/MAY_nSUZSFcwPf9b-AWcqad4OIb_VKmHGs5E7PYdgvI.cache
317
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/O6/O6dw148Xya7NYlsRFMEzJyvRcySM6iOL1jRUpdQo9B8.cache
318
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/O8/O8akbUwAbmIKY-AhITimq-JDQ6IgsO3Hvq2v5etufFw.cache
319
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/OD/ODHapE0li3WI1laVJoksoI5nmQd-8dDJXq_VxS4XefE.cache
320
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Oj/OjMkKTW7OkthjJAQHDID8GV30IZC9F0dJ1zGiFame9U.cache
321
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Os/OsQkEOfE0Pfy_sIdEIVWLojZnQm4mcrZpXg4suYrV70.cache
322
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/SU/SUtZ_ltPqy9A9A-_zqNPhNPvjxCOnrdqXHSZv5S9mOk.cache
323
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Tv/TvZgmm69VEMHUJQIBoij61oXMkgzp6whVo7l8mJ9qpw.cache
324
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/UA/UAOIipK_ejTAUFI6XxASoweyUiC3t64VfVzV-MfsFD8.cache
325
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/YJ/YJZdK01T1KTS84Mb6p_2TasmJNZeGZc4FMtBPCKGr_M.cache
326
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ah/ahhhd3ysbQmVDNzq2L_rb4t6rqqdnqeY6ujztBoZDA8.cache
327
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/dz/dzCaa80YgyvJINTgsyrVhKv9UQ1OC82GfAsA-IP96iQ.cache
328
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/fI/fInu_Gja7ik39t207tqj4CtlL0akQRbjD2T7qEtd0zE.cache
329
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/gv/gvZKkbgiExbcQrT4eo0HB-j4JoDRAxdmDjKRxeEdK0Y.cache
330
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj_r-O1QjHJIPcZVnlB_FGPdIRAi9NkxpT2oXDRIsGE.cache
331
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/jj/jjdQCKZsewws2eRP7b2AVxRMvseOp8djjlDkB8UOtac.cache
332
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/o2/o2V1ahk8vFR6sXWNh5BB7w6MBj04zCyX-o1xFZONydE.cache
333
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/o6/o6ZQbq1aBFuVrE2xLbSbyZH2736sWM3Yj4ky9chT1bI.cache
334
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/os/os0qWv3yDfep0e7vVSGTgfn_n3xc4C4QZgmMzLQn0Ks.cache
335
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/pO/pO8hHVwybv1ZJBdPa2YC6bjqmk020OYFl85TYxtmrWQ.cache
336
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/pj/pjJDYrBipDo6Tr9_-W4UDzfZZ4UPTy9YpXrBQFRXnlo.cache
337
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/pw/pwiIhcWPwTuy5Miz5zqOQGYFx-K3TbaCVQ6ls7EBkk0.cache
338
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/sR/sRU-UT8qK_38kkiFDXKBPogO1oOZuSvJFH-pgqPL_Ms.cache
339
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/tE/tEO71oPPFXN_2c4p39nU0OiF9ARg13fjdQlnPqAx1KY.cache
340
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/tP/tPF6H9NRpGO3whu2y5_e_R_1EACKdCwu5437D83qJT0.cache
341
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/tW/tWFRsAv4WWu2ch-x3AJZd3KOvBXG3MwH6Q6Xn-tFBtw.cache
342
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/x6/x6W754ylumshr3wBUHHmcgyWs8UR3Od7FaI6tqvjKmk.cache
343
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/yy/yyJ1P7RQciOiW8TgQiu1RMDdbWd4rqxd2BGU9HkY3L8.cache
288
344
  - test/fixtures/events.yml
289
345
  - test/fixtures/searches.yml
290
346
  - test/helpers/appstats_helper_test.rb
291
347
  - test/helpers/opensearch_helper_test.rb
292
348
  - test/helpers/pages_helper_test.rb
293
349
  - test/helpers/search_helper_test.rb
294
- - test/integration/catalog_search_test.rb
295
- - test/integration/google_analytics_test.rb
296
350
  - test/integration/landing_page_test.rb
297
351
  - test/integration/searching_test.rb
298
- - test/integration/smart_subjects_test.rb
299
- - test/integration/website_search_test.rb
300
352
  - test/models/event_test.rb
301
353
  - test/models/search_test.rb
302
354
  - test/searcher/best_bets_test.rb
303
- - test/searcher/catalog_test.rb
304
- - test/searcher/ematrix_database_test.rb
305
- - test/searcher/ematrix_journal_test.rb
306
- - test/searcher/faq_test.rb
307
- - test/searcher/smart_subjects_test.rb
308
- - test/searcher/summon_test.rb
309
- - test/searcher/website_test.rb
310
355
  - test/support/vcr_test.rb
311
356
  - test/test_helper.rb
357
+ - test/vcr_cassettes/searches/best_bets_acm.yml
358
+ - test/vcr_cassettes/searches/harry_potter.yml
359
+ - test/vcr_cassettes/searches/hunt_library.yml
360
+ - test/vcr_cassettes/searches/printing.yml
361
+ - test/vcr_cassettes/searches/speling.yml
312
362
  homepage: http://www.github.com/ncsu-libraries/quick_search
313
363
  licenses:
314
364
  - MIT
@@ -321,7 +371,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
321
371
  requirements:
322
372
  - - ">="
323
373
  - !ruby/object:Gem::Version
324
- version: '2.1'
374
+ version: 2.2.2
325
375
  required_rubygems_version: !ruby/object:Gem::Requirement
326
376
  requirements:
327
377
  - - ">="
@@ -329,39 +379,115 @@ required_rubygems_version: !ruby/object:Gem::Requirement
329
379
  version: '0'
330
380
  requirements: []
331
381
  rubyforge_project:
332
- rubygems_version: 2.4.8
382
+ rubygems_version: 2.5.1
333
383
  signing_key:
334
384
  specification_version: 4
335
385
  summary: QuickSearch is a toolkit for easily creating custom bento-box search applications
336
386
  test_files:
337
- - test/controllers/appstats_controller_test.rb
338
387
  - test/controllers/concerns/doi_trap_test.rb
339
388
  - test/controllers/concerns/on_campus_test.rb
340
389
  - test/controllers/concerns/query_parser_test.rb
341
- - test/controllers/opensearch_controller_test.rb
342
- - test/controllers/pages_controller_test.rb
343
- - test/controllers/search_controller_test.rb
390
+ - test/controllers/quick_search/appstats_controller_test.rb
391
+ - test/controllers/quick_search/pages_controller_test.rb
392
+ - test/controllers/quick_search/opensearch_controller_test.rb
393
+ - test/controllers/quick_search/search_controller_test.rb
394
+ - test/dummy/README.rdoc
395
+ - test/dummy/Rakefile
396
+ - test/dummy/app/assets/javascripts/application.js
397
+ - test/dummy/app/assets/stylesheets/application.css
398
+ - test/dummy/app/controllers/application_controller.rb
399
+ - test/dummy/app/helpers/application_helper.rb
400
+ - test/dummy/app/views/layouts/application.html.erb
401
+ - test/dummy/bin/bundle
402
+ - test/dummy/bin/rails
403
+ - test/dummy/bin/rake
404
+ - test/dummy/config.ru
405
+ - test/dummy/config/application.rb
406
+ - test/dummy/config/best_bets.yml
407
+ - test/dummy/config/boot.rb
408
+ - test/dummy/config/database.yml
409
+ - test/dummy/config/environment.rb
410
+ - test/dummy/config/environments/development.rb
411
+ - test/dummy/config/environments/production.rb
412
+ - test/dummy/config/environments/test.rb
413
+ - test/dummy/config/initializers/assets.rb
414
+ - test/dummy/config/initializers/backtrace_silencers.rb
415
+ - test/dummy/config/initializers/cookies_serializer.rb
416
+ - test/dummy/config/initializers/filter_parameter_logging.rb
417
+ - test/dummy/config/initializers/inflections.rb
418
+ - test/dummy/config/initializers/mime_types.rb
419
+ - test/dummy/config/initializers/session_store.rb
420
+ - test/dummy/config/initializers/wrap_parameters.rb
421
+ - test/dummy/config/locales/en.yml
422
+ - test/dummy/config/quick_search_config.yml
423
+ - test/dummy/config/routes.rb
424
+ - test/dummy/config/secrets.yml
425
+ - test/dummy/db/schema.rb
426
+ - test/dummy/db/test.sqlite3
427
+ - test/dummy/log/benchmark.log
428
+ - test/dummy/log/test.log
429
+ - test/dummy/public/404.html
430
+ - test/dummy/public/422.html
431
+ - test/dummy/public/500.html
432
+ - test/dummy/public/favicon.ico
433
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/fI/fInu_Gja7ik39t207tqj4CtlL0akQRbjD2T7qEtd0zE.cache
434
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/1n/1nStVaWIQEwAlksUpB1fInwq6v3TikPvuRaSwwCnCLQ.cache
435
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/pO/pO8hHVwybv1ZJBdPa2YC6bjqmk020OYFl85TYxtmrWQ.cache
436
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/x6/x6W754ylumshr3wBUHHmcgyWs8UR3Od7FaI6tqvjKmk.cache
437
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/tP/tPF6H9NRpGO3whu2y5_e_R_1EACKdCwu5437D83qJT0.cache
438
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/pw/pwiIhcWPwTuy5Miz5zqOQGYFx-K3TbaCVQ6ls7EBkk0.cache
439
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Dd/DdFHg3C_voetfvKGKX7t8PGzZlkO45-huHNtaou5rxg.cache
440
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/O8/O8akbUwAbmIKY-AhITimq-JDQ6IgsO3Hvq2v5etufFw.cache
441
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/os/os0qWv3yDfep0e7vVSGTgfn_n3xc4C4QZgmMzLQn0Ks.cache
442
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/9a/9acKNgyVD8_WK401tMy6Ce98g-LS4VpwFvGQdzCV9mI.cache
443
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Fp/FprCQeeZguht46WNSpA3Y3JHKehovFXrj63nDrvvwFE.cache
444
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Ba/BaymviI8cwAJQMOIzWCf6Lt-PM2sNFTvY9hQKsfDNNw.cache
445
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/4s/4sg52OgD5l4qx4GnojCVxg2itqwqb-KRanEdmdMus3Y.cache
446
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/o2/o2V1ahk8vFR6sXWNh5BB7w6MBj04zCyX-o1xFZONydE.cache
447
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Gp/GpoziOxxB-hisco0rl7Nnsnw0UWud7R9Yge2Q3o1eN4.cache
448
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/pj/pjJDYrBipDo6Tr9_-W4UDzfZZ4UPTy9YpXrBQFRXnlo.cache
449
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/It/It5VkJv-53-LICLKZWWyp2WcbD86DGotAL0MY3hhfpg.cache
450
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/O6/O6dw148Xya7NYlsRFMEzJyvRcySM6iOL1jRUpdQo9B8.cache
451
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/5U/5UPnsccuZFLk9OqbmFMvB55mbvGptApx9Z55HWjEN90.cache
452
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/sR/sRU-UT8qK_38kkiFDXKBPogO1oOZuSvJFH-pgqPL_Ms.cache
453
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/yy/yyJ1P7RQciOiW8TgQiu1RMDdbWd4rqxd2BGU9HkY3L8.cache
454
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/tW/tWFRsAv4WWu2ch-x3AJZd3KOvBXG3MwH6Q6Xn-tFBtw.cache
455
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/jj/jjdQCKZsewws2eRP7b2AVxRMvseOp8djjlDkB8UOtac.cache
456
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Hr/Hr-kCuPY72nIKAdnsDTz9JqXd_z1WL6FSGMAq4HppZg.cache
457
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Oj/OjMkKTW7OkthjJAQHDID8GV30IZC9F0dJ1zGiFame9U.cache
458
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/SU/SUtZ_ltPqy9A9A-_zqNPhNPvjxCOnrdqXHSZv5S9mOk.cache
459
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Tv/TvZgmm69VEMHUJQIBoij61oXMkgzp6whVo7l8mJ9qpw.cache
460
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/o6/o6ZQbq1aBFuVrE2xLbSbyZH2736sWM3Yj4ky9chT1bI.cache
461
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/tE/tEO71oPPFXN_2c4p39nU0OiF9ARg13fjdQlnPqAx1KY.cache
462
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/GJ/GJrfWiarIi0Dt6sdKVMfUF1cdZ6NbqZxXHhzNbFtpBw.cache
463
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/YJ/YJZdK01T1KTS84Mb6p_2TasmJNZeGZc4FMtBPCKGr_M.cache
464
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/B5/B5ptGSZGmgHvoK2UDCAtpMhWxJEKxKFhyL9ACeBfzQk.cache
465
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/3m/3mWfBeEpm_bJvaPQZYvnnAVtE_2helOWh_Tv-cEflrk.cache
466
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/hj/hj_r-O1QjHJIPcZVnlB_FGPdIRAi9NkxpT2oXDRIsGE.cache
467
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/0_/0_w_ydOOEFQOoETxJa-IxKppQocaiDwM5V08djCPYso.cache
468
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/OD/ODHapE0li3WI1laVJoksoI5nmQd-8dDJXq_VxS4XefE.cache
469
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/F0/F0oWBwLHpGFYNNtnGav-dJFH8rMDpNA5L8_aWm5Wq34.cache
470
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/UA/UAOIipK_ejTAUFI6XxASoweyUiC3t64VfVzV-MfsFD8.cache
471
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/gv/gvZKkbgiExbcQrT4eo0HB-j4JoDRAxdmDjKRxeEdK0Y.cache
472
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/MA/MAY_nSUZSFcwPf9b-AWcqad4OIb_VKmHGs5E7PYdgvI.cache
473
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/dz/dzCaa80YgyvJINTgsyrVhKv9UQ1OC82GfAsA-IP96iQ.cache
474
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/ah/ahhhd3ysbQmVDNzq2L_rb4t6rqqdnqeY6ujztBoZDA8.cache
475
+ - test/dummy/tmp/cache/assets/sprockets/v3.0/Os/OsQkEOfE0Pfy_sIdEIVWLojZnQm4mcrZpXg4suYrV70.cache
344
476
  - test/fixtures/events.yml
345
477
  - test/fixtures/searches.yml
346
478
  - test/helpers/appstats_helper_test.rb
347
479
  - test/helpers/opensearch_helper_test.rb
348
480
  - test/helpers/pages_helper_test.rb
349
481
  - test/helpers/search_helper_test.rb
350
- - test/integration/catalog_search_test.rb
351
- - test/integration/google_analytics_test.rb
352
482
  - test/integration/landing_page_test.rb
353
483
  - test/integration/searching_test.rb
354
- - test/integration/smart_subjects_test.rb
355
- - test/integration/website_search_test.rb
356
484
  - test/models/event_test.rb
357
485
  - test/models/search_test.rb
358
486
  - test/searcher/best_bets_test.rb
359
- - test/searcher/catalog_test.rb
360
- - test/searcher/ematrix_database_test.rb
361
- - test/searcher/ematrix_journal_test.rb
362
- - test/searcher/faq_test.rb
363
- - test/searcher/smart_subjects_test.rb
364
- - test/searcher/summon_test.rb
365
- - test/searcher/website_test.rb
366
487
  - test/support/vcr_test.rb
367
488
  - test/test_helper.rb
489
+ - test/vcr_cassettes/searches/best_bets_acm.yml
490
+ - test/vcr_cassettes/searches/harry_potter.yml
491
+ - test/vcr_cassettes/searches/hunt_library.yml
492
+ - test/vcr_cassettes/searches/printing.yml
493
+ - test/vcr_cassettes/searches/speling.yml
@@ -1,15 +0,0 @@
1
- require 'test_helper'
2
-
3
- class SearchControllerTest < ActionController::TestCase
4
-
5
- vcr_test "should return a summon searcher" do
6
- get :index, q: 'printing'
7
- assert assigns(:summon)
8
- end
9
-
10
- test "should redirect to link resolver" do
11
- get :index, q: 'doi:10.1002/0470841559.ch1'
12
- assert_redirected_to 'http://js8lb8ft5y.search.serialssolutions.com/criteriarefiner/?SS_doi=10.1002/0470841559.ch1'
13
- end
14
-
15
- end
@@ -1,8 +0,0 @@
1
- require 'test_helper'
2
-
3
- class CatalogSearchTest < ActionDispatch::IntegrationTest
4
- vcr_test "should show catalog results", 'searches', cassette: 'printing' do
5
- visit root_path(q: 'printing')
6
- assert page.has_content?('book results')
7
- end
8
- end
@@ -1,23 +0,0 @@
1
- require 'test_helper'
2
-
3
- class GoogleAnalyticsTest < ActionDispatch::IntegrationTest
4
-
5
- # FIXME maybe should use puffing-billy gem for this?
6
- setup do
7
- WebMock.disable!
8
- Capybara.current_driver = Capybara.javascript_driver
9
- visit root_path(q: 'printing')
10
- end
11
-
12
- test "should capture google analytics data for all links in module" do
13
- within("#catalog") do
14
- click_link('Books & Media')
15
- end
16
- assert page.has_content?('heading')
17
-
18
- click_link('book results')
19
- assert page.has_content?('see-all-results')
20
-
21
- end
22
-
23
- end
@@ -1,8 +0,0 @@
1
- require 'test_helper'
2
-
3
- class SmartSubjectsSearchTest < ActionDispatch::IntegrationTest
4
- vcr_test "should show smart subjects results", 'searches', cassette: 'printing' do
5
- visit root_path(q: 'printing')
6
- assert page.has_content?('Textile Chemistry')
7
- end
8
- end
@@ -1,8 +0,0 @@
1
- require 'test_helper'
2
-
3
- class WebsiteSearchTest < ActionDispatch::IntegrationTest
4
- vcr_test "should show website results", 'searches', cassette: 'printing' do
5
- visit root_path(q: 'printing')
6
- assert page.has_content?('Our Website')
7
- end
8
- end