serum-rails 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (340) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +6 -0
  3. data/.rspec +3 -0
  4. data/Gemfile +3 -0
  5. data/Gemfile.lock +42 -0
  6. data/LICENSE +22 -0
  7. data/README.md +40 -0
  8. data/bin/serum-rails +13 -0
  9. data/lib/serum/rails/app.rb +50 -0
  10. data/lib/serum/rails/code_scanner.rb +49 -0
  11. data/lib/serum/rails/metrics.rb +118 -0
  12. data/lib/serum/rails/type_selection.rb +31 -0
  13. data/lib/serum/rails/version.rb +7 -0
  14. data/lib/serum-rails.rb +5 -0
  15. data/serum-rails.gemspec +23 -0
  16. data/spec/serum/rails/metrics_spec.rb +87 -0
  17. data/spec/spec_helper.rb +80 -0
  18. data/spec/test_app/Capfile +4 -0
  19. data/spec/test_app/Gemfile +54 -0
  20. data/spec/test_app/Gemfile.lock +163 -0
  21. data/spec/test_app/Rakefile +11 -0
  22. data/spec/test_app/app/controllers/admin/categories_controller.rb +17 -0
  23. data/spec/test_app/app/controllers/admin/users_controller.rb +30 -0
  24. data/spec/test_app/app/controllers/application_controller/i18n_trait.rb +24 -0
  25. data/spec/test_app/app/controllers/application_controller/navigation_trait.rb +19 -0
  26. data/spec/test_app/app/controllers/application_controller/security_trait/disabled_clearance_accounts_trait.rb +41 -0
  27. data/spec/test_app/app/controllers/application_controller/security_trait.rb +65 -0
  28. data/spec/test_app/app/controllers/application_controller.rb +13 -0
  29. data/spec/test_app/app/controllers/conferences_controller.rb +67 -0
  30. data/spec/test_app/app/controllers/friendship_requests_controller.rb +31 -0
  31. data/spec/test_app/app/controllers/invitations_controller.rb +39 -0
  32. data/spec/test_app/app/controllers/members_controller.rb +21 -0
  33. data/spec/test_app/app/controllers/passwords_controller.rb +33 -0
  34. data/spec/test_app/app/controllers/sessions_controller.rb +17 -0
  35. data/spec/test_app/app/controllers/shared/boring_controller_trait/deletable_trait.rb +23 -0
  36. data/spec/test_app/app/controllers/shared/boring_controller_trait/flash_trait.rb +23 -0
  37. data/spec/test_app/app/controllers/shared/boring_controller_trait/helpers_trait.rb +35 -0
  38. data/spec/test_app/app/controllers/shared/boring_controller_trait/index_trait.rb +39 -0
  39. data/spec/test_app/app/controllers/shared/boring_controller_trait/log_changes_trait.rb +18 -0
  40. data/spec/test_app/app/controllers/shared/boring_controller_trait.rb +16 -0
  41. data/spec/test_app/app/controllers/users_controller.rb +49 -0
  42. data/spec/test_app/app/controllers/ws/api_controller/formatters_trait.rb +91 -0
  43. data/spec/test_app/app/controllers/ws/api_controller/parsers_trait.rb +59 -0
  44. data/spec/test_app/app/controllers/ws/api_controller.rb +70 -0
  45. data/spec/test_app/app/controllers/ws/attendees_controller.rb +43 -0
  46. data/spec/test_app/app/controllers/ws/categories_controller.rb +30 -0
  47. data/spec/test_app/app/controllers/ws/conferences_controller.rb +62 -0
  48. data/spec/test_app/app/controllers/ws/contacts_controller.rb +41 -0
  49. data/spec/test_app/app/controllers/ws/factory_controller.rb +45 -0
  50. data/spec/test_app/app/controllers/ws/members_controller.rb +34 -0
  51. data/spec/test_app/app/controllers/ws/series_controller.rb +19 -0
  52. data/spec/test_app/app/controllers/ws/tests_controller.rb +23 -0
  53. data/spec/test_app/app/helpers/application_helper.rb +180 -0
  54. data/spec/test_app/app/helpers/mail_helper.rb +9 -0
  55. data/spec/test_app/app/helpers/tags_helper.rb +16 -0
  56. data/spec/test_app/app/helpers/user_helper.rb +23 -0
  57. data/spec/test_app/app/models/attendance.rb +11 -0
  58. data/spec/test_app/app/models/category/ancestry_trait.rb +23 -0
  59. data/spec/test_app/app/models/category.rb +25 -0
  60. data/spec/test_app/app/models/conference/attendance_trait.rb +23 -0
  61. data/spec/test_app/app/models/conference/categories_trait.rb +26 -0
  62. data/spec/test_app/app/models/conference/icalendar_trait.rb +36 -0
  63. data/spec/test_app/app/models/conference/search_trait.rb +44 -0
  64. data/spec/test_app/app/models/conference.rb +24 -0
  65. data/spec/test_app/app/models/conference_category.rb +6 -0
  66. data/spec/test_app/app/models/conference_search.rb +51 -0
  67. data/spec/test_app/app/models/error.rb +25 -0
  68. data/spec/test_app/app/models/friendship.rb +14 -0
  69. data/spec/test_app/app/models/friendship_request.rb +19 -0
  70. data/spec/test_app/app/models/invitation.rb +38 -0
  71. data/spec/test_app/app/models/member_search.rb +18 -0
  72. data/spec/test_app/app/models/navigation.rb +38 -0
  73. data/spec/test_app/app/models/patterns.rb +14 -0
  74. data/spec/test_app/app/models/permissions.rb +106 -0
  75. data/spec/test_app/app/models/shared/afterlife_trait.rb +18 -0
  76. data/spec/test_app/app/models/shared/choice_trait.rb +37 -0
  77. data/spec/test_app/app/models/shared/deletable_trait.rb +8 -0
  78. data/spec/test_app/app/models/shared/flag_trait.rb +30 -0
  79. data/spec/test_app/app/models/shared/indestructible_trait.rb +19 -0
  80. data/spec/test_app/app/models/shared/list_field_trait.rb +70 -0
  81. data/spec/test_app/app/models/shared/person_name_trait.rb +25 -0
  82. data/spec/test_app/app/models/shared/searchable_trait.rb +71 -0
  83. data/spec/test_app/app/models/shared/sortable_trait.rb +24 -0
  84. data/spec/test_app/app/models/user/authentication_trait.rb +33 -0
  85. data/spec/test_app/app/models/user/authorization_trait.rb +17 -0
  86. data/spec/test_app/app/models/user/friends_trait.rb +42 -0
  87. data/spec/test_app/app/models/user/search_trait.rb +43 -0
  88. data/spec/test_app/app/models/user.rb +61 -0
  89. data/spec/test_app/app/models/util.rb +19 -0
  90. data/spec/test_app/app/views/admin/categories/_form.html.haml +18 -0
  91. data/spec/test_app/app/views/admin/categories/_list.html.haml +17 -0
  92. data/spec/test_app/app/views/admin/categories/edit.html.haml +6 -0
  93. data/spec/test_app/app/views/admin/categories/index.html.haml +6 -0
  94. data/spec/test_app/app/views/admin/categories/new.html.haml +6 -0
  95. data/spec/test_app/app/views/admin/categories/show.html.haml +27 -0
  96. data/spec/test_app/app/views/admin/users/_form.html.haml +49 -0
  97. data/spec/test_app/app/views/admin/users/_head.html.haml +5 -0
  98. data/spec/test_app/app/views/admin/users/_list.html.haml +20 -0
  99. data/spec/test_app/app/views/admin/users/_search.html.haml +9 -0
  100. data/spec/test_app/app/views/admin/users/deleted.html.haml +5 -0
  101. data/spec/test_app/app/views/admin/users/edit.html.haml +5 -0
  102. data/spec/test_app/app/views/admin/users/index.html.haml +7 -0
  103. data/spec/test_app/app/views/admin/users/new.html.haml +6 -0
  104. data/spec/test_app/app/views/clearance_mailer/change_password.erb +9 -0
  105. data/spec/test_app/app/views/conferences/_categories_list.html.haml +8 -0
  106. data/spec/test_app/app/views/conferences/_form.html.haml +32 -0
  107. data/spec/test_app/app/views/conferences/_head.html.haml +4 -0
  108. data/spec/test_app/app/views/conferences/_list.html.haml +22 -0
  109. data/spec/test_app/app/views/conferences/_search.html.haml +24 -0
  110. data/spec/test_app/app/views/conferences/edit.html.haml +8 -0
  111. data/spec/test_app/app/views/conferences/index.html.haml +22 -0
  112. data/spec/test_app/app/views/conferences/new.html.haml +9 -0
  113. data/spec/test_app/app/views/conferences/search.html.haml +7 -0
  114. data/spec/test_app/app/views/conferences/show.html.haml +78 -0
  115. data/spec/test_app/app/views/invitations/index.html.haml +26 -0
  116. data/spec/test_app/app/views/invitations/new.html.haml +22 -0
  117. data/spec/test_app/app/views/layouts/_flashes.html.haml +13 -0
  118. data/spec/test_app/app/views/layouts/_javascript_requirement.html.haml +8 -0
  119. data/spec/test_app/app/views/layouts/_javascripts.html.haml +4 -0
  120. data/spec/test_app/app/views/layouts/_notifications.html.haml +11 -0
  121. data/spec/test_app/app/views/layouts/_session_navigation.html.haml +12 -0
  122. data/spec/test_app/app/views/layouts/_stylesheets.html.haml +6 -0
  123. data/spec/test_app/app/views/layouts/screen.html.haml +30 -0
  124. data/spec/test_app/app/views/members/index.html.haml +40 -0
  125. data/spec/test_app/app/views/passwords/edit.html.haml +21 -0
  126. data/spec/test_app/app/views/passwords/new.html.haml +14 -0
  127. data/spec/test_app/app/views/sessions/new.html.haml +19 -0
  128. data/spec/test_app/app/views/users/_form.html.haml +45 -0
  129. data/spec/test_app/app/views/users/_head.html.haml +3 -0
  130. data/spec/test_app/app/views/users/edit.html.haml +5 -0
  131. data/spec/test_app/app/views/users/new.html.haml +6 -0
  132. data/spec/test_app/app/views/users/show.html.haml +49 -0
  133. data/spec/test_app/assets/data.json +981 -0
  134. data/spec/test_app/config/boot.rb +125 -0
  135. data/spec/test_app/config/cucumber.yml +8 -0
  136. data/spec/test_app/config/database.sample.yml +24 -0
  137. data/spec/test_app/config/deploy/production.rb +9 -0
  138. data/spec/test_app/config/deploy.rb +100 -0
  139. data/spec/test_app/config/environment.rb +27 -0
  140. data/spec/test_app/config/environments/cucumber.rb +28 -0
  141. data/spec/test_app/config/environments/development.rb +22 -0
  142. data/spec/test_app/config/environments/production.rb +35 -0
  143. data/spec/test_app/config/environments/test.rb +30 -0
  144. data/spec/test_app/config/initializers/backtrace_silencers.rb +7 -0
  145. data/spec/test_app/config/initializers/clearance.rb +5 -0
  146. data/spec/test_app/config/initializers/collect_hash.rb +23 -0
  147. data/spec/test_app/config/initializers/collection_path_with_params.rb +18 -0
  148. data/spec/test_app/config/initializers/cookie_verification_secret.rb +10 -0
  149. data/spec/test_app/config/initializers/form_builder.rb +166 -0
  150. data/spec/test_app/config/initializers/inflections.rb +10 -0
  151. data/spec/test_app/config/initializers/invert_ordered_hash.rb +12 -0
  152. data/spec/test_app/config/initializers/localize_textfield_input_for_numbers.rb +30 -0
  153. data/spec/test_app/config/initializers/mime_types.rb +7 -0
  154. data/spec/test_app/config/initializers/new_rails_defaults.rb +21 -0
  155. data/spec/test_app/config/initializers/preload_associations.rb +7 -0
  156. data/spec/test_app/config/initializers/query_diet.rb +6 -0
  157. data/spec/test_app/config/initializers/saner_field_with_errors.rb +5 -0
  158. data/spec/test_app/config/initializers/session_store.rb +18 -0
  159. data/spec/test_app/config/locales/en.yml +231 -0
  160. data/spec/test_app/config/preinitializer.rb +22 -0
  161. data/spec/test_app/config/routes.rb +47 -0
  162. data/spec/test_app/db/migrate/20110114164517_initial_tables.rb +52 -0
  163. data/spec/test_app/db/migrate/20110118090858_add_profile_fields_to_user.rb +15 -0
  164. data/spec/test_app/db/migrate/20110118092741_create_conference.rb +20 -0
  165. data/spec/test_app/db/migrate/20110118093503_create_category.rb +17 -0
  166. data/spec/test_app/db/migrate/20110118104438_create_conference_category.rb +16 -0
  167. data/spec/test_app/db/migrate/20110118105959_create_attendance.rb +17 -0
  168. data/spec/test_app/db/migrate/20110118122324_create_friendship_requests.rb +15 -0
  169. data/spec/test_app/db/migrate/20110118162436_create_invitation.rb +16 -0
  170. data/spec/test_app/db/migrate/20110118170347_create_friendships.rb +15 -0
  171. data/spec/test_app/db/migrate/20110118193528_add_timestamps_to_conference.rb +12 -0
  172. data/spec/test_app/db/migrate/20110119075012_set_unique_index_on_username_for_user.rb +11 -0
  173. data/spec/test_app/db/migrate/20110119093458_remove_first_and_last_name_from_user.rb +12 -0
  174. data/spec/test_app/db/migrate/20110119110857_add_missing_indexes.rb +23 -0
  175. data/spec/test_app/db/migrate/20110119115751_add_uniqueness_of_name_to_category.rb +9 -0
  176. data/spec/test_app/db/seeds.rb +5 -0
  177. data/spec/test_app/lib/scripts/create_many_users_sql.rb +14 -0
  178. data/spec/test_app/lib/tasks/cucumber.rake +53 -0
  179. data/spec/test_app/lib/tasks/pending_migrations.rake +24 -0
  180. data/spec/test_app/lib/tasks/rcov.rake +42 -0
  181. data/spec/test_app/lib/tasks/rspec.rake +144 -0
  182. data/spec/test_app/public/404.html +30 -0
  183. data/spec/test_app/public/422.html +30 -0
  184. data/spec/test_app/public/500.html +30 -0
  185. data/spec/test_app/public/favicon.ico +0 -0
  186. data/spec/test_app/public/images/ajax-loader.gif +0 -0
  187. data/spec/test_app/public/images/icons/balloon-quotation.png +0 -0
  188. data/spec/test_app/public/images/icons/balloon-sound.png +0 -0
  189. data/spec/test_app/public/images/icons/balloon.png +0 -0
  190. data/spec/test_app/public/images/icons/bell.png +0 -0
  191. data/spec/test_app/public/images/icons/bin.png +0 -0
  192. data/spec/test_app/public/images/icons/bookmark.png +0 -0
  193. data/spec/test_app/public/images/icons/cake.png +0 -0
  194. data/spec/test_app/public/images/icons/calendar-blue.png +0 -0
  195. data/spec/test_app/public/images/icons/calendar-month.png +0 -0
  196. data/spec/test_app/public/images/icons/calendar-month_light.png +0 -0
  197. data/spec/test_app/public/images/icons/calendar-select.png +0 -0
  198. data/spec/test_app/public/images/icons/card-address.png +0 -0
  199. data/spec/test_app/public/images/icons/cards-address.png +0 -0
  200. data/spec/test_app/public/images/icons/cross-script.png +0 -0
  201. data/spec/test_app/public/images/icons/cross-small.png +0 -0
  202. data/spec/test_app/public/images/icons/cross.png +0 -0
  203. data/spec/test_app/public/images/icons/crown-silver.png +0 -0
  204. data/spec/test_app/public/images/icons/crown.png +0 -0
  205. data/spec/test_app/public/images/icons/dashboard.png +0 -0
  206. data/spec/test_app/public/images/icons/document-list.png +0 -0
  207. data/spec/test_app/public/images/icons/document-node.png +0 -0
  208. data/spec/test_app/public/images/icons/document-number.png +0 -0
  209. data/spec/test_app/public/images/icons/document-stamp.png +0 -0
  210. data/spec/test_app/public/images/icons/document-task.png +0 -0
  211. data/spec/test_app/public/images/icons/document-text.png +0 -0
  212. data/spec/test_app/public/images/icons/fire.png +0 -0
  213. data/spec/test_app/public/images/icons/folder-medium.png +0 -0
  214. data/spec/test_app/public/images/icons/folder.png +0 -0
  215. data/spec/test_app/public/images/icons/gear.png +0 -0
  216. data/spec/test_app/public/images/icons/globe-green.png +0 -0
  217. data/spec/test_app/public/images/icons/globe-green_light.png +0 -0
  218. data/spec/test_app/public/images/icons/globe-medium-green.png +0 -0
  219. data/spec/test_app/public/images/icons/heart-break.png +0 -0
  220. data/spec/test_app/public/images/icons/heart.png +0 -0
  221. data/spec/test_app/public/images/icons/images-flickr.png +0 -0
  222. data/spec/test_app/public/images/icons/information-balloon.png +0 -0
  223. data/spec/test_app/public/images/icons/key.png +0 -0
  224. data/spec/test_app/public/images/icons/light-bulb.png +0 -0
  225. data/spec/test_app/public/images/icons/lock--exclamation.png +0 -0
  226. data/spec/test_app/public/images/icons/lock.png +0 -0
  227. data/spec/test_app/public/images/icons/magnifier-medium.png +0 -0
  228. data/spec/test_app/public/images/icons/magnifier.png +0 -0
  229. data/spec/test_app/public/images/icons/mail.png +0 -0
  230. data/spec/test_app/public/images/icons/paper-clip-small.png +0 -0
  231. data/spec/test_app/public/images/icons/paper-clip.png +0 -0
  232. data/spec/test_app/public/images/icons/pencil.png +0 -0
  233. data/spec/test_app/public/images/icons/plus-circle.png +0 -0
  234. data/spec/test_app/public/images/icons/plus-small.png +0 -0
  235. data/spec/test_app/public/images/icons/plus.png +0 -0
  236. data/spec/test_app/public/images/icons/printer.png +0 -0
  237. data/spec/test_app/public/images/icons/question-balloon.png +0 -0
  238. data/spec/test_app/public/images/icons/question-white.png +0 -0
  239. data/spec/test_app/public/images/icons/question.png +0 -0
  240. data/spec/test_app/public/images/icons/quill.png +0 -0
  241. data/spec/test_app/public/images/icons/robot.png +0 -0
  242. data/spec/test_app/public/images/icons/ruby_16.png +0 -0
  243. data/spec/test_app/public/images/icons/ruby_2_16.png +0 -0
  244. data/spec/test_app/public/images/icons/ruby_32.png +0 -0
  245. data/spec/test_app/public/images/icons/show.png +0 -0
  246. data/spec/test_app/public/images/icons/star.png +0 -0
  247. data/spec/test_app/public/images/icons/sticky-note-text.png +0 -0
  248. data/spec/test_app/public/images/icons/telephone-fax.png +0 -0
  249. data/spec/test_app/public/images/icons/telephone-fax_light.png +0 -0
  250. data/spec/test_app/public/images/icons/telephone.png +0 -0
  251. data/spec/test_app/public/images/icons/telephone_light.png +0 -0
  252. data/spec/test_app/public/images/icons/thumb-up.png +0 -0
  253. data/spec/test_app/public/images/icons/thumb.png +0 -0
  254. data/spec/test_app/public/images/icons/tick.png +0 -0
  255. data/spec/test_app/public/images/icons/trophy-silver.png +0 -0
  256. data/spec/test_app/public/images/icons/trophy.png +0 -0
  257. data/spec/test_app/public/images/icons/user-gray.png +0 -0
  258. data/spec/test_app/public/images/icons/user-gray_gray.png +0 -0
  259. data/spec/test_app/public/images/icons/user-medium.png +0 -0
  260. data/spec/test_app/public/images/icons/user-red.png +0 -0
  261. data/spec/test_app/public/images/icons/users.png +0 -0
  262. data/spec/test_app/public/images/icons/users_gray.png +0 -0
  263. data/spec/test_app/public/images/icons/xfn.png +0 -0
  264. data/spec/test_app/public/images/legend_bg.png +0 -0
  265. data/spec/test_app/public/images/poshytip/tip-deepgray.png +0 -0
  266. data/spec/test_app/public/images/poshytip/tip-deepgray_arrows.png +0 -0
  267. data/spec/test_app/public/images/stripes_bottom_dark.png +0 -0
  268. data/spec/test_app/public/images/stripes_top_dark.png +0 -0
  269. data/spec/test_app/public/images/ui/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
  270. data/spec/test_app/public/images/ui/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
  271. data/spec/test_app/public/images/ui/ui-bg_flat_10_000000_40x100.png +0 -0
  272. data/spec/test_app/public/images/ui/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
  273. data/spec/test_app/public/images/ui/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
  274. data/spec/test_app/public/images/ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  275. data/spec/test_app/public/images/ui/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
  276. data/spec/test_app/public/images/ui/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
  277. data/spec/test_app/public/images/ui/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
  278. data/spec/test_app/public/images/ui/ui-icons_222222_256x240.png +0 -0
  279. data/spec/test_app/public/images/ui/ui-icons_228ef1_256x240.png +0 -0
  280. data/spec/test_app/public/images/ui/ui-icons_ef8c08_256x240.png +0 -0
  281. data/spec/test_app/public/images/ui/ui-icons_ffd27a_256x240.png +0 -0
  282. data/spec/test_app/public/images/ui/ui-icons_ffffff_256x240.png +0 -0
  283. data/spec/test_app/public/javascripts/application.js +175 -0
  284. data/spec/test_app/public/javascripts/lib/jquery-1.4.2.min.js +154 -0
  285. data/spec/test_app/public/javascripts/lib/jquery-ui-1.8.5.custom.min.js +249 -0
  286. data/spec/test_app/public/javascripts/lib/jquery-ui-1.8.5.custom.min.txt +9 -0
  287. data/spec/test_app/public/javascripts/lib/jquery-ui-timepicker-addon.js +682 -0
  288. data/spec/test_app/public/javascripts/lib/jquery-ui-timepicker-addon.min.js +22 -0
  289. data/spec/test_app/public/javascripts/lib/jquery.elastic.js +6 -0
  290. data/spec/test_app/public/javascripts/lib/jquery.elastic.performance.js +128 -0
  291. data/spec/test_app/public/javascripts/lib/jquery.elastic.source.js +117 -0
  292. data/spec/test_app/public/javascripts/lib/jquery.poshytip.js +414 -0
  293. data/spec/test_app/public/javascripts/lib/jquery.poshytip.min.js +7 -0
  294. data/spec/test_app/public/javascripts/lib/jquery.ui.datepicker-de.js +23 -0
  295. data/spec/test_app/public/javascripts/lib/jrails.js +1 -0
  296. data/spec/test_app/public/javascripts/lib/multiple-autocomplete.js +39 -0
  297. data/spec/test_app/public/javascripts/lib/underscore-min.js +17 -0
  298. data/spec/test_app/public/javascripts/lib/underscore.js +704 -0
  299. data/spec/test_app/public/robots.txt +5 -0
  300. data/spec/test_app/public/stylesheets/lib/PIE.htc +77 -0
  301. data/spec/test_app/public/stylesheets/lib/PIE_uncompressed.htc +3064 -0
  302. data/spec/test_app/public/stylesheets/lib/jquery-ui-timepicker-addon.css +11 -0
  303. data/spec/test_app/public/stylesheets/lib/poshytip/tip-darkgray/tip-darkgray.css +62 -0
  304. data/spec/test_app/public/stylesheets/lib/poshytip/tip-darkgray/tip-darkgray.png +0 -0
  305. data/spec/test_app/public/stylesheets/lib/poshytip/tip-darkgray/tip-darkgray_arrows.png +0 -0
  306. data/spec/test_app/public/stylesheets/lib/poshytip/tip-deepgray/tip-deepgray.css +64 -0
  307. data/spec/test_app/public/stylesheets/lib/poshytip/tip-green/tip-green.css +57 -0
  308. data/spec/test_app/public/stylesheets/lib/poshytip/tip-green/tip-green_arrows.gif +0 -0
  309. data/spec/test_app/public/stylesheets/lib/poshytip/tip-skyblue/tip-skyblue.css +58 -0
  310. data/spec/test_app/public/stylesheets/lib/poshytip/tip-skyblue/tip-skyblue.png +0 -0
  311. data/spec/test_app/public/stylesheets/lib/poshytip/tip-skyblue/tip-skyblue_arrows.png +0 -0
  312. data/spec/test_app/public/stylesheets/lib/poshytip/tip-twitter/tip-twitter.css +59 -0
  313. data/spec/test_app/public/stylesheets/lib/poshytip/tip-twitter/tip-twitter_arrows.gif +0 -0
  314. data/spec/test_app/public/stylesheets/lib/poshytip/tip-violet/tip-violet.css +60 -0
  315. data/spec/test_app/public/stylesheets/lib/poshytip/tip-violet/tip-violet.png +0 -0
  316. data/spec/test_app/public/stylesheets/lib/poshytip/tip-violet/tip-violet_arrows.png +0 -0
  317. data/spec/test_app/public/stylesheets/lib/poshytip/tip-yellow/tip-yellow.css +60 -0
  318. data/spec/test_app/public/stylesheets/lib/poshytip/tip-yellow/tip-yellow.png +0 -0
  319. data/spec/test_app/public/stylesheets/lib/poshytip/tip-yellow/tip-yellow_arrows.png +0 -0
  320. data/spec/test_app/public/stylesheets/lib/poshytip/tip-yellowsimple/tip-yellowsimple.css +60 -0
  321. data/spec/test_app/public/stylesheets/lib/poshytip/tip-yellowsimple/tip-yellowsimple_arrows.gif +0 -0
  322. data/spec/test_app/public/stylesheets/lib/ui-lightness/jquery-ui-1.8.5.custom.css +459 -0
  323. data/spec/test_app/public/stylesheets/sass/_mixins.sass +79 -0
  324. data/spec/test_app/public/stylesheets/sass/_reset.sass +40 -0
  325. data/spec/test_app/public/stylesheets/sass/print.sass +22 -0
  326. data/spec/test_app/public/stylesheets/sass/screen.sass +866 -0
  327. data/spec/test_app/script/about +4 -0
  328. data/spec/test_app/script/autospec +6 -0
  329. data/spec/test_app/script/console +3 -0
  330. data/spec/test_app/script/cucumber +10 -0
  331. data/spec/test_app/script/dbconsole +3 -0
  332. data/spec/test_app/script/destroy +3 -0
  333. data/spec/test_app/script/generate +3 -0
  334. data/spec/test_app/script/performance/benchmarker +3 -0
  335. data/spec/test_app/script/performance/profiler +3 -0
  336. data/spec/test_app/script/plugin +3 -0
  337. data/spec/test_app/script/runner +3 -0
  338. data/spec/test_app/script/server +3 -0
  339. data/spec/test_app/script/spec +10 -0
  340. metadata +748 -0
@@ -0,0 +1,11 @@
1
+ /* css for timepicker */
2
+ .ui-timepicker-div .ui-widget-header{ margin-bottom: 8px; }
3
+ .ui-timepicker-div dl{ text-align: left; }
4
+ .ui-timepicker-div dl dt{ height: 25px; }
5
+ .ui-timepicker-div dl dd{ margin: -25px 0 10px 65px; }
6
+ .ui-timepicker-div .ui_tpicker_hour div { padding-right: 2px; }
7
+ .ui-timepicker-div .ui_tpicker_minute div { padding-right: 6px; }
8
+ .ui-timepicker-div .ui_tpicker_second div { padding-right: 6px; }
9
+ .ui-timepicker-div td { font-size: 90%; }
10
+
11
+ /* .ui_tpicker_time_label, .ui_tpicker_hour_label, .ui_tpicker_minute_label { font-weight: bold; } */
@@ -0,0 +1,62 @@
1
+ .tip-darkgray {
2
+ opacity:0.95;
3
+ z-index:1000;
4
+ text-align:left;
5
+ text-shadow:#444 0 1px 1px;
6
+ border:1px solid #888;
7
+ padding:8px;
8
+ min-width:50px;
9
+ max-width:530px;
10
+ color:#fff;
11
+ background-color:#999;
12
+ background-image:url(tip-darkgray.png); /* bgImageFrameSize >= 11 should work fine */
13
+ /**
14
+ * - If you set a background-image, border/padding/background-color will be ingnored.
15
+ * You can set any padding to .tip-inner instead if you need.
16
+ * - If you want a tiled background-image and border/padding for the tip,
17
+ * set the background-image to .tip-inner instead.
18
+ */
19
+ }
20
+ .tip-darkgray .tip-inner {
21
+ font:bold 12px/18px arial,helvetica,sans-serif;
22
+ margin-top:-1px;
23
+ padding:0 4px 3px 4px;
24
+ }
25
+
26
+ /* Configure an arrow image - the script will automatically position it on the correct side of the tip */
27
+ .tip-darkgray .tip-arrow-top {
28
+ margin-top:-7px;
29
+ margin-left:15px;
30
+ top:0;
31
+ left:0;
32
+ width:16px;
33
+ height:10px;
34
+ background:url(tip-darkgray_arrows.png) no-repeat;
35
+ }
36
+ .tip-darkgray .tip-arrow-right {
37
+ margin-top:-9px; /* approx. half the height to center it */
38
+ margin-left:-7px;
39
+ top:50%;
40
+ left:100%;
41
+ width:11px;
42
+ height:21px;
43
+ background:url(tip-darkgray_arrows.png) no-repeat -22px 0;
44
+ }
45
+ .tip-darkgray .tip-arrow-bottom {
46
+ margin-top:-7px;
47
+ margin-left:15px;
48
+ top:100%;
49
+ left:0;
50
+ width:22px;
51
+ height:13px;
52
+ background:url(tip-darkgray_arrows.png) no-repeat -44px 0;
53
+ }
54
+ .tip-darkgray .tip-arrow-left {
55
+ margin-top:-9px; /* approx. half the height to center it */
56
+ margin-left:-6px;
57
+ top:50%;
58
+ left:0;
59
+ width:11px;
60
+ height:21px;
61
+ background:url(tip-darkgray_arrows.png) no-repeat -66px 0;
62
+ }
@@ -0,0 +1,64 @@
1
+ /* Based on the tip-darkgray style that comes with posyhtip */
2
+
3
+ .tip-deepgray {
4
+ opacity:0.95;
5
+ z-index:1000;
6
+ text-align:left;
7
+ text-shadow:#444 0 1px 1px;
8
+ border:1px solid #888;
9
+ padding:8px;
10
+ min-width:50px;
11
+ max-width:530px;
12
+ color:#fff;
13
+ background-color:#999;
14
+ background-image:url(/images/poshytip/tip-deepgray.png); /* bgImageFrameSize >= 11 should work fine */
15
+ /**
16
+ * - If you set a background-image, border/padding/background-color will be ingnored.
17
+ * You can set any padding to .tip-inner instead if you need.
18
+ * - If you want a tiled background-image and border/padding for the tip,
19
+ * set the background-image to .tip-inner instead.
20
+ */
21
+ }
22
+ .tip-deepgray .tip-inner {
23
+ font:bold 12px/18px arial,helvetica,sans-serif;
24
+ margin-top:-1px;
25
+ padding:0 4px 3px 4px;
26
+ }
27
+
28
+ /* Configure an arrow image - the script will automatically position it on the correct side of the tip */
29
+ .tip-deepgray .tip-arrow-top {
30
+ margin-top:-7px;
31
+ margin-left:-12px;
32
+ top:0;
33
+ left:50%;
34
+ width:16px;
35
+ height:10px;
36
+ background:url(/images/poshytip/tip-deepgray_arrows.png) no-repeat;
37
+ }
38
+ .tip-deepgray .tip-arrow-right {
39
+ margin-top:-9px; /* approx. half the height to center it */
40
+ margin-left:-7px;
41
+ top:50%;
42
+ left:100%;
43
+ width:11px;
44
+ height:21px;
45
+ background:url(/images/poshytip/tip-deepgray_arrows.png) no-repeat -22px 0;
46
+ }
47
+ .tip-deepgray .tip-arrow-bottom {
48
+ margin-top:-7px;
49
+ margin-left:-12px;
50
+ top:100%;
51
+ left:50%;
52
+ width:22px;
53
+ height:13px;
54
+ background:url(/images/poshytip/tip-deepgray_arrows.png) no-repeat -44px 0;
55
+ }
56
+ .tip-deepgray .tip-arrow-left {
57
+ margin-top:-9px; /* approx. half the height to center it */
58
+ margin-left:-6px;
59
+ top:50%;
60
+ left:0;
61
+ width:11px;
62
+ height:21px;
63
+ background:url(/images/poshytip/tip-deepgray_arrows.png) no-repeat -66px 0;
64
+ }
@@ -0,0 +1,57 @@
1
+ .tip-green {
2
+ z-index:1000;
3
+ text-align:left;
4
+ border:1px solid #bdde98;
5
+ padding:7px 10px;
6
+ min-width:50px;
7
+ max-width:300px;
8
+ color:#860404;
9
+ background-color:#dff6c6;
10
+ /**
11
+ * - If you set a background-image, border/padding/background-color will be ingnored.
12
+ * You can set any padding to .tip-inner instead if you need.
13
+ * - If you want a tiled background-image and border/padding for the tip,
14
+ * set the background-image to .tip-inner instead.
15
+ */
16
+ }
17
+ .tip-green .tip-inner {
18
+ font:bold 12px/14px arial,helvetica,sans-serif;
19
+ }
20
+
21
+ /* Configure an arrow image - the script will automatically position it on the correct side of the tip */
22
+ .tip-green .tip-arrow-top {
23
+ margin-top:-10px;
24
+ margin-left:6px;
25
+ top:0;
26
+ left:0;
27
+ width:10px;
28
+ height:10px;
29
+ background:url(tip-green_arrows.gif) no-repeat;
30
+ }
31
+ .tip-green .tip-arrow-right {
32
+ margin-top:6px;
33
+ margin-left:0;
34
+ top:0;
35
+ left:100%;
36
+ width:10px;
37
+ height:10px;
38
+ background:url(tip-green_arrows.gif) no-repeat -10px 0;
39
+ }
40
+ .tip-green .tip-arrow-bottom {
41
+ margin-top:0;
42
+ margin-left:6px;
43
+ top:100%;
44
+ left:0;
45
+ width:10px;
46
+ height:10px;
47
+ background:url(tip-green_arrows.gif) no-repeat -20px 0;
48
+ }
49
+ .tip-green .tip-arrow-left {
50
+ margin-top:6px;
51
+ margin-left:-10px;
52
+ top:0;
53
+ left:0;
54
+ width:10px;
55
+ height:10px;
56
+ background:url(tip-green_arrows.gif) no-repeat -30px 0;
57
+ }
@@ -0,0 +1,58 @@
1
+ .tip-skyblue {
2
+ z-index:1000;
3
+ text-align:left;
4
+ padding:8px 10px;
5
+ min-width:50px;
6
+ max-width:300px;
7
+ color:#37356c;
8
+ background-color:#b9f3f8;
9
+ background-image:url(tip-skyblue.png); /* bgImageFrameSize == 9 works fine */
10
+ /**
11
+ * - If you set a background-image, border/padding/background-color will be ingnored.
12
+ * You can set any padding to .tip-inner instead if you need.
13
+ * - If you want a tiled background-image and border/padding for the tip,
14
+ * set the background-image to .tip-inner instead.
15
+ */
16
+ }
17
+ .tip-skyblue .tip-inner {
18
+ font:bold 13px/15px 'trebuchet ms',arial,helvetica,sans-serif;
19
+ padding:0 3px 1px 3px;
20
+ }
21
+
22
+ /* Configure an arrow image - the script will automatically position it on the correct side of the tip */
23
+ .tip-skyblue .tip-arrow-top {
24
+ margin-top:-12px;
25
+ margin-left:0;
26
+ top:0;
27
+ left:0;
28
+ width:11px;
29
+ height:19px;
30
+ background:url(tip-skyblue_arrows.png) no-repeat;
31
+ }
32
+ .tip-skyblue .tip-arrow-right {
33
+ margin-top:0;
34
+ margin-left:-7px;
35
+ top:0;
36
+ left:100%;
37
+ width:18px;
38
+ height:13px;
39
+ background:url(tip-skyblue_arrows.png) no-repeat -20px 0;
40
+ }
41
+ .tip-skyblue .tip-arrow-bottom {
42
+ margin-top:-8px;
43
+ margin-left:0;
44
+ top:100%;
45
+ left:0;
46
+ width:11px;
47
+ height:20px;
48
+ background:url(tip-skyblue_arrows.png) no-repeat -40px 0;
49
+ }
50
+ .tip-skyblue .tip-arrow-left {
51
+ margin-top:0;
52
+ margin-left:-11px;
53
+ top:0;
54
+ left:0;
55
+ width:18px;
56
+ height:13px;
57
+ background:url(tip-skyblue_arrows.png) no-repeat -60px 0;
58
+ }
@@ -0,0 +1,59 @@
1
+ .tip-twitter {
2
+ opacity:0.8;
3
+ z-index:1000;
4
+ text-align:left;
5
+ border-radius:4px;
6
+ -moz-border-radius:4px;
7
+ -webkit-border-radius:4px;
8
+ padding:8px 8px;
9
+ max-width:200px;
10
+ color:#fff;
11
+ background-color:#000;
12
+ /**
13
+ * - If you set a background-image, border/padding/background-color will be ingnored.
14
+ * You can set any padding to .tip-inner instead if you need.
15
+ * - If you want a tiled background-image and border/padding for the tip,
16
+ * set the background-image to .tip-inner instead.
17
+ */
18
+ }
19
+ .tip-twitter .tip-inner {
20
+ font:bold 11px/14px 'Lucida Grande',sans-serif;
21
+ }
22
+
23
+ /* Configure an arrow image - the script will automatically position it on the correct side of the tip */
24
+ .tip-twitter .tip-arrow-top {
25
+ margin-top:-5px;
26
+ margin-left:-5px; /* approx. half the width to center it */
27
+ top:0;
28
+ left:50%;
29
+ width:9px;
30
+ height:5px;
31
+ background:url(tip-twitter_arrows.gif) no-repeat;
32
+ }
33
+ .tip-twitter .tip-arrow-right {
34
+ margin-top:-4px; /* approx. half the height to center it */
35
+ margin-left:0;
36
+ top:50%;
37
+ left:100%;
38
+ width:5px;
39
+ height:9px;
40
+ background:url(tip-twitter_arrows.gif) no-repeat -9px 0;
41
+ }
42
+ .tip-twitter .tip-arrow-bottom {
43
+ margin-top:0;
44
+ margin-left:-5px; /* approx. half the width to center it */
45
+ top:100%;
46
+ left:50%;
47
+ width:9px;
48
+ height:5px;
49
+ background:url(tip-twitter_arrows.gif) no-repeat -18px 0;
50
+ }
51
+ .tip-twitter .tip-arrow-left {
52
+ margin-top:-4px; /* approx. half the height to center it */
53
+ margin-left:-5px;
54
+ top:50%;
55
+ left:0;
56
+ width:5px;
57
+ height:9px;
58
+ background:url(tip-twitter_arrows.gif) no-repeat -27px 0;
59
+ }
@@ -0,0 +1,60 @@
1
+ .tip-violet {
2
+ z-index:1000;
3
+ text-align:left;
4
+ border:1px solid #afafaf;
5
+ padding:7px;
6
+ min-width:50px;
7
+ max-width:530px;
8
+ color:#860404;
9
+ background-color:#f2e7fd;
10
+ background-image:url(tip-violet.png); /* bgImageFrameSize >= 9 should work fine */
11
+ /**
12
+ * - If you set a background-image, border/padding/background-color will be ingnored.
13
+ * You can set any padding to .tip-inner instead if you need.
14
+ * - If you want a tiled background-image and border/padding for the tip,
15
+ * set the background-image to .tip-inner instead.
16
+ */
17
+ }
18
+ .tip-violet .tip-inner {
19
+ font:bold 12px/18px 'trebuchet ms',arial,helvetica,sans-serif;
20
+ margin-top:-1px;
21
+ padding:0 3px 2px 3px;
22
+ }
23
+
24
+ /* Configure an arrow image - the script will automatically position it on the correct side of the tip */
25
+ .tip-violet .tip-arrow-top {
26
+ margin-top:-7px;
27
+ margin-left:15px;
28
+ top:0;
29
+ left:0;
30
+ width:16px;
31
+ height:10px;
32
+ background:url(tip-violet_arrows.png) no-repeat;
33
+ }
34
+ .tip-violet .tip-arrow-right {
35
+ margin-top:-9px; /* approx. half the height to center it */
36
+ margin-left:-4px;
37
+ top:50%;
38
+ left:100%;
39
+ width:10px;
40
+ height:20px;
41
+ background:url(tip-violet_arrows.png) no-repeat -16px 0;
42
+ }
43
+ .tip-violet .tip-arrow-bottom {
44
+ margin-top:-6px;
45
+ margin-left:15px;
46
+ top:100%;
47
+ left:0;
48
+ width:16px;
49
+ height:13px;
50
+ background:url(tip-violet_arrows.png) no-repeat -32px 0;
51
+ }
52
+ .tip-violet .tip-arrow-left {
53
+ margin-top:-9px; /* approx. half the height to center it */
54
+ margin-left:-6px;
55
+ top:50%;
56
+ left:0;
57
+ width:10px;
58
+ height:20px;
59
+ background:url(tip-violet_arrows.png) no-repeat -48px 0;
60
+ }
@@ -0,0 +1,60 @@
1
+ .tip-yellow {
2
+ z-index:1000;
3
+ text-align:left;
4
+ border:1px solid #939393;
5
+ padding:7px;
6
+ min-width:50px;
7
+ max-width:530px;
8
+ color:#8c3901;
9
+ background-color:#fef9d9;
10
+ background-image:url(tip-yellow.png); /* bgImageFrameSize >= 10 should work fine */
11
+ /**
12
+ * - If you set a background-image, border/padding/background-color will be ingnored.
13
+ * You can set any padding to .tip-inner instead if you need.
14
+ * - If you want a tiled background-image and border/padding for the tip,
15
+ * set the background-image to .tip-inner instead.
16
+ */
17
+ }
18
+ .tip-yellow .tip-inner {
19
+ font:bold 13px/18px 'trebuchet ms',arial,helvetica,sans-serif;
20
+ margin-top:-2px;
21
+ padding:0 3px 1px 3px;
22
+ }
23
+
24
+ /* Configure an arrow image - the script will automatically position it on the correct side of the tip */
25
+ .tip-yellow .tip-arrow-top {
26
+ margin-top:-7px;
27
+ margin-left:15px;
28
+ top:0;
29
+ left:0;
30
+ width:16px;
31
+ height:10px;
32
+ background:url(tip-yellow_arrows.png) no-repeat;
33
+ }
34
+ .tip-yellow .tip-arrow-right {
35
+ margin-top:-9px; /* approx. half the height to center it */
36
+ margin-left:-4px;
37
+ top:50%;
38
+ left:100%;
39
+ width:10px;
40
+ height:20px;
41
+ background:url(tip-yellow_arrows.png) no-repeat -16px 0;
42
+ }
43
+ .tip-yellow .tip-arrow-bottom {
44
+ margin-top:-6px;
45
+ margin-left:15px;
46
+ top:100%;
47
+ left:0;
48
+ width:16px;
49
+ height:13px;
50
+ background:url(tip-yellow_arrows.png) no-repeat -32px 0;
51
+ }
52
+ .tip-yellow .tip-arrow-left {
53
+ margin-top:-9px; /* approx. half the height to center it */
54
+ margin-left:-6px;
55
+ top:50%;
56
+ left:0;
57
+ width:10px;
58
+ height:20px;
59
+ background:url(tip-yellow_arrows.png) no-repeat -48px 0;
60
+ }
@@ -0,0 +1,60 @@
1
+ .tip-yellowsimple {
2
+ z-index:1000;
3
+ text-align:left;
4
+ border:1px solid #c7bf93;
5
+ border-radius:4px;
6
+ -moz-border-radius:4px;
7
+ -webkit-border-radius:4px;
8
+ padding:6px 8px;
9
+ min-width:50px;
10
+ max-width:300px;
11
+ color:#000;
12
+ background-color:#fff9c9;
13
+ /**
14
+ * - If you set a background-image, border/padding/background-color will be ingnored.
15
+ * You can set any padding to .tip-inner instead if you need.
16
+ * - If you want a tiled background-image and border/padding for the tip,
17
+ * set the background-image to .tip-inner instead.
18
+ */
19
+ }
20
+ .tip-yellowsimple .tip-inner {
21
+ font:12px/16px arial,helvetica,sans-serif;
22
+ }
23
+
24
+ /* Configure an arrow image - the script will automatically position it on the correct side of the tip */
25
+ .tip-yellowsimple .tip-arrow-top {
26
+ margin-top:-6px;
27
+ margin-left:-5px; /* approx. half the width to center it */
28
+ top:0;
29
+ left:50%;
30
+ width:9px;
31
+ height:6px;
32
+ background:url(tip-yellowsimple_arrows.gif) no-repeat;
33
+ }
34
+ .tip-yellowsimple .tip-arrow-right {
35
+ margin-top:-4px; /* approx. half the height to center it */
36
+ margin-left:0;
37
+ top:50%;
38
+ left:100%;
39
+ width:6px;
40
+ height:9px;
41
+ background:url(tip-yellowsimple_arrows.gif) no-repeat -9px 0;
42
+ }
43
+ .tip-yellowsimple .tip-arrow-bottom {
44
+ margin-top:0;
45
+ margin-left:-5px; /* approx. half the width to center it */
46
+ top:100%;
47
+ left:50%;
48
+ width:9px;
49
+ height:6px;
50
+ background:url(tip-yellowsimple_arrows.gif) no-repeat -18px 0;
51
+ }
52
+ .tip-yellowsimple .tip-arrow-left {
53
+ margin-top:-4px; /* approx. half the height to center it */
54
+ margin-left:-6px;
55
+ top:50%;
56
+ left:0;
57
+ width:6px;
58
+ height:9px;
59
+ background:url(tip-yellowsimple_arrows.gif) no-repeat -27px 0;
60
+ }