card 1.16.6 → 1.16.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (440) hide show
  1. checksums.yaml +4 -4
  2. data/.yardoc/checksums +234 -49
  3. data/.yardoc/object_types +0 -0
  4. data/.yardoc/objects/root.dat +0 -0
  5. data/VERSION +1 -1
  6. data/config/initializers/mime_types.rb +3 -3
  7. data/config/initializers/notification.rb +1 -1
  8. data/db/migrate/20121118115000_update_link_type.rb +8 -8
  9. data/db/migrate/20130411210957_update_codenames.rb +2 -2
  10. data/db/migrate/20140822073704_create_new_revision_tables.rb +12 -13
  11. data/db/migrate/20141001105348_move_revisions_to_actions.rb +16 -16
  12. data/db/migrate/20141121172918_rename_card_migration_table.rb +4 -4
  13. data/db/migrate_core_cards/20130419215612_import_help_text.rb +3 -3
  14. data/db/migrate_core_cards/20130823192433_add_style_cards.rb +45 -47
  15. data/db/migrate_core_cards/20130910183318_move_styles_to_content.rb +1 -1
  16. data/db/migrate_core_cards/20130920214038_jsonize_tinymce.rb +3 -3
  17. data/db/migrate_core_cards/20130920291703_update_stylesheets.rb +3 -3
  18. data/db/migrate_core_cards/20130927191728_account_events.rb +6 -6
  19. data/db/migrate_core_cards/20131016172445_common_css_patch.rb +1 -1
  20. data/db/migrate_core_cards/20140110193325_reset_account_request_type.rb +1 -1
  21. data/db/migrate_core_cards/20140307231621_user_data_to_cards.rb +19 -19
  22. data/db/migrate_core_cards/20140317035504_account_requests_to_signups.rb +11 -12
  23. data/db/migrate_core_cards/20140512155840_add_script_cards.rb +35 -36
  24. data/db/migrate_core_cards/20140629222005_add_email_cards.rb +55 -55
  25. data/db/migrate_core_cards/20140725180118_config_card_updates.rb +1 -1
  26. data/db/migrate_core_cards/20141111083921_delete_machine_output.rb +2 -2
  27. data/db/migrate_core_cards/20141115034214_config_descriptions_etc.rb +3 -3
  28. data/db/migrate_core_cards/20141120120605_fix_notification_html_message.rb +2 -2
  29. data/db/migrate_core_cards/20141204061304_watchers_to_following.rb +8 -8
  30. data/db/migrate_core_cards/20141208162106_add_ace_script.rb +2 -2
  31. data/db/migrate_core_cards/20141216155251_add_more_following_cards.rb +16 -16
  32. data/db/migrate_core_cards/20141230204340_uri_codename.rb +1 -1
  33. data/db/migrate_core_cards/20150202143810_import_bootstrap_layout.rb +19 -19
  34. data/db/migrate_core_cards/20150220134731_following_to_follow_rule.rb +3 -3
  35. data/db/migrate_core_cards/20150317162412_bootstrap_themes.rb +15 -15
  36. data/db/migrate_core_cards/20150326205655_bootswatch_themes.rb +11 -11
  37. data/db/migrate_core_cards/20150331135745_new_card_menu.rb +1 -1
  38. data/db/migrate_core_cards/20150429090551_search_card_context.rb +1 -1
  39. data/db/migrate_core_cards/20150508212032_menu_compatibility.rb +3 -3
  40. data/db/migrate_core_cards/20150510031118_fix_skin_images.rb +1 -1
  41. data/db/migrate_core_cards/20150528084659_add_session_cardtype.rb +4 -4
  42. data/db/migrate_core_cards/20150601133433_add_recent_setting_session_card.rb +5 -5
  43. data/db/migrate_core_cards/20150605115802_add_performance_log_card.rb +1 -1
  44. data/db/migrate_core_cards/20150610171702_add_debugger_session_card.rb +2 -2
  45. data/db/migrate_core_cards/20150611203506_rails_inflection_updates.rb +5 -5
  46. data/db/migrate_core_cards/20150627205133_fix_script_bootstrap_card_type.rb +1 -1
  47. data/db/migrate_core_cards/20150702130543_remove_edit_toolbar_pinned.rb +1 -1
  48. data/db/migrate_core_cards/20150724123438_update_file_and_image_cards.rb +5 -5
  49. data/db/migrate_core_cards/20150807205221_create_references_for_search_cards.rb +1 -1
  50. data/db/migrate_core_cards/20150824135418_update_file_history.rb +3 -3
  51. data/db/migrate_core_cards/20150903130006_attachment_upload_cards.rb +2 -2
  52. data/db/migrate_core_cards/20150910085603_remove_performance_log_card.rb +1 -1
  53. data/lib/card.rb +4 -4
  54. data/lib/card/active_record_ext.rb +8 -8
  55. data/lib/card/auth.rb +6 -6
  56. data/lib/card/cache.rb +1 -1
  57. data/lib/card/chunk.rb +1 -1
  58. data/lib/card/content.rb +1 -1
  59. data/lib/card/diff.rb +10 -10
  60. data/lib/card/env.rb +1 -1
  61. data/lib/card/format.rb +12 -12
  62. data/lib/card/loader.rb +1 -1
  63. data/lib/card/migration.rb +1 -1
  64. data/lib/card/name.rb +4 -4
  65. data/lib/card/query.rb +255 -61
  66. data/lib/card/query/attributes.rb +310 -0
  67. data/lib/card/query/clause.rb +12 -15
  68. data/lib/card/query/join.rb +73 -0
  69. data/lib/card/query/reference.rb +51 -0
  70. data/lib/card/query/sql_statement.rb +228 -0
  71. data/lib/card/query/value.rb +66 -0
  72. data/lib/card/reference.rb +6 -6
  73. data/lib/card/set.rb +12 -12
  74. data/lib/card/set_pattern.rb +9 -9
  75. data/lib/card/spec_helper.rb +5 -5
  76. data/lib/card/success.rb +1 -1
  77. data/lib/cardio.rb +7 -7
  78. data/lib/generators/card/format/format_generator.rb +3 -3
  79. data/lib/generators/card/migration/migration_generator.rb +5 -5
  80. data/lib/generators/card/set/set_generator.rb +4 -4
  81. data/mod/01_core/chunk/include.rb +4 -4
  82. data/mod/01_core/chunk/link.rb +5 -5
  83. data/mod/01_core/chunk/literal.rb +2 -2
  84. data/mod/01_core/chunk/query_reference.rb +8 -8
  85. data/mod/01_core/chunk/uri.rb +18 -18
  86. data/mod/01_core/format/html_format.rb +4 -4
  87. data/mod/01_core/set/all/active_card.rb +2 -2
  88. data/mod/01_core/set/all/collection.rb +21 -26
  89. data/mod/01_core/set/all/content.rb +2 -2
  90. data/mod/01_core/set/all/fetch.rb +6 -6
  91. data/mod/01_core/set/all/initialize.rb +4 -4
  92. data/mod/01_core/set/all/location_history.rb +2 -2
  93. data/mod/01_core/set/all/name.rb +14 -14
  94. data/mod/01_core/set/all/pattern.rb +1 -1
  95. data/mod/01_core/set/all/permissions.rb +12 -12
  96. data/mod/01_core/set/all/phases.rb +29 -12
  97. data/mod/01_core/set/all/references.rb +14 -14
  98. data/mod/01_core/set/all/rules.rb +8 -8
  99. data/mod/01_core/set/all/templating.rb +10 -9
  100. data/mod/01_core/set/all/tracked_attributes.rb +7 -7
  101. data/mod/01_core/set/all/trash.rb +6 -6
  102. data/mod/01_core/set/all/type.rb +7 -7
  103. data/mod/01_core/set/all/utils.rb +4 -4
  104. data/mod/01_core/set/all/view_cache.rb +1 -1
  105. data/mod/01_core/set_pattern/02_all_plus.rb +2 -2
  106. data/mod/01_core/set_pattern/03_type.rb +1 -1
  107. data/mod/01_core/set_pattern/04_star.rb +1 -1
  108. data/mod/01_core/set_pattern/05_rstar.rb +2 -2
  109. data/mod/01_core/set_pattern/06_right.rb +4 -4
  110. data/mod/01_core/set_pattern/07_type_plus_right.rb +4 -4
  111. data/mod/01_core/set_pattern/08_self.rb +1 -1
  112. data/mod/01_core/spec/chunk/uri_spec.rb +73 -73
  113. data/mod/01_core/spec/format/html_format_spec.rb +5 -5
  114. data/mod/01_core/spec/set/all/attribute_tracking_spec.rb +1 -1
  115. data/mod/01_core/spec/set/all/collection_spec.rb +22 -22
  116. data/mod/01_core/spec/set/all/content_spec.rb +1 -1
  117. data/mod/01_core/spec/set/all/fetch_spec.rb +24 -24
  118. data/mod/01_core/spec/set/all/initialize_spec.rb +9 -9
  119. data/mod/01_core/spec/set/all/name_spec.rb +8 -8
  120. data/mod/01_core/spec/set/all/pattern_spec.rb +10 -10
  121. data/mod/01_core/spec/set/all/permissions_spec.rb +45 -45
  122. data/mod/01_core/spec/set/all/references_spec.rb +1 -1
  123. data/mod/01_core/spec/set/all/rules2_spec.rb +15 -15
  124. data/mod/01_core/spec/set/all/rules_spec.rb +37 -37
  125. data/mod/01_core/spec/set/all/templating_spec.rb +21 -21
  126. data/mod/01_core/spec/set/all/tracked_attributes_spec.rb +55 -55
  127. data/mod/01_core/spec/set/all/trash_spec.rb +4 -4
  128. data/mod/01_core/spec/set/all/type_spec.rb +15 -15
  129. data/mod/01_history/lib/card/act.rb +2 -2
  130. data/mod/01_history/lib/card/action.rb +22 -22
  131. data/mod/01_history/lib/card/change.rb +1 -1
  132. data/mod/01_history/set/all/actions.rb +2 -2
  133. data/mod/01_history/set/all/content_history.rb +4 -4
  134. data/mod/01_history/set/all/history.rb +46 -46
  135. data/mod/02_basic_types/set/all/all_css.rb +10 -10
  136. data/mod/02_basic_types/set/all/all_csv.rb +7 -7
  137. data/mod/02_basic_types/set/all/base.rb +25 -25
  138. data/mod/02_basic_types/set/all/json.rb +16 -16
  139. data/mod/02_basic_types/set/all/rss.rb +7 -7
  140. data/mod/02_basic_types/set/type/html.rb +2 -2
  141. data/mod/02_basic_types/set/type/plain_text.rb +1 -1
  142. data/mod/02_basic_types/set/type/pointer.rb +39 -31
  143. data/mod/02_basic_types/spec/set/all/all_css_spec.rb +1 -1
  144. data/mod/02_basic_types/spec/set/all/all_csv_spec.rb +1 -1
  145. data/mod/02_basic_types/spec/set/all/base_spec.rb +18 -18
  146. data/mod/02_basic_types/spec/set/all/json_spec.rb +4 -4
  147. data/mod/02_basic_types/spec/set/all/rss_spec.rb +8 -2
  148. data/mod/02_basic_types/spec/set/type/plain_text_spec.rb +1 -1
  149. data/mod/02_basic_types/spec/set/type/pointer_spec.rb +54 -44
  150. data/mod/03_machines/lib/card/machine.rb +46 -29
  151. data/mod/03_machines/lib/card/machine_input.rb +34 -10
  152. data/mod/03_machines/set/type/coffee_script.rb +3 -3
  153. data/mod/03_machines/set/type/css.rb +8 -8
  154. data/mod/03_machines/set/type/java_script.rb +4 -4
  155. data/mod/03_machines/set/type/scss.rb +2 -2
  156. data/mod/03_machines/set/type/skin.rb +1 -1
  157. data/mod/03_machines/spec/lib/shared_machine_examples.rb +27 -27
  158. data/mod/03_machines/spec/lib/shared_machine_input_examples.rb +8 -8
  159. data/mod/03_machines/spec/set/type/coffeescript_spec.rb +6 -6
  160. data/mod/03_machines/spec/set/type/css_spec.rb +9 -9
  161. data/mod/03_machines/spec/set/type/javascript_spec.rb +6 -6
  162. data/mod/03_machines/spec/set/type/scss_spec.rb +5 -5
  163. data/mod/03_machines/spec/set/type/skin_spec.rb +25 -25
  164. data/mod/04_settings/lib/card/setting.rb +11 -11
  165. data/mod/04_settings/set/abstract/permission.rb +9 -9
  166. data/mod/04_settings/set/right/script.rb +1 -1
  167. data/mod/04_settings/set/right/structure.rb +0 -5
  168. data/mod/04_settings/set/right/style.rb +2 -2
  169. data/mod/04_settings/set/self/accountable.rb +1 -1
  170. data/mod/04_settings/set/self/add_help.rb +1 -1
  171. data/mod/04_settings/set/self/autoname.rb +1 -1
  172. data/mod/04_settings/set/self/captcha.rb +1 -1
  173. data/mod/04_settings/set/self/create.rb +1 -1
  174. data/mod/04_settings/set/self/default.rb +1 -1
  175. data/mod/04_settings/set/self/delete.rb +1 -1
  176. data/mod/04_settings/set/self/help.rb +1 -1
  177. data/mod/04_settings/set/self/input.rb +1 -1
  178. data/mod/04_settings/set/self/layout.rb +1 -1
  179. data/mod/04_settings/set/self/on_create.rb +1 -1
  180. data/mod/04_settings/set/self/on_delete.rb +1 -1
  181. data/mod/04_settings/set/self/on_update.rb +1 -1
  182. data/mod/04_settings/set/self/options.rb +1 -1
  183. data/mod/04_settings/set/self/options_label.rb +1 -1
  184. data/mod/04_settings/set/self/read.rb +1 -1
  185. data/mod/04_settings/set/self/script.rb +1 -1
  186. data/mod/04_settings/set/self/structure.rb +1 -1
  187. data/mod/04_settings/set/self/style.rb +1 -1
  188. data/mod/04_settings/set/self/table_of_contents.rb +1 -1
  189. data/mod/04_settings/set/self/thanks.rb +1 -1
  190. data/mod/04_settings/set/self/update.rb +1 -1
  191. data/mod/04_settings/set/type/setting.rb +14 -14
  192. data/mod/04_settings/spec/set/right/comment_spec.rb +5 -5
  193. data/mod/04_settings/spec/set/right/create_spec.rb +1 -1
  194. data/mod/04_settings/spec/set/right/script_spec.rb +5 -5
  195. data/mod/04_settings/spec/set/right/structure_spec.rb +4 -2
  196. data/mod/04_settings/spec/set/right/style_spec.rb +7 -7
  197. data/mod/04_settings/spec/set/type/setting_spec.rb +2 -2
  198. data/mod/05_email/lib/card/follow_option.rb +24 -24
  199. data/mod/05_email/set/all/follow.rb +24 -16
  200. data/mod/05_email/set/all/notify.rb +25 -23
  201. data/mod/05_email/set/all/observer.rb +5 -5
  202. data/mod/05_email/set/right/bcc.rb +8 -8
  203. data/mod/05_email/set/right/follow.rb +44 -17
  204. data/mod/05_email/set/right/follow_fields.rb +1 -1
  205. data/mod/05_email/set/right/following.rb +49 -40
  206. data/mod/05_email/set/self/always.rb +2 -2
  207. data/mod/05_email/set/self/created.rb +1 -1
  208. data/mod/05_email/set/self/edited.rb +4 -4
  209. data/mod/05_email/set/self/follow.rb +1 -1
  210. data/mod/05_email/set/self/follow_defaults.rb +9 -9
  211. data/mod/05_email/set/self/never.rb +1 -1
  212. data/mod/05_email/set/type/email_template.rb +9 -9
  213. data/mod/05_email/set/type_plus_right/user/follow.rb +16 -16
  214. data/mod/05_email/spec/set/all/follow_spec.rb +10 -10
  215. data/mod/05_email/spec/set/all/notify_spec.rb +82 -82
  216. data/mod/05_email/spec/set/all/observer_spec.rb +16 -16
  217. data/mod/05_email/spec/set/right/followers_spec.rb +6 -6
  218. data/mod/05_email/spec/set/self/follow_defaults_spec.rb +2 -2
  219. data/mod/05_standard/lib/carrier_wave/cardmount.rb +5 -5
  220. data/mod/05_standard/lib/image_uploader.rb +8 -8
  221. data/mod/05_standard/set/abstract/attachment.rb +18 -18
  222. data/mod/05_standard/set/all/account.rb +5 -5
  223. data/mod/05_standard/set/all/comment.rb +7 -7
  224. data/mod/05_standard/set/all/error.rb +25 -25
  225. data/mod/05_standard/set/all/event_viz.rb +1 -1
  226. data/mod/05_standard/set/all/links.rb +9 -9
  227. data/mod/05_standard/set/all/rich_html/content.rb +34 -34
  228. data/mod/05_standard/set/all/rich_html/editing.rb +35 -35
  229. data/mod/05_standard/set/all/rich_html/form.rb +20 -20
  230. data/mod/05_standard/set/all/rich_html/header.rb +8 -8
  231. data/mod/05_standard/set/all/rich_html/menu.rb +33 -33
  232. data/mod/05_standard/set/all/rich_html/modal.rb +16 -16
  233. data/mod/05_standard/set/all/rich_html/toolbar.rb +63 -63
  234. data/mod/05_standard/set/all/rich_html/wrapper.rb +8 -8
  235. data/mod/05_standard/set/right/account.rb +27 -27
  236. data/mod/05_standard/set/right/email.rb +5 -5
  237. data/mod/05_standard/set/right/password.rb +5 -5
  238. data/mod/05_standard/set/rstar/rules.rb +52 -52
  239. data/mod/05_standard/set/self/account_links.rb +27 -27
  240. data/mod/05_standard/set/self/all.rb +1 -1
  241. data/mod/05_standard/set/self/head.rb +5 -5
  242. data/mod/05_standard/set/self/navbox.rb +11 -11
  243. data/mod/05_standard/set/self/recent.rb +2 -2
  244. data/mod/05_standard/set/self/search.rb +13 -13
  245. data/mod/05_standard/set/self/signin.rb +19 -19
  246. data/mod/05_standard/set/self/stats.rb +2 -2
  247. data/mod/05_standard/set/type/basic.rb +1 -1
  248. data/mod/05_standard/set/type/cardtype.rb +5 -5
  249. data/mod/05_standard/set/type/date.rb +1 -1
  250. data/mod/05_standard/set/type/file.rb +7 -7
  251. data/mod/05_standard/set/type/image.rb +8 -8
  252. data/mod/05_standard/set/type/number.rb +2 -2
  253. data/mod/05_standard/set/type/phrase.rb +1 -1
  254. data/mod/05_standard/set/type/search_type.rb +27 -21
  255. data/mod/05_standard/set/type/session.rb +2 -2
  256. data/mod/05_standard/set/type/set.rb +37 -37
  257. data/mod/05_standard/set/type/signup.rb +25 -25
  258. data/mod/05_standard/set/type/uri.rb +1 -1
  259. data/mod/05_standard/set/type/user.rb +21 -21
  260. data/mod/05_standard/spec/chunk/include_spec.rb +16 -16
  261. data/mod/05_standard/spec/chunk/link_spec.rb +18 -18
  262. data/mod/05_standard/spec/chunk/query_reference_spec.rb +1 -1
  263. data/mod/05_standard/spec/set/all/account_spec.rb +7 -7
  264. data/mod/05_standard/spec/set/all/email_html_spec.rb +3 -3
  265. data/mod/05_standard/spec/set/all/history_spec.rb +14 -14
  266. data/mod/05_standard/spec/set/all/rich_html/editing_spec.rb +1 -1
  267. data/mod/05_standard/spec/set/all/rich_html/form_spec.rb +2 -2
  268. data/mod/05_standard/spec/set/right/account_spec.rb +9 -9
  269. data/mod/05_standard/spec/set/right/email_spec.rb +8 -8
  270. data/mod/05_standard/spec/set/right/password_spec.rb +9 -9
  271. data/mod/05_standard/spec/set/right/stats_spec.rb +1 -1
  272. data/mod/05_standard/spec/set/right/when_created_spec.rb +1 -1
  273. data/mod/05_standard/spec/set/right/when_last_edited_spec.rb +1 -1
  274. data/mod/05_standard/spec/set/rstar/rules_spec.rb +2 -2
  275. data/mod/05_standard/spec/set/self/account_links_spec.rb +2 -2
  276. data/mod/05_standard/spec/set/self/all_spec.rb +8 -11
  277. data/mod/05_standard/spec/set/self/head_spec.rb +1 -1
  278. data/mod/05_standard/spec/set/self/navbox_spec.rb +1 -1
  279. data/mod/05_standard/spec/set/self/now_spec.rb +1 -1
  280. data/mod/05_standard/spec/set/self/stats_spec.rb +1 -1
  281. data/mod/05_standard/spec/set/self/version_spec.rb +1 -1
  282. data/mod/05_standard/spec/set/type/email_template_spec.rb +25 -25
  283. data/mod/05_standard/spec/set/type/file_spec.rb +4 -4
  284. data/mod/05_standard/spec/set/type/html_spec.rb +3 -3
  285. data/mod/05_standard/spec/set/type/image_spec.rb +6 -6
  286. data/mod/05_standard/spec/set/type/layout_type_spec.rb +1 -1
  287. data/mod/05_standard/spec/set/type/search_type_spec.rb +10 -10
  288. data/mod/05_standard/spec/set/type/signup_spec.rb +11 -11
  289. data/mod/05_standard/spec/set/type/toggle_spec.rb +2 -2
  290. data/mod/05_standard/spec/set/type/uri_spec.rb +9 -9
  291. data/mod/06_bootstrap/set/all/bootstrap/helper.rb +10 -10
  292. data/mod/06_bootstrap/set/all/bootstrap/wrapper.rb +4 -4
  293. data/mod/06_bootstrap/set/all/rich_bootstrap.rb +1 -1
  294. data/spec/lib/card/action_spec.rb +2 -2
  295. data/spec/lib/card/cache_spec.rb +7 -7
  296. data/spec/lib/card/content_spec.rb +31 -37
  297. data/spec/lib/card/diff_spec.rb +56 -56
  298. data/spec/lib/card/format_spec.rb +11 -11
  299. data/spec/lib/card/query_spec.rb +382 -265
  300. data/spec/lib/card/reference_spec.rb +133 -140
  301. data/spec/lib/card/set_pattern_spec.rb +10 -9
  302. data/spec/lib/card/set_spec.rb +11 -11
  303. data/spec/lib/card/success_spec.rb +16 -8
  304. data/spec/mailers/mailer_spec.rb +5 -5
  305. data/spec/models/card/cardtype_spec.rb +20 -20
  306. data/spec/models/card/create_spec.rb +6 -6
  307. data/spec/models/card/trash_spec.rb +20 -20
  308. data/spec/models/card/type_transition_spec.rb +3 -3
  309. data/spec/models/card/validation_spec.rb +5 -5
  310. data/spec/models/card_spec.rb +24 -24
  311. data/spec/spec_helper.rb +5 -5
  312. data/tmpsets/set/mod001-01_core/all/active_card.rb +2 -2
  313. data/tmpsets/set/mod001-01_core/all/collection.rb +23 -26
  314. data/tmpsets/set/mod001-01_core/all/content.rb +2 -2
  315. data/tmpsets/set/mod001-01_core/all/fetch.rb +6 -6
  316. data/tmpsets/set/mod001-01_core/all/initialize.rb +8 -4
  317. data/tmpsets/set/mod001-01_core/all/name.rb +14 -14
  318. data/tmpsets/set/mod001-01_core/all/pattern.rb +1 -1
  319. data/tmpsets/set/mod001-01_core/all/permissions.rb +12 -12
  320. data/tmpsets/set/mod001-01_core/all/phases.rb +31 -13
  321. data/tmpsets/set/mod001-01_core/all/references.rb +14 -14
  322. data/tmpsets/set/mod001-01_core/all/rules.rb +8 -10
  323. data/tmpsets/set/mod001-01_core/all/templating.rb +10 -9
  324. data/tmpsets/set/mod001-01_core/all/tracked_attributes.rb +7 -7
  325. data/tmpsets/set/mod001-01_core/all/trash.rb +9 -8
  326. data/tmpsets/set/mod001-01_core/all/type.rb +7 -7
  327. data/tmpsets/set/mod001-01_core/all/utils.rb +16 -4
  328. data/tmpsets/set/mod001-01_core/all/view_cache.rb +1 -1
  329. data/tmpsets/set/mod002-01_history/all/actions.rb +2 -2
  330. data/tmpsets/set/mod002-01_history/all/content_history.rb +11 -7
  331. data/tmpsets/set/mod002-01_history/all/history.rb +46 -46
  332. data/tmpsets/set/mod003-02_basic_types/all/all_css.rb +10 -10
  333. data/tmpsets/set/mod003-02_basic_types/all/all_csv.rb +7 -7
  334. data/tmpsets/set/mod003-02_basic_types/all/base.rb +25 -25
  335. data/tmpsets/set/mod003-02_basic_types/all/json.rb +16 -16
  336. data/tmpsets/set/mod003-02_basic_types/all/rss.rb +7 -7
  337. data/tmpsets/set/mod003-02_basic_types/type/html.rb +2 -2
  338. data/tmpsets/set/mod003-02_basic_types/type/plain_text.rb +1 -1
  339. data/tmpsets/set/mod003-02_basic_types/type/pointer.rb +38 -31
  340. data/tmpsets/set/mod004-03_machines/right/machine_output.rb +4 -0
  341. data/tmpsets/set/mod004-03_machines/type/coffee_script.rb +3 -3
  342. data/tmpsets/set/mod004-03_machines/type/css.rb +8 -8
  343. data/tmpsets/set/mod004-03_machines/type/java_script.rb +4 -4
  344. data/tmpsets/set/mod004-03_machines/type/scss.rb +2 -2
  345. data/tmpsets/set/mod004-03_machines/type/skin.rb +1 -1
  346. data/tmpsets/set/mod005-04_settings/abstract/permission.rb +9 -9
  347. data/tmpsets/set/mod005-04_settings/right/script.rb +1 -1
  348. data/tmpsets/set/mod005-04_settings/right/structure.rb +0 -5
  349. data/tmpsets/set/mod005-04_settings/right/style.rb +2 -2
  350. data/tmpsets/set/mod005-04_settings/self/accountable.rb +1 -1
  351. data/tmpsets/set/mod005-04_settings/self/add_help.rb +1 -1
  352. data/tmpsets/set/mod005-04_settings/self/autoname.rb +1 -1
  353. data/tmpsets/set/mod005-04_settings/self/captcha.rb +1 -1
  354. data/tmpsets/set/mod005-04_settings/self/create.rb +1 -1
  355. data/tmpsets/set/mod005-04_settings/self/default.rb +1 -1
  356. data/tmpsets/set/mod005-04_settings/self/delete.rb +1 -1
  357. data/tmpsets/set/mod005-04_settings/self/help.rb +1 -1
  358. data/tmpsets/set/mod005-04_settings/self/input.rb +1 -1
  359. data/tmpsets/set/mod005-04_settings/self/layout.rb +1 -1
  360. data/tmpsets/set/mod005-04_settings/self/on_create.rb +1 -1
  361. data/tmpsets/set/mod005-04_settings/self/on_delete.rb +1 -1
  362. data/tmpsets/set/mod005-04_settings/self/on_update.rb +1 -1
  363. data/tmpsets/set/mod005-04_settings/self/options.rb +1 -1
  364. data/tmpsets/set/mod005-04_settings/self/options_label.rb +1 -1
  365. data/tmpsets/set/mod005-04_settings/self/read.rb +1 -1
  366. data/tmpsets/set/mod005-04_settings/self/script.rb +1 -1
  367. data/tmpsets/set/mod005-04_settings/self/structure.rb +1 -1
  368. data/tmpsets/set/mod005-04_settings/self/style.rb +1 -1
  369. data/tmpsets/set/mod005-04_settings/self/table_of_contents.rb +1 -1
  370. data/tmpsets/set/mod005-04_settings/self/thanks.rb +1 -1
  371. data/tmpsets/set/mod005-04_settings/self/update.rb +1 -1
  372. data/tmpsets/set/mod005-04_settings/type/setting.rb +14 -14
  373. data/tmpsets/set/mod006-05_email/all/follow.rb +24 -16
  374. data/tmpsets/set/mod006-05_email/all/notify.rb +25 -23
  375. data/tmpsets/set/mod006-05_email/all/observer.rb +8 -8
  376. data/tmpsets/set/mod006-05_email/right/bcc.rb +8 -8
  377. data/tmpsets/set/mod006-05_email/right/follow.rb +44 -17
  378. data/tmpsets/set/mod006-05_email/right/follow_fields.rb +1 -1
  379. data/tmpsets/set/mod006-05_email/right/following.rb +49 -40
  380. data/tmpsets/set/mod006-05_email/self/always.rb +2 -2
  381. data/tmpsets/set/mod006-05_email/self/created.rb +1 -1
  382. data/tmpsets/set/mod006-05_email/self/edited.rb +4 -4
  383. data/tmpsets/set/mod006-05_email/self/follow.rb +1 -1
  384. data/tmpsets/set/mod006-05_email/self/follow_defaults.rb +9 -9
  385. data/tmpsets/set/mod006-05_email/self/never.rb +1 -1
  386. data/tmpsets/set/mod006-05_email/type/email_template.rb +9 -9
  387. data/tmpsets/set/mod006-05_email/type_plus_right/user/follow.rb +17 -17
  388. data/tmpsets/set/mod007-05_standard/abstract/attachment.rb +98 -46
  389. data/tmpsets/set/mod007-05_standard/all/account.rb +5 -5
  390. data/tmpsets/set/mod007-05_standard/all/comment.rb +7 -7
  391. data/tmpsets/set/mod007-05_standard/all/error.rb +26 -26
  392. data/tmpsets/set/mod007-05_standard/all/event_viz.rb +1 -1
  393. data/tmpsets/set/mod007-05_standard/all/links.rb +10 -9
  394. data/tmpsets/set/mod007-05_standard/all/rich_html/content.rb +34 -34
  395. data/tmpsets/set/mod007-05_standard/all/rich_html/editing.rb +35 -35
  396. data/tmpsets/set/mod007-05_standard/all/rich_html/form.rb +20 -20
  397. data/tmpsets/set/mod007-05_standard/all/rich_html/header.rb +8 -8
  398. data/tmpsets/set/mod007-05_standard/all/rich_html/menu.rb +33 -33
  399. data/tmpsets/set/mod007-05_standard/all/rich_html/modal.rb +16 -16
  400. data/tmpsets/set/mod007-05_standard/all/rich_html/toolbar.rb +63 -63
  401. data/tmpsets/set/mod007-05_standard/all/rich_html/wrapper.rb +8 -8
  402. data/tmpsets/set/mod007-05_standard/right/account.rb +27 -27
  403. data/tmpsets/set/mod007-05_standard/right/email.rb +5 -5
  404. data/tmpsets/set/mod007-05_standard/right/password.rb +5 -5
  405. data/tmpsets/set/mod007-05_standard/rstar/rules.rb +52 -52
  406. data/tmpsets/set/mod007-05_standard/self/account_links.rb +27 -27
  407. data/tmpsets/set/mod007-05_standard/self/all.rb +1 -1
  408. data/tmpsets/set/mod007-05_standard/self/head.rb +5 -5
  409. data/tmpsets/set/mod007-05_standard/self/navbox.rb +11 -11
  410. data/tmpsets/set/mod007-05_standard/self/recent.rb +2 -2
  411. data/tmpsets/set/mod007-05_standard/self/search.rb +13 -13
  412. data/tmpsets/set/mod007-05_standard/self/signin.rb +19 -19
  413. data/tmpsets/set/mod007-05_standard/self/stats.rb +2 -2
  414. data/tmpsets/set/mod007-05_standard/type/basic.rb +1 -1
  415. data/tmpsets/set/mod007-05_standard/type/cardtype.rb +5 -5
  416. data/tmpsets/set/mod007-05_standard/type/date.rb +1 -1
  417. data/tmpsets/set/mod007-05_standard/type/file.rb +23 -8
  418. data/tmpsets/set/mod007-05_standard/type/image.rb +10 -8
  419. data/tmpsets/set/mod007-05_standard/type/number.rb +2 -2
  420. data/tmpsets/set/mod007-05_standard/type/phrase.rb +1 -1
  421. data/tmpsets/set/mod007-05_standard/type/search_type.rb +21 -19
  422. data/tmpsets/set/mod007-05_standard/type/session.rb +2 -2
  423. data/tmpsets/set/mod007-05_standard/type/set.rb +37 -37
  424. data/tmpsets/set/mod007-05_standard/type/signup.rb +25 -25
  425. data/tmpsets/set/mod007-05_standard/type/uri.rb +1 -1
  426. data/tmpsets/set/mod007-05_standard/type/user.rb +21 -21
  427. data/tmpsets/set/mod008-06_bootstrap/all/bootstrap/helper.rb +10 -10
  428. data/tmpsets/set/mod008-06_bootstrap/all/bootstrap/wrapper.rb +4 -4
  429. data/tmpsets/set/mod008-06_bootstrap/all/rich_bootstrap.rb +1 -1
  430. data/tmpsets/set_pattern/101-all_plus.rb +2 -2
  431. data/tmpsets/set_pattern/102-type.rb +1 -1
  432. data/tmpsets/set_pattern/103-star.rb +1 -1
  433. data/tmpsets/set_pattern/104-rstar.rb +2 -2
  434. data/tmpsets/set_pattern/105-right.rb +4 -4
  435. data/tmpsets/set_pattern/106-type_plus_right.rb +4 -4
  436. data/tmpsets/set_pattern/107-self.rb +1 -1
  437. metadata +7 -5
  438. data/lib/card/query/card_clause.rb +0 -528
  439. data/lib/card/query/ref_clause.rb +0 -47
  440. data/lib/card/query/value_clause.rb +0 -65
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa16afa179644ed93610916824415dc0f335f98a
4
- data.tar.gz: 4be27d6a8d2009ccdfe4f0eab560384f7d994031
3
+ metadata.gz: dd04c2a1f1842bd48409bae420476059574eeb35
4
+ data.tar.gz: ccb22267f94bbcfc81bbdf09e609473ea69252f8
5
5
  SHA512:
6
- metadata.gz: 1c10b84e81e83247a8c9edc39f69dedc3491db92966d50423488322acc16d4e840fd23480a3cfe97439963c2e64fa9500303bbaf7d41bdcc4d2275e8fa862614
7
- data.tar.gz: 8e50aad38512790c0197d36be90e5788d22c1b263c927c605d6a3613f68e165cd1a635c8a1e06a36a25ec80e673de0412e64bda37a28cc46884e443c41997a90
6
+ metadata.gz: b7a9e1ea11a6c7053dbae4efebcf0cf71d5741dc92f2d825ac8a6ed0c8a5e47aa9e96098efd766ecb7ad9b68510d5ff75afbe4f87751dcdd662d38e0b8d705ff
7
+ data.tar.gz: f3c646b9568d2a683b9ed52bdf9e402d9624bfa9199a70889149d898b38e85d89de38eecab08eca1e60083adbe21beecb38f3e39ff5225df7df88ce384bde5ea
data/.yardoc/checksums CHANGED
@@ -1,60 +1,245 @@
1
- lib/card.rb a098fe1042c246efa255f7227ff3f4598ad40c7b
2
- lib/cardio.rb a5c4c1b9a05e9b35455f0dbf53af40469b1535d7
3
- lib/card/log.rb 65eedca896d165531b3643315a19da84428e656b
4
- lib/card/env.rb 2a66506238eaaf51cfd267b19f2ef0e0715a8418
5
- lib/card/set.rb 0787e71c84968bf2604e785832c7bcc403734901
6
- lib/card/auth.rb 8efd0c2fdb3847d126cfcd66080c6ed192e39d62
7
- lib/card/diff.rb 7cedaebdb19cddf284059c72cd5551c5f0352944
8
- lib/card/name.rb 483afdfe91f5ffc5e6c07d6243bffda9c1e4b9d6
9
- lib/card/query.rb bbad1cc38ab76c0f5a028fa988192d08b3af4d84
10
- lib/card/cache.rb e32629b40b6b72cbcc88482f85fd846ddc309b86
11
- lib/card/chunk.rb 4ed902acd8fd24e650d078f2d3575e16d50bdf42
12
- lib/card/format.rb 9dc6647da03f5d8db24e9b872a1c9c49db24e0c8
13
- lib/card/loader.rb 520331bcbcf8bae6a10fe9d4c6033135f0099fc8
1
+ lib/card.rb 6f2ac4c20be00e19b7ce08f1a1a27a40a235670f
2
+ lib/cardio.rb 952bffefccf8b2aaf5d83612df6a0c6a6942e0df
3
+ lib/card/env.rb 4c4b35442775d7f47adffddac489a9e3c5e67670
4
+ lib/card/set.rb 76b2a229de9c4b01e881f0f4ffa48da082636dc1
5
+ lib/card/name.rb dc2b5e6a2a9032ac02384e7c6d14c4a206bb8d19
6
+ lib/card/diff.rb 3d5d4d52ed084737967e05d73c6509a282dd41b8
7
+ lib/card/auth.rb dd79362f717be2713da29cf2fdb466d19a6b568a
8
+ lib/card/query.rb 68019e934b2d7ee8d73e7a1df5814a3b2f26a534
9
+ lib/card/cache.rb c22b99d94e87e3323f6af898cd6c0be76f181ca1
10
+ lib/card/chunk.rb 54197bbf289cd5294328334554ed85c46b6cf3e9
11
+ lib/card/loader.rb 24c51af920c7c2cc695cf41f530a42941c8d8dc2
12
+ lib/card/format.rb c821707551b3759345ffe0690b748fd207deaab0
14
13
  lib/card/mailer.rb 7b1bf70e4ed3b896a4a93b375dca808996b5e4ff
15
- lib/card/content.rb 5bdd368a4aed9be1236c5f04c9423e1eeab842f1
14
+ lib/card/success.rb a1887b6b4c1a2a642391978204ea863cadd325c6
16
15
  lib/card/version.rb 7a88132977844e7742fe13e2c8b6b4ab48a27322
17
- lib/card/core_ext.rb b82e8c10b7ba6f1316ca8373046217c8146dcbaa
16
+ lib/card/content.rb 75f9db1791170aa94ef19fdbf33d4065c5ce3490
18
17
  lib/card/codename.rb ec33eaabcd324d2e3a5672d8b7a72ce8532bde4d
18
+ lib/card/core_ext.rb b82e8c10b7ba6f1316ca8373046217c8146dcbaa
19
+ lib/card/location.rb 47bf1f7b84652807f1d0816f6e8e6bff78ca077f
20
+ lib/card/migration.rb f6ff1f25d21590f929ea613d3d3522d3bc450894
19
21
  lib/card/view_name.rb 0a1177de5268e021180110c2c36fdae1e0c0c8a6
20
- lib/card/migration.rb 381cee8222fa2cf969543b4d1fd6283d8c147487
21
- lib/card/reference.rb f7d6091f9aa24536f78c1a3a6358a3d9a68fcc0c
22
+ lib/card/reference.rb f5b80f2795844b1fb1357b42c50b6bba68d6589f
23
+ lib/card/query/join.rb e57d9c328f69ddf1dbfcc64c5a34dc18ef16641d
22
24
  lib/card/view_cache.rb 132a68bb09bec5ddfd1680f5acbffed685b1c3ff
23
- lib/card/exceptions.rb 558acc83c914da1a99c892af476ef4a3b147bcb2
24
25
  lib/generators/card.rb 6aa5bf57b1c847799c8c163e03d2732bcbeb90de
25
- lib/card/spec_helper.rb cf22ba8a39657d86cbcd3ba3b86e41b0358bfcb9
26
- lib/card/set_pattern.rb 34620dadc29f1dad84bb530448846ff32efc4932
27
- lib/card/query/clause.rb 440d3b7d29e6b26b1fd58934cf3a818183cefb56
28
- spec/lib/card/log_spec.rb 5ef9b6da0c222b2098cf36e9ae340127672373a5
29
- spec/lib/card/set_spec.rb 45bdebf10157bdfeba8d40c5a9fb8715bec576ce
30
- spec/lib/card/diff_spec.rb 3adad45f74654bb1f8c03df059f499ff26a94ce2
26
+ lib/card/exceptions.rb 558acc83c914da1a99c892af476ef4a3b147bcb2
27
+ lib/card/set_pattern.rb 97416f2a280b8eee713e8185c3c8139df1d9a05d
28
+ lib/card/spec_helper.rb 218c492a717fc6bab8e3310d2708cf36aa780c87
29
+ lib/card/query/value.rb 05a09c9e8b1e2ad1309b649c04e8d4f7d09dbb6d
30
+ lib/card/query/clause.rb 950a516c4841d8f6b62ebb557b116015d749db03
31
+ spec/lib/card/set_spec.rb 0c3ef94af80e0a00413a6eabc46a156ee9984599
32
+ spec/lib/card/diff_spec.rb 2070156d626c7f011829e698276827839a136331
31
33
  spec/lib/card/auth_spec.rb 61ea83a5b633d709f5b06c638dcf249678483b47
32
- lib/card/core_migration.rb 28f4711b5e1b35c04b325e50812eec777d6a9f2f
33
34
  spec/lib/card/name_spec.rb e07b4802b9145ff6b8cc1913de3b101516a47ab1
34
- spec/lib/card/cache_spec.rb 3fed35cc0bedca87d753dd5ffa7620af75dfd623
35
+ lib/card/core_migration.rb 28f4711b5e1b35c04b325e50812eec777d6a9f2f
36
+ spec/lib/card/cache_spec.rb c68b9b400c879497fe86108ef13bd257639cecd6
35
37
  spec/lib/card/chunk_spec.rb f5524858dc09925bffb32898196b65346baa9083
36
- spec/lib/card/query_spec.rb a572534d4ad585e6f8d4c3c7db0454c32abdf9d6
37
- spec/lib/card/format_spec.rb 9058bb36811d42dbff3e0e8b88a85afb0da84809
38
- spec/lib/card/action_spec.rb 10e5a134f11ecbd5b6ecf3cd35f98c7f94555b11
39
- lib/card/simplecov_helper.rb d9740a35c8d7f223dc868c1fc0cfc4c84354804e
38
+ lib/card/query/reference.rb 7a301e8b5c2f158a31c64df41d41ccab29d3fe9e
39
+ spec/lib/card/query_spec.rb 405e8e5c8de93da2bfc691c7b4b7986dd8ad8609
40
40
  spec/lib/card/loader_spec.rb cade6b83949c6071158a901672dbd3d078ff2a1b
41
- lib/card/query/ref_clause.rb 11e9804a7752bdb5c61990197fbb61b15f04ced6
42
- spec/lib/card/content_spec.rb 7bcd757ca354030dfdebb1f41dcc0cabca8123ca
43
- lib/card/query/card_clause.rb db26b462e0622462d4e1bb1962f4437057599430
44
- lib/card/active_record_ext.rb 5b75ccc2babe158fc758c5c0d0d31036946cc8a4
45
- mod/01_history/lib/card/act.rb 488499c52b38a7163c9b06bff10a759a78ab7c6d
41
+ spec/lib/card/format_spec.rb e47f0fa01bb80545a7c58664a59b921aec91f911
42
+ lib/card/query/attributes.rb cb52faab874a13747aaaf91a6f5f894fe8071343
43
+ lib/card/simplecov_helper.rb d9740a35c8d7f223dc868c1fc0cfc4c84354804e
44
+ spec/lib/card/action_spec.rb 419561bbdbed919f4c6e10c921a08be2d477425b
45
+ lib/card/active_record_ext.rb 7e729a4fa21cd9630b405f3478f33dc22c4e11b7
46
+ spec/lib/card/success_spec.rb 304aef6a099eb93b724e7c4531c379615ecfb88b
47
+ spec/lib/card/content_spec.rb 49142da82400016626844e69905cbfc525eddda6
48
+ mod/01_history/lib/card/act.rb a9b6b25fafb9b92d83a1211157dbb9ac9763ae11
46
49
  spec/lib/card/codename_spec.rb aeed3c516149c9f7e7c280bd361d6e052edb2bec
47
- lib/card/query/value_clause.rb 6f7739666135f5d386ec7a861bc9ee3432f63562
48
- spec/lib/card/reference_spec.rb 28e2853adc1ec59201964a684d1b1c3f57943f72
49
- spec/lib/card/set_pattern_spec.rb 0e9d197f1dbd7f234799e8ce7d9db0326904a0b5
50
- mod/01_history/lib/card/action.rb 088f4f63af7d0efd5901c4fc0ddfe992544a3397
51
- mod/01_history/lib/card/change.rb bd2edb608474972aa5b6fe1cc330788d6482be00
52
- mod/04_settings/lib/card/setting.rb 08afdcff415f2cc4f1e231b67b8cd8eb4ce73603
53
- mod/03_machines/lib/card/machine.rb 580631b3350627791e69b37c24219f72c25c3e87
54
- mod/05_email/lib/card/follow_option.rb 44e4d8fcefcfe46a4f8d71eb012f1a7b791bc0b3
55
- lib/generators/card/set/set_generator.rb 65053d888e3f224dc38068498798a0bc6a53569e
56
- mod/03_machines/lib/card/machine_input.rb 3c5d249846190160bcf5884641f8dc5a34018816
57
- lib/generators/card/format/format_generator.rb d8a1ba96c86e03df49557cc805e2b3b4b4d82274
58
- mod/03_machines/spec/lib/shared_machine_examples.rb 07903380ec464ee2a06f139dacf8833108e2721f
59
- lib/generators/card/migration/migration_generator.rb a04e7fa6004561871456fdd1867d5c8e7c000f09
60
- mod/03_machines/spec/lib/shared_machine_input_examples.rb a0a97dbeda0fb611406cc861efd3fdaa032f2791
50
+ lib/card/query/sql_statement.rb ffb01c0682f41b371eb5ab81ba4a6a2a9e9d37f8
51
+ spec/lib/card/reference_spec.rb 1ae8c54c6e411ff9653daf33d189d50be371ff4d
52
+ spec/lib/card/set_pattern_spec.rb a51b59a88a8885750c913409930be29859b8ee26
53
+ mod/01_history/lib/card/action.rb 09f0c55a4d2f7f200dba39508db8eff9db2d7062
54
+ mod/01_history/lib/card/change.rb 765b725bba47ba188f2f8329406369e2970e4c1d
55
+ mod/03_machines/lib/card/machine.rb b4c4abde6446c8d1b30539b4a0aea2a7e6a7473c
56
+ mod/04_settings/lib/card/setting.rb 8613458d637efe2b2b4af43b85dae5fd37708491
57
+ mod/05_standard/lib/file_uploader.rb c2e3999a942dd2f1011897713bb2ab2d908c58b8
58
+ mod/05_standard/lib/image_uploader.rb 3ca43328dc1ff73815d4d4d65156b1ffdb620e26
59
+ mod/05_email/lib/card/follow_option.rb 90029ee631233c967d1fd45a03224afe5f21bdcd
60
+ lib/generators/card/set/set_generator.rb 2274cccf5121ca30a09e7b0e84eba1549c82bcd5
61
+ mod/03_machines/lib/card/machine_input.rb 5c50b89af37641d6df6c921af5f10484819d6a6e
62
+ mod/05_standard/lib/carrier_wave/cardmount.rb dfe95543fb58a4598be80ffa3cb58a5aad319052
63
+ lib/generators/card/format/format_generator.rb 21cb30034b14a9edf27857bb05f0ee57a8e44faf
64
+ mod/03_machines/spec/lib/shared_machine_examples.rb 68548cc2bf027a28aa81d040938a884e330da5ed
65
+ lib/generators/card/migration/migration_generator.rb 61c8bedd8639110717c168b7a06d274311511cc2
66
+ mod/03_machines/spec/lib/shared_machine_input_examples.rb 9a8fac4506e652f8bcd058223f77cb84b798c93a
67
+ tmpsets/set_pattern/100-all.rb 18bf9d89fc14cf2889907397cc9a68839a0ae864
68
+ tmpsets/set_pattern/107-self.rb fadf32bf756cd78beed98ccc545199cbc500f136
69
+ tmpsets/set_pattern/103-star.rb cbce7106c1495fda167844fc81f068f3b767e3e5
70
+ tmpsets/set_pattern/102-type.rb 16c3827a99404e92b221691667fffdbe460877f2
71
+ tmpsets/set_pattern/104-rstar.rb 4ddb7e4ee7c7782def7e1f05f89418a2b2ba3b79
72
+ tmpsets/set_pattern/105-right.rb df07e217dd64f46e29e785bb266039416126396c
73
+ tmpsets/set_pattern/101-all_plus.rb ad82ad50bb0e91a8eb36ced7d0175c72178b7a31
74
+ tmpsets/set/mod001-01_core/all/erb.rb 613e6c3de837dcd24e77d13ed860584ca77ea433
75
+ tmpsets/set/mod001-01_core/all/name.rb 346cbdafbf8fcabee4ce2f21c53b0215dd411550
76
+ tmpsets/set/mod001-01_core/all/haml.rb 618724188157c1798c78595410c52104a4c5a25f
77
+ tmpsets/set/mod001-01_core/all/type.rb 57ddd776eb4690871970e83a1aedf686393d511c
78
+ tmpsets/set/mod001-01_core/all/utils.rb 0a4d4a947b3809606b47550ceae3bb6f39202ce5
79
+ tmpsets/set/mod001-01_core/all/rules.rb c2dd04b5dfc317a9772e3bead8e784fc5a79787a
80
+ tmpsets/set/mod001-01_core/all/fetch.rb b4f1585f6da2cc40a996a621753bcd1526cb1267
81
+ tmpsets/set/mod006-05_email/right/cc.rb f0b2dcbc178862bd11f034b754ebb7712b65d232
82
+ tmpsets/set/mod006-05_email/right/to.rb 0498a6ee5c284dc7c76a654a304aaaaf952083cd
83
+ tmpsets/set/mod001-01_core/all/trash.rb 40812f9303a04f509fb4e2b0138f7e796775b84c
84
+ tmpsets/set/mod006-05_email/right/bcc.rb 2d2ae80ffc56310818b76cd9c1ccc2a226426bf5
85
+ tmpsets/set/mod001-01_core/all/phases.rb 6e82a1472bfd4b6e0c653693da0722eb9ec4d30a
86
+ tmpsets/set/mod001-01_core/all/states.rb c9aaccfce8f5c288be5399ef477ff081de43f60e
87
+ tmpsets/set/mod006-05_email/all/follow.rb 74093398dfe86c572d8465f50aea4d1b0833ef3a
88
+ tmpsets/set/mod001-01_core/all/pattern.rb 30afa710c472be1d48aa8fa313f941600bc73ab9
89
+ tmpsets/set/mod006-05_email/self/never.rb 384bb904952ab6b290b57e4368b02b87b566dc8f
90
+ tmpsets/set/mod006-05_email/all/notify.rb 81d464c9c47f7658b5309977a47fe099964ef96c
91
+ tmpsets/set/mod006-05_email/right/from.rb 1b67b88b113f9292c1d7933b60eecfe72db9eb67
92
+ tmpsets/set/mod001-01_core/all/content.rb 32321ff3ac03ef2225516b945f17b2f96bd09c9b
93
+ tmpsets/set/mod007-05_standard/self/now.rb 3e76c5568f2ab064693e135e6341676020938068
94
+ tmpsets/set/mod004-03_machines/type/css.rb db37a2f11b65521102cbb081a4b2b72a9ba6d836
95
+ tmpsets/set/mod007-05_standard/type/uri.rb ebfe86c813d43b4de9fa6c704d1dc05cf82df5f1
96
+ tmpsets/set/mod006-05_email/self/edited.rb 125aad18d8d8be596574e0b598dde530718810e9
97
+ tmpsets/set/mod007-05_standard/type/set.rb 6f919c11a0b437bd03ea7ebcfd57100037e731df
98
+ tmpsets/set/mod006-05_email/self/follow.rb 0ce83d479aca90712c59e20b6c5c4865a73359d9
99
+ tmpsets/set_pattern/106-type_plus_right.rb e709e47cb00a9ced8863a1829456bb688a604e1b
100
+ tmpsets/set/mod007-05_standard/self/all.rb 791a85c853fca811307564acbbf35aea6b162035
101
+ tmpsets/set/mod006-05_email/self/always.rb 863fd8aadef93ff021007983a47c0ef5535ec502
102
+ tmpsets/set/mod005-04_settings/self/help.rb c61c7a6999f8b98e6cfe045464b0762f394547bd
103
+ tmpsets/set/mod005-04_settings/self/read.rb 99184a764c6318cdbb21db0946c8c76919848016
104
+ tmpsets/set/mod007-05_standard/self/head.rb b544ea5a64b88a04f02eafb51695deebccda17df
105
+ tmpsets/set/mod007-05_standard/self/foot.rb 63b04dffe0f016dcbcca433ecdc8cefe14091162
106
+ tmpsets/set/mod007-05_standard/type/date.rb e09e0784a26f8cb0067208acbc8ad5f9922025bd
107
+ tmpsets/set/mod006-05_email/all/observer.rb b7dc96196b89c270d8d67c6f10583e1fc73a57b2
108
+ tmpsets/set/mod007-05_standard/all/links.rb d5a759055f678a05dc9231f172e2e113afa6967e
109
+ tmpsets/set/mod007-05_standard/all/error.rb 10f9b422f61f1ad3a20591a43d42783262caf1f1
110
+ tmpsets/set/mod007-05_standard/type/file.rb ceb4cbc841ea02550b331895152b55fe1548ceb6
111
+ tmpsets/set/mod006-05_email/right/follow.rb eccaec056cff068cfde199be374399618217f119
112
+ tmpsets/set/mod004-03_machines/type/scss.rb 7be5827a9d292c6186059d12b6866edf01ce0043
113
+ tmpsets/set/mod006-05_email/self/created.rb 34e45fd92937ab53614e0f8387b774e9c089cb2a
114
+ tmpsets/set/mod007-05_standard/type/user.rb a8622b259a5f6e4e68f2a7e9c441ad1acd4d5ad6
115
+ tmpsets/set/mod004-03_machines/type/skin.rb 891891cab532e9dbc2926a068e40cc7dd88fef36
116
+ tmpsets/set/mod002-01_history/all/history.rb 957ba0840b09080705f5872ddfb38027f0d5951c
117
+ tmpsets/set/mod003-02_basic_types/all/rss.rb aac677d513322700224f01dbdf6269d142f302eb
118
+ tmpsets/set/mod002-01_history/all/actions.rb e4ffefecf05f8bacd3d5a4b0de92df0f573d94e5
119
+ tmpsets/set/mod001-01_core/all/view_cache.rb 114e7556a1abc8cc84fa808562265e8658ab9217
120
+ tmpsets/set/mod007-05_standard/type/image.rb 3dba607f56fa29a86a5c85a8051c5cfec8d4cc6c
121
+ tmpsets/set/mod001-01_core/all/templating.rb 70aedf190dc2e7fd59bea3ce638df8e016d582d4
122
+ tmpsets/set/mod001-01_core/all/references.rb 546e3da621c6179dd2df099e237427bea6a465ec
123
+ tmpsets/set/mod007-05_standard/right/salt.rb 941a11ef271fa8c0dc4bd5e8039253ca9de4e329
124
+ tmpsets/set/mod005-04_settings/right/help.rb 60fe57976f313c58700f8c84cc3039dcc7d27d1f
125
+ tmpsets/set/mod005-04_settings/right/read.rb 19e9404ca2052296e9a864858ba7866da2c9f60b
126
+ tmpsets/set/mod001-01_core/all/initialize.rb a9493bba0c11bbb58af712789b34763bffbce790
127
+ tmpsets/set/mod001-01_core/all/collection.rb e3b74129fd1ae8c79dc4a75a61907bced0b8afe6
128
+ tmpsets/set/mod005-04_settings/self/style.rb e899a4c393b80f6ea10f1f518047390a2a8f338e
129
+ tmpsets/set/mod007-05_standard/type/basic.rb 8646b933db97520176c4e87caed090d9227568a1
130
+ tmpsets/set/mod005-04_settings/self/input.rb 34044fa8b2f1286c998b8da9930675dde42756ea
131
+ tmpsets/set/mod007-05_standard/self/stats.rb 604d94f6fad4494a1c736d2e5efd9d94f7da3f88
132
+ tmpsets/set/mod007-05_standard/rstar/rules.rb 8f04b4e5bc69c0802ecfa532a98374fd6a8f3ac9
133
+ tmpsets/set/mod001-01_core/all/active_card.rb 09407ce690ba0aa6c9e9320d22ab9134fbf01138
134
+ tmpsets/set/mod005-04_settings/self/create.rb 2535a332dddc2fc2eaa23e5201d885b7356c1591
135
+ tmpsets/set/mod007-05_standard/all/comment.rb 845bf8113021dacd7d7d240a7bd7a96d5a504f8d
136
+ tmpsets/set/mod005-04_settings/self/delete.rb 83d87b9d25d8c7a22f61943df514e79b54593f28
137
+ tmpsets/set/mod001-01_core/all/permissions.rb aabc8f64ae12795ef8a91afbbbbf42a1465185df
138
+ tmpsets/set/mod003-02_basic_types/all/base.rb 4e6433b230875aa125bab62ac944acb5359e7324
139
+ tmpsets/set/mod005-04_settings/self/layout.rb d5a32caf622d39d4a98ff1e866a8d4cfd6197a24
140
+ tmpsets/set/mod003-02_basic_types/all/file.rb 5fe54354631337f7906b522c4e52b1cbafc12f81
141
+ tmpsets/set/mod003-02_basic_types/all/json.rb f16c4084895d1992a04faf9216a689b013330603
142
+ tmpsets/set/mod007-05_standard/type/toggle.rb 958818f46fd9fef7a609a6670c288a1fcd835e67
143
+ tmpsets/set/mod007-05_standard/right/email.rb 8ecd959615adfbb6c4fd48fc0d894ba44b6e2143
144
+ tmpsets/set/mod007-05_standard/type/signup.rb 8481e1eb5607415926b491b6f81b3c4a882c3811
145
+ tmpsets/set/mod007-05_standard/right/stats.rb 68251ed3296ec15682950e321b33a4983405b8f6
146
+ tmpsets/set/mod003-02_basic_types/all/text.rb 4409a927f8d07e22cc9cf9274b2c018ef0d1abe7
147
+ tmpsets/set/mod005-04_settings/self/script.rb 53140e9882f235fd327926b7cd7c325274155167
148
+ tmpsets/set/mod007-05_standard/right/token.rb 0f1f55ca4640c86ee5a32f20251eca35195ef4bc
149
+ tmpsets/set/mod005-04_settings/right/style.rb 3d78d97a2d78b2dd10fd6c675b70e977e689d7ae
150
+ tmpsets/set/mod007-05_standard/type/phrase.rb 4789d55aa035d12fdc32504feac2b36fb9415a7a
151
+ tmpsets/set/mod005-04_settings/self/thanks.rb 6da05593e5ae74a15e4938c682ec6cdc7af1e721
152
+ tmpsets/set/mod005-04_settings/self/update.rb 0870354d10102c670f20fddd41f25708cb7952d3
153
+ tmpsets/set/mod007-05_standard/self/alerts.rb f8b3e8b22badd6b54cfa0d2f2a13d109c5c210fe
154
+ tmpsets/set/mod007-05_standard/all/account.rb 600a478287385df948a692175ebd78f4f490e815
155
+ tmpsets/set/mod006-05_email/all/email_text.rb ab8e8fed33f016cc904a4049756be268b70a353e
156
+ tmpsets/set/mod007-05_standard/type/number.rb 1f9544eaa84b657e19a89a99c6a10894aee4e2b6
157
+ tmpsets/set/mod007-05_standard/self/navbox.rb 97f6e42de0fadb205b285d5ab22e06797ca245d3
158
+ tmpsets/set/mod007-05_standard/self/recent.rb a935b734de7f2a2136c29498b2275ce18063bd12
159
+ tmpsets/set/mod007-05_standard/self/search.rb 98c03b0464ee41efb92529f934a1a5a592968798
160
+ tmpsets/set/mod007-05_standard/self/signin.rb 71ea807a9509a3b7427eeda848d6888fb03d0a47
161
+ tmpsets/set/mod006-05_email/all/email_html.rb bab98f8f38801e8b9712ba3664071fc4fdefd037
162
+ tmpsets/set/mod007-05_standard/self/version.rb 3a0373f243e503575e507739a6b6913bf3fc4ee2
163
+ tmpsets/set/mod006-05_email/right/followers.rb 8368cdfc42af2973ce62bdcc7b17b7b3e2370089
164
+ tmpsets/set/mod006-05_email/right/following.rb 7482e81cbccce774624083b07f679c56218bee43
165
+ tmpsets/set/mod005-04_settings/right/create.rb 52fc4c3cdf8f4c94a9fedc41aecaf6090d41cbb0
166
+ tmpsets/set/mod003-02_basic_types/type/html.rb a6cc905cd4a542d050baeddfc2a5650d0a28a7ca
167
+ tmpsets/set/mod005-04_settings/right/delete.rb aba36aecbfc943a2094463b7adfdbfa582a8fa76
168
+ tmpsets/set/mod005-04_settings/right/script.rb c150d02c01806a2eb4e8d61d770b966f8d414eb9
169
+ tmpsets/set/mod005-04_settings/type/setting.rb f90ebed5f3c5069cbd2b94247ff9557e0631a823
170
+ tmpsets/set/mod007-05_standard/type/session.rb 999092ede2bef86c35a8df4afb687e46401dce77
171
+ tmpsets/set/mod007-05_standard/right/status.rb e46374ca9e30a26bd40e5febd665b54d62bdd8e7
172
+ tmpsets/set/mod005-04_settings/right/update.rb 29ee3ed3b8a5e249615ffe11d70c1d995f2d4198
173
+ tmpsets/set/mod005-04_settings/self/options.rb 191c177534aa3cfcba569e9536fcde8c6c116d1e
174
+ tmpsets/set/mod005-04_settings/self/default.rb fad0aef09b0965f42c6518be89bce6eefe47c7e7
175
+ tmpsets/set/mod005-04_settings/self/captcha.rb c80645ac40bd1ee639ee18c75e73142d59cd982e
176
+ tmpsets/set/mod005-04_settings/right/comment.rb 32421e901a78df45b4663ee3826d1f46119c65dc
177
+ tmpsets/set/mod005-04_settings/self/add_help.rb 90e7a85af16e75ec71c01a72163c1c4d15acd045
178
+ tmpsets/set/mod007-05_standard/type/cardtype.rb de58289b00abd34e4a9cf19168dc2123e1eb0bb9
179
+ tmpsets/set/mod005-04_settings/right/default.rb 351613a08f574be7618dc9571095f07275023943
180
+ tmpsets/set/mod007-05_standard/all/event_viz.rb 0a525c6c7ceaea2cae25233c30eee1d74c5deeb8
181
+ tmpsets/set/mod007-05_standard/right/account.rb dd0675c197675c3a58758af89fbac15009fd7ef7
182
+ tmpsets/set/mod005-04_settings/self/autoname.rb 458ff88a1af2ad02bba7445dc2f977ec520a8dbf
183
+ tmpsets/set/mod003-02_basic_types/all/all_js.rb d175c09352ce033f44ae6177768ffad2c372880a
184
+ tmpsets/set/mod003-02_basic_types/all/all_csv.rb 98e3ad20cab89c8ecaee22b9cfce71be30ac62bc
185
+ tmpsets/set/mod005-04_settings/self/on_create.rb 858dace27abe4098eedb27f97ae3fe9a077dbc3e
186
+ tmpsets/set/mod007-05_standard/right/password.rb ecbc8710df76a2f303a81b8aa74148cf5116a408
187
+ tmpsets/set/mod003-02_basic_types/all/all_css.rb 680d525c242a470a0b307215129ef164db9690c2
188
+ tmpsets/set/mod005-04_settings/self/structure.rb 3878d8649d5c8005ff54abfdf02d048816483ae5
189
+ tmpsets/set/mod005-04_settings/self/on_delete.rb 9deaf88fdff5f9744c023cac528fe214e4aa2022
190
+ tmpsets/set/mod005-04_settings/self/on_update.rb 56fc36be1287aedac03eae6d96e8f5a971dac56e
191
+ tmpsets/set/mod005-04_settings/right/add_help.rb c55d59c656176cf1d66e3d7e0a0a4530d7d7de2f
192
+ tmpsets/set/mod006-05_email/right/html_message.rb 7ef4f80def9f6b7772559279c4ece2ea311a4eb8
193
+ tmpsets/set/mod004-03_machines/self/script_ace.rb 3802c4a50c790102bb8e44b586ac0d23172285ad
194
+ tmpsets/set/mod005-04_settings/right/structure.rb 383acce4506fe945601dd5d0e8a4aa5d02f92703
195
+ tmpsets/set/mod003-02_basic_types/type/pointer.rb cfcf4fc74a0a6e6bbc02e46ee02ec6b2c3eec588
196
+ tmpsets/set/mod004-03_machines/self/style_cards.rb 15831195c2c87969d95fc0db1f4ec8f2df9e2936
197
+ tmpsets/set/mod006-05_email/type/email_template.rb a493ecb2870faeb7d29277a787711ebef26c7e0e
198
+ tmpsets/set/mod006-05_email/right/follow_fields.rb b8e692a0885de589371d1a7409489779da34dec1
199
+ tmpsets/set/mod007-05_standard/right/discussion.rb ed830b43853bc69b4e56a95536afb7ef4e33dc5f
200
+ tmpsets/set/mod007-05_standard/type/layout_type.rb 9d68e25dc90923869930176ee721cf288120c405
201
+ tmpsets/set/mod004-03_machines/self/script_slot.rb 2fdeb728c15bef2a1bd67c9e3b05a86f1cdc6bb5
202
+ tmpsets/set/mod007-05_standard/type/search_type.rb 3a3667eab0d0c060dc962d82672d13e935447525
203
+ tmpsets/set/mod005-04_settings/self/accountable.rb b82bec6bb1c2c2d24d1fc4e6a4cce9a112e8095a
204
+ tmpsets/set/mod004-03_machines/type/java_script.rb 9e9752ec96532fcbe891720c32f1cbcce3eea437
205
+ tmpsets/set/mod006-05_email/self/follow_defaults.rb 21b5e10a7c3f276354619590730e9987b17af05a
206
+ tmpsets/set/mod007-05_standard/self/account_links.rb e6bcbb115f852da4c0f59f144046dfed0c9d4831
207
+ tmpsets/set/mod007-05_standard/all/rich_html/menu.rb f925382dd52e9669a7efe1f1927afe784f25031c
208
+ tmpsets/set/mod004-03_machines/type/coffee_script.rb a936572586074de4a541eec5e477f93293ee4f1a
209
+ tmpsets/set/mod007-05_standard/all/rich_html/form.rb 38b233c1918af90701c1f842a731001ead166197
210
+ tmpsets/set/mod002-01_history/all/content_history.rb 616f8af4fb4eca60ff0d8053a315c3f347045c03
211
+ tmpsets/set/mod004-03_machines/self/script_jquery.rb 6cc4e7aea842933f42c0b9d60f59d747f1c17c21
212
+ tmpsets/set/mod008-06_bootstrap/self/smartmenu_js.rb 22d3e42bdfc49d819334c78c9fdeca59649f751c
213
+ tmpsets/set/mod007-05_standard/right/when_created.rb 8369b82fb9cc6ed60a62f052dbe6c3e30a1469fe
214
+ tmpsets/set/mod001-01_core/all/tracked_attributes.rb 74aabd7d451a35e134ec1245c1f9db86874259fa
215
+ tmpsets/set/mod008-06_bootstrap/self/bootstrap_js.rb c4f32725f3e3c471c7825b1e793ce723d27335ad
216
+ tmpsets/set/mod005-04_settings/self/options_label.rb 98216168a9c1416ef0ad7756d22ad34e68ce993d
217
+ tmpsets/set/mod003-02_basic_types/type/plain_text.rb 31432a7e2babf211700b2aa29e6a6bd4c9d9933e
218
+ tmpsets/set/mod004-03_machines/right/machine_input.rb 32aa4d4771d066921c96d918ce292aaababce734
219
+ tmpsets/set/mod007-05_standard/abstract/attachment.rb b6650620c6e9d91f8b477e3b823163c152761cc8
220
+ tmpsets/set/mod005-04_settings/abstract/permission.rb 548db1783d9364c4a7c2d1b66c6861fe824540ba
221
+ tmpsets/set/mod004-03_machines/self/script_tinymce.rb a45df43f085ff1ca79776c5d30d544cd3b98beec
222
+ tmpsets/set/mod007-05_standard/all/rich_html/modal.rb b27d1e6d149c0d4fa2f6d881d06b9642ea2bd7ce
223
+ tmpsets/set/mod008-06_bootstrap/self/smartmenu_css.rb 08f659a24f7ee30a09fc95354b49427b8d183be7
224
+ tmpsets/set/mod008-06_bootstrap/all/bootstrap/form.rb 65dbff7a96a42d29d55896a45da746b0216f719e
225
+ tmpsets/set/mod008-06_bootstrap/all/rich_bootstrap.rb 88025bc3e368b2017b2c05110f9fdec4722da51c
226
+ tmpsets/set/mod004-03_machines/right/machine_output.rb e519975cb24e41cf8775945abdf69b9f0b6fe05c
227
+ tmpsets/set/mod005-04_settings/self/recent_settings.rb 18a1787e0215889751c327a816334fe4e7785231
228
+ tmpsets/set/mod007-05_standard/all/rich_html/header.rb be0b95d1988162fd923f2a87e24c276065c026b1
229
+ tmpsets/set/mod007-05_standard/self/performance_log.rb be0c821c5ae8c0d42d58c5b1a4901c5b77264e24
230
+ tmpsets/set/mod008-06_bootstrap/all/bootstrap/helper.rb ff42b0203f4579cb84ef6dc222c0707f5fb3793a
231
+ tmpsets/set/mod007-05_standard/all/rich_html/editing.rb 5c0fe766e94ff16e290e135f105160835afbeeac
232
+ tmpsets/set/mod007-05_standard/all/rich_html/content.rb b4105d093f145bcc6c5542f32de057690e613df6
233
+ tmpsets/set/mod008-06_bootstrap/self/bootstrap_cards.rb 08b087ddadaa79091a1e92ec17e297d84207f12b
234
+ tmpsets/set/mod007-05_standard/all/rich_html/toolbar.rb 31463270349c9596e48e902d69818b3452993962
235
+ tmpsets/set/mod007-05_standard/all/rich_html/wrapper.rb 0d92979fcc49fc716b73386e7e1c3e1f2b06fa1e
236
+ tmpsets/set/mod004-03_machines/self/script_card_menu.rb 9bb8214393031d1958f859f5109356921ee3a831
237
+ tmpsets/set/mod007-05_standard/right/when_last_edited.rb 5ac4771217427f5a4cec502a2c749343e980eb37
238
+ tmpsets/set/mod005-04_settings/self/table_of_contents.rb 4d4ccded307558140206fea0ccdb33fbd91b0a86
239
+ tmpsets/set/mod008-06_bootstrap/all/bootstrap/wrapper.rb 86634b952a7a1c72e716c39be0006ed8784ddc90
240
+ tmpsets/set/mod008-06_bootstrap/self/bootswatch_shared.rb e64e097eb153b1fc1d3b4c4e462b50a96924654d
241
+ tmpsets/set/mod006-05_email/type_plus_right/user/follow.rb 94b3c97e1b5bdb0f5df8a7c22c4ad86afc8d566e
242
+ tmpsets/set/mod004-03_machines/self/script_jquery_helper.rb 631c44774665641e3b9582b4ab53ce4006432296
243
+ tmpsets/set/mod004-03_machines/self/style_bootstrap_compatible.rb 4e7e18a482c49f084f45f1e2fb3a7583b2b6ab7c
244
+ tmpsets/set/mod004-03_machines/self/style_jquery_ui_smoothness.rb d87aae6580eb4e70161f939ca2f26b2d171bf0db
245
+ tmpsets/set/mod004-03_machines/self/script_html5shiv_printshiv.rb b99a118d70ce599f3fa7c4850789a61a10f71679
data/.yardoc/object_types CHANGED
Binary file
Binary file
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.6
1
+ 1.16.7
@@ -2,9 +2,9 @@
2
2
  # Be sure to restart your server when you modify this file.
3
3
  # Add new mime types for use in respond_to blocks:
4
4
 
5
- #Mime::Type.register 'text/css', :css
6
- #Mime::Type.register 'application/rss+xml', :rss
7
- #Mime::Type.register_alias 'text/plain', :csv # useful for testing csv in browser
5
+ # Mime::Type.register 'text/css', :css
6
+ # Mime::Type.register 'application/rss+xml', :rss
7
+ # Mime::Type.register_alias 'text/plain', :csv # useful for testing csv in browser
8
8
 
9
9
  Mime::Type.register_alias 'text/plain', :txt
10
10
  Mime::Type.register 'application/vnd.google-earth.kml+xml', :kml
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
- ActiveSupport::Notifications.subscribe /^card/ do |name, start, finish, id, payload|
2
+ ActiveSupport::Notifications.subscribe(/^card/) do |name, start, finish, id, payload|
3
3
  Rails.logger.debug "#{ (finish - start) * 1000 }ms: #{ name }: #{ payload[:message] }"
4
4
  end
@@ -3,17 +3,17 @@ class UpdateLinkType < ActiveRecord::Migration
3
3
  class TmpReference < ActiveRecord::Base
4
4
  self.table_name = 'card_references'
5
5
  end
6
-
6
+
7
7
  def up
8
- TmpReference.update_all(:present=>1)
9
- TmpReference.where(:link_type=>'T').update_all(:link_type=>'I')
10
- TmpReference.where(:link_type=>'M').update_all(:present=>0, :link_type=>'L')
11
- TmpReference.where(:link_type=>'W').update_all(:present=>0, :link_type=>'I')
8
+ TmpReference.update_all(present: 1)
9
+ TmpReference.where(link_type: 'T').update_all(link_type: 'I')
10
+ TmpReference.where(link_type: 'M').update_all(present: 0, link_type: 'L')
11
+ TmpReference.where(link_type: 'W').update_all(present: 0, link_type: 'I')
12
12
  end
13
13
 
14
14
  def down
15
- TmpReference.where(:present=>0, :link_type=>'L').update_all(:link_type=>'M')
16
- TmpReference.where(:present=>0, :link_type=>'I').update_all(:link_type=>'W')
17
- TmpReference.where(:present=>1, :link_type=>'I').update_all(:link_type=>'T')
15
+ TmpReference.where(present: 0, link_type: 'L').update_all(link_type: 'M')
16
+ TmpReference.where(present: 0, link_type: 'I').update_all(link_type: 'W')
17
+ TmpReference.where(present: 1, link_type: 'I').update_all(link_type: 'T')
18
18
  end
19
19
  end
@@ -1,13 +1,13 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  class UpdateCodenames < ActiveRecord::Migration
3
3
  def up
4
- { :content => :structure, :edit_help => :help}.each do |oldname, newname|
4
+ { content: :structure, edit_help: :help }.each do |oldname, newname|
5
5
  execute %{update cards set codename = "#{newname}" where codename = "#{oldname}";}
6
6
  end
7
7
  end
8
8
 
9
9
  def down
10
- { :content => :structure, :edit_help => :help}.each do |oldname, newname|
10
+ { content: :structure, edit_help: :help }.each do |oldname, newname|
11
11
  execute %{update cards set codename = "#{oldname}" where codename = "#{newname}";}
12
12
  end
13
13
  end
@@ -1,16 +1,15 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  class CreateNewRevisionTables < ActiveRecord::Migration
3
-
4
3
  def up
5
4
  add_column :cards, :db_content, :text
6
-
5
+
7
6
  create_table :card_acts do |t|
8
7
  t.integer :card_id
9
8
  t.integer :actor_id
10
9
  t.datetime :acted_at
11
10
  t.string :ip_address
12
11
  end
13
-
12
+
14
13
  create_table :card_actions do |t|
15
14
  t.integer :card_id
16
15
  t.integer :card_act_id
@@ -18,20 +17,20 @@ class CreateNewRevisionTables < ActiveRecord::Migration
18
17
  t.integer :action_type
19
18
  t.boolean :draft
20
19
  end
21
-
20
+
22
21
  create_table :card_changes do |t|
23
22
  t.integer :card_action_id
24
23
  t.integer :field
25
- t.text :value
24
+ t.text :value
26
25
  end
27
-
28
- add_index :card_acts, :card_id, :name=>'card_id_index'
29
- add_index :card_acts, :actor_id, :name=>'actor_id_index'
30
- add_index :card_actions, :card_id, :name=>'card_id_index'
31
- add_index :card_actions, :card_act_id, :name=>'card_act_id_index'
32
- add_index :card_changes, :card_action_id, :name=>'card_action_id_index'
33
- #add_index :card_actions, [:card_id, :draft], :name=>'card_id_and_draft_index'
34
- #add_index :card_changes, [:card_action_id, :field], :name=>'card_action_id_and_field_index'
26
+
27
+ add_index :card_acts, :card_id, name: 'card_id_index'
28
+ add_index :card_acts, :actor_id, name: 'actor_id_index'
29
+ add_index :card_actions, :card_id, name: 'card_id_index'
30
+ add_index :card_actions, :card_act_id, name: 'card_act_id_index'
31
+ add_index :card_changes, :card_action_id, name: 'card_action_id_index'
32
+ # add_index :card_actions, [:card_id, :draft], name: 'card_id_and_draft_index'
33
+ # add_index :card_changes, [:card_action_id, :field], name: 'card_action_id_and_field_index'
35
34
  end
36
35
 
37
36
  def down
@@ -1,9 +1,9 @@
1
1
  class MoveRevisionsToActions < ActiveRecord::Migration
2
2
  class TmpRevision < ActiveRecord::Base
3
- belongs_to :tmp_card, :foreign_key=>:card_id
3
+ belongs_to :tmp_card, foreign_key: :card_id
4
4
  self.table_name = 'card_revisions'
5
5
  def self.delete_cardless
6
- TmpRevision.where( TmpCard.where( :id=>arel_table[:card_id] ).exists.not ).delete_all
6
+ TmpRevision.where( TmpCard.where( id: arel_table[:card_id] ).exists.not ).delete_all
7
7
  end
8
8
  end
9
9
  class TmpAct < ActiveRecord::Base
@@ -16,41 +16,41 @@ class MoveRevisionsToActions < ActiveRecord::Migration
16
16
  self.table_name = 'card_changes'
17
17
  end
18
18
  class TmpCard < ActiveRecord::Base
19
- belongs_to :tmp_revision, :foreign_key=>:current_revision_id
20
- has_many :tmp_actions, :foreign_key=>:card_id
19
+ belongs_to :tmp_revision, foreign_key: :current_revision_id
20
+ has_many :tmp_actions, foreign_key: :card_id
21
21
  self.table_name = 'cards'
22
22
  end
23
-
23
+
24
24
  def up
25
25
  TmpRevision.delete_cardless
26
-
26
+
27
27
  conn = TmpRevision.connection
28
28
  created = Set.new
29
29
 
30
30
  TmpRevision.find_each do |rev|
31
- TmpAct.create({:id=>rev.id, :card_id=>rev.card_id, :actor_id=>rev.creator_id, :acted_at=>rev.created_at}, :without_protection=>true)
31
+ TmpAct.create({id: rev.id, card_id: rev.card_id, actor_id: rev.creator_id, acted_at: rev.created_at}, without_protection: true)
32
32
  if created.include? rev.card_id
33
- TmpAction.connection.execute "INSERT INTO card_actions (id, card_id, card_act_id, action_type) VALUES
33
+ TmpAction.connection.execute "INSERT INTO card_actions (id, card_id, card_act_id, action_type) VALUES
34
34
  ('#{rev.id}', '#{rev.card_id}', '#{rev.id}', 1)"
35
- TmpChange.connection.execute "INSERT INTO card_changes (card_action_id, field, value) VALUES
35
+ TmpChange.connection.execute "INSERT INTO card_changes (card_action_id, field, value) VALUES
36
36
  ('#{rev.id}', 2, #{conn.quote(rev.content)})"
37
37
  else
38
- TmpAction.connection.execute "INSERT INTO card_actions (id, card_id, card_act_id, action_type) VALUES
38
+ TmpAction.connection.execute "INSERT INTO card_actions (id, card_id, card_act_id, action_type) VALUES
39
39
  ('#{rev.id}', '#{rev.card_id}', '#{rev.id}', 0)"
40
-
41
- if tmp_card = rev.tmp_card
42
- TmpChange.connection.execute "INSERT INTO card_changes (card_action_id, field, value) VALUES
43
- ('#{rev.id}', 0, #{conn.quote tmp_card.name}),
40
+
41
+ if (tmp_card = rev.tmp_card)
42
+ TmpChange.connection.execute "INSERT INTO card_changes (card_action_id, field, value) VALUES
43
+ ('#{rev.id}', 0, #{conn.quote tmp_card.name}),
44
44
  ('#{rev.id}', 1, '#{tmp_card.type_id}'),
45
45
  ('#{rev.id}', 2, #{conn.quote(rev.content)}),
46
46
  ('#{rev.id}', 3, #{tmp_card.trash})"
47
47
  end
48
48
  created.add rev.card_id
49
49
  end
50
- end
50
+ end
51
51
 
52
52
  TmpCard.find_each do |card|
53
- card.update_column(:db_content,card.tmp_revision.content) if card.tmp_revision
53
+ card.update_column(:db_content, card.tmp_revision.content) if card.tmp_revision
54
54
  end
55
55
 
56
56
  #drop_table :card_revisions