Permalink
Browse files

merge feature branch clean up lib directory

  • Loading branch information...
jrochkind committed Mar 20, 2013
2 parents 3c38b2d + d05d80a commit 62356215bf80ae824f5ceebb5e39767462d813ae
Showing with 8 additions and 552 deletions.
  1. 0 {lib → app/controllers}/umlaut_configurable.rb
  2. 0 {lib → app/mixin_logic}/marc_helper.rb
  3. 0 {lib → app/mixin_logic}/metadata_helper.rb
  4. 0 {lib → app/mixin_logic}/umlaut_http.rb
  5. 0 {lib → app/mixin_logic}/xml_schema_helper.rb
  6. +1 −1 app/models/collection.rb
  7. 0 {lib → app/models}/hip3/bib.rb
  8. 0 {lib → app/models}/hip3/bib_searcher.rb
  9. 0 {lib → app/models}/hip3/custom_field_lookup.rb
  10. 0 {lib → app/models}/hip3/holding.rb
  11. 0 {lib → app/models}/hip3/item.rb
  12. 0 {lib → app/models}/hip3/receipt.rb
  13. 0 {lib → app/models}/hip3/serial_copy.rb
  14. +2 −0 app/models/service_wave.rb
  15. 0 {lib → app/presentation}/section_renderer.rb
  16. 0 {lib → app}/referent_filters/dissertation_catch.rb
  17. 0 {lib → app/referent_filters}/referent_filter.rb
  18. 0 {lib → app}/service_adaptors/ajax_export.rb
  19. +2 −0 {lib → app}/service_adaptors/amazon.rb
  20. 0 {lib → app}/service_adaptors/blacklight.rb
  21. 0 {lib → app}/service_adaptors/book_finder.rb
  22. 0 {lib → app}/service_adaptors/bx.rb
  23. 0 {lib → app}/service_adaptors/cover_thing.rb
  24. 0 {lib → app}/service_adaptors/dummy_service.rb
  25. 0 {lib → app}/service_adaptors/elsevier_cover.rb
  26. 0 {lib → app}/service_adaptors/email_export.rb
  27. 0 {lib → app}/service_adaptors/ezproxy.rb
  28. 0 {lib → app}/service_adaptors/google_book_search.rb
  29. 0 {lib → app}/service_adaptors/google_scholar_link.rb
  30. 0 {lib → app}/service_adaptors/gpo.rb
  31. 0 {lib → app}/service_adaptors/hathi_trust.rb
  32. 0 {lib → app}/service_adaptors/hip3_service.rb
  33. 0 {lib → app}/service_adaptors/hip_holding_search.rb
  34. 0 {lib → app}/service_adaptors/internet_archive.rb
  35. 0 {lib → app}/service_adaptors/isbn_db.rb
  36. 0 {lib → app}/service_adaptors/isi.rb
  37. 0 {lib → app}/service_adaptors/jcr.rb
  38. 0 {lib → app}/service_adaptors/opac.rb
  39. 0 {lib → app}/service_adaptors/open_library.rb
  40. 0 {lib → app}/service_adaptors/open_library_cover.rb
  41. 0 {lib → app}/service_adaptors/pubmed.rb
  42. 0 {lib → app}/service_adaptors/request_to_fixture.rb
  43. 0 {lib → app}/service_adaptors/scopus.rb
  44. 0 {lib → app/service_adaptors}/service.rb
  45. +1 −1 {lib → app}/service_adaptors/sfx.rb
  46. 0 {lib → app}/service_adaptors/sfx_backchannel_record.rb
  47. 0 {lib → app}/service_adaptors/txt_holding_export.rb
  48. 0 {lib → app}/service_adaptors/ulrichs_cover.rb
  49. 0 {lib → app}/service_adaptors/ulrichs_link.rb
  50. 0 {lib → app}/service_adaptors/worldcat.rb
  51. 0 {lib → app}/service_adaptors/worldcat_identities.rb
  52. 0 lib/{CronTab.rb → cron_tab.rb}
  53. +0 −32 lib/holding.rb
  54. +0 −398 lib/opensearch_feed.rb
  55. +0 −98 lib/opensearch_query.rb
  56. +0 −17 lib/umlaut.rb
  57. +0 −5 lib/umlaut/default_configuration.rb
  58. +2 −0 test/unit/aws_product_sign_test.rb
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -1,4 +1,4 @@
-require 'CronTab' # for understanding CronTab format for expiring responses.
+require 'cron_tab' # for understanding CronTab format for expiring responses.
# A Collection object encapsulates a given UmlautRequest, and a given
# list of Umlaut services that should be run off that request.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,3 +1,5 @@
+require 'term_color'
+
# ServiceWave is basically responsible for multi-threaded execution of
# a list of services, all in the same priority. Generally it's only
# called by Collection, nobody else needs it directly.
File renamed without changes.
File renamed without changes.
@@ -1,3 +1,5 @@
+require 'aws_product_sign'
+
#
# As of Aug 15 2009, Amazon API calls will require a secret key from Amazon.
# If you are unable to get such an account/key, this service can still be used
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -528,7 +528,7 @@ def sfx_click_passthrough
# umlaut service response is so old that we can't use it for
# sfx click passthrough anymore.
def expired_sfx_request(response)
- require 'CronTab'
+ require 'cron_tab'
crontab_str = @sfx_requests_expire_crontab
File renamed without changes.
File renamed without changes.
View
@@ -1,32 +0,0 @@
-class Holding
- attr_accessor :locations, :identifier
- def initialize
- @locations = []
- end
- def find_location(location)
- @locations.each do | loc |
- return loc if loc.name == location
- end
- return nil
- end
-
- def find_item_by_attribute(key, value)
- @locations.each do | loc |
- loc.items.each do | item |
- return if item.instance_variable_get('@'+key) == value
- end
- end
- return nil
- end
-end
-
-class HoldingLocation
- attr_accessor :name, :code, :items
- def initialize
- @items = []
- end
-end
-
-class HoldingItem
- attr_accessor :identifier, :status_code, :status_date, :status, :call_number, :enumeration, :chron, :year
-end
Oops, something went wrong.

0 comments on commit 6235621

Please sign in to comment.