backlog 0.0.2 → 0.0.3

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.
Files changed (1451) hide show
  1. metadata +19 -1808
  2. data/History.txt +0 -4
  3. data/LICENSE_LOCALIZATION +0 -20
  4. data/README +0 -180
  5. data/README_LOCALIZATION +0 -61
  6. data/README_LOGIN_SUGAR +0 -194
  7. data/Rakefile +0 -10
  8. data/app/controllers/application.rb +0 -142
  9. data/app/controllers/backlogs_controller.rb +0 -117
  10. data/app/controllers/estimates_controller.rb +0 -10
  11. data/app/controllers/periods_controller.rb +0 -224
  12. data/app/controllers/tasks_controller.rb +0 -233
  13. data/app/controllers/user_controller.rb +0 -177
  14. data/app/controllers/works_controller.rb +0 -111
  15. data/app/helpers/application_helper.rb +0 -26
  16. data/app/helpers/backlogs_helper.rb +0 -2
  17. data/app/helpers/estimates_helper.rb +0 -2
  18. data/app/helpers/periods_helper.rb +0 -2
  19. data/app/helpers/tasks_helper.rb +0 -17
  20. data/app/helpers/user_helper.rb +0 -53
  21. data/app/helpers/works_helper.rb +0 -2
  22. data/app/models/backlog.rb +0 -40
  23. data/app/models/estimate.rb +0 -10
  24. data/app/models/period.rb +0 -120
  25. data/app/models/task.rb +0 -261
  26. data/app/models/user.rb +0 -101
  27. data/app/models/user_notify.rb +0 -50
  28. data/app/models/work.rb +0 -46
  29. data/app/views/backlogs/_form.rhtml +0 -49
  30. data/app/views/backlogs/edit.rhtml +0 -10
  31. data/app/views/backlogs/new.rhtml +0 -11
  32. data/app/views/backlogs/show.rhtml +0 -90
  33. data/app/views/layouts/_headers.rhtml +0 -22
  34. data/app/views/layouts/mwrt002.rhtml +0 -83
  35. data/app/views/layouts/wide.rhtml +0 -22
  36. data/app/views/periods/_burn_down_chart.rhtml +0 -8
  37. data/app/views/periods/_form.rhtml +0 -56
  38. data/app/views/periods/_show_active.rhtml +0 -61
  39. data/app/views/periods/_title.rhtml +0 -11
  40. data/app/views/periods/edit.rhtml +0 -10
  41. data/app/views/periods/new.rhtml +0 -10
  42. data/app/views/periods/show.rhtml +0 -26
  43. data/app/views/tasks/_form.rhtml +0 -29
  44. data/app/views/tasks/_task.rhtml +0 -98
  45. data/app/views/tasks/edit.rhtml +0 -11
  46. data/app/views/tasks/list.rhtml +0 -77
  47. data/app/views/tasks/list_started.rhtml +0 -64
  48. data/app/views/tasks/new.rhtml +0 -10
  49. data/app/views/user/_edit.rhtml +0 -30
  50. data/app/views/user/_password.rhtml +0 -21
  51. data/app/views/user/change_password.rhtml +0 -15
  52. data/app/views/user/edit.rhtml +0 -19
  53. data/app/views/user/forgot_password.rhtml +0 -19
  54. data/app/views/user/login.rhtml +0 -24
  55. data/app/views/user/logout.rhtml +0 -8
  56. data/app/views/user/signup.rhtml +0 -14
  57. data/app/views/user/welcome.rhtml +0 -10
  58. data/app/views/user_notify/change_password.rhtml +0 -10
  59. data/app/views/user_notify/forgot_password.rhtml +0 -11
  60. data/app/views/user_notify/signup.rhtml +0 -12
  61. data/app/views/user_notify/signup_no.rhtml +0 -12
  62. data/app/views/works/_form.rhtml +0 -81
  63. data/app/views/works/edit.rhtml +0 -11
  64. data/app/views/works/list.rhtml +0 -45
  65. data/app/views/works/new.rhtml +0 -11
  66. data/app/views/works/show.rhtml +0 -10
  67. data/app/views/works/timeliste.rhtml +0 -883
  68. data/app/views/works/weekly_work_sheet.rhtml +0 -79
  69. data/app/views/works/weekly_work_sheet2.rhtml +0 -91
  70. data/backlog +0 -27
  71. data/backlog-0.0.2.gem +0 -0
  72. data/backlog.gemspec +0 -21
  73. data/config/boot.rb +0 -45
  74. data/config/database.yml +0 -31
  75. data/config/deploy.rb +0 -34
  76. data/config/deploy_kubosch.rb +0 -106
  77. data/config/environment.rb +0 -63
  78. data/config/environments/datek_production.rb +0 -26
  79. data/config/environments/development.rb +0 -27
  80. data/config/environments/kubosch_production.rb +0 -21
  81. data/config/environments/localization_environment.rb +0 -12
  82. data/config/environments/test.rb +0 -19
  83. data/config/environments/user_environment.rb +0 -21
  84. data/config/mime_types.yaml +0 -1
  85. data/config/routes.rb +0 -5
  86. data/db/migrate/001_tasks.rb +0 -15
  87. data/db/migrate/002_backlogs.rb +0 -14
  88. data/db/migrate/003_add_estimation_points.rb +0 -16
  89. data/db/migrate/004_add_period.rb +0 -63
  90. data/db/migrate/005_add_field_work_started_at.rb +0 -9
  91. data/db/migrate/006_works_data_fix.rb +0 -13
  92. data/db/migrate/007_add_task_created_at.rb +0 -23
  93. data/db/migrate/008_add_backlog_options.rb +0 -13
  94. data/db/migrate/009_add_subtasks.rb +0 -28
  95. data/db/migrate/010_add_work_start.rb +0 -9
  96. data/db/migrate/011_login_sugar.rb +0 -21
  97. data/db/migrate/012_add_resolution.rb +0 -12
  98. data/db/migrate/013_create_estimates.rb +0 -20
  99. data/db/migrate/014_add_customer_option.rb +0 -11
  100. data/db/migrate/015_add_user_option.rb +0 -43
  101. data/db/migrate/016_add_invoicable_flag.rb +0 -11
  102. data/db/migrate/017_insert_datek_projects.rb +0 -95
  103. data/db/schema.rb +0 -92
  104. data/default_login_sugar_setup.zip +0 -0
  105. data/doc/README_FOR_APP +0 -2
  106. data/lang/en.yaml +0 -72
  107. data/lang/localizations.yaml +0 -2
  108. data/lang/no.yaml +0 -71
  109. data/lib/array_helper.rb +0 -10
  110. data/lib/clock.rb +0 -14
  111. data/lib/localization.rb +0 -88
  112. data/lib/tasks/capistrano.rake +0 -90
  113. data/lib/user_system.rb +0 -54
  114. data/log/development.log +0 -40556
  115. data/public/404.html +0 -8
  116. data/public/500.html +0 -8
  117. data/public/dispatch.cgi +0 -10
  118. data/public/dispatch.fcgi +0 -24
  119. data/public/dispatch.rb +0 -10
  120. data/public/favicon.ico +0 -0
  121. data/public/images/add.png +0 -0
  122. data/public/images/add.svg +0 -70
  123. data/public/images/appunti_architetto_franc_01.svg +0 -92
  124. data/public/images/arrow07_2.png +0 -0
  125. data/public/images/arrow07_4.png +0 -0
  126. data/public/images/arrow_down.png +0 -0
  127. data/public/images/arrow_down.svg +0 -59
  128. data/public/images/arrow_left.png +0 -0
  129. data/public/images/arrow_left.svg +0 -59
  130. data/public/images/arrow_right.png +0 -0
  131. data/public/images/arrow_right.svg +0 -59
  132. data/public/images/arrow_up.png +0 -0
  133. data/public/images/arrow_up.svg +0 -59
  134. data/public/images/blank.jpg +0 -0
  135. data/public/images/cestino_pieno_architetto_01.svg +0 -470
  136. data/public/images/checkmark.png +0 -0
  137. data/public/images/checkmark_org.png +0 -0
  138. data/public/images/clipboard.png +0 -0
  139. data/public/images/clipboard.svg +0 -62
  140. data/public/images/construction_hammer_jon__01.svg +0 -116
  141. data/public/images/eraser.png +0 -0
  142. data/public/images/eraser_org.png +0 -0
  143. data/public/images/ernes_stop.png +0 -0
  144. data/public/images/ernes_stop_org.png +0 -0
  145. data/public/images/hammer.png +0 -0
  146. data/public/images/header.jpg +0 -0
  147. data/public/images/pagebak.jpg +0 -0
  148. data/public/images/paper3.svg +0 -54
  149. data/public/images/period.png +0 -0
  150. data/public/images/period_org.png +0 -0
  151. data/public/images/question.svg +0 -56
  152. data/public/images/rails.png +0 -0
  153. data/public/images/tabella_architetto_franc_01.svg +0 -105
  154. data/public/javascripts/application.js +0 -2
  155. data/public/javascripts/controls.js +0 -833
  156. data/public/javascripts/dragdrop.js +0 -944
  157. data/public/javascripts/effects.js +0 -1088
  158. data/public/javascripts/prototype.js +0 -2515
  159. data/public/javascripts/zapatec/utils/transport.js +0 -2217
  160. data/public/javascripts/zapatec/utils/utils.js +0 -1799
  161. data/public/javascripts/zapatec/utils/zapatec.js +0 -90
  162. data/public/javascripts/zapatec/utils/zpeventdriven.js +0 -212
  163. data/public/javascripts/zapatec/utils/zpwidget.js +0 -729
  164. data/public/javascripts/zapatec/zpcal/lang/calendar-no.js +0 -124
  165. data/public/javascripts/zapatec/zpcal/src/calendar-core.js +0 -2878
  166. data/public/javascripts/zapatec/zpcal/src/calendar-date-core.js +0 -348
  167. data/public/javascripts/zapatec/zpcal/src/calendar-setup.js +0 -360
  168. data/public/javascripts/zapatec/zpcal/src/calendar.js +0 -35
  169. data/public/robots.txt +0 -1
  170. data/public/stylesheets/backlog.css +0 -65
  171. data/public/stylesheets/mwrt002.css +0 -54
  172. data/public/stylesheets/mwrt002MAC.css +0 -3
  173. data/public/stylesheets/mwrt002NN.css +0 -3
  174. data/public/stylesheets/scaffold.css +0 -74
  175. data/public/stylesheets/user.css +0 -74
  176. data/public/stylesheets/zpcal/themes/green.css +0 -153
  177. data/public/stylesheets/zpcal/themes/layouts/layout-2d.css +0 -134
  178. data/public/stylesheets/zpcal/themes/layouts/layout-common.css +0 -74
  179. data/public/stylesheets/zpcal/themes/menuarrow.gif +0 -0
  180. data/public/stylesheets/zpcal/themes/scroller-down.gif +0 -0
  181. data/public/stylesheets/zpcal/themes/scroller-up.gif +0 -0
  182. data/script/about +0 -3
  183. data/script/breakpointer +0 -3
  184. data/script/console +0 -3
  185. data/script/destroy +0 -3
  186. data/script/generate +0 -3
  187. data/script/performance/benchmarker +0 -3
  188. data/script/performance/profiler +0 -3
  189. data/script/plugin +0 -3
  190. data/script/process/inspector +0 -3
  191. data/script/process/reaper +0 -3
  192. data/script/process/spawner +0 -3
  193. data/script/runner +0 -3
  194. data/script/server +0 -3
  195. data/test/fixtures/backlogs.yml +0 -5
  196. data/test/fixtures/estimates.yml +0 -5
  197. data/test/fixtures/periods.yml +0 -7
  198. data/test/fixtures/tasks.yml +0 -6
  199. data/test/fixtures/users.yml +0 -48
  200. data/test/fixtures/works.yml +0 -5
  201. data/test/functional/backlogs_controller_test.rb +0 -88
  202. data/test/functional/estimates_controller_test.rb +0 -18
  203. data/test/functional/periods_controller_test.rb +0 -88
  204. data/test/functional/tasks_controller_test.rb +0 -88
  205. data/test/functional/user_controller_test.rb +0 -254
  206. data/test/functional/works_controller_test.rb +0 -88
  207. data/test/integration/user_system_test.rb +0 -95
  208. data/test/mocks/test/clock.rb +0 -14
  209. data/test/mocks/test/user_notify.rb +0 -16
  210. data/test/unit/backlog_item_test.rb +0 -10
  211. data/test/unit/estimate_test.rb +0 -10
  212. data/test/unit/localization_test.rb +0 -47
  213. data/test/unit/period_test.rb +0 -10
  214. data/test/unit/task_test.rb +0 -10
  215. data/test/unit/user_test.rb +0 -133
  216. data/test/unit/work_test.rb +0 -10
  217. data/vendor/plugins/activerecord_foreign_key_extensions/init.rb +0 -2
  218. data/vendor/plugins/activerecord_foreign_key_extensions/lib/active_record_extensions.rb +0 -180
  219. data/vendor/plugins/foreign_key_migrations/CHANGELOG +0 -67
  220. data/vendor/plugins/foreign_key_migrations/MIT-LICENSE +0 -20
  221. data/vendor/plugins/foreign_key_migrations/README +0 -60
  222. data/vendor/plugins/foreign_key_migrations/init.rb +0 -2
  223. data/vendor/plugins/foreign_key_migrations/install.rb +0 -1
  224. data/vendor/plugins/foreign_key_migrations/lib/red_hill_consulting/foreign_key_migrations.rb +0 -57
  225. data/vendor/plugins/redhillonrails_core/CHANGELOG +0 -85
  226. data/vendor/plugins/redhillonrails_core/MIT-LICENSE +0 -20
  227. data/vendor/plugins/redhillonrails_core/README +0 -97
  228. data/vendor/plugins/redhillonrails_core/init.rb +0 -9
  229. data/vendor/plugins/redhillonrails_core/lib/red_hill_consulting/core.rb +0 -290
  230. data/vendor/rails/REVISION_6747 +0 -0
  231. data/vendor/rails/actionmailer/CHANGELOG +0 -281
  232. data/vendor/rails/actionmailer/MIT-LICENSE +0 -21
  233. data/vendor/rails/actionmailer/README +0 -145
  234. data/vendor/rails/actionmailer/Rakefile +0 -95
  235. data/vendor/rails/actionmailer/install.rb +0 -30
  236. data/vendor/rails/actionmailer/lib/action_mailer.rb +0 -51
  237. data/vendor/rails/actionmailer/lib/action_mailer/adv_attr_accessor.rb +0 -30
  238. data/vendor/rails/actionmailer/lib/action_mailer/base.rb +0 -570
  239. data/vendor/rails/actionmailer/lib/action_mailer/helpers.rb +0 -111
  240. data/vendor/rails/actionmailer/lib/action_mailer/mail_helper.rb +0 -19
  241. data/vendor/rails/actionmailer/lib/action_mailer/part.rb +0 -113
  242. data/vendor/rails/actionmailer/lib/action_mailer/part_container.rb +0 -51
  243. data/vendor/rails/actionmailer/lib/action_mailer/quoting.rb +0 -59
  244. data/vendor/rails/actionmailer/lib/action_mailer/test_helper.rb +0 -67
  245. data/vendor/rails/actionmailer/lib/action_mailer/utils.rb +0 -8
  246. data/vendor/rails/actionmailer/lib/action_mailer/vendor/text/format.rb +0 -1466
  247. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail.rb +0 -3
  248. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/address.rb +0 -242
  249. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/attachments.rb +0 -41
  250. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/base64.rb +0 -71
  251. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/config.rb +0 -69
  252. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/encode.rb +0 -467
  253. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/facade.rb +0 -552
  254. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/header.rb +0 -914
  255. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/info.rb +0 -35
  256. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/loader.rb +0 -1
  257. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/mail.rb +0 -447
  258. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/mailbox.rb +0 -433
  259. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/mbox.rb +0 -1
  260. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/net.rb +0 -280
  261. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/obsolete.rb +0 -135
  262. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/parser.rb +0 -1522
  263. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/port.rb +0 -377
  264. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/quoting.rb +0 -131
  265. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/scanner.rb +0 -41
  266. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/scanner_r.rb +0 -263
  267. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/stringio.rb +0 -277
  268. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/tmail.rb +0 -1
  269. data/vendor/rails/actionmailer/lib/action_mailer/vendor/tmail/utils.rb +0 -238
  270. data/vendor/rails/actionmailer/lib/action_mailer/version.rb +0 -9
  271. data/vendor/rails/actionmailer/test/abstract_unit.rb +0 -39
  272. data/vendor/rails/actionmailer/test/fixtures/first_mailer/share.erb +0 -1
  273. data/vendor/rails/actionmailer/test/fixtures/first_mailer/share.rhtml +0 -0
  274. data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_example_helper.erb +0 -1
  275. data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_example_helper.rhtml +0 -0
  276. data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper.erb +0 -1
  277. data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper.rhtml +0 -0
  278. data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper_method.erb +0 -1
  279. data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_helper_method.rhtml +0 -0
  280. data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_mail_helper.erb +0 -5
  281. data/vendor/rails/actionmailer/test/fixtures/helper_mailer/use_mail_helper.rhtml +0 -0
  282. data/vendor/rails/actionmailer/test/fixtures/helpers/example_helper.rb +0 -5
  283. data/vendor/rails/actionmailer/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.erb +0 -1
  284. data/vendor/rails/actionmailer/test/fixtures/path.with.dots/funky_path_mailer/multipart_with_template_path_with_dots.rhtml +0 -0
  285. data/vendor/rails/actionmailer/test/fixtures/path.with.dots/multipart_with_template_path_with_dots.rhtml +0 -0
  286. data/vendor/rails/actionmailer/test/fixtures/raw_email +0 -14
  287. data/vendor/rails/actionmailer/test/fixtures/raw_email10 +0 -20
  288. data/vendor/rails/actionmailer/test/fixtures/raw_email11 +0 -34
  289. data/vendor/rails/actionmailer/test/fixtures/raw_email12 +0 -32
  290. data/vendor/rails/actionmailer/test/fixtures/raw_email13 +0 -29
  291. data/vendor/rails/actionmailer/test/fixtures/raw_email2 +0 -114
  292. data/vendor/rails/actionmailer/test/fixtures/raw_email3 +0 -70
  293. data/vendor/rails/actionmailer/test/fixtures/raw_email4 +0 -59
  294. data/vendor/rails/actionmailer/test/fixtures/raw_email5 +0 -19
  295. data/vendor/rails/actionmailer/test/fixtures/raw_email6 +0 -20
  296. data/vendor/rails/actionmailer/test/fixtures/raw_email7 +0 -66
  297. data/vendor/rails/actionmailer/test/fixtures/raw_email8 +0 -47
  298. data/vendor/rails/actionmailer/test/fixtures/raw_email9 +0 -28
  299. data/vendor/rails/actionmailer/test/fixtures/raw_email_quoted_with_0d0a +0 -14
  300. data/vendor/rails/actionmailer/test/fixtures/raw_email_with_nested_attachment +0 -100
  301. data/vendor/rails/actionmailer/test/fixtures/raw_email_with_partially_quoted_subject +0 -14
  302. data/vendor/rails/actionmailer/test/fixtures/second_mailer/share.erb +0 -1
  303. data/vendor/rails/actionmailer/test/fixtures/second_mailer/share.rhtml +0 -0
  304. data/vendor/rails/actionmailer/test/fixtures/templates/signed_up.erb +0 -3
  305. data/vendor/rails/actionmailer/test/fixtures/templates/signed_up.rhtml +0 -0
  306. data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.erb +0 -1
  307. data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.ignored.rhtml +0 -0
  308. data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.html.erb +0 -10
  309. data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.html.rhtml +0 -0
  310. data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.erb +0 -2
  311. data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.plain.rhtml +0 -0
  312. data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.erb +0 -1
  313. data/vendor/rails/actionmailer/test/fixtures/test_mailer/implicitly_multipart_example.text.yaml.rhtml +0 -0
  314. data/vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up.erb +0 -3
  315. data/vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up.rhtml +0 -0
  316. data/vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up_with_url.erb +0 -3
  317. data/vendor/rails/actionmailer/test/fixtures/test_mailer/signed_up_with_url.rhtml +0 -0
  318. data/vendor/rails/actionmailer/test/mail_helper_test.rb +0 -91
  319. data/vendor/rails/actionmailer/test/mail_render_test.rb +0 -79
  320. data/vendor/rails/actionmailer/test/mail_service_test.rb +0 -850
  321. data/vendor/rails/actionmailer/test/quoting_test.rb +0 -57
  322. data/vendor/rails/actionmailer/test/test_helper_test.rb +0 -79
  323. data/vendor/rails/actionmailer/test/tmail_test.rb +0 -21
  324. data/vendor/rails/actionmailer/test/url_test.rb +0 -68
  325. data/vendor/rails/actionpack/CHANGELOG +0 -3560
  326. data/vendor/rails/actionpack/MIT-LICENSE +0 -21
  327. data/vendor/rails/actionpack/README +0 -469
  328. data/vendor/rails/actionpack/RUNNING_UNIT_TESTS +0 -25
  329. data/vendor/rails/actionpack/Rakefile +0 -154
  330. data/vendor/rails/actionpack/examples/address_book/index.erb +0 -33
  331. data/vendor/rails/actionpack/examples/address_book/index.rhtml +0 -0
  332. data/vendor/rails/actionpack/examples/address_book/layout.erb +0 -8
  333. data/vendor/rails/actionpack/examples/address_book/layout.rhtml +0 -0
  334. data/vendor/rails/actionpack/examples/address_book_controller.cgi +0 -9
  335. data/vendor/rails/actionpack/examples/address_book_controller.fcgi +0 -6
  336. data/vendor/rails/actionpack/examples/address_book_controller.rb +0 -52
  337. data/vendor/rails/actionpack/examples/address_book_controller.rbx +0 -4
  338. data/vendor/rails/actionpack/examples/benchmark.rb +0 -52
  339. data/vendor/rails/actionpack/examples/benchmark_with_ar.fcgi +0 -89
  340. data/vendor/rails/actionpack/examples/blog_controller.cgi +0 -53
  341. data/vendor/rails/actionpack/examples/debate/index.erb +0 -14
  342. data/vendor/rails/actionpack/examples/debate/index.rhtml +0 -0
  343. data/vendor/rails/actionpack/examples/debate/new_topic.erb +0 -22
  344. data/vendor/rails/actionpack/examples/debate/new_topic.rhtml +0 -0
  345. data/vendor/rails/actionpack/examples/debate/topic.erb +0 -32
  346. data/vendor/rails/actionpack/examples/debate/topic.rhtml +0 -0
  347. data/vendor/rails/actionpack/examples/debate_controller.cgi +0 -57
  348. data/vendor/rails/actionpack/install.rb +0 -30
  349. data/vendor/rails/actionpack/lib/action_controller.rb +0 -85
  350. data/vendor/rails/actionpack/lib/action_controller/assertions.rb +0 -70
  351. data/vendor/rails/actionpack/lib/action_controller/assertions/dom_assertions.rb +0 -25
  352. data/vendor/rails/actionpack/lib/action_controller/assertions/model_assertions.rb +0 -12
  353. data/vendor/rails/actionpack/lib/action_controller/assertions/response_assertions.rb +0 -141
  354. data/vendor/rails/actionpack/lib/action_controller/assertions/routing_assertions.rb +0 -99
  355. data/vendor/rails/actionpack/lib/action_controller/assertions/selector_assertions.rb +0 -585
  356. data/vendor/rails/actionpack/lib/action_controller/assertions/tag_assertions.rb +0 -117
  357. data/vendor/rails/actionpack/lib/action_controller/base.rb +0 -1251
  358. data/vendor/rails/actionpack/lib/action_controller/benchmarking.rb +0 -93
  359. data/vendor/rails/actionpack/lib/action_controller/caching.rb +0 -656
  360. data/vendor/rails/actionpack/lib/action_controller/cgi_ext.rb +0 -18
  361. data/vendor/rails/actionpack/lib/action_controller/cgi_ext/cookie.rb +0 -123
  362. data/vendor/rails/actionpack/lib/action_controller/cgi_ext/parameters.rb +0 -208
  363. data/vendor/rails/actionpack/lib/action_controller/cgi_ext/query_extension.rb +0 -96
  364. data/vendor/rails/actionpack/lib/action_controller/cgi_ext/session.rb +0 -63
  365. data/vendor/rails/actionpack/lib/action_controller/cgi_ext/stdinput.rb +0 -23
  366. data/vendor/rails/actionpack/lib/action_controller/cgi_process.rb +0 -217
  367. data/vendor/rails/actionpack/lib/action_controller/components.rb +0 -165
  368. data/vendor/rails/actionpack/lib/action_controller/cookies.rb +0 -78
  369. data/vendor/rails/actionpack/lib/action_controller/filters.rb +0 -752
  370. data/vendor/rails/actionpack/lib/action_controller/flash.rb +0 -184
  371. data/vendor/rails/actionpack/lib/action_controller/helpers.rb +0 -153
  372. data/vendor/rails/actionpack/lib/action_controller/http_authentication.rb +0 -121
  373. data/vendor/rails/actionpack/lib/action_controller/integration.rb +0 -552
  374. data/vendor/rails/actionpack/lib/action_controller/layout.rb +0 -318
  375. data/vendor/rails/actionpack/lib/action_controller/macros/auto_complete.rb +0 -53
  376. data/vendor/rails/actionpack/lib/action_controller/macros/in_place_editing.rb +0 -33
  377. data/vendor/rails/actionpack/lib/action_controller/mime_responds.rb +0 -191
  378. data/vendor/rails/actionpack/lib/action_controller/mime_type.rb +0 -157
  379. data/vendor/rails/actionpack/lib/action_controller/mime_types.rb +0 -20
  380. data/vendor/rails/actionpack/lib/action_controller/pagination.rb +0 -402
  381. data/vendor/rails/actionpack/lib/action_controller/polymorphic_routes.rb +0 -56
  382. data/vendor/rails/actionpack/lib/action_controller/record_identifier.rb +0 -91
  383. data/vendor/rails/actionpack/lib/action_controller/request.rb +0 -316
  384. data/vendor/rails/actionpack/lib/action_controller/rescue.rb +0 -152
  385. data/vendor/rails/actionpack/lib/action_controller/resources.rb +0 -485
  386. data/vendor/rails/actionpack/lib/action_controller/response.rb +0 -76
  387. data/vendor/rails/actionpack/lib/action_controller/routing.rb +0 -1365
  388. data/vendor/rails/actionpack/lib/action_controller/scaffolding.rb +0 -191
  389. data/vendor/rails/actionpack/lib/action_controller/session/active_record_store.rb +0 -335
  390. data/vendor/rails/actionpack/lib/action_controller/session/cookie_store.rb +0 -143
  391. data/vendor/rails/actionpack/lib/action_controller/session/drb_server.rb +0 -32
  392. data/vendor/rails/actionpack/lib/action_controller/session/drb_store.rb +0 -35
  393. data/vendor/rails/actionpack/lib/action_controller/session/mem_cache_store.rb +0 -105
  394. data/vendor/rails/actionpack/lib/action_controller/session_management.rb +0 -150
  395. data/vendor/rails/actionpack/lib/action_controller/status_codes.rb +0 -88
  396. data/vendor/rails/actionpack/lib/action_controller/streaming.rb +0 -141
  397. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.erb +0 -24
  398. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/_request_and_response.rhtml +0 -0
  399. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/_trace.erb +0 -26
  400. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/_trace.rhtml +0 -0
  401. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/diagnostics.erb +0 -11
  402. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/diagnostics.rhtml +0 -0
  403. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.erb +0 -29
  404. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/layout.rhtml +0 -0
  405. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/missing_template.erb +0 -2
  406. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/missing_template.rhtml +0 -0
  407. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/routing_error.erb +0 -10
  408. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/routing_error.rhtml +0 -0
  409. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/template_error.erb +0 -21
  410. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/template_error.rhtml +0 -0
  411. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/unknown_action.erb +0 -2
  412. data/vendor/rails/actionpack/lib/action_controller/templates/rescues/unknown_action.rhtml +0 -0
  413. data/vendor/rails/actionpack/lib/action_controller/templates/scaffolds/edit.erb +0 -7
  414. data/vendor/rails/actionpack/lib/action_controller/templates/scaffolds/edit.rhtml +0 -0
  415. data/vendor/rails/actionpack/lib/action_controller/templates/scaffolds/layout.erb +0 -69
  416. data/vendor/rails/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml +0 -0
  417. data/vendor/rails/actionpack/lib/action_controller/templates/scaffolds/list.erb +0 -27
  418. data/vendor/rails/actionpack/lib/action_controller/templates/scaffolds/list.rhtml +0 -0
  419. data/vendor/rails/actionpack/lib/action_controller/templates/scaffolds/new.erb +0 -6
  420. data/vendor/rails/actionpack/lib/action_controller/templates/scaffolds/new.rhtml +0 -0
  421. data/vendor/rails/actionpack/lib/action_controller/templates/scaffolds/show.erb +0 -9
  422. data/vendor/rails/actionpack/lib/action_controller/templates/scaffolds/show.rhtml +0 -0
  423. data/vendor/rails/actionpack/lib/action_controller/test_process.rb +0 -516
  424. data/vendor/rails/actionpack/lib/action_controller/url_rewriter.rb +0 -124
  425. data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/document.rb +0 -64
  426. data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/node.rb +0 -530
  427. data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/selector.rb +0 -828
  428. data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/tokenizer.rb +0 -105
  429. data/vendor/rails/actionpack/lib/action_controller/vendor/html-scanner/html/version.rb +0 -11
  430. data/vendor/rails/actionpack/lib/action_controller/verification.rb +0 -108
  431. data/vendor/rails/actionpack/lib/action_pack.rb +0 -24
  432. data/vendor/rails/actionpack/lib/action_pack/version.rb +0 -9
  433. data/vendor/rails/actionpack/lib/action_view.rb +0 -31
  434. data/vendor/rails/actionpack/lib/action_view/base.rb +0 -625
  435. data/vendor/rails/actionpack/lib/action_view/compiled_templates.rb +0 -69
  436. data/vendor/rails/actionpack/lib/action_view/helpers/active_record_helper.rb +0 -237
  437. data/vendor/rails/actionpack/lib/action_view/helpers/asset_tag_helper.rb +0 -405
  438. data/vendor/rails/actionpack/lib/action_view/helpers/benchmark_helper.rb +0 -24
  439. data/vendor/rails/actionpack/lib/action_view/helpers/cache_helper.rb +0 -10
  440. data/vendor/rails/actionpack/lib/action_view/helpers/capture_helper.rb +0 -128
  441. data/vendor/rails/actionpack/lib/action_view/helpers/date_helper.rb +0 -454
  442. data/vendor/rails/actionpack/lib/action_view/helpers/debug_helper.rb +0 -31
  443. data/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb +0 -609
  444. data/vendor/rails/actionpack/lib/action_view/helpers/form_options_helper.rb +0 -372
  445. data/vendor/rails/actionpack/lib/action_view/helpers/form_tag_helper.rb +0 -192
  446. data/vendor/rails/actionpack/lib/action_view/helpers/java_script_macros_helper.rb +0 -233
  447. data/vendor/rails/actionpack/lib/action_view/helpers/javascript_helper.rb +0 -193
  448. data/vendor/rails/actionpack/lib/action_view/helpers/javascripts/controls.js +0 -833
  449. data/vendor/rails/actionpack/lib/action_view/helpers/javascripts/dragdrop.js +0 -942
  450. data/vendor/rails/actionpack/lib/action_view/helpers/javascripts/effects.js +0 -1088
  451. data/vendor/rails/actionpack/lib/action_view/helpers/javascripts/prototype.js +0 -2515
  452. data/vendor/rails/actionpack/lib/action_view/helpers/number_helper.rb +0 -152
  453. data/vendor/rails/actionpack/lib/action_view/helpers/pagination_helper.rb +0 -86
  454. data/vendor/rails/actionpack/lib/action_view/helpers/prototype_helper.rb +0 -913
  455. data/vendor/rails/actionpack/lib/action_view/helpers/record_identification_helper.rb +0 -20
  456. data/vendor/rails/actionpack/lib/action_view/helpers/record_tag_helper.rb +0 -59
  457. data/vendor/rails/actionpack/lib/action_view/helpers/scriptaculous_helper.rb +0 -140
  458. data/vendor/rails/actionpack/lib/action_view/helpers/tag_helper.rb +0 -108
  459. data/vendor/rails/actionpack/lib/action_view/helpers/text_helper.rb +0 -401
  460. data/vendor/rails/actionpack/lib/action_view/helpers/url_helper.rb +0 -496
  461. data/vendor/rails/actionpack/lib/action_view/partials.rb +0 -128
  462. data/vendor/rails/actionpack/lib/action_view/template_error.rb +0 -102
  463. data/vendor/rails/actionpack/test/abstract_unit.rb +0 -29
  464. data/vendor/rails/actionpack/test/active_record_unit.rb +0 -108
  465. data/vendor/rails/actionpack/test/activerecord/active_record_store_test.rb +0 -142
  466. data/vendor/rails/actionpack/test/activerecord/pagination_test.rb +0 -156
  467. data/vendor/rails/actionpack/test/controller/action_pack_assertions_test.rb +0 -479
  468. data/vendor/rails/actionpack/test/controller/addresses_render_test.rb +0 -43
  469. data/vendor/rails/actionpack/test/controller/assert_select_test.rb +0 -597
  470. data/vendor/rails/actionpack/test/controller/base_test.rb +0 -134
  471. data/vendor/rails/actionpack/test/controller/benchmark_test.rb +0 -33
  472. data/vendor/rails/actionpack/test/controller/caching_test.rb +0 -262
  473. data/vendor/rails/actionpack/test/controller/capture_test.rb +0 -71
  474. data/vendor/rails/actionpack/test/controller/cgi_test.rb +0 -432
  475. data/vendor/rails/actionpack/test/controller/components_test.rb +0 -129
  476. data/vendor/rails/actionpack/test/controller/content_type_test.rb +0 -139
  477. data/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/admin/user_controller.rb +0 -0
  478. data/vendor/rails/actionpack/test/controller/controller_fixtures/app/controllers/user_controller.rb +0 -0
  479. data/vendor/rails/actionpack/test/controller/controller_fixtures/vendor/plugins/bad_plugin/lib/plugin_controller.rb +0 -0
  480. data/vendor/rails/actionpack/test/controller/cookie_test.rb +0 -88
  481. data/vendor/rails/actionpack/test/controller/custom_handler_test.rb +0 -41
  482. data/vendor/rails/actionpack/test/controller/deprecation/deprecated_base_methods_test.rb +0 -48
  483. data/vendor/rails/actionpack/test/controller/fake_controllers.rb +0 -16
  484. data/vendor/rails/actionpack/test/controller/filter_params_test.rb +0 -42
  485. data/vendor/rails/actionpack/test/controller/filters_test.rb +0 -752
  486. data/vendor/rails/actionpack/test/controller/flash_test.rb +0 -147
  487. data/vendor/rails/actionpack/test/controller/fragment_store_setting_test.rb +0 -45
  488. data/vendor/rails/actionpack/test/controller/helper_test.rb +0 -204
  489. data/vendor/rails/actionpack/test/controller/html-scanner/document_test.rb +0 -104
  490. data/vendor/rails/actionpack/test/controller/html-scanner/node_test.rb +0 -69
  491. data/vendor/rails/actionpack/test/controller/html-scanner/tag_node_test.rb +0 -239
  492. data/vendor/rails/actionpack/test/controller/html-scanner/text_node_test.rb +0 -51
  493. data/vendor/rails/actionpack/test/controller/html-scanner/tokenizer_test.rb +0 -125
  494. data/vendor/rails/actionpack/test/controller/http_authentication_test.rb +0 -42
  495. data/vendor/rails/actionpack/test/controller/integration_test.rb +0 -187
  496. data/vendor/rails/actionpack/test/controller/layout_test.rb +0 -202
  497. data/vendor/rails/actionpack/test/controller/mime_responds_test.rb +0 -358
  498. data/vendor/rails/actionpack/test/controller/mime_type_test.rb +0 -54
  499. data/vendor/rails/actionpack/test/controller/new_render_test.rb +0 -769
  500. data/vendor/rails/actionpack/test/controller/raw_post_test.rb +0 -74
  501. data/vendor/rails/actionpack/test/controller/record_identifier_test.rb +0 -103
  502. data/vendor/rails/actionpack/test/controller/redirect_test.rb +0 -180
  503. data/vendor/rails/actionpack/test/controller/render_test.rb +0 -404
  504. data/vendor/rails/actionpack/test/controller/request_test.rb +0 -393
  505. data/vendor/rails/actionpack/test/controller/rescue_test.rb +0 -215
  506. data/vendor/rails/actionpack/test/controller/resources_test.rb +0 -585
  507. data/vendor/rails/actionpack/test/controller/routing_test.rb +0 -1902
  508. data/vendor/rails/actionpack/test/controller/selector_test.rb +0 -628
  509. data/vendor/rails/actionpack/test/controller/send_file_test.rb +0 -127
  510. data/vendor/rails/actionpack/test/controller/session/cookie_store_test.rb +0 -228
  511. data/vendor/rails/actionpack/test/controller/session_management_test.rb +0 -156
  512. data/vendor/rails/actionpack/test/controller/test_test.rb +0 -520
  513. data/vendor/rails/actionpack/test/controller/url_rewriter_test.rb +0 -218
  514. data/vendor/rails/actionpack/test/controller/verification_test.rb +0 -242
  515. data/vendor/rails/actionpack/test/controller/view_paths_test.rb +0 -79
  516. data/vendor/rails/actionpack/test/controller/webservice_test.rb +0 -181
  517. data/vendor/rails/actionpack/test/fixtures/addresses/list.erb +0 -1
  518. data/vendor/rails/actionpack/test/fixtures/addresses/list.rhtml +0 -0
  519. data/vendor/rails/actionpack/test/fixtures/companies.yml +0 -24
  520. data/vendor/rails/actionpack/test/fixtures/company.rb +0 -9
  521. data/vendor/rails/actionpack/test/fixtures/content_type/render_default_content_types_for_respond_to.rhtml +0 -1
  522. data/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rhtml.rhtml +0 -1
  523. data/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rjs.rjs +0 -1
  524. data/vendor/rails/actionpack/test/fixtures/content_type/render_default_for_rxml.rxml +0 -1
  525. data/vendor/rails/actionpack/test/fixtures/db_definitions/sqlite.sql +0 -42
  526. data/vendor/rails/actionpack/test/fixtures/developer.rb +0 -7
  527. data/vendor/rails/actionpack/test/fixtures/developers.yml +0 -21
  528. data/vendor/rails/actionpack/test/fixtures/developers_projects.yml +0 -13
  529. data/vendor/rails/actionpack/test/fixtures/fun/games/hello_world.erb +0 -1
  530. data/vendor/rails/actionpack/test/fixtures/fun/games/hello_world.rhtml +0 -0
  531. data/vendor/rails/actionpack/test/fixtures/helpers/abc_helper.rb +0 -5
  532. data/vendor/rails/actionpack/test/fixtures/helpers/fun/games_helper.rb +0 -3
  533. data/vendor/rails/actionpack/test/fixtures/helpers/fun/pdf_helper.rb +0 -3
  534. data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/controller_name_space/nested.rhtml +0 -1
  535. data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/item.rhtml +0 -1
  536. data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/layout_test.rhtml +0 -1
  537. data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/multiple_extensions.html.erb +0 -1
  538. data/vendor/rails/actionpack/test/fixtures/layout_tests/layouts/third_party_template_library.mab +0 -1
  539. data/vendor/rails/actionpack/test/fixtures/layout_tests/views/hello.rhtml +0 -1
  540. data/vendor/rails/actionpack/test/fixtures/layouts/builder.builder +0 -3
  541. data/vendor/rails/actionpack/test/fixtures/layouts/builder.rxml +0 -0
  542. data/vendor/rails/actionpack/test/fixtures/layouts/standard.erb +0 -1
  543. data/vendor/rails/actionpack/test/fixtures/layouts/standard.rhtml +0 -0
  544. data/vendor/rails/actionpack/test/fixtures/layouts/talk_from_action.erb +0 -2
  545. data/vendor/rails/actionpack/test/fixtures/layouts/talk_from_action.rhtml +0 -0
  546. data/vendor/rails/actionpack/test/fixtures/layouts/yield.erb +0 -2
  547. data/vendor/rails/actionpack/test/fixtures/layouts/yield.rhtml +0 -0
  548. data/vendor/rails/actionpack/test/fixtures/multipart/binary_file +0 -0
  549. data/vendor/rails/actionpack/test/fixtures/multipart/large_text_file +0 -10
  550. data/vendor/rails/actionpack/test/fixtures/multipart/mixed_files +0 -0
  551. data/vendor/rails/actionpack/test/fixtures/multipart/mona_lisa.jpg +0 -0
  552. data/vendor/rails/actionpack/test/fixtures/multipart/single_parameter +0 -5
  553. data/vendor/rails/actionpack/test/fixtures/multipart/text_file +0 -10
  554. data/vendor/rails/actionpack/test/fixtures/override/test/hello_world.erb +0 -1
  555. data/vendor/rails/actionpack/test/fixtures/override/test/hello_world.rhtml +0 -0
  556. data/vendor/rails/actionpack/test/fixtures/project.rb +0 -3
  557. data/vendor/rails/actionpack/test/fixtures/projects.yml +0 -7
  558. data/vendor/rails/actionpack/test/fixtures/public/404.html +0 -1
  559. data/vendor/rails/actionpack/test/fixtures/public/500.html +0 -1
  560. data/vendor/rails/actionpack/test/fixtures/public/images/rails.png +0 -0
  561. data/vendor/rails/actionpack/test/fixtures/public/javascripts/application.js +0 -0
  562. data/vendor/rails/actionpack/test/fixtures/public/javascripts/bank.js +0 -1
  563. data/vendor/rails/actionpack/test/fixtures/public/javascripts/robber.js +0 -1
  564. data/vendor/rails/actionpack/test/fixtures/public/stylesheets/bank.css +0 -1
  565. data/vendor/rails/actionpack/test/fixtures/public/stylesheets/robber.css +0 -1
  566. data/vendor/rails/actionpack/test/fixtures/replies.yml +0 -13
  567. data/vendor/rails/actionpack/test/fixtures/reply.rb +0 -5
  568. data/vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.html.erb +0 -1
  569. data/vendor/rails/actionpack/test/fixtures/respond_to/all_types_with_layout.js.rjs +0 -1
  570. data/vendor/rails/actionpack/test/fixtures/respond_to/layouts/standard.rhtml +0 -1
  571. data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.html.erb +0 -1
  572. data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.js.rjs +0 -1
  573. data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults.xml.builder +0 -1
  574. data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.html.erb +0 -1
  575. data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.js.rjs +0 -1
  576. data/vendor/rails/actionpack/test/fixtures/respond_to/using_defaults_with_type_list.xml.builder +0 -1
  577. data/vendor/rails/actionpack/test/fixtures/scope/test/modgreet.erb +0 -1
  578. data/vendor/rails/actionpack/test/fixtures/scope/test/modgreet.rhtml +0 -0
  579. data/vendor/rails/actionpack/test/fixtures/test/_customer.erb +0 -1
  580. data/vendor/rails/actionpack/test/fixtures/test/_customer.rhtml +0 -0
  581. data/vendor/rails/actionpack/test/fixtures/test/_customer_greeting.erb +0 -1
  582. data/vendor/rails/actionpack/test/fixtures/test/_customer_greeting.rhtml +0 -0
  583. data/vendor/rails/actionpack/test/fixtures/test/_hash_object.erb +0 -1
  584. data/vendor/rails/actionpack/test/fixtures/test/_hash_object.rhtml +0 -0
  585. data/vendor/rails/actionpack/test/fixtures/test/_hello.builder +0 -1
  586. data/vendor/rails/actionpack/test/fixtures/test/_hello.rxml +0 -0
  587. data/vendor/rails/actionpack/test/fixtures/test/_partial.erb +0 -1
  588. data/vendor/rails/actionpack/test/fixtures/test/_partial.html.erb +0 -1
  589. data/vendor/rails/actionpack/test/fixtures/test/_partial.js.erb +0 -1
  590. data/vendor/rails/actionpack/test/fixtures/test/_partial.rhtml +0 -0
  591. data/vendor/rails/actionpack/test/fixtures/test/_partial_only.erb +0 -1
  592. data/vendor/rails/actionpack/test/fixtures/test/_partial_only.rhtml +0 -0
  593. data/vendor/rails/actionpack/test/fixtures/test/_person.erb +0 -2
  594. data/vendor/rails/actionpack/test/fixtures/test/_person.rhtml +0 -0
  595. data/vendor/rails/actionpack/test/fixtures/test/action_talk_to_layout.erb +0 -2
  596. data/vendor/rails/actionpack/test/fixtures/test/action_talk_to_layout.rhtml +0 -0
  597. data/vendor/rails/actionpack/test/fixtures/test/block_content_for.erb +0 -2
  598. data/vendor/rails/actionpack/test/fixtures/test/block_content_for.rhtml +0 -0
  599. data/vendor/rails/actionpack/test/fixtures/test/capturing.erb +0 -4
  600. data/vendor/rails/actionpack/test/fixtures/test/capturing.rhtml +0 -0
  601. data/vendor/rails/actionpack/test/fixtures/test/content_for.erb +0 -2
  602. data/vendor/rails/actionpack/test/fixtures/test/content_for.rhtml +0 -0
  603. data/vendor/rails/actionpack/test/fixtures/test/delete_with_js.rjs +0 -2
  604. data/vendor/rails/actionpack/test/fixtures/test/dot.directory/render_file_with_ivar.erb +0 -1
  605. data/vendor/rails/actionpack/test/fixtures/test/dot.directory/render_file_with_ivar.rhtml +0 -0
  606. data/vendor/rails/actionpack/test/fixtures/test/enum_rjs_test.rjs +0 -6
  607. data/vendor/rails/actionpack/test/fixtures/test/erb_content_for.erb +0 -2
  608. data/vendor/rails/actionpack/test/fixtures/test/erb_content_for.rhtml +0 -0
  609. data/vendor/rails/actionpack/test/fixtures/test/formatted_html_erb.html.erb +0 -1
  610. data/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.builder +0 -1
  611. data/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.html.erb +0 -1
  612. data/vendor/rails/actionpack/test/fixtures/test/formatted_xml_erb.xml.erb +0 -1
  613. data/vendor/rails/actionpack/test/fixtures/test/greeting.erb +0 -1
  614. data/vendor/rails/actionpack/test/fixtures/test/greeting.rhtml +0 -0
  615. data/vendor/rails/actionpack/test/fixtures/test/hello.builder +0 -4
  616. data/vendor/rails/actionpack/test/fixtures/test/hello.rxml +0 -0
  617. data/vendor/rails/actionpack/test/fixtures/test/hello_world.builder +0 -4
  618. data/vendor/rails/actionpack/test/fixtures/test/hello_world.erb +0 -1
  619. data/vendor/rails/actionpack/test/fixtures/test/hello_world.rhtml +0 -0
  620. data/vendor/rails/actionpack/test/fixtures/test/hello_world.rxml +0 -0
  621. data/vendor/rails/actionpack/test/fixtures/test/hello_world_container.builder +0 -3
  622. data/vendor/rails/actionpack/test/fixtures/test/hello_world_container.rxml +0 -0
  623. data/vendor/rails/actionpack/test/fixtures/test/hello_world_with_layout_false.erb +0 -1
  624. data/vendor/rails/actionpack/test/fixtures/test/hello_world_with_layout_false.rhtml +0 -0
  625. data/vendor/rails/actionpack/test/fixtures/test/hello_xml_world.builder +0 -11
  626. data/vendor/rails/actionpack/test/fixtures/test/hello_xml_world.rxml +0 -0
  627. data/vendor/rails/actionpack/test/fixtures/test/list.erb +0 -1
  628. data/vendor/rails/actionpack/test/fixtures/test/list.rhtml +0 -0
  629. data/vendor/rails/actionpack/test/fixtures/test/non_erb_block_content_for.builder +0 -4
  630. data/vendor/rails/actionpack/test/fixtures/test/non_erb_block_content_for.rxml +0 -0
  631. data/vendor/rails/actionpack/test/fixtures/test/potential_conflicts.erb +0 -4
  632. data/vendor/rails/actionpack/test/fixtures/test/potential_conflicts.rhtml +0 -0
  633. data/vendor/rails/actionpack/test/fixtures/test/render_file_with_ivar.erb +0 -1
  634. data/vendor/rails/actionpack/test/fixtures/test/render_file_with_ivar.rhtml +0 -0
  635. data/vendor/rails/actionpack/test/fixtures/test/render_file_with_locals.erb +0 -1
  636. data/vendor/rails/actionpack/test/fixtures/test/render_file_with_locals.rhtml +0 -0
  637. data/vendor/rails/actionpack/test/fixtures/test/render_to_string_test.erb +0 -1
  638. data/vendor/rails/actionpack/test/fixtures/test/render_to_string_test.rhtml +0 -0
  639. data/vendor/rails/actionpack/test/fixtures/test/update_element_with_capture.erb +0 -9
  640. data/vendor/rails/actionpack/test/fixtures/test/update_element_with_capture.rhtml +0 -0
  641. data/vendor/rails/actionpack/test/fixtures/topic.rb +0 -3
  642. data/vendor/rails/actionpack/test/fixtures/topics.yml +0 -22
  643. data/vendor/rails/actionpack/test/template/active_record_helper_test.rb +0 -197
  644. data/vendor/rails/actionpack/test/template/asset_tag_helper_test.rb +0 -367
  645. data/vendor/rails/actionpack/test/template/benchmark_helper_test.rb +0 -72
  646. data/vendor/rails/actionpack/test/template/compiled_templates_test.rb +0 -168
  647. data/vendor/rails/actionpack/test/template/date_helper_test.rb +0 -1394
  648. data/vendor/rails/actionpack/test/template/form_helper_test.rb +0 -611
  649. data/vendor/rails/actionpack/test/template/form_options_helper_test.rb +0 -489
  650. data/vendor/rails/actionpack/test/template/form_tag_helper_test.rb +0 -149
  651. data/vendor/rails/actionpack/test/template/java_script_macros_helper_test.rb +0 -109
  652. data/vendor/rails/actionpack/test/template/javascript_helper_test.rb +0 -67
  653. data/vendor/rails/actionpack/test/template/number_helper_test.rb +0 -89
  654. data/vendor/rails/actionpack/test/template/prototype_helper_test.rb +0 -556
  655. data/vendor/rails/actionpack/test/template/scriptaculous_helper_test.rb +0 -90
  656. data/vendor/rails/actionpack/test/template/tag_helper_test.rb +0 -74
  657. data/vendor/rails/actionpack/test/template/text_helper_test.rb +0 -356
  658. data/vendor/rails/actionpack/test/template/url_helper_test.rb +0 -423
  659. data/vendor/rails/actionpack/test/testing_sandbox.rb +0 -11
  660. data/vendor/rails/actionwebservice/CHANGELOG +0 -265
  661. data/vendor/rails/actionwebservice/MIT-LICENSE +0 -21
  662. data/vendor/rails/actionwebservice/README +0 -364
  663. data/vendor/rails/actionwebservice/Rakefile +0 -171
  664. data/vendor/rails/actionwebservice/TODO +0 -32
  665. data/vendor/rails/actionwebservice/examples/googlesearch/README +0 -143
  666. data/vendor/rails/actionwebservice/examples/googlesearch/autoloading/google_search_api.rb +0 -50
  667. data/vendor/rails/actionwebservice/examples/googlesearch/autoloading/google_search_controller.rb +0 -57
  668. data/vendor/rails/actionwebservice/examples/googlesearch/delegated/google_search_service.rb +0 -108
  669. data/vendor/rails/actionwebservice/examples/googlesearch/delegated/search_controller.rb +0 -7
  670. data/vendor/rails/actionwebservice/examples/googlesearch/direct/google_search_api.rb +0 -50
  671. data/vendor/rails/actionwebservice/examples/googlesearch/direct/search_controller.rb +0 -58
  672. data/vendor/rails/actionwebservice/examples/metaWeblog/README +0 -17
  673. data/vendor/rails/actionwebservice/examples/metaWeblog/apis/blogger_api.rb +0 -60
  674. data/vendor/rails/actionwebservice/examples/metaWeblog/apis/blogger_service.rb +0 -34
  675. data/vendor/rails/actionwebservice/examples/metaWeblog/apis/meta_weblog_api.rb +0 -67
  676. data/vendor/rails/actionwebservice/examples/metaWeblog/apis/meta_weblog_service.rb +0 -48
  677. data/vendor/rails/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb +0 -16
  678. data/vendor/rails/actionwebservice/install.rb +0 -30
  679. data/vendor/rails/actionwebservice/lib/action_web_service.rb +0 -66
  680. data/vendor/rails/actionwebservice/lib/action_web_service/api.rb +0 -301
  681. data/vendor/rails/actionwebservice/lib/action_web_service/base.rb +0 -42
  682. data/vendor/rails/actionwebservice/lib/action_web_service/casting.rb +0 -138
  683. data/vendor/rails/actionwebservice/lib/action_web_service/client.rb +0 -3
  684. data/vendor/rails/actionwebservice/lib/action_web_service/client/base.rb +0 -28
  685. data/vendor/rails/actionwebservice/lib/action_web_service/client/soap_client.rb +0 -113
  686. data/vendor/rails/actionwebservice/lib/action_web_service/client/xmlrpc_client.rb +0 -58
  687. data/vendor/rails/actionwebservice/lib/action_web_service/container.rb +0 -3
  688. data/vendor/rails/actionwebservice/lib/action_web_service/container/action_controller_container.rb +0 -93
  689. data/vendor/rails/actionwebservice/lib/action_web_service/container/delegated_container.rb +0 -86
  690. data/vendor/rails/actionwebservice/lib/action_web_service/container/direct_container.rb +0 -69
  691. data/vendor/rails/actionwebservice/lib/action_web_service/dispatcher.rb +0 -2
  692. data/vendor/rails/actionwebservice/lib/action_web_service/dispatcher/abstract.rb +0 -207
  693. data/vendor/rails/actionwebservice/lib/action_web_service/dispatcher/action_controller_dispatcher.rb +0 -379
  694. data/vendor/rails/actionwebservice/lib/action_web_service/invocation.rb +0 -202
  695. data/vendor/rails/actionwebservice/lib/action_web_service/protocol.rb +0 -4
  696. data/vendor/rails/actionwebservice/lib/action_web_service/protocol/abstract.rb +0 -112
  697. data/vendor/rails/actionwebservice/lib/action_web_service/protocol/discovery.rb +0 -37
  698. data/vendor/rails/actionwebservice/lib/action_web_service/protocol/soap_protocol.rb +0 -176
  699. data/vendor/rails/actionwebservice/lib/action_web_service/protocol/soap_protocol/marshaler.rb +0 -235
  700. data/vendor/rails/actionwebservice/lib/action_web_service/protocol/xmlrpc_protocol.rb +0 -122
  701. data/vendor/rails/actionwebservice/lib/action_web_service/scaffolding.rb +0 -283
  702. data/vendor/rails/actionwebservice/lib/action_web_service/struct.rb +0 -68
  703. data/vendor/rails/actionwebservice/lib/action_web_service/support/class_inheritable_options.rb +0 -26
  704. data/vendor/rails/actionwebservice/lib/action_web_service/support/signature_types.rb +0 -226
  705. data/vendor/rails/actionwebservice/lib/action_web_service/templates/scaffolds/layout.erb +0 -65
  706. data/vendor/rails/actionwebservice/lib/action_web_service/templates/scaffolds/layout.rhtml +0 -0
  707. data/vendor/rails/actionwebservice/lib/action_web_service/templates/scaffolds/methods.erb +0 -6
  708. data/vendor/rails/actionwebservice/lib/action_web_service/templates/scaffolds/methods.rhtml +0 -0
  709. data/vendor/rails/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.erb +0 -29
  710. data/vendor/rails/actionwebservice/lib/action_web_service/templates/scaffolds/parameters.rhtml +0 -0
  711. data/vendor/rails/actionwebservice/lib/action_web_service/templates/scaffolds/result.erb +0 -30
  712. data/vendor/rails/actionwebservice/lib/action_web_service/templates/scaffolds/result.rhtml +0 -0
  713. data/vendor/rails/actionwebservice/lib/action_web_service/test_invoke.rb +0 -110
  714. data/vendor/rails/actionwebservice/lib/action_web_service/version.rb +0 -9
  715. data/vendor/rails/actionwebservice/setup.rb +0 -1379
  716. data/vendor/rails/actionwebservice/test/abstract_client.rb +0 -183
  717. data/vendor/rails/actionwebservice/test/abstract_dispatcher.rb +0 -551
  718. data/vendor/rails/actionwebservice/test/abstract_unit.rb +0 -45
  719. data/vendor/rails/actionwebservice/test/api_test.rb +0 -102
  720. data/vendor/rails/actionwebservice/test/apis/auto_load_api.rb +0 -3
  721. data/vendor/rails/actionwebservice/test/apis/broken_auto_load_api.rb +0 -2
  722. data/vendor/rails/actionwebservice/test/base_test.rb +0 -42
  723. data/vendor/rails/actionwebservice/test/casting_test.rb +0 -86
  724. data/vendor/rails/actionwebservice/test/client_soap_test.rb +0 -153
  725. data/vendor/rails/actionwebservice/test/client_xmlrpc_test.rb +0 -152
  726. data/vendor/rails/actionwebservice/test/container_test.rb +0 -73
  727. data/vendor/rails/actionwebservice/test/dispatcher_action_controller_soap_test.rb +0 -137
  728. data/vendor/rails/actionwebservice/test/dispatcher_action_controller_xmlrpc_test.rb +0 -59
  729. data/vendor/rails/actionwebservice/test/fixtures/db_definitions/mysql.sql +0 -8
  730. data/vendor/rails/actionwebservice/test/fixtures/users.yml +0 -12
  731. data/vendor/rails/actionwebservice/test/gencov +0 -3
  732. data/vendor/rails/actionwebservice/test/invocation_test.rb +0 -185
  733. data/vendor/rails/actionwebservice/test/run +0 -6
  734. data/vendor/rails/actionwebservice/test/scaffolded_controller_test.rb +0 -146
  735. data/vendor/rails/actionwebservice/test/struct_test.rb +0 -52
  736. data/vendor/rails/actionwebservice/test/test_invoke_test.rb +0 -112
  737. data/vendor/rails/activerecord/CHANGELOG +0 -3195
  738. data/vendor/rails/activerecord/MIT-LICENSE +0 -20
  739. data/vendor/rails/activerecord/README +0 -360
  740. data/vendor/rails/activerecord/RUNNING_UNIT_TESTS +0 -64
  741. data/vendor/rails/activerecord/Rakefile +0 -223
  742. data/vendor/rails/activerecord/benchmarks/benchmark.rb +0 -26
  743. data/vendor/rails/activerecord/benchmarks/mysql_benchmark.rb +0 -19
  744. data/vendor/rails/activerecord/examples/associations.png +0 -0
  745. data/vendor/rails/activerecord/examples/associations.rb +0 -87
  746. data/vendor/rails/activerecord/examples/shared_setup.rb +0 -15
  747. data/vendor/rails/activerecord/examples/validation.rb +0 -85
  748. data/vendor/rails/activerecord/install.rb +0 -30
  749. data/vendor/rails/activerecord/lib/active_record.rb +0 -85
  750. data/vendor/rails/activerecord/lib/active_record/acts/list.rb +0 -253
  751. data/vendor/rails/activerecord/lib/active_record/acts/nested_set.rb +0 -211
  752. data/vendor/rails/activerecord/lib/active_record/acts/tree.rb +0 -96
  753. data/vendor/rails/activerecord/lib/active_record/aggregations.rb +0 -191
  754. data/vendor/rails/activerecord/lib/active_record/associations.rb +0 -1701
  755. data/vendor/rails/activerecord/lib/active_record/associations/association_collection.rb +0 -212
  756. data/vendor/rails/activerecord/lib/active_record/associations/association_proxy.rb +0 -162
  757. data/vendor/rails/activerecord/lib/active_record/associations/belongs_to_association.rb +0 -56
  758. data/vendor/rails/activerecord/lib/active_record/associations/belongs_to_polymorphic_association.rb +0 -50
  759. data/vendor/rails/activerecord/lib/active_record/associations/has_and_belongs_to_many_association.rb +0 -163
  760. data/vendor/rails/activerecord/lib/active_record/associations/has_many_association.rb +0 -196
  761. data/vendor/rails/activerecord/lib/active_record/associations/has_many_through_association.rb +0 -245
  762. data/vendor/rails/activerecord/lib/active_record/associations/has_one_association.rb +0 -96
  763. data/vendor/rails/activerecord/lib/active_record/attribute_methods.rb +0 -75
  764. data/vendor/rails/activerecord/lib/active_record/base.rb +0 -2276
  765. data/vendor/rails/activerecord/lib/active_record/calculations.rb +0 -274
  766. data/vendor/rails/activerecord/lib/active_record/callbacks.rb +0 -371
  767. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb +0 -279
  768. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb +0 -135
  769. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb +0 -61
  770. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb +0 -393
  771. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +0 -303
  772. data/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract_adapter.rb +0 -157
  773. data/vendor/rails/activerecord/lib/active_record/connection_adapters/db2_adapter.rb +0 -228
  774. data/vendor/rails/activerecord/lib/active_record/connection_adapters/firebird_adapter.rb +0 -728
  775. data/vendor/rails/activerecord/lib/active_record/connection_adapters/frontbase_adapter.rb +0 -863
  776. data/vendor/rails/activerecord/lib/active_record/connection_adapters/mysql_adapter.rb +0 -421
  777. data/vendor/rails/activerecord/lib/active_record/connection_adapters/openbase_adapter.rb +0 -349
  778. data/vendor/rails/activerecord/lib/active_record/connection_adapters/oracle_adapter.rb +0 -710
  779. data/vendor/rails/activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb +0 -582
  780. data/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb +0 -415
  781. data/vendor/rails/activerecord/lib/active_record/connection_adapters/sqlserver_adapter.rb +0 -606
  782. data/vendor/rails/activerecord/lib/active_record/connection_adapters/sybase_adapter.rb +0 -666
  783. data/vendor/rails/activerecord/lib/active_record/deprecated_associations.rb +0 -104
  784. data/vendor/rails/activerecord/lib/active_record/deprecated_finders.rb +0 -44
  785. data/vendor/rails/activerecord/lib/active_record/fixtures.rb +0 -639
  786. data/vendor/rails/activerecord/lib/active_record/locking/optimistic.rb +0 -137
  787. data/vendor/rails/activerecord/lib/active_record/locking/pessimistic.rb +0 -77
  788. data/vendor/rails/activerecord/lib/active_record/migration.rb +0 -393
  789. data/vendor/rails/activerecord/lib/active_record/observer.rb +0 -178
  790. data/vendor/rails/activerecord/lib/active_record/query_cache.rb +0 -111
  791. data/vendor/rails/activerecord/lib/active_record/reflection.rb +0 -219
  792. data/vendor/rails/activerecord/lib/active_record/schema.rb +0 -58
  793. data/vendor/rails/activerecord/lib/active_record/schema_dumper.rb +0 -164
  794. data/vendor/rails/activerecord/lib/active_record/timestamp.rb +0 -50
  795. data/vendor/rails/activerecord/lib/active_record/transactions.rb +0 -128
  796. data/vendor/rails/activerecord/lib/active_record/validations.rb +0 -902
  797. data/vendor/rails/activerecord/lib/active_record/vendor/db2.rb +0 -362
  798. data/vendor/rails/activerecord/lib/active_record/vendor/mysql.rb +0 -1214
  799. data/vendor/rails/activerecord/lib/active_record/version.rb +0 -9
  800. data/vendor/rails/activerecord/lib/active_record/wrappers/yaml_wrapper.rb +0 -15
  801. data/vendor/rails/activerecord/lib/active_record/wrappings.rb +0 -58
  802. data/vendor/rails/activerecord/lib/active_record/xml_serialization.rb +0 -327
  803. data/vendor/rails/activerecord/test/aaa_create_tables_test.rb +0 -59
  804. data/vendor/rails/activerecord/test/abstract_unit.rb +0 -79
  805. data/vendor/rails/activerecord/test/active_schema_test_mysql.rb +0 -31
  806. data/vendor/rails/activerecord/test/adapter_test.rb +0 -87
  807. data/vendor/rails/activerecord/test/adapter_test_sqlserver.rb +0 -95
  808. data/vendor/rails/activerecord/test/aggregations_test.rb +0 -95
  809. data/vendor/rails/activerecord/test/all.sh +0 -8
  810. data/vendor/rails/activerecord/test/ar_schema_test.rb +0 -33
  811. data/vendor/rails/activerecord/test/association_inheritance_reload.rb +0 -14
  812. data/vendor/rails/activerecord/test/associations/callbacks_test.rb +0 -126
  813. data/vendor/rails/activerecord/test/associations/cascaded_eager_loading_test.rb +0 -138
  814. data/vendor/rails/activerecord/test/associations/eager_singularization_test.rb +0 -145
  815. data/vendor/rails/activerecord/test/associations/eager_test.rb +0 -393
  816. data/vendor/rails/activerecord/test/associations/extension_test.rb +0 -42
  817. data/vendor/rails/activerecord/test/associations/join_model_test.rb +0 -497
  818. data/vendor/rails/activerecord/test/associations_test.rb +0 -1880
  819. data/vendor/rails/activerecord/test/attribute_methods_test.rb +0 -49
  820. data/vendor/rails/activerecord/test/base_test.rb +0 -1656
  821. data/vendor/rails/activerecord/test/binary_test.rb +0 -37
  822. data/vendor/rails/activerecord/test/calculations_test.rb +0 -219
  823. data/vendor/rails/activerecord/test/callbacks_test.rb +0 -400
  824. data/vendor/rails/activerecord/test/class_inheritable_attributes_test.rb +0 -32
  825. data/vendor/rails/activerecord/test/column_alias_test.rb +0 -17
  826. data/vendor/rails/activerecord/test/connection_test_firebird.rb +0 -8
  827. data/vendor/rails/activerecord/test/connections/native_db2/connection.rb +0 -25
  828. data/vendor/rails/activerecord/test/connections/native_firebird/connection.rb +0 -26
  829. data/vendor/rails/activerecord/test/connections/native_frontbase/connection.rb +0 -27
  830. data/vendor/rails/activerecord/test/connections/native_mysql/connection.rb +0 -27
  831. data/vendor/rails/activerecord/test/connections/native_openbase/connection.rb +0 -21
  832. data/vendor/rails/activerecord/test/connections/native_oracle/connection.rb +0 -27
  833. data/vendor/rails/activerecord/test/connections/native_postgresql/connection.rb +0 -23
  834. data/vendor/rails/activerecord/test/connections/native_sqlite/connection.rb +0 -25
  835. data/vendor/rails/activerecord/test/connections/native_sqlite3/connection.rb +0 -25
  836. data/vendor/rails/activerecord/test/connections/native_sqlite3/in_memory_connection.rb +0 -18
  837. data/vendor/rails/activerecord/test/connections/native_sqlserver/connection.rb +0 -23
  838. data/vendor/rails/activerecord/test/connections/native_sqlserver_odbc/connection.rb +0 -25
  839. data/vendor/rails/activerecord/test/connections/native_sybase/connection.rb +0 -23
  840. data/vendor/rails/activerecord/test/copy_table_test_sqlite.rb +0 -65
  841. data/vendor/rails/activerecord/test/datatype_test_postgresql.rb +0 -52
  842. data/vendor/rails/activerecord/test/default_test_firebird.rb +0 -16
  843. data/vendor/rails/activerecord/test/defaults_test.rb +0 -60
  844. data/vendor/rails/activerecord/test/deprecated_associations_test.rb +0 -396
  845. data/vendor/rails/activerecord/test/deprecated_finder_test.rb +0 -151
  846. data/vendor/rails/activerecord/test/empty_date_time_test.rb +0 -25
  847. data/vendor/rails/activerecord/test/finder_test.rb +0 -523
  848. data/vendor/rails/activerecord/test/fixtures/accounts.yml +0 -28
  849. data/vendor/rails/activerecord/test/fixtures/all/developers.yml +0 -0
  850. data/vendor/rails/activerecord/test/fixtures/all/people.csv +0 -0
  851. data/vendor/rails/activerecord/test/fixtures/all/tasks.yml +0 -0
  852. data/vendor/rails/activerecord/test/fixtures/author.rb +0 -99
  853. data/vendor/rails/activerecord/test/fixtures/author_favorites.yml +0 -4
  854. data/vendor/rails/activerecord/test/fixtures/authors.yml +0 -7
  855. data/vendor/rails/activerecord/test/fixtures/auto_id.rb +0 -4
  856. data/vendor/rails/activerecord/test/fixtures/bad_fixtures/attr_with_numeric_first_char +0 -1
  857. data/vendor/rails/activerecord/test/fixtures/bad_fixtures/attr_with_spaces +0 -1
  858. data/vendor/rails/activerecord/test/fixtures/bad_fixtures/blank_line +0 -3
  859. data/vendor/rails/activerecord/test/fixtures/bad_fixtures/duplicate_attributes +0 -3
  860. data/vendor/rails/activerecord/test/fixtures/bad_fixtures/missing_value +0 -1
  861. data/vendor/rails/activerecord/test/fixtures/binary.rb +0 -2
  862. data/vendor/rails/activerecord/test/fixtures/categories.yml +0 -14
  863. data/vendor/rails/activerecord/test/fixtures/categories/special_categories.yml +0 -9
  864. data/vendor/rails/activerecord/test/fixtures/categories/subsubdir/arbitrary_filename.yml +0 -4
  865. data/vendor/rails/activerecord/test/fixtures/categories_ordered.yml +0 -7
  866. data/vendor/rails/activerecord/test/fixtures/categories_posts.yml +0 -23
  867. data/vendor/rails/activerecord/test/fixtures/categorization.rb +0 -5
  868. data/vendor/rails/activerecord/test/fixtures/categorizations.yml +0 -17
  869. data/vendor/rails/activerecord/test/fixtures/category.rb +0 -20
  870. data/vendor/rails/activerecord/test/fixtures/column_name.rb +0 -3
  871. data/vendor/rails/activerecord/test/fixtures/comment.rb +0 -23
  872. data/vendor/rails/activerecord/test/fixtures/comments.yml +0 -59
  873. data/vendor/rails/activerecord/test/fixtures/companies.yml +0 -55
  874. data/vendor/rails/activerecord/test/fixtures/company.rb +0 -111
  875. data/vendor/rails/activerecord/test/fixtures/company_in_module.rb +0 -59
  876. data/vendor/rails/activerecord/test/fixtures/computer.rb +0 -3
  877. data/vendor/rails/activerecord/test/fixtures/computers.yml +0 -4
  878. data/vendor/rails/activerecord/test/fixtures/course.rb +0 -3
  879. data/vendor/rails/activerecord/test/fixtures/courses.yml +0 -7
  880. data/vendor/rails/activerecord/test/fixtures/customer.rb +0 -55
  881. data/vendor/rails/activerecord/test/fixtures/customers.yml +0 -17
  882. data/vendor/rails/activerecord/test/fixtures/db_definitions/db2.drop.sql +0 -32
  883. data/vendor/rails/activerecord/test/fixtures/db_definitions/db2.sql +0 -231
  884. data/vendor/rails/activerecord/test/fixtures/db_definitions/db22.drop.sql +0 -2
  885. data/vendor/rails/activerecord/test/fixtures/db_definitions/db22.sql +0 -5
  886. data/vendor/rails/activerecord/test/fixtures/db_definitions/firebird.drop.sql +0 -63
  887. data/vendor/rails/activerecord/test/fixtures/db_definitions/firebird.sql +0 -304
  888. data/vendor/rails/activerecord/test/fixtures/db_definitions/firebird2.drop.sql +0 -2
  889. data/vendor/rails/activerecord/test/fixtures/db_definitions/firebird2.sql +0 -6
  890. data/vendor/rails/activerecord/test/fixtures/db_definitions/frontbase.drop.sql +0 -32
  891. data/vendor/rails/activerecord/test/fixtures/db_definitions/frontbase.sql +0 -268
  892. data/vendor/rails/activerecord/test/fixtures/db_definitions/frontbase2.drop.sql +0 -1
  893. data/vendor/rails/activerecord/test/fixtures/db_definitions/frontbase2.sql +0 -4
  894. data/vendor/rails/activerecord/test/fixtures/db_definitions/mysql.drop.sql +0 -32
  895. data/vendor/rails/activerecord/test/fixtures/db_definitions/mysql.sql +0 -234
  896. data/vendor/rails/activerecord/test/fixtures/db_definitions/mysql2.drop.sql +0 -2
  897. data/vendor/rails/activerecord/test/fixtures/db_definitions/mysql2.sql +0 -5
  898. data/vendor/rails/activerecord/test/fixtures/db_definitions/openbase.drop.sql +0 -2
  899. data/vendor/rails/activerecord/test/fixtures/db_definitions/openbase.sql +0 -302
  900. data/vendor/rails/activerecord/test/fixtures/db_definitions/openbase2.drop.sql +0 -2
  901. data/vendor/rails/activerecord/test/fixtures/db_definitions/openbase2.sql +0 -7
  902. data/vendor/rails/activerecord/test/fixtures/db_definitions/oracle.drop.sql +0 -65
  903. data/vendor/rails/activerecord/test/fixtures/db_definitions/oracle.sql +0 -325
  904. data/vendor/rails/activerecord/test/fixtures/db_definitions/oracle2.drop.sql +0 -2
  905. data/vendor/rails/activerecord/test/fixtures/db_definitions/oracle2.sql +0 -6
  906. data/vendor/rails/activerecord/test/fixtures/db_definitions/postgresql.drop.sql +0 -37
  907. data/vendor/rails/activerecord/test/fixtures/db_definitions/postgresql.sql +0 -247
  908. data/vendor/rails/activerecord/test/fixtures/db_definitions/postgresql2.drop.sql +0 -2
  909. data/vendor/rails/activerecord/test/fixtures/db_definitions/postgresql2.sql +0 -4
  910. data/vendor/rails/activerecord/test/fixtures/db_definitions/schema.rb +0 -74
  911. data/vendor/rails/activerecord/test/fixtures/db_definitions/sqlite.drop.sql +0 -32
  912. data/vendor/rails/activerecord/test/fixtures/db_definitions/sqlite.sql +0 -215
  913. data/vendor/rails/activerecord/test/fixtures/db_definitions/sqlite2.drop.sql +0 -2
  914. data/vendor/rails/activerecord/test/fixtures/db_definitions/sqlite2.sql +0 -5
  915. data/vendor/rails/activerecord/test/fixtures/db_definitions/sqlserver.drop.sql +0 -34
  916. data/vendor/rails/activerecord/test/fixtures/db_definitions/sqlserver.sql +0 -243
  917. data/vendor/rails/activerecord/test/fixtures/db_definitions/sqlserver2.drop.sql +0 -2
  918. data/vendor/rails/activerecord/test/fixtures/db_definitions/sqlserver2.sql +0 -5
  919. data/vendor/rails/activerecord/test/fixtures/db_definitions/sybase.drop.sql +0 -34
  920. data/vendor/rails/activerecord/test/fixtures/db_definitions/sybase.sql +0 -218
  921. data/vendor/rails/activerecord/test/fixtures/db_definitions/sybase2.drop.sql +0 -4
  922. data/vendor/rails/activerecord/test/fixtures/db_definitions/sybase2.sql +0 -5
  923. data/vendor/rails/activerecord/test/fixtures/default.rb +0 -2
  924. data/vendor/rails/activerecord/test/fixtures/developer.rb +0 -52
  925. data/vendor/rails/activerecord/test/fixtures/developers.yml +0 -21
  926. data/vendor/rails/activerecord/test/fixtures/developers_projects.yml +0 -17
  927. data/vendor/rails/activerecord/test/fixtures/developers_projects/david_action_controller +0 -3
  928. data/vendor/rails/activerecord/test/fixtures/developers_projects/david_active_record +0 -3
  929. data/vendor/rails/activerecord/test/fixtures/developers_projects/jamis_active_record +0 -2
  930. data/vendor/rails/activerecord/test/fixtures/edge.rb +0 -5
  931. data/vendor/rails/activerecord/test/fixtures/edges.yml +0 -6
  932. data/vendor/rails/activerecord/test/fixtures/entrant.rb +0 -3
  933. data/vendor/rails/activerecord/test/fixtures/entrants.yml +0 -14
  934. data/vendor/rails/activerecord/test/fixtures/fk_test_has_fk.yml +0 -3
  935. data/vendor/rails/activerecord/test/fixtures/fk_test_has_pk.yml +0 -2
  936. data/vendor/rails/activerecord/test/fixtures/flowers.jpg +0 -0
  937. data/vendor/rails/activerecord/test/fixtures/funny_jokes.yml +0 -10
  938. data/vendor/rails/activerecord/test/fixtures/joke.rb +0 -6
  939. data/vendor/rails/activerecord/test/fixtures/keyboard.rb +0 -3
  940. data/vendor/rails/activerecord/test/fixtures/legacy_thing.rb +0 -3
  941. data/vendor/rails/activerecord/test/fixtures/legacy_things.yml +0 -3
  942. data/vendor/rails/activerecord/test/fixtures/migrations/1_people_have_last_names.rb +0 -9
  943. data/vendor/rails/activerecord/test/fixtures/migrations/2_we_need_reminders.rb +0 -12
  944. data/vendor/rails/activerecord/test/fixtures/migrations/3_innocent_jointable.rb +0 -12
  945. data/vendor/rails/activerecord/test/fixtures/migrations_with_decimal/1_give_me_big_numbers.rb +0 -15
  946. data/vendor/rails/activerecord/test/fixtures/migrations_with_duplicate/1_people_have_last_names.rb +0 -9
  947. data/vendor/rails/activerecord/test/fixtures/migrations_with_duplicate/2_we_need_reminders.rb +0 -12
  948. data/vendor/rails/activerecord/test/fixtures/migrations_with_duplicate/3_foo.rb +0 -7
  949. data/vendor/rails/activerecord/test/fixtures/migrations_with_duplicate/3_innocent_jointable.rb +0 -12
  950. data/vendor/rails/activerecord/test/fixtures/migrations_with_missing_versions/1000_people_have_middle_names.rb +0 -9
  951. data/vendor/rails/activerecord/test/fixtures/migrations_with_missing_versions/1_people_have_last_names.rb +0 -9
  952. data/vendor/rails/activerecord/test/fixtures/migrations_with_missing_versions/3_we_need_reminders.rb +0 -12
  953. data/vendor/rails/activerecord/test/fixtures/migrations_with_missing_versions/4_innocent_jointable.rb +0 -12
  954. data/vendor/rails/activerecord/test/fixtures/mixed_case_monkey.rb +0 -3
  955. data/vendor/rails/activerecord/test/fixtures/mixed_case_monkeys.yml +0 -6
  956. data/vendor/rails/activerecord/test/fixtures/mixin.rb +0 -63
  957. data/vendor/rails/activerecord/test/fixtures/mixins.yml +0 -127
  958. data/vendor/rails/activerecord/test/fixtures/movie.rb +0 -5
  959. data/vendor/rails/activerecord/test/fixtures/movies.yml +0 -7
  960. data/vendor/rails/activerecord/test/fixtures/naked/csv/accounts.csv +0 -1
  961. data/vendor/rails/activerecord/test/fixtures/naked/yml/accounts.yml +0 -1
  962. data/vendor/rails/activerecord/test/fixtures/naked/yml/companies.yml +0 -1
  963. data/vendor/rails/activerecord/test/fixtures/naked/yml/courses.yml +0 -1
  964. data/vendor/rails/activerecord/test/fixtures/order.rb +0 -4
  965. data/vendor/rails/activerecord/test/fixtures/people.yml +0 -3
  966. data/vendor/rails/activerecord/test/fixtures/person.rb +0 -4
  967. data/vendor/rails/activerecord/test/fixtures/post.rb +0 -58
  968. data/vendor/rails/activerecord/test/fixtures/posts.yml +0 -48
  969. data/vendor/rails/activerecord/test/fixtures/project.rb +0 -27
  970. data/vendor/rails/activerecord/test/fixtures/projects.yml +0 -7
  971. data/vendor/rails/activerecord/test/fixtures/reader.rb +0 -4
  972. data/vendor/rails/activerecord/test/fixtures/readers.yml +0 -4
  973. data/vendor/rails/activerecord/test/fixtures/reply.rb +0 -37
  974. data/vendor/rails/activerecord/test/fixtures/subject.rb +0 -4
  975. data/vendor/rails/activerecord/test/fixtures/subscriber.rb +0 -6
  976. data/vendor/rails/activerecord/test/fixtures/subscribers/first +0 -2
  977. data/vendor/rails/activerecord/test/fixtures/subscribers/second +0 -2
  978. data/vendor/rails/activerecord/test/fixtures/tag.rb +0 -7
  979. data/vendor/rails/activerecord/test/fixtures/tagging.rb +0 -6
  980. data/vendor/rails/activerecord/test/fixtures/taggings.yml +0 -18
  981. data/vendor/rails/activerecord/test/fixtures/tags.yml +0 -7
  982. data/vendor/rails/activerecord/test/fixtures/task.rb +0 -3
  983. data/vendor/rails/activerecord/test/fixtures/tasks.yml +0 -7
  984. data/vendor/rails/activerecord/test/fixtures/topic.rb +0 -25
  985. data/vendor/rails/activerecord/test/fixtures/topics.yml +0 -22
  986. data/vendor/rails/activerecord/test/fixtures/vertex.rb +0 -9
  987. data/vendor/rails/activerecord/test/fixtures/vertices.yml +0 -4
  988. data/vendor/rails/activerecord/test/fixtures_test.rb +0 -410
  989. data/vendor/rails/activerecord/test/inheritance_test.rb +0 -212
  990. data/vendor/rails/activerecord/test/lifecycle_test.rb +0 -137
  991. data/vendor/rails/activerecord/test/locking_test.rb +0 -241
  992. data/vendor/rails/activerecord/test/method_scoping_test.rb +0 -416
  993. data/vendor/rails/activerecord/test/migration_test.rb +0 -781
  994. data/vendor/rails/activerecord/test/migration_test_firebird.rb +0 -124
  995. data/vendor/rails/activerecord/test/mixin_nested_set_test.rb +0 -196
  996. data/vendor/rails/activerecord/test/mixin_test.rb +0 -550
  997. data/vendor/rails/activerecord/test/modules_test.rb +0 -34
  998. data/vendor/rails/activerecord/test/multiple_db_test.rb +0 -60
  999. data/vendor/rails/activerecord/test/pk_test.rb +0 -101
  1000. data/vendor/rails/activerecord/test/query_cache_test.rb +0 -107
  1001. data/vendor/rails/activerecord/test/readonly_test.rb +0 -107
  1002. data/vendor/rails/activerecord/test/reflection_test.rb +0 -166
  1003. data/vendor/rails/activerecord/test/schema_authorization_test_postgresql.rb +0 -75
  1004. data/vendor/rails/activerecord/test/schema_dumper_test.rb +0 -124
  1005. data/vendor/rails/activerecord/test/schema_test_postgresql.rb +0 -64
  1006. data/vendor/rails/activerecord/test/synonym_test_oracle.rb +0 -17
  1007. data/vendor/rails/activerecord/test/table_name_test_sqlserver.rb +0 -23
  1008. data/vendor/rails/activerecord/test/threaded_connections_test.rb +0 -48
  1009. data/vendor/rails/activerecord/test/transactions_test.rb +0 -268
  1010. data/vendor/rails/activerecord/test/unconnected_test.rb +0 -32
  1011. data/vendor/rails/activerecord/test/validations_test.rb +0 -1131
  1012. data/vendor/rails/activerecord/test/xml_serialization_test.rb +0 -153
  1013. data/vendor/rails/activeresource/CHANGELOG +0 -177
  1014. data/vendor/rails/activeresource/MIT-LICENSE +0 -20
  1015. data/vendor/rails/activeresource/README +0 -235
  1016. data/vendor/rails/activeresource/Rakefile +0 -132
  1017. data/vendor/rails/activeresource/lib/active_resource.rb +0 -47
  1018. data/vendor/rails/activeresource/lib/active_resource/base.rb +0 -424
  1019. data/vendor/rails/activeresource/lib/active_resource/connection.rb +0 -161
  1020. data/vendor/rails/activeresource/lib/active_resource/custom_methods.rb +0 -104
  1021. data/vendor/rails/activeresource/lib/active_resource/http_mock.rb +0 -131
  1022. data/vendor/rails/activeresource/lib/active_resource/struct.rb +0 -16
  1023. data/vendor/rails/activeresource/lib/active_resource/validations.rb +0 -161
  1024. data/vendor/rails/activeresource/lib/active_resource/version.rb +0 -9
  1025. data/vendor/rails/activeresource/test/abstract_unit.rb +0 -10
  1026. data/vendor/rails/activeresource/test/authorization_test.rb +0 -82
  1027. data/vendor/rails/activeresource/test/base/custom_methods_test.rb +0 -87
  1028. data/vendor/rails/activeresource/test/base/equality_test.rb +0 -43
  1029. data/vendor/rails/activeresource/test/base/load_test.rb +0 -111
  1030. data/vendor/rails/activeresource/test/base_errors_test.rb +0 -35
  1031. data/vendor/rails/activeresource/test/base_test.rb +0 -390
  1032. data/vendor/rails/activeresource/test/connection_test.rb +0 -148
  1033. data/vendor/rails/activeresource/test/fixtures/beast.rb +0 -14
  1034. data/vendor/rails/activeresource/test/fixtures/person.rb +0 -3
  1035. data/vendor/rails/activeresource/test/fixtures/street_address.rb +0 -4
  1036. data/vendor/rails/activeresource/test/setter_trap.rb +0 -29
  1037. data/vendor/rails/activesupport/CHANGELOG +0 -787
  1038. data/vendor/rails/activesupport/MIT-LICENSE +0 -20
  1039. data/vendor/rails/activesupport/README +0 -43
  1040. data/vendor/rails/activesupport/Rakefile +0 -82
  1041. data/vendor/rails/activesupport/install.rb +0 -30
  1042. data/vendor/rails/activesupport/lib/active_support.rb +0 -46
  1043. data/vendor/rails/activesupport/lib/active_support/caching_tools.rb +0 -62
  1044. data/vendor/rails/activesupport/lib/active_support/clean_logger.rb +0 -78
  1045. data/vendor/rails/activesupport/lib/active_support/core_ext.rb +0 -1
  1046. data/vendor/rails/activesupport/lib/active_support/core_ext/array.rb +0 -7
  1047. data/vendor/rails/activesupport/lib/active_support/core_ext/array/conversions.rb +0 -72
  1048. data/vendor/rails/activesupport/lib/active_support/core_ext/array/grouping.rb +0 -55
  1049. data/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal.rb +0 -3
  1050. data/vendor/rails/activesupport/lib/active_support/core_ext/bigdecimal/formatting.rb +0 -7
  1051. data/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb +0 -50
  1052. data/vendor/rails/activesupport/lib/active_support/core_ext/cgi.rb +0 -5
  1053. data/vendor/rails/activesupport/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +0 -14
  1054. data/vendor/rails/activesupport/lib/active_support/core_ext/class.rb +0 -3
  1055. data/vendor/rails/activesupport/lib/active_support/core_ext/class/attribute_accessors.rb +0 -48
  1056. data/vendor/rails/activesupport/lib/active_support/core_ext/class/inheritable_attributes.rb +0 -140
  1057. data/vendor/rails/activesupport/lib/active_support/core_ext/class/removal.rb +0 -24
  1058. data/vendor/rails/activesupport/lib/active_support/core_ext/date.rb +0 -10
  1059. data/vendor/rails/activesupport/lib/active_support/core_ext/date/behavior.rb +0 -13
  1060. data/vendor/rails/activesupport/lib/active_support/core_ext/date/calculations.rb +0 -45
  1061. data/vendor/rails/activesupport/lib/active_support/core_ext/date/conversions.rb +0 -40
  1062. data/vendor/rails/activesupport/lib/active_support/core_ext/date_time.rb +0 -8
  1063. data/vendor/rails/activesupport/lib/active_support/core_ext/date_time/calculations.rb +0 -173
  1064. data/vendor/rails/activesupport/lib/active_support/core_ext/date_time/conversions.rb +0 -33
  1065. data/vendor/rails/activesupport/lib/active_support/core_ext/enumerable.rb +0 -62
  1066. data/vendor/rails/activesupport/lib/active_support/core_ext/exception.rb +0 -33
  1067. data/vendor/rails/activesupport/lib/active_support/core_ext/file.rb +0 -21
  1068. data/vendor/rails/activesupport/lib/active_support/core_ext/hash.rb +0 -12
  1069. data/vendor/rails/activesupport/lib/active_support/core_ext/hash/conversions.rb +0 -221
  1070. data/vendor/rails/activesupport/lib/active_support/core_ext/hash/diff.rb +0 -11
  1071. data/vendor/rails/activesupport/lib/active_support/core_ext/hash/indifferent_access.rb +0 -101
  1072. data/vendor/rails/activesupport/lib/active_support/core_ext/hash/keys.rb +0 -53
  1073. data/vendor/rails/activesupport/lib/active_support/core_ext/hash/reverse_merge.rb +0 -25
  1074. data/vendor/rails/activesupport/lib/active_support/core_ext/hash/slice.rb +0 -28
  1075. data/vendor/rails/activesupport/lib/active_support/core_ext/integer.rb +0 -7
  1076. data/vendor/rails/activesupport/lib/active_support/core_ext/integer/even_odd.rb +0 -24
  1077. data/vendor/rails/activesupport/lib/active_support/core_ext/integer/inflections.rb +0 -21
  1078. data/vendor/rails/activesupport/lib/active_support/core_ext/kernel.rb +0 -5
  1079. data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb +0 -11
  1080. data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/daemonizing.rb +0 -15
  1081. data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/debugger.rb +0 -13
  1082. data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb +0 -51
  1083. data/vendor/rails/activesupport/lib/active_support/core_ext/kernel/requires.rb +0 -24
  1084. data/vendor/rails/activesupport/lib/active_support/core_ext/load_error.rb +0 -38
  1085. data/vendor/rails/activesupport/lib/active_support/core_ext/logger.rb +0 -16
  1086. data/vendor/rails/activesupport/lib/active_support/core_ext/module.rb +0 -8
  1087. data/vendor/rails/activesupport/lib/active_support/core_ext/module/aliasing.rb +0 -70
  1088. data/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_accessor_with_default.rb +0 -31
  1089. data/vendor/rails/activesupport/lib/active_support/core_ext/module/attr_internal.rb +0 -31
  1090. data/vendor/rails/activesupport/lib/active_support/core_ext/module/attribute_accessors.rb +0 -48
  1091. data/vendor/rails/activesupport/lib/active_support/core_ext/module/delegation.rb +0 -41
  1092. data/vendor/rails/activesupport/lib/active_support/core_ext/module/inclusion.rb +0 -11
  1093. data/vendor/rails/activesupport/lib/active_support/core_ext/module/introspection.rb +0 -35
  1094. data/vendor/rails/activesupport/lib/active_support/core_ext/module/loading.rb +0 -13
  1095. data/vendor/rails/activesupport/lib/active_support/core_ext/name_error.rb +0 -17
  1096. data/vendor/rails/activesupport/lib/active_support/core_ext/numeric.rb +0 -7
  1097. data/vendor/rails/activesupport/lib/active_support/core_ext/numeric/bytes.rb +0 -44
  1098. data/vendor/rails/activesupport/lib/active_support/core_ext/numeric/time.rb +0 -91
  1099. data/vendor/rails/activesupport/lib/active_support/core_ext/object.rb +0 -2
  1100. data/vendor/rails/activesupport/lib/active_support/core_ext/object/extending.rb +0 -47
  1101. data/vendor/rails/activesupport/lib/active_support/core_ext/object/misc.rb +0 -54
  1102. data/vendor/rails/activesupport/lib/active_support/core_ext/pathname.rb +0 -7
  1103. data/vendor/rails/activesupport/lib/active_support/core_ext/pathname/clean_within.rb +0 -14
  1104. data/vendor/rails/activesupport/lib/active_support/core_ext/proc.rb +0 -12
  1105. data/vendor/rails/activesupport/lib/active_support/core_ext/range.rb +0 -5
  1106. data/vendor/rails/activesupport/lib/active_support/core_ext/range/conversions.rb +0 -21
  1107. data/vendor/rails/activesupport/lib/active_support/core_ext/string.rb +0 -15
  1108. data/vendor/rails/activesupport/lib/active_support/core_ext/string/access.rb +0 -58
  1109. data/vendor/rails/activesupport/lib/active_support/core_ext/string/conversions.rb +0 -19
  1110. data/vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb +0 -153
  1111. data/vendor/rails/activesupport/lib/active_support/core_ext/string/iterators.rb +0 -17
  1112. data/vendor/rails/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb +0 -20
  1113. data/vendor/rails/activesupport/lib/active_support/core_ext/string/unicode.rb +0 -42
  1114. data/vendor/rails/activesupport/lib/active_support/core_ext/symbol.rb +0 -12
  1115. data/vendor/rails/activesupport/lib/active_support/core_ext/test.rb +0 -2
  1116. data/vendor/rails/activesupport/lib/active_support/core_ext/test/difference.rb +0 -40
  1117. data/vendor/rails/activesupport/lib/active_support/core_ext/time.rb +0 -19
  1118. data/vendor/rails/activesupport/lib/active_support/core_ext/time/behavior.rb +0 -13
  1119. data/vendor/rails/activesupport/lib/active_support/core_ext/time/calculations.rb +0 -239
  1120. data/vendor/rails/activesupport/lib/active_support/core_ext/time/conversions.rb +0 -39
  1121. data/vendor/rails/activesupport/lib/active_support/dependencies.rb +0 -539
  1122. data/vendor/rails/activesupport/lib/active_support/deprecation.rb +0 -202
  1123. data/vendor/rails/activesupport/lib/active_support/duration.rb +0 -89
  1124. data/vendor/rails/activesupport/lib/active_support/inflections.rb +0 -52
  1125. data/vendor/rails/activesupport/lib/active_support/inflector.rb +0 -275
  1126. data/vendor/rails/activesupport/lib/active_support/json.rb +0 -31
  1127. data/vendor/rails/activesupport/lib/active_support/json/decoding.rb +0 -40
  1128. data/vendor/rails/activesupport/lib/active_support/json/encoders/enumerable.rb +0 -5
  1129. data/vendor/rails/activesupport/lib/active_support/json/encoders/false_class.rb +0 -5
  1130. data/vendor/rails/activesupport/lib/active_support/json/encoders/hash.rb +0 -12
  1131. data/vendor/rails/activesupport/lib/active_support/json/encoders/nil_class.rb +0 -5
  1132. data/vendor/rails/activesupport/lib/active_support/json/encoders/numeric.rb +0 -5
  1133. data/vendor/rails/activesupport/lib/active_support/json/encoders/object.rb +0 -10
  1134. data/vendor/rails/activesupport/lib/active_support/json/encoders/regexp.rb +0 -5
  1135. data/vendor/rails/activesupport/lib/active_support/json/encoders/string.rb +0 -27
  1136. data/vendor/rails/activesupport/lib/active_support/json/encoders/symbol.rb +0 -5
  1137. data/vendor/rails/activesupport/lib/active_support/json/encoders/true_class.rb +0 -5
  1138. data/vendor/rails/activesupport/lib/active_support/json/encoding.rb +0 -45
  1139. data/vendor/rails/activesupport/lib/active_support/json/variable.rb +0 -10
  1140. data/vendor/rails/activesupport/lib/active_support/multibyte.rb +0 -7
  1141. data/vendor/rails/activesupport/lib/active_support/multibyte/chars.rb +0 -129
  1142. data/vendor/rails/activesupport/lib/active_support/multibyte/generators/generate_tables.rb +0 -149
  1143. data/vendor/rails/activesupport/lib/active_support/multibyte/handlers/passthru_handler.rb +0 -9
  1144. data/vendor/rails/activesupport/lib/active_support/multibyte/handlers/utf8_handler.rb +0 -458
  1145. data/vendor/rails/activesupport/lib/active_support/multibyte/handlers/utf8_handler_proc.rb +0 -43
  1146. data/vendor/rails/activesupport/lib/active_support/option_merger.rb +0 -25
  1147. data/vendor/rails/activesupport/lib/active_support/ordered_options.rb +0 -44
  1148. data/vendor/rails/activesupport/lib/active_support/reloadable.rb +0 -60
  1149. data/vendor/rails/activesupport/lib/active_support/values/time_zone.rb +0 -180
  1150. data/vendor/rails/activesupport/lib/active_support/values/unicode_tables.dat +0 -0
  1151. data/vendor/rails/activesupport/lib/active_support/vendor/builder.rb +0 -13
  1152. data/vendor/rails/activesupport/lib/active_support/vendor/builder/blankslate.rb +0 -63
  1153. data/vendor/rails/activesupport/lib/active_support/vendor/builder/xchar.rb +0 -112
  1154. data/vendor/rails/activesupport/lib/active_support/vendor/builder/xmlbase.rb +0 -145
  1155. data/vendor/rails/activesupport/lib/active_support/vendor/builder/xmlevents.rb +0 -63
  1156. data/vendor/rails/activesupport/lib/active_support/vendor/builder/xmlmarkup.rb +0 -327
  1157. data/vendor/rails/activesupport/lib/active_support/vendor/xml_simple.rb +0 -1021
  1158. data/vendor/rails/activesupport/lib/active_support/version.rb +0 -9
  1159. data/vendor/rails/activesupport/lib/active_support/whiny_nil.rb +0 -38
  1160. data/vendor/rails/activesupport/test/abstract_unit.rb +0 -7
  1161. data/vendor/rails/activesupport/test/autoloading_fixtures/a/b.rb +0 -2
  1162. data/vendor/rails/activesupport/test/autoloading_fixtures/a/c/d.rb +0 -2
  1163. data/vendor/rails/activesupport/test/autoloading_fixtures/a/c/e/f.rb +0 -2
  1164. data/vendor/rails/activesupport/test/autoloading_fixtures/application.rb +0 -1
  1165. data/vendor/rails/activesupport/test/autoloading_fixtures/class_folder.rb +0 -3
  1166. data/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/class_folder_subclass.rb +0 -3
  1167. data/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/inline_class.rb +0 -2
  1168. data/vendor/rails/activesupport/test/autoloading_fixtures/class_folder/nested_class.rb +0 -7
  1169. data/vendor/rails/activesupport/test/autoloading_fixtures/conflict.rb +0 -1
  1170. data/vendor/rails/activesupport/test/autoloading_fixtures/counting_loader.rb +0 -5
  1171. data/vendor/rails/activesupport/test/autoloading_fixtures/cross_site_dependency.rb +0 -2
  1172. data/vendor/rails/activesupport/test/autoloading_fixtures/e.rb +0 -2
  1173. data/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/inline_class.rb +0 -2
  1174. data/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/nested_class.rb +0 -4
  1175. data/vendor/rails/activesupport/test/autoloading_fixtures/module_folder/nested_sibling.rb +0 -2
  1176. data/vendor/rails/activesupport/test/autoloading_fixtures/module_with_custom_const_missing/a/b.rb +0 -1
  1177. data/vendor/rails/activesupport/test/autoloading_fixtures/multiple_constant_file.rb +0 -2
  1178. data/vendor/rails/activesupport/test/autoloading_fixtures/raises_name_error.rb +0 -3
  1179. data/vendor/rails/activesupport/test/autoloading_fixtures/raises_no_method_error.rb +0 -3
  1180. data/vendor/rails/activesupport/test/caching_tools_test.rb +0 -79
  1181. data/vendor/rails/activesupport/test/clean_logger_test.rb +0 -87
  1182. data/vendor/rails/activesupport/test/core_ext/array_ext_test.rb +0 -182
  1183. data/vendor/rails/activesupport/test/core_ext/blank_test.rb +0 -11
  1184. data/vendor/rails/activesupport/test/core_ext/cgi_ext_test.rb +0 -14
  1185. data/vendor/rails/activesupport/test/core_ext/class/attribute_accessor_test.rb +0 -31
  1186. data/vendor/rails/activesupport/test/core_ext/class/class_inheritable_attributes_test.rb +0 -208
  1187. data/vendor/rails/activesupport/test/core_ext/class_test.rb +0 -36
  1188. data/vendor/rails/activesupport/test/core_ext/date_ext_test.rb +0 -21
  1189. data/vendor/rails/activesupport/test/core_ext/date_time_ext_test.rb +0 -152
  1190. data/vendor/rails/activesupport/test/core_ext/duration_test.rb +0 -21
  1191. data/vendor/rails/activesupport/test/core_ext/enumerable_test.rb +0 -61
  1192. data/vendor/rails/activesupport/test/core_ext/exception_test.rb +0 -64
  1193. data/vendor/rails/activesupport/test/core_ext/file_test.rb +0 -29
  1194. data/vendor/rails/activesupport/test/core_ext/hash_ext_test.rb +0 -622
  1195. data/vendor/rails/activesupport/test/core_ext/integer_ext_test.rb +0 -37
  1196. data/vendor/rails/activesupport/test/core_ext/kernel_test.rb +0 -43
  1197. data/vendor/rails/activesupport/test/core_ext/load_error_tests.rb +0 -16
  1198. data/vendor/rails/activesupport/test/core_ext/module/attr_accessor_with_default.rb +0 -30
  1199. data/vendor/rails/activesupport/test/core_ext/module/attr_accessor_with_default_test.rb +0 -30
  1200. data/vendor/rails/activesupport/test/core_ext/module/attr_internal_test.rb +0 -52
  1201. data/vendor/rails/activesupport/test/core_ext/module/attribute_accessor_test.rb +0 -33
  1202. data/vendor/rails/activesupport/test/core_ext/module/attribute_aliasing_test.rb +0 -31
  1203. data/vendor/rails/activesupport/test/core_ext/module_test.rb +0 -274
  1204. data/vendor/rails/activesupport/test/core_ext/name_error_test.rb +0 -24
  1205. data/vendor/rails/activesupport/test/core_ext/numeric_ext_test.rb +0 -104
  1206. data/vendor/rails/activesupport/test/core_ext/object_and_class_ext_test.rb +0 -216
  1207. data/vendor/rails/activesupport/test/core_ext/pathname_test.rb +0 -9
  1208. data/vendor/rails/activesupport/test/core_ext/proc_test.rb +0 -11
  1209. data/vendor/rails/activesupport/test/core_ext/range_ext_test.rb +0 -13
  1210. data/vendor/rails/activesupport/test/core_ext/string_ext_test.rb +0 -152
  1211. data/vendor/rails/activesupport/test/core_ext/symbol_test.rb +0 -9
  1212. data/vendor/rails/activesupport/test/core_ext/time_ext_test.rb +0 -373
  1213. data/vendor/rails/activesupport/test/dependencies/check_warnings.rb +0 -2
  1214. data/vendor/rails/activesupport/test/dependencies/conflict.rb +0 -1
  1215. data/vendor/rails/activesupport/test/dependencies/cross_site_depender.rb +0 -3
  1216. data/vendor/rails/activesupport/test/dependencies/mutual_one.rb +0 -4
  1217. data/vendor/rails/activesupport/test/dependencies/mutual_two.rb +0 -4
  1218. data/vendor/rails/activesupport/test/dependencies/raises_exception.rb +0 -3
  1219. data/vendor/rails/activesupport/test/dependencies/requires_nonexistent0.rb +0 -1
  1220. data/vendor/rails/activesupport/test/dependencies/requires_nonexistent1.rb +0 -1
  1221. data/vendor/rails/activesupport/test/dependencies/service_one.rb +0 -5
  1222. data/vendor/rails/activesupport/test/dependencies/service_two.rb +0 -2
  1223. data/vendor/rails/activesupport/test/dependencies_test.rb +0 -752
  1224. data/vendor/rails/activesupport/test/deprecation_test.rb +0 -151
  1225. data/vendor/rails/activesupport/test/inflector_test.rb +0 -438
  1226. data/vendor/rails/activesupport/test/json/decoding_test.rb +0 -28
  1227. data/vendor/rails/activesupport/test/json/encoding_test.rb +0 -96
  1228. data/vendor/rails/activesupport/test/multibyte_chars_test.rb +0 -164
  1229. data/vendor/rails/activesupport/test/multibyte_conformance.rb +0 -141
  1230. data/vendor/rails/activesupport/test/multibyte_handler_test.rb +0 -277
  1231. data/vendor/rails/activesupport/test/option_merger_test.rb +0 -50
  1232. data/vendor/rails/activesupport/test/ordered_options_test.rb +0 -80
  1233. data/vendor/rails/activesupport/test/reloadable_test.rb +0 -123
  1234. data/vendor/rails/activesupport/test/test_test.rb +0 -56
  1235. data/vendor/rails/activesupport/test/time_zone_test.rb +0 -91
  1236. data/vendor/rails/activesupport/test/whiny_nil_test.rb +0 -38
  1237. data/vendor/rails/railties/CHANGELOG +0 -1407
  1238. data/vendor/rails/railties/MIT-LICENSE +0 -20
  1239. data/vendor/rails/railties/README +0 -180
  1240. data/vendor/rails/railties/Rakefile +0 -355
  1241. data/vendor/rails/railties/bin/about +0 -3
  1242. data/vendor/rails/railties/bin/console +0 -3
  1243. data/vendor/rails/railties/bin/destroy +0 -3
  1244. data/vendor/rails/railties/bin/generate +0 -3
  1245. data/vendor/rails/railties/bin/performance/benchmarker +0 -3
  1246. data/vendor/rails/railties/bin/performance/profiler +0 -3
  1247. data/vendor/rails/railties/bin/plugin +0 -3
  1248. data/vendor/rails/railties/bin/process/inspector +0 -3
  1249. data/vendor/rails/railties/bin/process/reaper +0 -3
  1250. data/vendor/rails/railties/bin/process/spawner +0 -3
  1251. data/vendor/rails/railties/bin/rails +0 -19
  1252. data/vendor/rails/railties/bin/runner +0 -3
  1253. data/vendor/rails/railties/bin/server +0 -3
  1254. data/vendor/rails/railties/builtin/rails_info/rails/info.rb +0 -123
  1255. data/vendor/rails/railties/builtin/rails_info/rails/info_controller.rb +0 -9
  1256. data/vendor/rails/railties/builtin/rails_info/rails/info_helper.rb +0 -2
  1257. data/vendor/rails/railties/builtin/rails_info/rails_info_controller.rb +0 -2
  1258. data/vendor/rails/railties/configs/apache.conf +0 -40
  1259. data/vendor/rails/railties/configs/databases/frontbase.yml +0 -28
  1260. data/vendor/rails/railties/configs/databases/mysql.yml +0 -48
  1261. data/vendor/rails/railties/configs/databases/oracle.yml +0 -39
  1262. data/vendor/rails/railties/configs/databases/postgresql.yml +0 -44
  1263. data/vendor/rails/railties/configs/databases/sqlite2.yml +0 -16
  1264. data/vendor/rails/railties/configs/databases/sqlite3.yml +0 -19
  1265. data/vendor/rails/railties/configs/initializers/inflections.rb +0 -8
  1266. data/vendor/rails/railties/configs/initializers/mime_types.rb +0 -3
  1267. data/vendor/rails/railties/configs/lighttpd.conf +0 -54
  1268. data/vendor/rails/railties/configs/routes.rb +0 -27
  1269. data/vendor/rails/railties/dispatches/dispatch.fcgi +0 -24
  1270. data/vendor/rails/railties/dispatches/dispatch.rb +0 -10
  1271. data/vendor/rails/railties/dispatches/gateway.cgi +0 -97
  1272. data/vendor/rails/railties/doc/README_FOR_APP +0 -2
  1273. data/vendor/rails/railties/environments/boot.rb +0 -36
  1274. data/vendor/rails/railties/environments/development.rb +0 -18
  1275. data/vendor/rails/railties/environments/environment.rb +0 -55
  1276. data/vendor/rails/railties/environments/production.rb +0 -18
  1277. data/vendor/rails/railties/environments/test.rb +0 -19
  1278. data/vendor/rails/railties/fresh_rakefile +0 -10
  1279. data/vendor/rails/railties/helpers/application.rb +0 -6
  1280. data/vendor/rails/railties/helpers/application_helper.rb +0 -3
  1281. data/vendor/rails/railties/helpers/test_helper.rb +0 -36
  1282. data/vendor/rails/railties/html/404.html +0 -30
  1283. data/vendor/rails/railties/html/500.html +0 -30
  1284. data/vendor/rails/railties/html/favicon.ico +0 -0
  1285. data/vendor/rails/railties/html/images/rails.png +0 -0
  1286. data/vendor/rails/railties/html/index.html +0 -277
  1287. data/vendor/rails/railties/html/javascripts/application.js +0 -2
  1288. data/vendor/rails/railties/html/javascripts/controls.js +0 -833
  1289. data/vendor/rails/railties/html/javascripts/dragdrop.js +0 -942
  1290. data/vendor/rails/railties/html/javascripts/effects.js +0 -1088
  1291. data/vendor/rails/railties/html/javascripts/prototype.js +0 -2515
  1292. data/vendor/rails/railties/html/robots.txt +0 -1
  1293. data/vendor/rails/railties/lib/code_statistics.rb +0 -107
  1294. data/vendor/rails/railties/lib/commands.rb +0 -17
  1295. data/vendor/rails/railties/lib/commands/about.rb +0 -2
  1296. data/vendor/rails/railties/lib/commands/console.rb +0 -32
  1297. data/vendor/rails/railties/lib/commands/destroy.rb +0 -6
  1298. data/vendor/rails/railties/lib/commands/generate.rb +0 -6
  1299. data/vendor/rails/railties/lib/commands/ncgi/listener +0 -86
  1300. data/vendor/rails/railties/lib/commands/ncgi/tracker +0 -69
  1301. data/vendor/rails/railties/lib/commands/performance/benchmarker.rb +0 -24
  1302. data/vendor/rails/railties/lib/commands/performance/profiler.rb +0 -50
  1303. data/vendor/rails/railties/lib/commands/plugin.rb +0 -918
  1304. data/vendor/rails/railties/lib/commands/process/inspector.rb +0 -68
  1305. data/vendor/rails/railties/lib/commands/process/reaper.rb +0 -149
  1306. data/vendor/rails/railties/lib/commands/process/spawner.rb +0 -209
  1307. data/vendor/rails/railties/lib/commands/process/spinner.rb +0 -57
  1308. data/vendor/rails/railties/lib/commands/runner.rb +0 -48
  1309. data/vendor/rails/railties/lib/commands/server.rb +0 -39
  1310. data/vendor/rails/railties/lib/commands/servers/base.rb +0 -31
  1311. data/vendor/rails/railties/lib/commands/servers/lighttpd.rb +0 -94
  1312. data/vendor/rails/railties/lib/commands/servers/mongrel.rb +0 -69
  1313. data/vendor/rails/railties/lib/commands/servers/webrick.rb +0 -65
  1314. data/vendor/rails/railties/lib/commands/update.rb +0 -4
  1315. data/vendor/rails/railties/lib/console_app.rb +0 -27
  1316. data/vendor/rails/railties/lib/console_sandbox.rb +0 -6
  1317. data/vendor/rails/railties/lib/console_with_helpers.rb +0 -23
  1318. data/vendor/rails/railties/lib/dispatcher.rb +0 -181
  1319. data/vendor/rails/railties/lib/fcgi_handler.rb +0 -207
  1320. data/vendor/rails/railties/lib/initializer.rb +0 -693
  1321. data/vendor/rails/railties/lib/rails/plugin/loader.rb +0 -123
  1322. data/vendor/rails/railties/lib/rails/plugin/locator.rb +0 -59
  1323. data/vendor/rails/railties/lib/rails/version.rb +0 -9
  1324. data/vendor/rails/railties/lib/rails_generator.rb +0 -43
  1325. data/vendor/rails/railties/lib/rails_generator/base.rb +0 -261
  1326. data/vendor/rails/railties/lib/rails_generator/commands.rb +0 -581
  1327. data/vendor/rails/railties/lib/rails_generator/generated_attribute.rb +0 -42
  1328. data/vendor/rails/railties/lib/rails_generator/generators/applications/app/USAGE +0 -16
  1329. data/vendor/rails/railties/lib/rails_generator/generators/applications/app/app_generator.rb +0 -175
  1330. data/vendor/rails/railties/lib/rails_generator/generators/components/controller/USAGE +0 -30
  1331. data/vendor/rails/railties/lib/rails_generator/generators/components/controller/controller_generator.rb +0 -37
  1332. data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/controller.rb +0 -10
  1333. data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/functional_test.rb +0 -18
  1334. data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/helper.rb +0 -2
  1335. data/vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/view.html.erb +0 -2
  1336. data/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/USAGE +0 -14
  1337. data/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/integration_test_generator.rb +0 -16
  1338. data/vendor/rails/railties/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb +0 -10
  1339. data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/USAGE +0 -18
  1340. data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/mailer_generator.rb +0 -34
  1341. data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.erb +0 -3
  1342. data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/fixture.rhtml +0 -0
  1343. data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/mailer.rb +0 -13
  1344. data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/unit_test.rb +0 -37
  1345. data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.erb +0 -3
  1346. data/vendor/rails/railties/lib/rails_generator/generators/components/mailer/templates/view.rhtml +0 -0
  1347. data/vendor/rails/railties/lib/rails_generator/generators/components/migration/USAGE +0 -14
  1348. data/vendor/rails/railties/lib/rails_generator/generators/components/migration/migration_generator.rb +0 -7
  1349. data/vendor/rails/railties/lib/rails_generator/generators/components/migration/templates/migration.rb +0 -7
  1350. data/vendor/rails/railties/lib/rails_generator/generators/components/model/USAGE +0 -26
  1351. data/vendor/rails/railties/lib/rails_generator/generators/components/model/model_generator.rb +0 -38
  1352. data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/fixtures.yml +0 -11
  1353. data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/migration.rb +0 -13
  1354. data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/model.rb +0 -2
  1355. data/vendor/rails/railties/lib/rails_generator/generators/components/model/templates/unit_test.rb +0 -10
  1356. data/vendor/rails/railties/lib/rails_generator/generators/components/observer/USAGE +0 -15
  1357. data/vendor/rails/railties/lib/rails_generator/generators/components/observer/observer_generator.rb +0 -16
  1358. data/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/observer.rb +0 -2
  1359. data/vendor/rails/railties/lib/rails_generator/generators/components/observer/templates/unit_test.rb +0 -10
  1360. data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/USAGE +0 -35
  1361. data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/plugin_generator.rb +0 -39
  1362. data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE +0 -20
  1363. data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/README +0 -13
  1364. data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/Rakefile +0 -22
  1365. data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/USAGE +0 -8
  1366. data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/generator.rb +0 -8
  1367. data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/init.rb +0 -1
  1368. data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/install.rb +0 -1
  1369. data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/plugin.rb +0 -1
  1370. data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/tasks.rake +0 -4
  1371. data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/uninstall.rb +0 -1
  1372. data/vendor/rails/railties/lib/rails_generator/generators/components/plugin/templates/unit_test.rb +0 -8
  1373. data/vendor/rails/railties/lib/rails_generator/generators/components/resource/USAGE +0 -30
  1374. data/vendor/rails/railties/lib/rails_generator/generators/components/resource/resource_generator.rb +0 -63
  1375. data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/USAGE +0 -18
  1376. data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/controller.rb +0 -2
  1377. data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/fixtures.yml +0 -0
  1378. data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/functional_test.rb +0 -20
  1379. data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/helper.rb +0 -2
  1380. data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/migration.rb +0 -0
  1381. data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/model.rb +0 -0
  1382. data/vendor/rails/railties/lib/rails_generator/generators/components/resource/templates/unit_test.rb +0 -0
  1383. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/USAGE +0 -37
  1384. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb +0 -92
  1385. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/controller.rb +0 -85
  1386. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/fixtures.yml +0 -11
  1387. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb +0 -57
  1388. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/helper.rb +0 -2
  1389. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/layout.html.erb +0 -17
  1390. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/migration.rb +0 -13
  1391. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/model.rb +0 -2
  1392. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/style.css +0 -74
  1393. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/unit_test.rb +0 -10
  1394. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_edit.html.erb +0 -19
  1395. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_index.html.erb +0 -24
  1396. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_new.html.erb +0 -18
  1397. data/vendor/rails/railties/lib/rails_generator/generators/components/scaffold/templates/view_show.html.erb +0 -10
  1398. data/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/USAGE +0 -15
  1399. data/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/session_migration_generator.rb +0 -18
  1400. data/vendor/rails/railties/lib/rails_generator/generators/components/session_migration/templates/migration.rb +0 -16
  1401. data/vendor/rails/railties/lib/rails_generator/generators/components/web_service/USAGE +0 -28
  1402. data/vendor/rails/railties/lib/rails_generator/generators/components/web_service/templates/api_definition.rb +0 -5
  1403. data/vendor/rails/railties/lib/rails_generator/generators/components/web_service/templates/controller.rb +0 -8
  1404. data/vendor/rails/railties/lib/rails_generator/generators/components/web_service/templates/functional_test.rb +0 -19
  1405. data/vendor/rails/railties/lib/rails_generator/generators/components/web_service/web_service_generator.rb +0 -29
  1406. data/vendor/rails/railties/lib/rails_generator/lookup.rb +0 -209
  1407. data/vendor/rails/railties/lib/rails_generator/manifest.rb +0 -53
  1408. data/vendor/rails/railties/lib/rails_generator/options.rb +0 -143
  1409. data/vendor/rails/railties/lib/rails_generator/scripts.rb +0 -83
  1410. data/vendor/rails/railties/lib/rails_generator/scripts/destroy.rb +0 -30
  1411. data/vendor/rails/railties/lib/rails_generator/scripts/generate.rb +0 -7
  1412. data/vendor/rails/railties/lib/rails_generator/scripts/update.rb +0 -12
  1413. data/vendor/rails/railties/lib/rails_generator/simple_logger.rb +0 -46
  1414. data/vendor/rails/railties/lib/rails_generator/spec.rb +0 -44
  1415. data/vendor/rails/railties/lib/railties_path.rb +0 -1
  1416. data/vendor/rails/railties/lib/ruby_version_check.rb +0 -17
  1417. data/vendor/rails/railties/lib/rubyprof_ext.rb +0 -35
  1418. data/vendor/rails/railties/lib/tasks/annotations.rake +0 -84
  1419. data/vendor/rails/railties/lib/tasks/databases.rake +0 -187
  1420. data/vendor/rails/railties/lib/tasks/documentation.rake +0 -82
  1421. data/vendor/rails/railties/lib/tasks/framework.rake +0 -112
  1422. data/vendor/rails/railties/lib/tasks/log.rake +0 -9
  1423. data/vendor/rails/railties/lib/tasks/misc.rake +0 -4
  1424. data/vendor/rails/railties/lib/tasks/pre_namespace_aliases.rake +0 -53
  1425. data/vendor/rails/railties/lib/tasks/rails.rb +0 -8
  1426. data/vendor/rails/railties/lib/tasks/statistics.rake +0 -18
  1427. data/vendor/rails/railties/lib/tasks/testing.rake +0 -120
  1428. data/vendor/rails/railties/lib/tasks/tmp.rake +0 -37
  1429. data/vendor/rails/railties/lib/test_help.rb +0 -17
  1430. data/vendor/rails/railties/lib/webrick_server.rb +0 -165
  1431. data/vendor/rails/railties/test/abstract_unit.rb +0 -17
  1432. data/vendor/rails/railties/test/dispatcher_test.rb +0 -139
  1433. data/vendor/rails/railties/test/fcgi_dispatcher_test.rb +0 -266
  1434. data/vendor/rails/railties/test/fixtures/environment_with_constant.rb +0 -1
  1435. data/vendor/rails/railties/test/fixtures/lib/generators/missing_class/missing_class_generator.rb +0 -0
  1436. data/vendor/rails/railties/test/fixtures/lib/generators/working/working_generator.rb +0 -2
  1437. data/vendor/rails/railties/test/fixtures/plugins/default/plugin_with_no_lib_dir/init.rb +0 -0
  1438. data/vendor/rails/railties/test/fixtures/plugins/default/stubby/init.rb +0 -7
  1439. data/vendor/rails/railties/test/fixtures/plugins/default/stubby/lib/stubby_mixin.rb +0 -2
  1440. data/vendor/rails/railties/test/initializer_test.rb +0 -22
  1441. data/vendor/rails/railties/test/mocks/dispatcher.rb +0 -13
  1442. data/vendor/rails/railties/test/mocks/fcgi.rb +0 -15
  1443. data/vendor/rails/railties/test/mocks/routes.rb +0 -6
  1444. data/vendor/rails/railties/test/mocks/stubbed_breakpoint.rb +0 -2
  1445. data/vendor/rails/railties/test/mocks/stubbed_kernel.rb +0 -5
  1446. data/vendor/rails/railties/test/plugin_loader_test.rb +0 -78
  1447. data/vendor/rails/railties/test/plugin_locator_test.rb +0 -41
  1448. data/vendor/rails/railties/test/plugin_test_helper.rb +0 -18
  1449. data/vendor/rails/railties/test/rails_generator_test.rb +0 -137
  1450. data/vendor/rails/railties/test/rails_info_controller_test.rb +0 -48
  1451. data/vendor/rails/railties/test/rails_info_test.rb +0 -98
@@ -1,1799 +0,0 @@
1
- /**
2
- * @fileoverview Common functions used in all Zapatec widgets.
3
- *
4
- * <pre>
5
- * Copyright (c) 2004-2006 by Zapatec, Inc.
6
- * http://www.zapatec.com
7
- * 1700 MLK Way, Berkeley, California,
8
- * 94709, U.S.A.
9
- * All rights reserved.
10
- * </pre>
11
- */
12
-
13
- /* $Id: utils.js 5148 2006-11-15 20:14:58Z vkulov $ */
14
-
15
- if (typeof Zapatec == 'undefined') {
16
- /**
17
- * Namespace definition.
18
- * @constructor
19
- */
20
- Zapatec = {};
21
- }
22
-
23
- /**************************** ErrorHandler ****************************/
24
- Zapatec.ErrorHandler = {};
25
-
26
- Zapatec.ErrorHandler.setup = function(window, report_url) {
27
- this.window = window;
28
- this.report_url = report_url;
29
-
30
- this.window.onerror = Zapatec.ErrorHandler.handleError;
31
- }
32
-
33
- Zapatec.ErrorHandler.handleError = function(desc, path, line) {
34
- if (Zapatec.ErrorHandler.err_stack == undefined) Zapatec.ErrorHandler.err_stack = [];
35
- Zapatec.ErrorHandler.err_stack.push([desc, path, line]);
36
-
37
- return false;
38
- }
39
-
40
- Zapatec.ErrorHandler.getErrStack = function() {
41
- return Zapatec.ErrorHandler.err_stack;
42
- }
43
-
44
- //Zapatec.ErrorHandler.setup(self);
45
- /************************** ErrorHandler end **************************/
46
-
47
- /// define the Utils namespace
48
- Zapatec.Utils = {};
49
-
50
- /// Deprecated. Use Zapatec.Utils.getElementOffset instead.
51
- /// Retrieves the absolute position (relative to <body>) of a given element.
52
- ///
53
- /// @param el [HTMLElement] reference to the element.
54
- /// @return [object] { x, y } containing the position.
55
- Zapatec.Utils.getAbsolutePos = function(el, scrollOff) {
56
- var SL = 0, ST = 0;
57
- if (!scrollOff) {
58
- var is_div = /^div$/i.test(el.tagName);
59
- if (is_div && el.scrollLeft)
60
- SL = el.scrollLeft;
61
- if (is_div && el.scrollTop)
62
- ST = el.scrollTop;
63
- }
64
- var r = { x: el.offsetLeft - SL, y: el.offsetTop - ST };
65
- if (el.offsetParent) {
66
- var tmp = this.getAbsolutePos(el.offsetParent);
67
- r.x += tmp.x;
68
- r.y += tmp.y;
69
- }
70
- return r;
71
- };
72
-
73
- /**
74
- * Returns absolute position of an element on the page and its width and height.
75
- *
76
- * @private
77
- * @param {object} objElement Element object
78
- * @return Offset: left or x - left offset; top or y - top offset
79
- * @object
80
- */
81
- Zapatec.Utils.getElementOffset = function(objElement) {
82
- var iLeft = iTop = iWidth = iHeight = 0;
83
- if (objElement.getBoundingClientRect) {
84
- // IE
85
- var objRectangle = objElement.getBoundingClientRect();
86
- iLeft = objRectangle.left;
87
- iTop = objRectangle.top;
88
- iWidth = objRectangle.right - iLeft;
89
- iHeight = objRectangle.bottom - iTop;
90
- // getBoundingClientRect returns coordinates relative to the window
91
- iLeft += Zapatec.Utils.getPageScrollX() - 2;
92
- iTop += Zapatec.Utils.getPageScrollY() - 2;
93
- } else if (document.getBoxObjectFor) {
94
- // Mozilla
95
- var objRectangle = document.getBoxObjectFor(objElement);
96
- iLeft = objRectangle.x;
97
- iTop = objRectangle.y;
98
- iWidth = objRectangle.width;
99
- iHeight = objRectangle.height;
100
- } else {
101
- // Others
102
- iWidth = objElement.offsetWidth;
103
- iHeight = objElement.offsetHeight;
104
- while (objElement.offsetParent) {
105
- iLeft += objElement.offsetLeft;
106
- iTop += objElement.offsetTop;
107
- objElement = objElement.offsetParent;
108
- }
109
- }
110
- return {
111
- left: iLeft,
112
- top: iTop,
113
- x: iLeft,
114
- y: iTop,
115
- width: iWidth,
116
- height: iHeight
117
- };
118
- };
119
-
120
- /**
121
- * Returns offset of content of a scrollable element relative to the document
122
- * body. Offset is calulated as offset of an element minus scrollLeft/scrollTop
123
- * value.
124
- *
125
- * @private
126
- * @param {object} objElement Element object
127
- * @return Offset: left or x - left offset; top or y - top offset
128
- * @object
129
- */
130
- Zapatec.Utils.getElementOffsetScrollable = function(objElement) {
131
- var objPos = Zapatec.Utils.getElementOffset(objElement);
132
- var iLeft = objPos.left;
133
- if (objElement.scrollLeft) {
134
- iLeft -= objElement.scrollLeft;
135
- }
136
- var iTop = objPos.top;
137
- if (objElement.scrollTop) {
138
- iTop -= objElement.scrollTop;
139
- }
140
- return {left: iLeft, top: iTop, x: iLeft, y: iTop};
141
- };
142
-
143
- /// Modify the position of a box to fit in browser's view. This function will
144
- /// modify the passed object itself, so it doesn't need to return a value.
145
- ///
146
- /// @param [object] box { x, y, width, height } specifying the area.
147
- Zapatec.Utils.fixBoxPosition = function(box) {
148
- if (box.x < 0)
149
- box.x = 0;
150
- if (box.y < 0)
151
- box.y = 0;
152
- var cp = Zapatec.Utils.createElement("div");
153
- var s = cp.style;
154
- s.position = "absolute";
155
- s.right = s.bottom = s.width = s.height = "0px";
156
- window.document.body.appendChild(cp);
157
- var br = Zapatec.Utils.getAbsolutePos(cp);
158
- window.document.body.removeChild(cp);
159
- if (Zapatec.is_ie) {
160
- br.y += window.document.body.scrollTop;
161
- br.x += window.document.body.scrollLeft;
162
- } else {
163
- br.y += window.scrollY;
164
- br.x += window.scrollX;
165
- }
166
- var tmp = box.x + box.width - br.x;
167
- if (tmp > 0) box.x -= tmp;
168
- tmp = box.y + box.height - br.y;
169
- if (tmp > 0) box.y -= tmp;
170
- };
171
-
172
- /// Determines if an event is related to a certain element. This is a poor
173
- /// substitute for some events that are missing from DOM since forever (like
174
- /// onenter, onleave, which MSIE provides). Basically onmouseover and
175
- /// onmouseout are fired even if the mouse was already in the element but moved
176
- /// from text to a blank area, so in order not to close a popup element when
177
- /// onmouseout occurs in this situation, one would need to first check if the
178
- /// event is not related to that popup element:
179
- ///
180
- /// \code
181
- /// function handler_onMouseOut(event) {
182
- /// if (!Zapatec.Utils.isRelated(this, event)) {
183
- /// /// can safely hide it now
184
- /// this.style.display = "none";
185
- /// }
186
- /// }
187
- /// \endcode
188
- ///
189
- /// @param el [HTMLElement] reference to the element to check the event against
190
- /// @param evt [Event] reference to the Event object
191
- /// @return [boolean] true if the event is related to the element
192
- Zapatec.Utils.isRelated = function (el, evt) {
193
- evt || (evt = window.event);
194
- var related = evt.relatedTarget;
195
- if (!related) {
196
- var type = evt.type;
197
- if (type == "mouseover") {
198
- related = evt.fromElement;
199
- } else if (type == "mouseout") {
200
- related = evt.toElement;
201
- }
202
- }
203
- try {
204
- while (related) {
205
- if (related == el) {
206
- return true;
207
- }
208
- related = related.parentNode;
209
- }
210
- } catch(e) {};
211
- return false;
212
- };
213
-
214
- /// Remove a certain [CSS] class from the given element.
215
- /// @param el [HTMLElement] reference to the element.
216
- /// @param className [string] the class to remove.
217
- Zapatec.Utils.removeClass = function(el, className) {
218
- if (!(el && el.className)) {
219
- return;
220
- }
221
- var cls = el.className.split(" ");
222
- var ar = [];
223
- for (var i = cls.length; i > 0;) {
224
- if (cls[--i] != className) {
225
- ar[ar.length] = cls[i];
226
- }
227
- }
228
- el.className = ar.join(" ");
229
- };
230
-
231
- /// Appends a certain [CSS] class to the given element.
232
- /// @param el [HTMLElement] reference to the element.
233
- /// @param className [string] the class to append.
234
- Zapatec.Utils.addClass = function(el, className) {
235
- Zapatec.Utils.removeClass(el, className);
236
- el.className += " " + className;
237
- };
238
-
239
- /// Retrieves the current target element for some event (useful when bubbling).
240
- /// This function is not actually very useful, but it's legacy from the old calendar code.
241
- /// @param ev [Event] the event object.
242
- /// @return [HTMLElement] window.event.srcElement for MSIE, ev.currentTarget for other browsers.
243
- Zapatec.Utils.getElement = function(ev) {
244
- if (Zapatec.is_ie) {
245
- return window.event.srcElement;
246
- } else {
247
- return ev.currentTarget;
248
- }
249
- };
250
-
251
- /// Retrieves the target element for some event (useful when bubbling).
252
- /// This function is not actually very useful, but it's legacy from the old calendar code.
253
- /// @param ev [Event] the event object.
254
- /// @return [HTMLElement] window.event.srcElement for MSIE, ev.target for other browsers.
255
- Zapatec.Utils.getTargetElement = function(ev) {
256
- if (Zapatec.is_ie) {
257
- return window.event.srcElement;
258
- } else {
259
- return ev.target;
260
- }
261
- };
262
-
263
- /**
264
- * Returns mouse position during the event.
265
- *
266
- * @param {object} objEvent Optional. Event object
267
- * @return Mouse position during the event:
268
- * <pre>
269
- * {
270
- * pageX: [number] x coordinate relative to the document,
271
- * pageY: [number] y coordinate relative to the document,
272
- * clientX: [number] x coordinate relative to the window,
273
- * clientY: [number] y coordinate relative to the window
274
- * }
275
- * </pre>
276
- * @type object
277
- */
278
- Zapatec.Utils.getMousePos = function(objEvent) {
279
- var objPos = {
280
- pageX: 0,
281
- pageY: 0,
282
- clientX: 0,
283
- clientY: 0
284
- };
285
- var boolIsPageX = (typeof objEvent.pageX != 'undefined');
286
- var boolIsClientX = (typeof objEvent.clientX != 'undefined');
287
- objEvent || (objEvent = window.event);
288
- if (objEvent && (boolIsPageX || boolIsClientX)) {
289
- if (boolIsPageX) {
290
- objPos.pageX = objEvent.pageX;
291
- objPos.pageY = objEvent.pageY;
292
- } else {
293
- objPos.pageX = objEvent.clientX + Zapatec.Utils.getPageScrollX();
294
- objPos.pageY = objEvent.clientY + Zapatec.Utils.getPageScrollY();
295
- }
296
- if (boolIsClientX) {
297
- objPos.clientX = objEvent.clientX;
298
- objPos.clientY = objEvent.clientY;
299
- } else {
300
- objPos.clientX = objEvent.pageX - Zapatec.Utils.getPageScrollX();
301
- objPos.clientY = objEvent.pageY - Zapatec.Utils.getPageScrollY();
302
- }
303
- }
304
- return objPos;
305
- };
306
-
307
- /// Stops bubbling and propagation of some event.
308
- /// @param ev [Event] the event object
309
- /// @return false
310
- Zapatec.Utils.stopEvent = function(ev) {
311
- ev || (ev = window.event);
312
- if (ev) {
313
- if (Zapatec.is_ie) {
314
- ev.cancelBubble = true;
315
- ev.returnValue = false;
316
- } else {
317
- ev.preventDefault();
318
- ev.stopPropagation();
319
- }
320
- }
321
- return false;
322
- };
323
-
324
- Zapatec.Utils.removeOnUnload = [];
325
- /// Adds an event handler to a certain element. This function adds a handler
326
- /// using the DOM2 addEventListener (or attachEvent for MSIE). Doing this
327
- /// means that you can add multiple handlers for the same element and same
328
- /// event name, and they will be called in order.
329
- ///
330
- /// WARNING: for really old browsers that don't support attachEvent nor
331
- /// addEventListener, it falls back to the default way: el.onclick = func.
332
- /// This means that you CANNOT add multiple handlers in those browsers, as a
333
- /// new one will override the old one.
334
- ///
335
- /// @param el [HTMLElement] reference to the element.
336
- /// @param evname [string] the event name, excluding the "on" prefix.
337
- /// @param func event handler function.
338
- /// @param useCapture [boolean, optional] default: false, see
339
- /// http://www.w3.org/TR/2000/REC-DOM-Level-2-Events-20001113/events.html#Events-EventTarget-addEventListener
340
- /// for details
341
- Zapatec.Utils.addEvent = function(el, evname, func, useCapture) {
342
- if (el.addEventListener) { // Gecko / W3C
343
- if (!useCapture) {
344
- useCapture = false;
345
- }
346
- el.addEventListener(evname, func, useCapture);
347
- } else if (el.attachEvent) { // IE
348
- el.detachEvent("on" + evname, func);
349
- el.attachEvent("on" + evname, func);
350
- if (useCapture) {el.setCapture(false);}
351
- } else {
352
- el["on" + evname] = func;
353
- }
354
- Zapatec.Utils.removeOnUnload.push({"element" : el, "event" : evname, "listener" : func});
355
- };
356
-
357
- /// Removes an event handler added with Zapatec.Utils.addEvent(). The
358
- /// prototype scheme is the same.
359
- Zapatec.Utils.removeEvent = function(el, evname, func) {
360
- if (el.detachEvent) { // IE
361
- el.detachEvent("on" + evname, func);
362
- } else if (el.removeEventListener) { // Gecko / W3C
363
- el.removeEventListener(evname, func, false);
364
- } else {
365
- el["on" + evname] = null;
366
- }
367
- };
368
-
369
- /// Create an element of a certain type using document.createElement(). A
370
- /// function was needed in order to add some common attributes to all created
371
- /// elements, but also in order to be able to use it in XHTML too (Gecko and
372
- /// other W3C-compliant browsers).
373
- ///
374
- /// This function will create an element of the given type and set certain
375
- /// properties to it: unselectable for IE, and the CSS "-moz-user-select" for
376
- /// Gecko, in order to make the element unselectable in these browsers.
377
- /// Optionally, if the second argument is passed, it will appendChild() the
378
- /// newly created element to its parent.
379
- ///
380
- /// @param type [string] the tag name of the new element.
381
- /// @param parent [HTMLElement, optional] a parent for the new element.
382
- /// @param selectable [boolean] the flag to indicate wether element is selectable(rather usefull).
383
- /// @return [HTMLElement] reference to the new element.
384
- Zapatec.Utils.createElement = function(type, parent, selectable) {
385
- var el = null;
386
- if (window.self.document.createElementNS)
387
- // use the XHTML namespace; IE won't normally get here unless
388
- // _they_ "fix" the DOM2 implementation.
389
- el = window.self.document.createElementNS("http://www.w3.org/1999/xhtml", type);
390
- else
391
- el = document.createElement(type);
392
- if (typeof parent != "undefined" && parent != null)
393
- parent.appendChild(el);
394
- if (!selectable) {
395
- if (Zapatec.is_ie)
396
- el.setAttribute("unselectable", true);
397
- if (Zapatec.is_gecko)
398
- el.style.setProperty("-moz-user-select", "none", "");
399
- }
400
- return el;
401
- };
402
-
403
- // Cookie management
404
-
405
- /// Sets a cooke given certain specifications. It overrides any existing
406
- /// cookie with the same name.
407
- ///
408
- /// @param name [string] the cookie name.
409
- /// @param value [string] the cookie value.
410
- /// @param domain [string, optional] the cookie domain.
411
- /// @param path [string, optional] the cookie path.
412
- /// @param exp_days [number, optional] number of days of cookie validity.
413
- Zapatec.Utils.writeCookie = function(name, value, domain, path, exp_days) {
414
- value = escape(value);
415
- var ck = name + "=" + value, exp;
416
- if (domain)
417
- ck += ";domain=" + domain;
418
- if (path)
419
- ck += ";path=" + path;
420
- if (exp_days) {
421
- exp = new Date();
422
- exp.setTime(exp_days * 86400000 + exp.getTime());
423
- ck += ";expires=" + exp.toGMTString();
424
- }
425
- document.cookie = ck;
426
- };
427
-
428
- /**
429
- * Retrieves the value of a cookie.
430
- *
431
- * @param name [string] the cookie name
432
- * @return [string or null] a string with the cookie value, or null if it can't be found.
433
- */
434
-
435
- /* ? inside regular expression is not supported in IE 5.0
436
- Zapatec.Utils.getCookie = function(name) {
437
- var re = new RegExp("(^|;\\s*)" + name + "\\s*=(.*?)(;|$)");
438
- if (re.test(document.cookie)) {
439
- var value = RegExp.$2;
440
- value = unescape(value);
441
- return (value);
442
- }
443
- return null;
444
- };
445
- */
446
-
447
- Zapatec.Utils.getCookie = function(name) {
448
- var pattern = name + "=";
449
- var tokenPos = 0;
450
- while (tokenPos < document.cookie.length) {
451
- var valuePos = tokenPos + pattern.length;
452
- if (document.cookie.substring(tokenPos, valuePos) == pattern) {
453
- var endValuePos = document.cookie.indexOf(";", valuePos);
454
- if (endValuePos == -1) { // Last cookie
455
- endValuePos = document.cookie.length;
456
- }
457
- return unescape(document.cookie.substring(valuePos, endValuePos));
458
- }
459
- tokenPos=document.cookie.indexOf(" ",tokenPos)+1;
460
- if (tokenPos == 0) { // No more tokens
461
- break;
462
- }
463
- }
464
- return null;
465
- };
466
-
467
- /**
468
- * Given an object, create a string suitable for saving the object in a cookie.
469
- * This is similar to serialization. WARNING: it does not support nested
470
- * objects.
471
- *
472
- * @param obj [Object] reference to the object to serialize.
473
- * @return [string] the serialized object.
474
- */
475
- Zapatec.Utils.makePref = function(obj) {
476
- function stringify(val) {
477
- if (typeof val == "object" && !val)
478
- return "null";
479
- else if (typeof val == "number" || typeof val == "boolean")
480
- return val;
481
- else if (typeof val == "string")
482
- return '"' + val.replace(/\x22/, "\\22") + '"';
483
- else return null;
484
- };
485
- var txt = "", i;
486
- for (i in obj)
487
- txt += (txt ? ",'" : "'") + i + "':" + stringify(obj[i]);
488
- return txt;
489
- };
490
-
491
- /**
492
- * The reverse of Zapatec.Utils.makePref(), this function unserializes the
493
- * given string and creates an object from it.
494
- *
495
- * @param txt [string] the serialized value.
496
- * @return [Object] a new object if it was created successfully or null otherwise.
497
- */
498
- Zapatec.Utils.loadPref = function(txt) {
499
- var obj = null;
500
- try {
501
- eval("obj={" + txt + "}");
502
- } catch(e) {}
503
- return obj;
504
- };
505
-
506
- /**
507
- * Merges the values of the source object into the destination object.
508
- *
509
- * @param dest [Object] the destination object.
510
- * @param src [Object] the source object.
511
- */
512
- Zapatec.Utils.mergeObjects = function(dest, src) {
513
- for (var i in src)
514
- dest[i] = src[i];
515
- };
516
-
517
- // based on the WCH idea
518
- // http://www.aplus.co.yu/WCH/code3/WCH.js
519
-
520
- /// \defgroup WCH functions
521
- //@{
522
-
523
- Zapatec.Utils.__wch_id = 0; /**< [number, static] used to create ID-s for the WCH objects */
524
-
525
- /**
526
- * Create an WCH object. This function does nothing if the browser is not
527
- * IE5.5 or IE6.0. A WCH object is one of the most bizarre tricks to avoid a
528
- * notorious IE bug: IE normally shows "windowed controls" on top of any HTML
529
- * elements, regardless of any z-index that might be specified in CSS. This
530
- * technique is described at: http://www.aplus.co.yu/WCH/
531
- *
532
- * A "WCH object" is actually an HTMLIFrame element having a certain "CSS
533
- * filter" (proprietary MSIE extension) that forces opacity zero. This object,
534
- * displayed on top of a windowed control such as a select box, will completely
535
- * hide the select box, allowing us to place other HTMLElement objects above.
536
- *
537
- * WCH stands for "Windowed Controls Hider".
538
- *
539
- * @param element [HTMLElement, optional] -- Create the WCH IFRAME inside this.
540
- *
541
- *
542
- * @return [HTMLIFrame or null] a new WCH object if the browser is "supported", null otherwise.
543
- */
544
- Zapatec.Utils.createWCH = function(element) {
545
- var f = null;
546
- element = element || window.self.document.body;
547
- if (Zapatec.is_ie && !Zapatec.is_ie5) {
548
- var filter = 'filter:progid:DXImageTransform.Microsoft.alpha(style=0,opacity=0);';
549
- var id = "WCH" + (++Zapatec.Utils.__wch_id);
550
- element.insertAdjacentHTML
551
- ('beforeEnd', '<iframe id="' + id + '" scroll="no" frameborder="0" ' +
552
- 'style="z-index:0;position:absolute;visibility:hidden;' + filter +
553
- 'border:0;top:0;left:0;width:0;height:0;" ' +
554
- 'src="javascript:false;"></iframe>');
555
- f = window.self.document.getElementById(id);
556
- }
557
- return f;
558
- };
559
-
560
- /**
561
- * Configure a given WCH object to be displayed on top of the given element.
562
- * Optionally, a second element can be passed, and in this case it will setup
563
- * the WCH object to cover both elements.
564
- *
565
- * @param f [HTMLIFrame] the WCH object
566
- * @param el [HTMLElement] the element to cover.
567
- * @param el2 [HTMLElement, optional] another element to cover.
568
- */
569
- Zapatec.Utils.setupWCH_el = function(f, el, el2) {
570
- if (f) {
571
- var pos = Zapatec.Utils.getAbsolutePos(el),
572
- X1 = pos.x,
573
- Y1 = pos.y,
574
- X2 = X1 + el.offsetWidth,
575
- Y2 = Y1 + el.offsetHeight;
576
- if (el2) {
577
- var p2 = Zapatec.Utils.getAbsolutePos(el2),
578
- XX1 = p2.x,
579
- YY1 = p2.y,
580
- XX2 = XX1 + el2.offsetWidth,
581
- YY2 = YY1 + el2.offsetHeight;
582
- if (X1 > XX1)
583
- X1 = XX1;
584
- if (Y1 > YY1)
585
- Y1 = YY1;
586
- if (X2 < XX2)
587
- X2 = XX2;
588
- if (Y2 < YY2)
589
- Y2 = YY2;
590
- }
591
- Zapatec.Utils.setupWCH(f, X1, Y1, X2-X1, Y2-Y1);
592
- }
593
- };
594
-
595
- /**
596
- * Configure a WCH object to cover a certain part of the screen.
597
- *
598
- * @param f [HTMLIFrame] the WCH object.
599
- * @param x [number] the X coordinate.
600
- * @param y [number] the Y coordinate.
601
- * @param w [number] the width of the area.
602
- * @param h [number] the height of the area.
603
- */
604
- Zapatec.Utils.setupWCH = function(f, x, y, w, h) {
605
- if (f) {
606
- var s = f.style;
607
- (typeof x != "undefined") && (s.left = x + "px");
608
- (typeof y != "undefined") && (s.top = y + "px");
609
- (typeof w != "undefined") && (s.width = w + "px");
610
- (typeof h != "undefined") && (s.height = h + "px");
611
- s.visibility = "inherit";
612
- }
613
- };
614
-
615
- /**
616
- * Hide a WCH object.
617
- *
618
- * @param f [HTMLIFrame] object to hide.
619
- */
620
- Zapatec.Utils.hideWCH = function(f) {
621
- if (f)
622
- f.style.visibility = "hidden";
623
- };
624
-
625
- //@}
626
-
627
- /// \defgroup Scroll-with-window functions
628
- //@{
629
-
630
- /**
631
- * Returns current document vertical scroll position.
632
- */
633
- Zapatec.Utils.getPageScrollY = function() {
634
- if (window.pageYOffset) {
635
- return window.pageYOffset;
636
- } else if (document.body && document.body.scrollTop) {
637
- return document.body.scrollTop;
638
- } else if (document.documentElement && document.documentElement.scrollTop) {
639
- return document.documentElement.scrollTop;
640
- }
641
- return 0;
642
- };
643
-
644
- /**
645
- * Returns current document horizontal scroll position.
646
- */
647
- Zapatec.Utils.getPageScrollX = function() {
648
- if (window.pageXOffset) {
649
- return window.pageXOffset;
650
- } else if (document.body && document.body.scrollLeft) {
651
- return document.body.scrollLeft;
652
- } else if (document.documentElement && document.documentElement.scrollLeft) {
653
- return document.documentElement.scrollLeft;
654
- }
655
- return 0;
656
- };
657
-
658
- // Object setup.
659
- Zapatec.ScrollWithWindow = {};
660
- Zapatec.ScrollWithWindow.list = [];
661
- // Set to a number between 0 and 1, lower means longer scrolling.
662
- Zapatec.ScrollWithWindow.stickiness = 0.25;
663
-
664
- /**
665
- * Registers a given object to have its style.top set equal to the window
666
- * scroll position as the browser scrolls.
667
- *
668
- * @param node [HTMLElement] -- a reference to the node to scroll.
669
- */
670
- Zapatec.ScrollWithWindow.register = function(node) {
671
- var top = node.offsetTop || 0;
672
- var left = node.offsetLeft || 0;
673
- Zapatec.ScrollWithWindow.list[Zapatec.ScrollWithWindow.list.length] = {
674
- node: node,
675
- origTop: top,
676
- origleft: left
677
- };
678
- };
679
-
680
- /**
681
- * Unregisters a given object.
682
- *
683
- * @param node [HTMLElement] -- a reference to the node to scroll.
684
- */
685
- Zapatec.ScrollWithWindow.unregister = function(node) {
686
- for (var count = 0; count < Zapatec.ScrollWithWindow.list.length; count++) {
687
- var elm = Zapatec.ScrollWithWindow.list[count];
688
- if (node == elm.node) {
689
- Zapatec.ScrollWithWindow.list.splice(count, 1);
690
- return;
691
- }
692
- }
693
- };
694
-
695
- /**
696
- * \internal Called each time the window is scrolled to set objects' positions.
697
- *
698
- * @param newScrollY [number] -- the new window scroll position.
699
- * @param direction [string] - "vertical"/"horizontal" controlls which scrolling we are handling
700
- */
701
- Zapatec.ScrollWithWindow.handler = function(newScroll, direction) {
702
- // Move oldScrollY towards newScrollY, evening up if the difference is small.
703
- if (direction == "vertical") {
704
- var newScrollY = newScroll;
705
- oldScrollY += ((newScrollY - oldScrollY) * this.stickiness);
706
- if (Math.abs(oldScrollY - newScrollY) <= 1) oldScrollY = newScrollY;
707
- } else {
708
- var newScrollX = newScroll;
709
- oldScrollX += ((newScrollX - oldScrollX) * this.stickiness);
710
- if (Math.abs(oldScrollX - newScrollX) <= 1) oldScrollX = newScrollX;
711
- }
712
- for (var count = 0; count < Zapatec.ScrollWithWindow.list.length; count++) {
713
- var elm = Zapatec.ScrollWithWindow.list[count];
714
- var node = elm.node;
715
- node.style.position = 'absolute';
716
- if (!elm.origTop && elm.origTop !== 0 && (direction == "vertical")) {
717
- elm.origTop = parseInt(node.style.top) || 0;
718
- }
719
- if (!elm.origLeft && elm.origLeft !== 0 && (direction == "horizontal")) {
720
- elm.origLeft = parseInt(node.style.left) || 0;
721
- }
722
- if (direction == "vertical") {
723
- node.style.top = (elm.origTop + parseInt(oldScrollY)) + 'px';
724
- } else {
725
- node.style.left = (elm.origLeft + parseInt(oldScrollX)) + 'px';
726
- }
727
- }
728
- };
729
-
730
- // Processed scroll position & Event hook.
731
- var oldScrollY = Zapatec.Utils.getPageScrollY();
732
- var oldScrollX = Zapatec.Utils.getPageScrollX();
733
- setInterval(
734
- 'var newScrollY = Zapatec.Utils.getPageScrollY(); ' +
735
- 'var newScrollX = Zapatec.Utils.getPageScrollX(); ' +
736
- 'if (newScrollY != oldScrollY) { ' +
737
- 'Zapatec.ScrollWithWindow.handler(newScrollY, "vertical"); ' +
738
- '}' +
739
- 'if (newScrollX != oldScrollX) { ' +
740
- 'Zapatec.ScrollWithWindow.handler(newScrollX, "horizontal"); ' +
741
- '}', 50);
742
-
743
- //@}
744
-
745
- /**
746
- * Destroys the given element (remove it from the DOM tree) if it's not null
747
- * and it's parent is not null.
748
- *
749
- * @param el [HTMLElement] the element to destroy.
750
- */
751
- Zapatec.Utils.destroy = function(el) {
752
- if (el && el.parentNode)
753
- el.parentNode.removeChild(el);
754
- };
755
-
756
- /**
757
- * Opens a new window at a certain URL and having some properties.
758
- *
759
- * @param url [string] the URL to open a new window to.
760
- * @param windowName [string] the name of the new window (as for target attribute).
761
- * @param width [number] the width of the new window in pixels.
762
- * @param height [number] the height of the new window in pixels.
763
- * @param scrollbars [string] "yes" or "no" for scrollbars.
764
- *
765
- * @return [object] the new window
766
- */
767
- Zapatec.Utils.newCenteredWindow = function(url, windowName, width, height, scrollbars){
768
- var leftPosition = 0;
769
- var topPosition = 0;
770
- if (screen.width)
771
- leftPosition = (screen.width - width)/2;
772
- if (screen.height)
773
- topPosition = (screen.height - height)/2;
774
- var winArgs =
775
- 'height=' + height +
776
- ',width=' + width +
777
- ',top=' + topPosition +
778
- ',left=' + leftPosition +
779
- ',scrollbars=' + scrollbars +
780
- ',resizable';
781
- var win = window.open(url,windowName,winArgs);
782
- return win;
783
- };
784
-
785
- /**
786
- * Finds the size of the current web page. This is the usable size
787
- * and does not include the browser's menu and buttons.
788
- *
789
- * @return [object] dimension with the height and width of the window
790
- */
791
- Zapatec.Utils.getWindowSize = function() {
792
- var iWidth = 0;
793
- var iHeight = 0;
794
-
795
- if (Zapatec.is_opera) {
796
- iWidth = document.body.clientWidth || 0;
797
- iHeight = document.body.clientHeight || 0;
798
- } else if (Zapatec.is_khtml) {
799
- iWidth = window.innerWidth || 0;
800
- iHeight = window.innerHeight || 0;
801
- } else if (document.compatMode && document.compatMode == 'CSS1Compat') {
802
- // Standards-compliant mode
803
- iWidth = document.documentElement.clientWidth || 0;
804
- iHeight = document.documentElement.clientHeight || 0;
805
- } else {
806
- // Non standards-compliant mode
807
- iWidth = document.body.clientWidth || 0;
808
- iHeight = document.body.clientHeight || 0;
809
- }
810
-
811
- return {
812
- width: iWidth,
813
- height: iHeight
814
- };
815
- };
816
-
817
-
818
- /**
819
- * Given a reference to a select element, this function will select the option
820
- * having the given value and optionally will call the default handler for
821
- * "onchange".
822
- *
823
- * @param sel [HTMLSelectElement] reference to the SELECT element.
824
- * @param val [string] the value that we should select.
825
- * @param call_default [boolean] true if the default onchange should be called.
826
- */
827
- Zapatec.Utils.selectOption = function(sel, val, call_default) {
828
- var a = sel.options, i, o;
829
- for (i = a.length; --i >= 0;) {
830
- o = a[i];
831
- o.selected = (o.val == val);
832
- }
833
- sel.value = val;
834
- if (call_default) {
835
- if (typeof sel.onchange == "function")
836
- sel.onchange();
837
- else if (typeof sel.onchange == "string")
838
- eval(sel.onchange);
839
- }
840
- };
841
-
842
- /**
843
- * A more flexible way to get the "nextSibling" of a given element. If the
844
- * "tag" argument is passed, then this function will return the next sibling
845
- * that has a certain tag. Otherwise it will simply return el.nextSibling.
846
- *
847
- * @param {object} el Element object
848
- * @param {string} tag Optional. Tag name of the returned element
849
- * @param {string} alternateTag Optional. Alternate tag name of the returned
850
- * element
851
- * @return First element after el having the specified tag; null if element
852
- * is not found; nextSibling if tag is not specified
853
- * @type object
854
- */
855
- Zapatec.Utils.getNextSibling = function(el, tag, alternateTag) {
856
- el = el.nextSibling;
857
- if (!tag) {
858
- return el;
859
- }
860
- tag = tag.toLowerCase();
861
- if (alternateTag) alternateTag = alternateTag.toLowerCase();
862
- while (el) {
863
- if (el.nodeType == 1 && (el.tagName.toLowerCase() == tag ||
864
- (alternateTag && el.tagName.toLowerCase() == alternateTag))) {
865
- return el;
866
- }
867
- el = el.nextSibling;
868
- }
869
- return el;
870
- };
871
-
872
- /**
873
- * A more flexible way to get the "previousSibling" of a given element. If the
874
- * "tag" argument is passed, then this function will return the previous sibling
875
- * that has a certain tag. Otherwise it will simply return el.previousSibling.
876
- *
877
- * @param {object} el Element object
878
- * @param {string} tag Optional. Tag name of the returned element
879
- * @param {string} alternateTag Optional. Alternate tag name of the returned
880
- * element
881
- * @return First element before el having the specified tag; previousSibling if
882
- * tag is not specified; null if desired element is not found
883
- * @type object
884
- */
885
- Zapatec.Utils.getPreviousSibling = function(el, tag, alternateTag) {
886
- el = el.previousSibling;
887
- if (!tag) {
888
- return el;
889
- }
890
- tag = tag.toLowerCase();
891
- if (alternateTag) alternateTag = alternateTag.toLowerCase();
892
- while (el) {
893
- if (el.nodeType == 1 && (el.tagName.toLowerCase() == tag ||
894
- (alternateTag && el.tagName.toLowerCase() == alternateTag))) {
895
- return el;
896
- }
897
- el = el.previousSibling;
898
- }
899
- return el;
900
- };
901
-
902
- /**
903
- * Returns first child of the given element that has a specified tag.
904
- *
905
- * @param {object} el Element object
906
- * @param {string} tag Optional. Tag name of the returned element
907
- * @param {string} alternateTag Optional. Alternate tag name of the returned
908
- * element
909
- * @return First child of the element that has a specified tag; firstChild if
910
- * tag is not specified; null if desired element is not found
911
- * @type object
912
- */
913
- Zapatec.Utils.getFirstChild = function(el, tag, alternateTag) {
914
- if (!el) {
915
- return null;
916
- }
917
- el = el.firstChild;
918
- if (!el) {
919
- return null;
920
- }
921
- if (!tag) {
922
- return el;
923
- }
924
- tag = tag.toLowerCase();
925
- if (el.nodeType == 1) {
926
- if (el.tagName.toLowerCase() == tag) {
927
- return el;
928
- } else if (alternateTag) {
929
- alternateTag = alternateTag.toLowerCase();
930
- if (el.tagName.toLowerCase() == alternateTag) {
931
- return el;
932
- }
933
- }
934
- }
935
- return Zapatec.Utils.getNextSibling(el, tag, alternateTag);
936
- };
937
-
938
- /**
939
- * Returns last child of the given element that has a specified tag.
940
- *
941
- * @param {object} el Element object
942
- * @param {string} tag Optional. Tag name of the returned element
943
- * @param {string} alternateTag Optional. Alternate tag name of the returned
944
- * element
945
- * @return Last child of the element that has a specified tag; lastChild if
946
- * tag is not specified; null if desired element is not found
947
- * @type object
948
- */
949
- Zapatec.Utils.getLastChild = function(el, tag, alternateTag) {
950
- if (!el) {
951
- return null;
952
- }
953
- el = el.lastChild;
954
- if (!el) {
955
- return null;
956
- }
957
- if (!tag) {
958
- return el;
959
- }
960
- tag = tag.toLowerCase();
961
- if (el.nodeType == 1) {
962
- if (el.tagName.toLowerCase() == tag) {
963
- return el;
964
- } else if (alternateTag) {
965
- alternateTag = alternateTag.toLowerCase();
966
- if (el.tagName.toLowerCase() == alternateTag) {
967
- return el;
968
- }
969
- }
970
- }
971
- return Zapatec.Utils.getPreviousSibling(el, tag, alternateTag);
972
- };
973
-
974
- /**
975
- * Function that concatenates and returns all text child nodes of the
976
- * specified node.
977
- *
978
- * @param objNode [Node] -- reference to the node.
979
- * @return [string] -- concatenated text child nodes
980
- */
981
- Zapatec.Utils.getChildText = function(objNode) {
982
- if (objNode == null) {
983
- return '';
984
- }
985
- var arrText = [];
986
- var objChild = objNode.firstChild;
987
- while (objChild != null) {
988
- if (objChild.nodeType == 3) { // Node.TEXT_NODE
989
- arrText.push(objChild.data);
990
- }
991
- objChild = objChild.nextSibling;
992
- }
993
- return arrText.join(' ');
994
- };
995
-
996
- /**
997
- * Similar to the DOM's built in insertBefore.
998
- * Insert a node after an existing node.
999
- *
1000
- * @param el [oldNode] The existing element
1001
- * @param el [newNode] the new element to insert after the old one.
1002
- *
1003
- */
1004
- Zapatec.Utils.insertAfter = function(oldNode, newNode) {
1005
- if(oldNode.nextSibling) {
1006
- oldNode.parentNode.insertBefore(newNode, oldNode.nextSibling);
1007
- } else {
1008
- oldNode.parentNode.appendChild(newNode);
1009
- }
1010
- }
1011
-
1012
- Zapatec.Utils._ids = {}; /**< [number, static] maintains a list of generated IDs */
1013
-
1014
- /**
1015
- * Generates an unique ID, for a certain code (let's say "class"). If the
1016
- * optional "id" argument is passed, then it just returns the id for that code
1017
- * (no generation). This function is sometimes useful when we need to create
1018
- * elements and be able to access them later by ID.
1019
- *
1020
- * @param code [string] the class of ids. User defined, can be anything.
1021
- * @param id [string, optional] specify if the ID is already known.
1022
- *
1023
- * @return [string] the unique ID
1024
- */
1025
- Zapatec.Utils.generateID = function(code, id) {
1026
- if (typeof id == "undefined") {
1027
- if (typeof this._ids[code] == "undefined")
1028
- this._ids[code] = 0;
1029
- id = ++this._ids[code];
1030
- }
1031
- return "zapatec-" + code + "-" + id;
1032
- };
1033
-
1034
- /**
1035
- * Add a tooltip to the specified element.
1036
- *
1037
- * Function that adds a custom tooltip for an element. The "target" is the
1038
- * element to where the tooltip should be added to, and the "tooltip" is a DIV
1039
- * that contains the tooltip text. Optionally, the tooltip DIV can have the
1040
- * "title" attribute set; if so, its value will be displayed highlighted as
1041
- * the title of the tooltip.
1042
- *
1043
- * @param target reference to or ID of the target element
1044
- * @param tooltip reference to or ID of the tooltip content element
1045
- */
1046
-
1047
- Zapatec.Utils.addTooltip = function(target, tooltip) {
1048
- return new Zapatec.Tooltip(target, tooltip);
1049
- };
1050
-
1051
- Zapatec.isLite=true;
1052
-
1053
- Zapatec.Utils.checkActivation = function() {
1054
- if (!Zapatec.isLite) return true;
1055
-
1056
- var arrProducts=[]
1057
-
1058
- add_product=function(script, webdir_in, name_in)
1059
- {
1060
- arrProducts[script]={webdir:webdir_in, name:name_in, bActive:false}
1061
- }
1062
-
1063
- add_product('calendar.js', 'prod1', 'Calendar')
1064
- add_product('zpmenu.js', 'prod2', 'Menu')
1065
- add_product('tree.js', 'prod3', 'Tree')
1066
- add_product('form.js', 'forms', 'Forms')
1067
- add_product('effects.js', 'effects', 'Effects')
1068
- add_product('hoverer.js', 'effects', 'Effects - Hoverer')
1069
- add_product('slideshow.js','effects', 'Effects - Slidshow')
1070
- add_product('zpgrid.js', 'grid', 'Grid')
1071
- add_product('slider.js', 'slider', 'Slider')
1072
- add_product('zptabs.js', 'tabs', 'Tabs')
1073
- add_product('zptime.js', 'time', 'Time')
1074
- add_product('window.js', 'windows', 'Window')
1075
-
1076
-
1077
- var strName, arrName, i
1078
- var bProduct=false // Flag yes if we have a zapatec script
1079
- var scripts = document.getElementsByTagName('script');
1080
- for (i=0; i<scripts.length; i++)
1081
- {
1082
- // If wizard then do NOT do link back check, which makes wizard err out
1083
- if (/wizard.js/i.test(scripts[i].src))
1084
- return true
1085
-
1086
- arrName=scripts[i].src.split('/')
1087
- if (arrName.length==0)
1088
- strName=scripts[i]
1089
- else
1090
- strName=arrName[arrName.length-1]
1091
- strName=strName.toLowerCase()
1092
- // Get each active product
1093
- if (typeof arrProducts[strName] != 'undefined')
1094
- {
1095
- bProduct=true
1096
- arrProducts[strName].bActive=true
1097
- }
1098
- }
1099
-
1100
- // Is a LITE product even being used?
1101
- if (!bProduct) return true;
1102
-
1103
-
1104
- var anchors = document.getElementsByTagName('A');
1105
- for(i = 0; i < anchors.length; i++)
1106
- if (/(dev|www)\.zapatec\.com/i.test(anchors[i].href))
1107
- return true;
1108
-
1109
- var strMsg='You are using the Free version of the Zapatec Software.\n'+
1110
- 'While using the Free version, a link to www.zapatec.com in this page is required.'
1111
-
1112
- for (i in arrProducts)
1113
- // Get each active product
1114
- if (arrProducts[i].bActive==true)
1115
- strMsg+='\nTo purchase the Zapatec ' + arrProducts[i].name + ' visit www.zapatec.com/website/main/products/' + arrProducts[i].webdir + '/'
1116
-
1117
- alert(strMsg)
1118
-
1119
- return false;
1120
- }
1121
-
1122
- /**
1123
- * Makes a copy of an object.
1124
- *
1125
- * @param {object} objSource Source object to clone
1126
- */
1127
- Zapatec.Utils.clone = function(objSource) {
1128
- var objClone;
1129
- if ((objSource instanceof String) || (objSource instanceof Number) ||
1130
- (objSource instanceof Boolean)) {
1131
- objClone = new objSource.constructor(objSource.valueOf());
1132
- } else {
1133
- objClone = new objSource.constructor();
1134
- }
1135
- for (var strProperty in objSource) {
1136
- if (typeof objSource[strProperty] == 'object') {
1137
- objClone[strProperty] = Zapatec.Utils.clone(objSource[strProperty], true);
1138
- } else {
1139
- objClone[strProperty] = objSource[strProperty];
1140
- }
1141
- }
1142
- return objClone;
1143
- };
1144
-
1145
- // Browser sniffing
1146
-
1147
- /// detect Opera browser
1148
- Zapatec.is_opera = /opera/i.test(navigator.userAgent);
1149
-
1150
- /// detect a special case of "web browser"
1151
- Zapatec.is_ie = ( /msie/i.test(navigator.userAgent) && !Zapatec.is_opera );
1152
-
1153
- /// detect IE5.0/Win
1154
- Zapatec.is_ie5 = ( Zapatec.is_ie && /msie 5\.0/i.test(navigator.userAgent) );
1155
-
1156
- /// detect IE7.0/Win
1157
- Zapatec.is_ie7 = ( Zapatec.is_ie && /msie 7\.0/i.test(navigator.userAgent) );
1158
-
1159
- /// detect IE for Macintosh
1160
- Zapatec.is_mac_ie = ( /msie.*mac/i.test(navigator.userAgent) && !Zapatec.is_opera );
1161
-
1162
- /// detect KHTML-based browsers
1163
- Zapatec.is_khtml = /Konqueror|Safari|KHTML/i.test(navigator.userAgent);
1164
-
1165
- /// detect Konqueror
1166
- Zapatec.is_konqueror = /Konqueror/i.test(navigator.userAgent);
1167
-
1168
- /// detect Gecko
1169
- Zapatec.is_gecko = /Gecko/i.test(navigator.userAgent);
1170
-
1171
- /**
1172
- * Simulation of Object hasOwnProperty() method that is missing in IE 5.0.
1173
- */
1174
- if (!Object.prototype.hasOwnProperty) {
1175
- Object.prototype.hasOwnProperty = function(strProperty) {
1176
- try {
1177
- var objPrototype = this.constructor.prototype;
1178
- while (objPrototype) {
1179
- if (objPrototype[strProperty] == this[strProperty]) {
1180
- return false;
1181
- }
1182
- objPrototype = objPrototype.prototype;
1183
- }
1184
- } catch (objException) {}
1185
- return true;
1186
- };
1187
- }
1188
-
1189
- /**
1190
- * Simulation of Function call() method that is missing in IE 5.0.
1191
- */
1192
- if (!Function.prototype.call) {
1193
- Function.prototype.call = function() {
1194
- var objThis = arguments[0];
1195
- objThis._this_func = this;
1196
- var arrArgs = [];
1197
- for (var iArg = 1; iArg < arguments.length; iArg++) {
1198
- arrArgs[arrArgs.length] = 'arguments[' + iArg + ']';
1199
- }
1200
- var ret = eval('objThis._this_func(' + arrArgs.join(',') + ')');
1201
- objThis._this_func = null;
1202
- return ret;
1203
- };
1204
- }
1205
-
1206
- /**
1207
- * Simulation of Function apply() method that is missing in IE 5.0.
1208
- */
1209
- if (!Function.prototype.apply) {
1210
- Function.prototype.apply = function() {
1211
- var objThis = arguments[0];
1212
- var objArgs = arguments[1];
1213
- objThis._this_func = this;
1214
- var arrArgs = [];
1215
- if (objArgs) {
1216
- for (var iArg = 0; iArg < objArgs.length; iArg++) {
1217
- arrArgs[arrArgs.length] = 'objArgs[' + iArg + ']';
1218
- }
1219
- }
1220
- var ret = eval('objThis._this_func(' + arrArgs.join(',') + ')');
1221
- objThis._this_func = null;
1222
- return ret;
1223
- };
1224
- }
1225
-
1226
- /**
1227
- * Simulation of Array pop() method that is missing in IE 5.0.
1228
- */
1229
- if (!Array.prototype.pop) {
1230
- Array.prototype.pop = function() {
1231
- var last;
1232
- if (this.length) {
1233
- last = this[this.length - 1];
1234
- this.length -= 1;
1235
- }
1236
- return last;
1237
- };
1238
- }
1239
-
1240
- /**
1241
- * Simulation of Array push() method that is missing in IE 5.0
1242
- */
1243
- if (!Array.prototype.push) {
1244
- Array.prototype.push = function() {
1245
- for (var i = 0; i < arguments.length; i++) {
1246
- this[this.length] = arguments[i];
1247
- }
1248
- return this.length;
1249
- };
1250
- }
1251
-
1252
- /**
1253
- * Simulation of Array shift() method that is missing in IE 5.0.
1254
- */
1255
- if (!Array.prototype.shift) {
1256
- Array.prototype.shift = function() {
1257
- var first;
1258
- if (this.length) {
1259
- first = this[0];
1260
- for (var i = 0; i < this.length - 1; i++) {
1261
- this[i] = this[i + 1];
1262
- }
1263
- this.length -= 1;
1264
- }
1265
- return first;
1266
- };
1267
- }
1268
-
1269
- /**
1270
- * Simulation of Array unshift() method that is missing in IE 5.0.
1271
- */
1272
- if (!Array.prototype.unshift) {
1273
- Array.prototype.unshift = function() {
1274
- if (arguments.length) {
1275
- var i, len = arguments.length;
1276
- for (i = this.length + len - 1; i >= len; i--) {
1277
- this[i] = this[i - len];
1278
- }
1279
- for (i = 0; i < len; i++) {
1280
- this[i] = arguments[i];
1281
- }
1282
- }
1283
- return this.length;
1284
- };
1285
- }
1286
-
1287
- /**
1288
- * Simulation of Array splice() method that is missing in IE 5.0.
1289
- */
1290
- if (!Array.prototype.splice) {
1291
- Array.prototype.splice = function(index, howMany) {
1292
- var elements = [], removed = [], i;
1293
- for (i = 2; i < arguments.length; i++) {
1294
- elements.push(arguments[i]);
1295
- }
1296
- for (i = index; (i < index + howMany) && (i < this.length); i++) {
1297
- removed.push(this[i]);
1298
- }
1299
- for (i = index + howMany; i < this.length; i++) {
1300
- this[i - howMany] = this[i];
1301
- }
1302
- this.length -= removed.length;
1303
- for (i = this.length + elements.length - 1; i >= index + elements.length;
1304
- i--) {
1305
- this[i] = this[i - elements.length];
1306
- }
1307
- for (i = 0; i < elements.length; i++) {
1308
- this[index + i] = elements[i];
1309
- }
1310
- return removed;
1311
- };
1312
- }
1313
-
1314
- /**
1315
- * Crossbrowser replacement for Array indexOf() method. See:
1316
- * http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Objects:Array:indexOf
1317
- *
1318
- * @param {object} arr Array to search in
1319
- * @param {any} searchElement Element to locate in the array
1320
- * @param {any} fromIndex The index at which to begin the search
1321
- * @return The first index at which a given element can be found in the array,
1322
- * or -1 if it is not present
1323
- * @type number
1324
- */
1325
- Zapatec.Utils.arrIndexOf = function(arr, searchElement, fromIndex) {
1326
- if (Array.prototype.indexOf) {
1327
- return arr.indexOf(searchElement, fromIndex);
1328
- }
1329
- if (!fromIndex) {
1330
- fromIndex = 0;
1331
- }
1332
- for (var iElement = fromIndex; iElement < arr.length; iElement++) {
1333
- if (arr[iElement] == searchElement) {
1334
- return iElement;
1335
- }
1336
- }
1337
- return -1;
1338
- };
1339
-
1340
- /**
1341
- * Displays error message. Override this if needed.
1342
- *
1343
- * \param objArgs [number] error object:
1344
- * {
1345
- * severity: [string, optional] error severity,
1346
- * description: [string] human readable error description
1347
- * }
1348
- */
1349
- Zapatec.Log = function(objArgs) {
1350
- // Check arguments
1351
- if (!objArgs) {
1352
- return;
1353
- }
1354
- // Form error message
1355
- var strMessage = objArgs.description;
1356
- if (objArgs.severity) {
1357
- strMessage = objArgs.severity + ':\n' + strMessage;
1358
- }
1359
- // Display error message
1360
- alert(strMessage);
1361
- };
1362
-
1363
- /// Zapatec.Utils.Array object which contains additional for arrays method
1364
- Zapatec.Utils.Array = {};
1365
-
1366
- /**
1367
- * Inserts the element into array.
1368
- * It influences the order in which the elements will be iterated in the for...in cycle.
1369
- *
1370
- * @param arr [array] array to work with.
1371
- * @param el [mixed] element to insert.
1372
- * @param key [string] element to insert.
1373
- * @param nextKey [string] element to be inserted before.
1374
- * @return [string] new Array.
1375
- */
1376
- Zapatec.Utils.Array.insertBefore = function (arr, el, key, nextKey) {
1377
- var tmp = new Array();
1378
- for(var i in arr) {
1379
- if (i == nextKey) {
1380
- if (key) {
1381
- tmp[key] = el;
1382
- } else {
1383
- tmp.push(el);
1384
- }
1385
- }
1386
- tmp[i] = arr[i];
1387
- }
1388
- return tmp;
1389
- }
1390
-
1391
- /**
1392
- * Extends one class with another. Gives ability to access properties and
1393
- * methods of the superclass having the same names as in subclass.
1394
- *
1395
- * <pre>
1396
- * Zapatec.Widget specific feature: If superclass has static property "path",
1397
- * subclass will get path to js file from which this function is called into
1398
- * "path" property instead of value from superclass.
1399
- *
1400
- * To determine path correctly when widget module is included using
1401
- * Zapatec#include, static property "id" should be set in widget class. Value of
1402
- * this property must be passed to Zapatec#include as script id.
1403
- *
1404
- * Should be used as follows:
1405
- *
1406
- * // Define SuperClass and its methods
1407
- * Zapatec.SuperClass = function(objArgs) {
1408
- * ...
1409
- * };
1410
- *
1411
- * Zapatec.SuperClass.prototype.init = function(objArgs) {
1412
- * ...
1413
- * };
1414
- *
1415
- * // Define SubClass and its methods
1416
- * Zapatec.SubClass = function(objArgs) {
1417
- * ...
1418
- * // Call constructor of superclass
1419
- * Zapatec.SubClass.SUPERconstructor.call(this, objArgs);
1420
- * ...
1421
- * };
1422
- *
1423
- * // Unique static id of the widget class to determine path correctly
1424
- * // Neded only if class is derived from Zapatec.Widget class
1425
- * Zapatec.SubClass.id = 'Zapatec.SubClass';
1426
- *
1427
- * // Inherit SuperClass
1428
- * Zapatec.inherit(Zapatec.SubClass, Zapatec.SuperClass);
1429
- *
1430
- * Zapatec.SubClass.prototype.init = function(objArgs) {
1431
- * ...
1432
- * // Call method of superclass
1433
- * Zapatec.SubClass.SUPERclass.init.call(this, objArgs);
1434
- * ...
1435
- * };
1436
- *
1437
- * Note: This function must be invoked during page load to determine path to js
1438
- * file from which it is called correctly.
1439
- * </pre>
1440
- *
1441
- * @param {object} objSubClass Inheriting class
1442
- * @param {object} objSuperClass Class from which to inherit
1443
- */
1444
- Zapatec.inherit = function(objSubClass, objSuperClass) {
1445
- // Duplicate prototype of superclass
1446
- var Inheritance = function() {};
1447
- Inheritance.prototype = objSuperClass.prototype;
1448
- objSubClass.prototype = new Inheritance();
1449
- // Fix constructor property to point to the self constructor because it is
1450
- // pointing to the nested Inheritance function
1451
- objSubClass.prototype.constructor = objSubClass;
1452
- // Reference to constructor of superclass to be able to invoke it
1453
- objSubClass.SUPERconstructor = objSuperClass;
1454
- // Reference to prototype of superclass to be able to invoke its methods
1455
- objSubClass.SUPERclass = objSuperClass.prototype;
1456
- // Path to js file from which this function is called
1457
- if (typeof objSuperClass.path != 'undefined') {
1458
- objSubClass.path = Zapatec.getPath(objSubClass.id);
1459
- }
1460
- };
1461
-
1462
- /**
1463
- * Returns path from the script element with specified id. If id is not
1464
- * specified or specified id is not found on the page, returns path from the
1465
- * last loaded script element. Splits src attribute value and returns path
1466
- * without js file name. Returns empty string if path is not found.
1467
- *
1468
- * <pre>
1469
- * If specified id is not found on the page, returns last script element instead
1470
- * of alerting. This gives ability for developer to include script using
1471
- * Zapatec#include and specify id because in some cases it may be needed to get
1472
- * correct path; and for user to include script directly into the page without
1473
- * remembering internal Zapatec ids because id is not needed to determine path
1474
- * correctly in this case.
1475
- *
1476
- * Developer is responsible for checking that the same script id is passed to
1477
- * Zapatec#include and Zapatec#getPath because there is no alert if they are
1478
- * different and result may be wrong.
1479
- *
1480
- * Note: This function must be invoked during page load to determine path to js
1481
- * file from which it is called correctly.
1482
- * </pre>
1483
- *
1484
- * @param {string} strId Optional. Id of the script element
1485
- * @return Path to the script, e.g. '../src/' or '' if path is not found
1486
- * @type string
1487
- */
1488
- Zapatec.getPath = function(strId) {
1489
- // Get script element
1490
- var objScript;
1491
- if (typeof strId == 'string') {
1492
- // Try to use element with specified id
1493
- objScript = document.getElementById(strId);
1494
- }
1495
- if (!objScript) {
1496
- if(Zapatec.lastLoadedModule != null){
1497
- return Zapatec.lastLoadedModule;
1498
- }
1499
- // Get last script element
1500
- var objContainer = document.body;
1501
- if (!objContainer) {
1502
- objContainer = document.getElementsByTagName('head')[0];
1503
- if (!objContainer) {
1504
- objContainer = document;
1505
- }
1506
- }
1507
- objScript = Zapatec.Utils.getLastChild(objContainer, 'script');
1508
- }
1509
- if (!objScript) {
1510
- // Not found
1511
- return '';
1512
- }
1513
- // Get path
1514
- var strSrc = objScript.getAttribute('src');
1515
- if (!strSrc) {
1516
- return '';
1517
- }
1518
- var arrTokens = strSrc.split('/');
1519
- // Remove last token
1520
- arrTokens = arrTokens.slice(0, -1);
1521
- if (!arrTokens.length) {
1522
- return '';
1523
- }
1524
- return arrTokens.join('/') + '/';
1525
- };
1526
-
1527
- /**
1528
- * This is some kind of indicator that window has already loaded.
1529
- */
1530
- Zapatec.windowLoaded = typeof(document.readyState) != 'undefined' ?
1531
- (
1532
- document.readyState == 'loaded' || // Konqueror
1533
- document.readyState == 'complete' // IE/Opera
1534
- ) :
1535
- // Mozilla
1536
- document.getElementsByTagName != null && typeof(document.getElementsByTagName('body')[0]) != 'undefined'
1537
- ;
1538
-
1539
- Zapatec.Utils.addEvent(window, "load", function() {Zapatec.windowLoaded = true;});
1540
-
1541
- /*
1542
- * Use this method to display your custom message before unload event.
1543
- * For example you could warn user that he has some unsaved changes
1544
- * on page.
1545
- *
1546
- * \param msg [string] - message to display. Default value - "All your changes will be lost.":
1547
- * \param win [object] - reference to window object. By default - current window
1548
- */
1549
- Zapatec.Utils.warnUnload = function(msg, win){
1550
- Zapatec.Utils.warnUnloadFlag = true;
1551
- if(typeof(msg) != "string"){
1552
- msg = "All your changes will be lost.";
1553
- }
1554
-
1555
- if(typeof(win) == 'undefined'){
1556
- win = window;
1557
- }
1558
-
1559
- Zapatec.Utils.addEvent(win, 'beforeunload', function(ev){
1560
- if(Zapatec.Utils.warnUnloadFlag != true){
1561
- return true;
1562
- }
1563
-
1564
- if(typeof(ev) == 'undefined'){
1565
- ev = window.event;
1566
- }
1567
-
1568
- ev.returnValue = msg;
1569
-
1570
- return false;
1571
- });
1572
- }
1573
-
1574
- /*
1575
- * Using this method you can remove displaying of your message on page unload.
1576
- */
1577
- Zapatec.Utils.unwarnUnload = function(msg, win){
1578
- Zapatec.Utils.warnUnloadFlag = false;
1579
- }
1580
-
1581
- /*
1582
- * \internal Variable that determines if unload handler should be used.
1583
- */
1584
- Zapatec.Utils.warnUnloadFlag = false;
1585
-
1586
- /**
1587
- * @return Max z-index value
1588
- * @type number
1589
- */
1590
- Zapatec.Utils.getMaxZindex = function() {
1591
- if (window.opera || Zapatec.is_khtml) {
1592
- return 2147483583;
1593
- } else if (Zapatec.is_ie){
1594
- return 2147483647;
1595
- } else {
1596
- return 10737418239;
1597
- }
1598
- };
1599
-
1600
- /**
1601
- * Corrects CSS length.
1602
- *
1603
- * @param {any} val Value to correct
1604
- * @return Valid CSS length
1605
- * @type string
1606
- */
1607
- Zapatec.Utils.correctCssLength = function(val) {
1608
- if (typeof val == 'undefined' || (typeof val == 'object' && !val)) {
1609
- // Undefined or null
1610
- return 'auto';
1611
- }
1612
- // Convert to string
1613
- val += '';
1614
- if (!val.length) {
1615
- // Empty
1616
- return 'auto';
1617
- }
1618
- if (/\d$/.test(val)) {
1619
- // Number
1620
- val += 'px';
1621
- }
1622
- return val;
1623
- };
1624
-
1625
- /**
1626
- * @ignore Holds properties of DOM objects that must be set to null on window
1627
- * unload event to prevent memory leaks in IE.
1628
- */
1629
- Zapatec.Utils.destroyOnUnload = [];
1630
-
1631
- /**
1632
- * Saves a property that must be set to null on window unload event. Should be
1633
- * used for properties that can't be destroyed by garbage collector due to
1634
- * circular references.
1635
- *
1636
- * @param {object} objElement DOM object
1637
- * @param {string} strProperty Property name
1638
- */
1639
- Zapatec.Utils.addDestroyOnUnload = function(objElement, strProperty) {
1640
- Zapatec.Utils.destroyOnUnload.push([objElement, strProperty]);
1641
- };
1642
-
1643
- /**
1644
- * Assigns a value to a custom property of DOM object. This property will be
1645
- * set to null on window unload event. Use this function to create properties
1646
- * that can't be destroyed by garbage collector due to circular references.
1647
- *
1648
- * @param {object} objElement DOM object
1649
- * @param {string} strProperty Property name
1650
- * @param {any} val Property value
1651
- */
1652
- Zapatec.Utils.createProperty = function(objElement, strProperty, val) {
1653
- objElement[strProperty] = val;
1654
- Zapatec.Utils.addDestroyOnUnload(objElement, strProperty);
1655
- };
1656
-
1657
- // Remove circular references to prevent memory leaks in IE
1658
- Zapatec.Utils.addEvent(window, 'unload', function() {
1659
- for (var iObj = Zapatec.Utils.destroyOnUnload.length - 1; iObj >= 0; iObj--) {
1660
- var objDestroy = Zapatec.Utils.destroyOnUnload[iObj];
1661
- objDestroy[0][objDestroy[1]] = null;
1662
- objDestroy[0] = null;
1663
- }
1664
- for (var iLis = Zapatec.Utils.removeOnUnload.length - 1; iLis >= 0; iLis--) {
1665
- var listener = Zapatec.Utils.removeOnUnload[iLis];
1666
- Zapatec.Utils.removeEvent(listener["element"], listener["event"], listener["listener"]);
1667
- }
1668
- });
1669
-
1670
-
1671
- /**
1672
- * Escapes all special HTML characters so string can be added via innerHTML property as-is
1673
- *
1674
- * @param {string} str String to escape
1675
- * @return escaped string
1676
- * @type string
1677
- */
1678
- Zapatec.Utils.htmlEncode = function(str) {
1679
- // we don't need regexp for that, but.. so be it for now.
1680
- str = str.replace(/&/ig, "&amp;");
1681
- str = str.replace(/</ig, "&lt;");
1682
- str = str.replace(/>/ig, "&gt;");
1683
- str = str.replace(/\x22/ig, "&quot;");
1684
- // \x22 means '"' -- we use hex reprezentation so that we don't disturb
1685
- // JS compressors (well, at least mine fails.. ;)
1686
-
1687
- return str;
1688
- };
1689
-
1690
-
1691
- /**
1692
- * Applies given style to given element.
1693
- * @param {any} elRef reference to target element. Required.
1694
- * @param {string} style string value of style. Required.
1695
- */
1696
- Zapatec.Utils.applyStyle = function(elRef, style){
1697
- if(typeof(elRef) == 'string'){
1698
- elRef = document.getElementById(elRef);
1699
- }
1700
-
1701
- if(elRef == null || style == null || elRef.style == null){
1702
- return null;
1703
- }
1704
-
1705
- if(Zapatec.is_opera){
1706
- var pairs = style.split(";");
1707
-
1708
- for(var ii =0; ii < pairs.length; ii++){
1709
- var kv = pairs[ii].split(":");
1710
-
1711
- // trim value
1712
- if (!kv[1]) {
1713
- continue;
1714
- }
1715
- var value = kv[1].replace(/^\s*/, '').replace(/\s*$/, '');
1716
- var key = "";
1717
-
1718
- for(var jj = 0; jj < kv[0].length; jj++){
1719
- if(kv[0].charAt(jj) == "-"){
1720
- jj++;
1721
-
1722
- if(jj < kv[0].length){
1723
- key += kv[0].charAt(jj).toUpperCase();
1724
- }
1725
-
1726
- continue;
1727
- }
1728
-
1729
- key += kv[0].charAt(jj);
1730
- }
1731
-
1732
- switch(key){
1733
- case "float":
1734
- key = "cssFloat";
1735
- break;
1736
- }
1737
-
1738
- try{
1739
- elRef.style[key] = value;
1740
- } catch(e){}
1741
- }
1742
- } else {
1743
- elRef.style.cssText = style;
1744
- }
1745
-
1746
- return true;
1747
- }
1748
-
1749
- /**
1750
- * Retrieves computed CSS property values from an element.
1751
- *
1752
- * @param {object} Element object
1753
- * @param {string} Property name of element's style, e.g. "borderLeftWidth"
1754
- * @return Computed CSS property value
1755
- * @type string
1756
- */
1757
- Zapatec.Utils.getStyleProperty = function(objElement, strProperty) {
1758
- if (document.defaultView && document.defaultView.getComputedStyle) {
1759
- // Standard
1760
- strProperty = strProperty.replace(/([A-Z])/g, '-$1').toLowerCase();
1761
- return document.defaultView.getComputedStyle(objElement, '')
1762
- .getPropertyValue(strProperty);
1763
- } else if (objElement.currentStyle) {
1764
- // IE
1765
- return objElement.currentStyle[strProperty];
1766
- }
1767
- // None
1768
- return objElement.style[strProperty];
1769
- };
1770
-
1771
- /**
1772
- * Returns precision of a number with floating point.
1773
- *
1774
- * @param {number} fFloat Number with floating point
1775
- * @return Precision
1776
- * @type number
1777
- */
1778
- Zapatec.Utils.getPrecision = function(fFloat){
1779
- return (fFloat + '').replace(/^\d*\.*/, '').length;
1780
- };
1781
-
1782
- /**
1783
- * Reduces precision of a number with floating point. Useful to correct
1784
- * precision before displaying the result of arithmetic operation. E.g.
1785
- * 1.1 + 2.22 == 3.3200000000000003 and
1786
- * Zapatec.Utils.setPrecision(1.1 + 2.22) == 3.32 .
1787
- *
1788
- * Unlike Number.prototype.toPrecision, returns integer if param iPrecision
1789
- * is 0.
1790
- *
1791
- * @param {number} fFloat Number with floating point
1792
- * @param {number} iPrecision Desired precision
1793
- * @return Number with floating point with desired precision
1794
- * @type number
1795
- */
1796
- Zapatec.Utils.setPrecision = function(fFloat, iPrecision){
1797
- var iPow = Math.pow(10, iPrecision);
1798
- return parseInt(fFloat * iPow, 10) / iPow;
1799
- };