exlibris-aleph 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +38 -0
  4. data/lib/exlibris-aleph.rb +20 -0
  5. data/lib/exlibris/aleph/bor_auth.rb +40 -0
  6. data/lib/exlibris/aleph/config/config_base.rb +49 -0
  7. data/lib/exlibris/aleph/config/config_by_sub_library.rb +32 -0
  8. data/lib/exlibris/aleph/config/pc_tab_exp_field_extended.rb +20 -0
  9. data/lib/exlibris/aleph/config/tab15_by_item_process_status.rb +33 -0
  10. data/lib/exlibris/aleph/config/tab15_by_item_status.rb +33 -0
  11. data/lib/exlibris/aleph/config/tab31.rb +39 -0
  12. data/lib/exlibris/aleph/config/tab37.rb +50 -0
  13. data/lib/exlibris/aleph/config/tab40.rb +20 -0
  14. data/lib/exlibris/aleph/config/tab_sub_library.rb +21 -0
  15. data/lib/exlibris/aleph/config/tab_www_item_desc.rb +20 -0
  16. data/lib/exlibris/aleph/patron.rb +72 -0
  17. data/lib/exlibris/aleph/record.rb +56 -0
  18. data/lib/exlibris/aleph/rest.rb +31 -0
  19. data/lib/exlibris/aleph/tab_helper.rb +252 -0
  20. data/lib/exlibris/aleph/version.rb +5 -0
  21. data/lib/tasks/exlibris-aleph_tasks.rake +13 -0
  22. data/test/dummy/README.rdoc +261 -0
  23. data/test/dummy/Rakefile +7 -0
  24. data/test/dummy/app/assets/javascripts/application.js +15 -0
  25. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  26. data/test/dummy/app/controllers/application_controller.rb +3 -0
  27. data/test/dummy/app/helpers/application_helper.rb +2 -0
  28. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  29. data/test/dummy/config.ru +4 -0
  30. data/test/dummy/config/aleph/NYU50/collections.yml +1128 -0
  31. data/test/dummy/config/aleph/NYU50/item_permissions_by_item_process_status.yml +71226 -0
  32. data/test/dummy/config/aleph/NYU50/item_permissions_by_item_status.yml +20090 -0
  33. data/test/dummy/config/aleph/NYU50/items.yml +609 -0
  34. data/test/dummy/config/aleph/NYU50/patron_permissions.yml +22687 -0
  35. data/test/dummy/config/aleph/NYU50/patrons.yml +245 -0
  36. data/test/dummy/config/aleph/NYU50/pickup_locations.yml +2049 -0
  37. data/test/dummy/config/aleph/NYU51/collections.yml +41 -0
  38. data/test/dummy/config/aleph/NYU51/item_permissions_by_item_process_status.yml +7689 -0
  39. data/test/dummy/config/aleph/NYU51/item_permissions_by_item_status.yml +447 -0
  40. data/test/dummy/config/aleph/NYU51/items.yml +617 -0
  41. data/test/dummy/config/aleph/NYU51/patron_permissions.yml +6496 -0
  42. data/test/dummy/config/aleph/NYU51/patrons.yml +233 -0
  43. data/test/dummy/config/aleph/NYU51/pickup_locations.yml +456 -0
  44. data/test/dummy/config/aleph/sub_libraries.yml +756 -0
  45. data/test/dummy/config/application.rb +56 -0
  46. data/test/dummy/config/boot.rb +10 -0
  47. data/test/dummy/config/database.yml +25 -0
  48. data/test/dummy/config/environment.rb +5 -0
  49. data/test/dummy/config/environments/development.rb +37 -0
  50. data/test/dummy/config/environments/production.rb +67 -0
  51. data/test/dummy/config/environments/test.rb +37 -0
  52. data/test/dummy/config/initializers/aleph.rb +1 -0
  53. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  54. data/test/dummy/config/initializers/inflections.rb +15 -0
  55. data/test/dummy/config/initializers/mime_types.rb +5 -0
  56. data/test/dummy/config/initializers/secret_token.rb +7 -0
  57. data/test/dummy/config/initializers/session_store.rb +8 -0
  58. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  59. data/test/dummy/config/locales/en.yml +5 -0
  60. data/test/dummy/config/routes.rb +58 -0
  61. data/test/dummy/db/test.sqlite3 +0 -0
  62. data/test/dummy/log/aleph/aleph_tab_helper.log +1 -0
  63. data/test/dummy/log/test.log +1860 -0
  64. data/test/dummy/public/404.html +26 -0
  65. data/test/dummy/public/422.html +26 -0
  66. data/test/dummy/public/500.html +25 -0
  67. data/test/dummy/public/favicon.ico +0 -0
  68. data/test/dummy/script/rails +6 -0
  69. data/test/exlibris-aleph_test.rb +7 -0
  70. data/test/test_helper.rb +10 -0
  71. data/test/unit/bor_auth_test.rb +24 -0
  72. data/test/unit/patron_test.rb +37 -0
  73. data/test/unit/record_benchmarks.rb +26 -0
  74. data/test/unit/record_test.rb +28 -0
  75. data/test/unit/tab_helper_benchmarks.rb +56 -0
  76. data/test/unit/tab_helper_test.rb +180 -0
  77. metadata +220 -0
metadata ADDED
@@ -0,0 +1,220 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: exlibris-aleph
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Scot Dalton
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-03-23 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: &2152561300 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 3.2.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *2152561300
25
+ - !ruby/object:Gem::Dependency
26
+ name: nokogiri
27
+ requirement: &2152560740 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *2152560740
36
+ - !ruby/object:Gem::Dependency
37
+ name: httparty
38
+ requirement: &2152560220 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *2152560220
47
+ - !ruby/object:Gem::Dependency
48
+ name: sqlite3
49
+ requirement: &2152559760 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *2152559760
58
+ description: Library to handle Exlibris' Aleph ILS.
59
+ email:
60
+ - scotdalton@gmail.com
61
+ executables: []
62
+ extensions: []
63
+ extra_rdoc_files: []
64
+ files:
65
+ - lib/exlibris/aleph/bor_auth.rb
66
+ - lib/exlibris/aleph/config/config_base.rb
67
+ - lib/exlibris/aleph/config/config_by_sub_library.rb
68
+ - lib/exlibris/aleph/config/pc_tab_exp_field_extended.rb
69
+ - lib/exlibris/aleph/config/tab15_by_item_process_status.rb
70
+ - lib/exlibris/aleph/config/tab15_by_item_status.rb
71
+ - lib/exlibris/aleph/config/tab31.rb
72
+ - lib/exlibris/aleph/config/tab37.rb
73
+ - lib/exlibris/aleph/config/tab40.rb
74
+ - lib/exlibris/aleph/config/tab_sub_library.rb
75
+ - lib/exlibris/aleph/config/tab_www_item_desc.rb
76
+ - lib/exlibris/aleph/patron.rb
77
+ - lib/exlibris/aleph/record.rb
78
+ - lib/exlibris/aleph/rest.rb
79
+ - lib/exlibris/aleph/tab_helper.rb
80
+ - lib/exlibris/aleph/version.rb
81
+ - lib/exlibris-aleph.rb
82
+ - lib/tasks/exlibris-aleph_tasks.rake
83
+ - MIT-LICENSE
84
+ - Rakefile
85
+ - README.rdoc
86
+ - test/dummy/app/assets/javascripts/application.js
87
+ - test/dummy/app/assets/stylesheets/application.css
88
+ - test/dummy/app/controllers/application_controller.rb
89
+ - test/dummy/app/helpers/application_helper.rb
90
+ - test/dummy/app/views/layouts/application.html.erb
91
+ - test/dummy/config/aleph/NYU50/collections.yml
92
+ - test/dummy/config/aleph/NYU50/item_permissions_by_item_process_status.yml
93
+ - test/dummy/config/aleph/NYU50/item_permissions_by_item_status.yml
94
+ - test/dummy/config/aleph/NYU50/items.yml
95
+ - test/dummy/config/aleph/NYU50/patron_permissions.yml
96
+ - test/dummy/config/aleph/NYU50/patrons.yml
97
+ - test/dummy/config/aleph/NYU50/pickup_locations.yml
98
+ - test/dummy/config/aleph/NYU51/collections.yml
99
+ - test/dummy/config/aleph/NYU51/item_permissions_by_item_process_status.yml
100
+ - test/dummy/config/aleph/NYU51/item_permissions_by_item_status.yml
101
+ - test/dummy/config/aleph/NYU51/items.yml
102
+ - test/dummy/config/aleph/NYU51/patron_permissions.yml
103
+ - test/dummy/config/aleph/NYU51/patrons.yml
104
+ - test/dummy/config/aleph/NYU51/pickup_locations.yml
105
+ - test/dummy/config/aleph/sub_libraries.yml
106
+ - test/dummy/config/application.rb
107
+ - test/dummy/config/boot.rb
108
+ - test/dummy/config/database.yml
109
+ - test/dummy/config/environment.rb
110
+ - test/dummy/config/environments/development.rb
111
+ - test/dummy/config/environments/production.rb
112
+ - test/dummy/config/environments/test.rb
113
+ - test/dummy/config/initializers/aleph.rb
114
+ - test/dummy/config/initializers/backtrace_silencers.rb
115
+ - test/dummy/config/initializers/inflections.rb
116
+ - test/dummy/config/initializers/mime_types.rb
117
+ - test/dummy/config/initializers/secret_token.rb
118
+ - test/dummy/config/initializers/session_store.rb
119
+ - test/dummy/config/initializers/wrap_parameters.rb
120
+ - test/dummy/config/locales/en.yml
121
+ - test/dummy/config/routes.rb
122
+ - test/dummy/config.ru
123
+ - test/dummy/db/test.sqlite3
124
+ - test/dummy/log/aleph/aleph_tab_helper.log
125
+ - test/dummy/log/test.log
126
+ - test/dummy/public/404.html
127
+ - test/dummy/public/422.html
128
+ - test/dummy/public/500.html
129
+ - test/dummy/public/favicon.ico
130
+ - test/dummy/Rakefile
131
+ - test/dummy/README.rdoc
132
+ - test/dummy/script/rails
133
+ - test/exlibris-aleph_test.rb
134
+ - test/test_helper.rb
135
+ - test/unit/bor_auth_test.rb
136
+ - test/unit/patron_test.rb
137
+ - test/unit/record_benchmarks.rb
138
+ - test/unit/record_test.rb
139
+ - test/unit/tab_helper_benchmarks.rb
140
+ - test/unit/tab_helper_test.rb
141
+ homepage: https://github.com/scotdalton/exlibris-aleph
142
+ licenses: []
143
+ post_install_message:
144
+ rdoc_options: []
145
+ require_paths:
146
+ - lib
147
+ required_ruby_version: !ruby/object:Gem::Requirement
148
+ none: false
149
+ requirements:
150
+ - - ! '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ required_rubygems_version: !ruby/object:Gem::Requirement
154
+ none: false
155
+ requirements:
156
+ - - ! '>='
157
+ - !ruby/object:Gem::Version
158
+ version: '0'
159
+ requirements: []
160
+ rubyforge_project:
161
+ rubygems_version: 1.8.15
162
+ signing_key:
163
+ specification_version: 3
164
+ summary: Library to work with Exlibris' Aleph ILS.
165
+ test_files:
166
+ - test/dummy/app/assets/javascripts/application.js
167
+ - test/dummy/app/assets/stylesheets/application.css
168
+ - test/dummy/app/controllers/application_controller.rb
169
+ - test/dummy/app/helpers/application_helper.rb
170
+ - test/dummy/app/views/layouts/application.html.erb
171
+ - test/dummy/config/aleph/NYU50/collections.yml
172
+ - test/dummy/config/aleph/NYU50/item_permissions_by_item_process_status.yml
173
+ - test/dummy/config/aleph/NYU50/item_permissions_by_item_status.yml
174
+ - test/dummy/config/aleph/NYU50/items.yml
175
+ - test/dummy/config/aleph/NYU50/patron_permissions.yml
176
+ - test/dummy/config/aleph/NYU50/patrons.yml
177
+ - test/dummy/config/aleph/NYU50/pickup_locations.yml
178
+ - test/dummy/config/aleph/NYU51/collections.yml
179
+ - test/dummy/config/aleph/NYU51/item_permissions_by_item_process_status.yml
180
+ - test/dummy/config/aleph/NYU51/item_permissions_by_item_status.yml
181
+ - test/dummy/config/aleph/NYU51/items.yml
182
+ - test/dummy/config/aleph/NYU51/patron_permissions.yml
183
+ - test/dummy/config/aleph/NYU51/patrons.yml
184
+ - test/dummy/config/aleph/NYU51/pickup_locations.yml
185
+ - test/dummy/config/aleph/sub_libraries.yml
186
+ - test/dummy/config/application.rb
187
+ - test/dummy/config/boot.rb
188
+ - test/dummy/config/database.yml
189
+ - test/dummy/config/environment.rb
190
+ - test/dummy/config/environments/development.rb
191
+ - test/dummy/config/environments/production.rb
192
+ - test/dummy/config/environments/test.rb
193
+ - test/dummy/config/initializers/aleph.rb
194
+ - test/dummy/config/initializers/backtrace_silencers.rb
195
+ - test/dummy/config/initializers/inflections.rb
196
+ - test/dummy/config/initializers/mime_types.rb
197
+ - test/dummy/config/initializers/secret_token.rb
198
+ - test/dummy/config/initializers/session_store.rb
199
+ - test/dummy/config/initializers/wrap_parameters.rb
200
+ - test/dummy/config/locales/en.yml
201
+ - test/dummy/config/routes.rb
202
+ - test/dummy/config.ru
203
+ - test/dummy/db/test.sqlite3
204
+ - test/dummy/log/aleph/aleph_tab_helper.log
205
+ - test/dummy/log/test.log
206
+ - test/dummy/public/404.html
207
+ - test/dummy/public/422.html
208
+ - test/dummy/public/500.html
209
+ - test/dummy/public/favicon.ico
210
+ - test/dummy/Rakefile
211
+ - test/dummy/README.rdoc
212
+ - test/dummy/script/rails
213
+ - test/exlibris-aleph_test.rb
214
+ - test/test_helper.rb
215
+ - test/unit/bor_auth_test.rb
216
+ - test/unit/patron_test.rb
217
+ - test/unit/record_benchmarks.rb
218
+ - test/unit/record_test.rb
219
+ - test/unit/tab_helper_benchmarks.rb
220
+ - test/unit/tab_helper_test.rb