spina 0.6.25 → 0.6.26
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of spina might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/app/assets/javascripts/spina/admin/confirm_delete.js.coffee +2 -2
- data/app/assets/javascripts/spina/admin/pages.js.coffee +3 -3
- data/app/helpers/spina/admin/admin_helper.rb +11 -0
- data/app/views/layouts/spina/admin/application.html.haml +1 -1
- data/app/views/layouts/spina/admin/messages.html.haml +2 -2
- data/app/views/layouts/spina/admin/settings.html.haml +4 -4
- data/app/views/layouts/spina/admin/website.html.haml +2 -2
- data/app/views/spina/admin/accounts/_form.html.haml +0 -14
- data/app/views/spina/admin/pages/_page.html.haml +1 -1
- data/app/views/spina/admin/pages/index.html.haml +2 -2
- data/app/views/spina/admin/photos/_photo.html.haml +2 -2
- data/app/views/spina/admin/shared/_navigation.html.haml +1 -2
- data/app/views/spina/admin/users/index.html.haml +1 -1
- data/lib/spina.rb +2 -1
- data/lib/spina/version.rb +1 -1
- data/test/dummy/config/initializers/spina.rb +1 -1
- data/test/dummy/config/initializers/themes/default.rb +5 -9
- data/test/dummy/db/migrate/{20150507153614_create_spina_tables.spina.rb → 20150512191015_create_spina_tables.spina.rb} +0 -0
- data/test/dummy/db/schema.rb +1 -1
- data/test/dummy/log/development.log +1648 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-Dv3kDxkBPZ7Oi-KOr6mHCAgFBKpaGPkbppo9fefGmQ.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-P3zI62TaTQmxwYaKe3d0nLyXTX4dAE-U2C4FYVUStI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/-nMnM-lDpWHvjam6kajsZgv0QBV-JT2vkoj29j1zmTI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/05o1J8IhpMacDexJp9yMnkjxgx6T2oGsQ3po7helSi0.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/0pgh1Nyop_6mboKuwRK5wHvMEIX-xOud98R2bUZsnn8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/0zSr16af_6v8a5BPbrYADCFSOoE3uAhmg2b5B7wplRQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1DkUSleySd6UK8wdvPKPaj23ztLDqXkrxyU9y3ILtUI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1Ko7LJNFtl67ydPNcPAHHpV_adg9lyJTGFs57zI7MY8.cache +18 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1OUKZzfQ3wB06U1Dsh_MTk1axc3CdniC3XEDKmEN4tU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1VQ8TDcv7vpeXY1p-9Cx-apmwWsCFl_8vAY6utWybXk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/1nZ2KgKP1nZrsDcTJ7VEsMUM20Tuzt_03btBHOfmmkI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3-PNnPeQXAIpQI6JUKRSgmibKHkjFpW97xRx7G24j2U.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/32eZZxeVFYYd5udis8T3uY9DaEhme2S58tqb3zq7q3c.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3SBlVkeAZihbg7XW3TvnNB-35iMPvDFUeGwEOh9ylBo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/3f0JEfeXUsfRCicAv07L4FPPThrSzvrCTgcBAn-sWAo.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/4N-RXrJk-XTiwiPV1PN1P_IZHrOup44q0IaibwvlIJ8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/4_vT7UFUH714PvVDZIdjKUKw-adqdMHS7nzyDZpJU20.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/4yk1dWG4GmH6Jb1MHibBBMfIClrwbMfCOlcz7J20Hnc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5DzoyEa8c6szs5TOmlbTpqeDP77IvnWKwda01Kp5tdo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5FJ-Nc3rqASHtU-dH7XMGryabJEchJ8c1ObH7CxANG0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5Y5gKEAc_O0Ut7q4j6TVmF8ImbaOLWUKLNYHRB1EZuM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/5_TqfW9s-3mH9gQH6mBc0k5tgNrV3UrEulXqa0GIU9k.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6X9L-ljVdm36SerNwbXW0bUolyItnFaWcnl4uOOX340.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/6ggdj-72mKPuzSdH2Nb95rHTdlOGAeGXtFbKqpC3UxU.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7YVta6Vs5LqDM_g9Ht7eNEgjxpnvJbp78YXY_mugp1g.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7cN85SWTHzVf8bR7ghsMGsJt7apiQWTHCmISjhlY0c4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7dtkKXDjaFxM-IP_Qlc1goNIzXVZI6WLz2yqOjls4hk.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7ggU4wYkOPAVyZWflg74LdlijZjuj5LEg86-mqleMe0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/7zzFiC3ws8NzHJeHb-PpcUPo5yLwU0D2gO4SXDQY7Z4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8FJnBErzusjxhtsZA4qZ-fRtM3KtsMc08K5TtGSvClg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8YmmvPZyI5n63OA_9MuICBRS9dlxz9eR498c41d1vV8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8kRhDr6mJtEgUXsW9qPp7S0DLpBTgpVlka9uvnBSRSo.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/8v02Xg1u_-Spj9SpqE-ceTAEiXzs50dvKcBZc30rhwY.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9DpFzpXUPvMLg-CPKyZjV7vLHnNNBsJRwGcxzM8jHa4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/9Jk5TShrKU6cIbWLR1ctb722aZsMmbd29dC9W0hJsm4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/AFrNB-BvTs9oftQT5Pb9twxnmLPtXL1oCyhmUo5EKSs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/AXh5N0Md2TbalR6S9yel3Fgbkgsqxt_Q1CaxFHSRbRA.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/AoB8moZQuXfdZKLZArHfYXU40QP66bPK89G6lgXPih0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BapwLK9jQbk-vqINYQm4krXYqxExMYjxBjWkmpI06M0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Bd47mpWA_n3UMWcbn3OsNBZyIUzQt0R_DIl8Cd0KDXk.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BeGYpQoJW98GzWuepwoJgwLT8QybfK8Xdtxxg3mHw30.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/BpjpdgTEj2sjx_82pA1_qUHtEa7zBPaou37847SBTR4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/C4VUXc8HuuIpHEN0O_vbGeIkl3YI3s9nr5DpqLrugv0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/CVuv49BQQHG8R0uRHiF9xTU25TnMluzYc0xIQtz5kNk.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ch8QYbPggOxuGYrhwaWtskw4nT7_RxxBbWca2j2PcGQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Cj_oXXWLgcWNyDMnSTkwxr7erOeqSdNFJxcOLhB6rFw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/CyR1-WlNJ4AvR9HDab-y6MILE6D1qv93NqWHNEnGZnI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DebdVbpYLHlTzZwTpstClH4vAOle7YJOgt-4gw_93CE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/DiQZ1jC_Z4sZRThfQUjJg6cIf8JUBy-eYtgxDxnLFjc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/E0Lnu2qmvyI87zDp74UYBvzZwxy5JseGFp7gr82NOzI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/E6Z1ZkgQjDWGdbovHFfRWjFR9HNLW5oepZigWJYeN0Y.cache +18 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EEHnwX3fXWGIgcOyVmwChsopuw7ESTDGJDo7CPmBrk4.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ERXZbmOpMtJH_YHZv0BgnlEpb3DxMXtI_iXUCJA8EHM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/EbghIoPvTqBUcE62IQM4imAc7yVTBMnzZRIbkLOsdRs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ev70QscEFAOZyuFbXMzecu2sAhtklJduvu-Ttp7CE-8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/F-h6tMquoZt_5mEQkanj4EZqAZMP7JjKbH1E5Xzm3as.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FBB0NrMUTb9-Fkiv1nq5zTEEnswsttXzVa_PvXbB_yA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/FS5xxeRC6hbOoZfugjWB_chEpvi0LrU0F0mscvs8UHA.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/G-Tnj4SI6HDDtyX0xwv4sHRR-2fnXwZvw9YFfJ_MoYs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/GCBSTf6cM3jb8anIF7x_3WFhVmK6EGVONr_XQxC61TE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Hq9iH2jRoT7dXYDN8Wvm4PBqul2XbKxal4s5PzT5eDs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/I2ijV2TQ-3aHi45VZHdfKjf1uZ3o3Jp6kKXjelohOsI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/IIua4qoUck_koMpF0GUH7_kOcawP85yKjyt6TG1_Roc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/IdU5G8aYT8nLyPK1kp6uDo3Pypsa29PKfYi9LGLdYPM.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/IdfjWM25NwDY5NB_3y0Gketl39Ng7iK0laS6NcCUw-M.cache +101 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/IuXXUsIFZ_h2NrE4B4qKImg5QnEUPloIEl6EfDNUhJA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JJsjzWtUf4T-JypcIOV5SMimVIZD8lrHRlN_6tCUn04.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JehLciO6pOCwiI2TnLr9BF37eTlQyd-fmRKLQvb8qMg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/JjkfB6rwQ02qmNyk5NMPGJgm_6KFKa8s3VGK4NRJr5U.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KMRaLyXIO_vOSZ_ZeDEMMqmfs1E18moWWkkaqn-ISo4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/K_ybFrfXvCwtP4hdLstrLMQcWY_kgNo88cUxHo63i0Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Kq7wmiP4dXpqdeRtnIPkggCVJoHNqIMCBFwtQstdwiI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/KqFKRJxBY34Y7H4r9n0xPQR3NbHuMLp3-IRuCoyxolg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Kt2TbM-sL544-6FY5Oqdb--46eRgu9p0GYmwefZPAMU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Lb1tIxDj_nuTJ5RR6bygMPnfsSTJkiInq8yYXEsmSIk.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/M4Xzy6dkxrFwviNQQd_BCjrC5-hjmSbava-5BtvSJYQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/M4lnWyWUqIFWzCP0zSZPolep0FU7ojbmCRQYIQdoQT8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MPEiNyRETepJO8sSANHFdhW27xNvKD8cAbhxt7TeiRg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MRxfYJJ-52jbekLUANp2LLsAjFVfZ2wgskJSGf-zArY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Mdh6ZXSQtrr5QnecdLbhXcv8-Ywut9_adTew3nqoyyg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/MljF-BcBPFVADQoIjVaKebXA2qC7r2fqMA2R0FXjbO8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/N5pYxvkiDDJCehm-RmnXR_NLOptsq4jraLINepo8ghs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/NblElXAfBL65589vXbqD9oiCogjdIKdvL-GKvWjR2tE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/O8FUw6MJcONjxK7uIgNnAXsPV8hkI7AeVjsq5fKQOv8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OF4Fp9hoZEPFvduRw0GOf_xQWDIEv4Rz23-bcnl7uQc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OIjN2vwj2HSIfNxvbqt0a1Amo1WDXt3yUw7hEPzgezQ.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ORVPgoWFV70St6vpAOg84Nd_g16i9FtnIvdiPiDvq60.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OocmP6lnsulLXv9y3iJGjVD_3CSs5WKKEPKdctKBESE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/OuZcPCBCqblb2tZejH8AmA_FTUghrQd6LBFE65eJ91U.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/P8vs4iR-SN__DRRq4evPhhMM0P8k9b18cAwk12jfkQ8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/PlZ-g0hP6wKjF1B_aSDvn0y42t48ejNCxjqCvs7cyCM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QGXT1Df8eTWJBGB4vP3_xhSpJghga-tF0WMEYchGi_I.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QTyXKhUTpJqyKSNky-_eRH-OB5K4l52voV8FqGVBZok.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QUY-Kctk_0dJynPl3bmbRLo8qNRgmBb6EL9n92WSEmQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QZCb5eR6rg4L2ta1u-dEreo8L_HDJeDsE4RkNjaNohg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Qjx2BktFYrBQqpGnyIzwwjb4WS92r5LdDTdvxMZ6L8Y.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/QrGChLWQMRN4H7CFmX3LLXm-0sV9_2vAvmmofcGf5Xc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/R6A17RKGiHdj6PXPDFyO_12yHPh1rEZ68XDE6MwOQ1k.cache +4 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RqSepIwtjJQPIY9H7KIi8gX1Ez_hpJaAzMjuQmZu_xw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/RyVelE3k82ChWXOuitC_Gt6TaQv45gqBmCdcAV8OEfc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SK8zExno8lW2LG4Zar7Vi5fgkEHAtRa8Qpv6fJ7uIWY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SinoG8jaU9qiFmhWy67p1CzQVJo_Uhv1mUUVlkjCCd0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/SmyFDgNwXlHaNWDAFQaAkmoYpLmBTpZep96X7KmnO2Y.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/StViRRY2zj41_l2pEb_UzDCqrd1govZK3QPhErFYgSo.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/T024nKJsO_69A63_tuArZrl38PfBId8mnEPWR3wGjN4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/T3D-XBUzi8bV-I1r07tPh2vfgjez5oAUQWK5ZcnzmvE.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/T8kHY9xVYTRMzOg2N_vJVc_Al7pYUy3c3-Ccs9FbDx0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/TXx_XReRZ6HM4UWcloogSchIY50Y_-XnVNB3_Fne-5o.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Taclgf9DhZAy4LUWv5OCmk73BTKhD4y33kbNMwag1uU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ToMaAH7tcFQMV73vnTqGT5NAss31OfMUd5ZtiX12yX4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UX9-kgP5q7QjErncUnfArlSCWipdFKp9HS62zik2nlU.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Ujn1PRKGW5ut2YiQrFYiMmyvLXeddyMOpfAPT5Ru0dg.cache +101 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/UtxNYSp2XMJqZybVVABhnbbyBq0LwLB6WHC1N_w10iQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Vbwh2jvorZ4WgyBHz-tgPBP2k8xo6uDYS6Cx_P1y1cw.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/W0nkdPGwXQAI79zGWtjMFB8UpY9fHBAOw1bWY1uiv4k.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/W57PkYuOo8e2vCn-euuJ4LHV_etjzj35xROlFITHeJk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/WWrIfCLq93ukkMgddthTL_T1pvn-dhh0hYpTfBtY4lE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/XVw-k4x31Ce3J3XXeZpg4D4UKsVEbKgfRLprnd64os0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/XrCppYxX1dbjIaQmstV1svHqyazhoDyUJQIyPR4QidI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YD5VXzA67kulz946BvXfD7u5BJ55nBefuXm5kURHAko.cache +4 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/YfVhQHFHVS3noPJ7iW2Rbwe7dE_eblQ4k98dg61xe4w.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Yo-tz0Q4LZDUWcW6yrdhux9TFNMlbPfYzXwvwlk0BnI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Z0Ed1Ey3wGUOyWngm2u1I_GoywfIcw6furV8gcQZb_g.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Z5fOzF8eIrF8wrWFCZ2s7_Ipwppx5a7f5vpTtpvH0FU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZEIEEhhipEkfFsH8j24g2AIzvcatm_NvgTFa2mZdg5M.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZMa9AfbYiDtLCHUQrkUNbqcMaYwID1GcwEPQskCX1ik.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Zi4cuck5qehNpC6Fl-AnmlVxjeaThtHiCG54JWq9aZs.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Zm6ZnMwUHJNBtDqJU8UU59RxM-nyU0hP9rmBKZ_csGk.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZsuLEjagoiZfKL_B2aDD3Dh3Ve1QRHvmuY1g1eJd7yw.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ZvZ7oV5JeMv3xLyF4iyJ-qA9Jmpzfpi9xqvCNu3Op90.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/Zzgx1GknLBwdj1J6iF0gkun6bkMXS8JSjaOl7cSF4Ew.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_AhBIbKWuuK_CYufhZLdlWjrFipSZWDw4bueLaQ2Xf8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_HmenYjidB4sPrMVXfzVdWPz7OuZZlYjzb4qJWRzUl4.cache +4 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/_wABBSMOHBVAxSa2FRfl5NIkiDooppCI463xBvZOdWs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/b6Qv01H-BgFkLfkw9rJ-p4rQQ8hUpYaWs4OGT4RktGw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/bVKUgCu4UIzk2HovDuA7itcLVzbiltjLNhp4vl8BjPQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/br1sGc0eLqjJek00P7C1_OXgYLMJXw3c08mfhb1_rJ8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cJlLOJ1J6rsqXPFV_dgJ89G6MjzL6LDn4Z_Dxia4dXw.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/chgMR2x_M9fGPeUIHxMltraeYytzJlRAOB13Po02vpM.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/cltNkyd7grMeH95f26NvOhDlO5QTeSuwbEjWkqFztLQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/d2U6_swhEy4mCB2VDVaMRdQ4eBj6uLfXFUAsul7Y-0Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dAny1JlsBBucW3xF5245mhA2DFaVzMdc5UDlrf5KtUc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dD06tgk6orN--wHNsWSRbM9NVZ3LcoVidPl3OF8qhZg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/dgJyPAxIBzIRxRzEK_oP4Ltn-yuYclEkpLIIy8nNRpM.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/eKivr96pAZgn-_sXTeLir5R6JTy72RU5RNnAUeIOI3Q.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/erXUc83Oux2rYh0FQzqRX4HJOyvPpZyvPC-h7Xo476s.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fYFfm9q3oe48Wdo8Z9hR8lUBCPEMeih_Lc5Fgb_ZMxk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/fqJGlLu64ge7xNaC6la4Q1B3fIGusSnYwuw8Rd-zHnI.cache +5 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/g6DUmXeajmxX-mKVF0prq46mRJ8R9pqE1oQNRASCQpY.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gX85dC39Gr-J_Wu-JwmUAXX9l9AiG7iMiSIhJ5E0iFI.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gXrPrkF1BItsgVTh_MwfU7iceZfkzK_ifmbK0Mc3H9c.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/gdAy-rPemKQlZcGUMPxJX6weJ7Tu-pZMjHQEQYIWnwQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/h-NGNhaVEXxW_v6m0DnD8MAxfSVKB-e5gYEYnYtyYow.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hOTDecAeMj8sBRdeZMe3poc02-SUV-hLtqUz56_PUak.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hpPNqIGOMps0ogPzYP68G7_gH4fEqzBOsgoWIAWIkCk.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/hqsyWe4Cv7PzB4s796U-NR0ZjMIXbRcXpEmcCfSs5U4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i3n2ZcGFefQ7y_vFqpSKXyqIuFaxHjhJthq2Ex2fC7s.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/i5q5PLF08rmcxj25b5pwymM_HekJXbrNmiJe-1HeJRw.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/iEe--0rxpJDGZaSQqljq5nep4iWegBWy65WbmwnhwEw.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ix8LkLLaN0wNzB69anPAh2W67RvqtVVDxKtK_IXOSA0.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jQkS8BAYjNII-kzujJydrSIKbMGQwWbhfLM2R_ebsVo.cache +3 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jb4QH5sWcO_W_wxLT0iZY35ppvBiZobdnokFLShjVuo.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jgq8q2f5X4LOtTL-05y-Y9Q1Ks560e_PJWWDNEWLCGU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/jx8JzodPYBC6p76awhRO7_YMCp2Mc1PYov1p9KKWxCI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/k6Nj-HgHjTHJA_pzKRV0NvPwB4CX2dBP_5b6wOlwLuU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/kvdl56M_BF36RBRXhOfHxXwoAWjCp-JbtWhKY0AUvQA.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/l2FZL5jvOlxQ3oj2me5RzRz1SPuRDYVRhecTQxK6t1M.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/l4u9Nq8eQM-fdSFC1sheWmk0jcJE_fXB9js-YhxD1gc.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lOYOrPf9VQuY5kbuNJhnz7yjODB7MIEeJh0fmrGhA-c.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/lWqC_g87Vws4AafRMxT_k8-e8OqJl0NSEA-k9d9ynPQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mGFvxZYULvCW7b3MisbrI3LXuQUjK_Jc6ULUqrd2SoQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/mRMbaKO_8p2tlf4jvI91sE9VvbCixojXF3MsxK0NoeQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/nhAO31iIySsE5J5d91AAzlRyfzYtaWEaDobqYt-L96E.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/o3qWWPrcEyLtTjbBp7QbFilHGw4AWmcTDgm3EAihYXc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/oj4JB4SjEnDLcr_LYgzePeLhvGTwLI9BBRaa2D_4Ey8.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/p4KnSD1KZHS7o2jaKVGYzopWHrVhQCfHHuOqaRyZOr8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/prfdoN6OcuDdiJSVTlqcNCFMiNz3qRbFAT5Kgh-vXWM.cache +4 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/r8sUotHUpP8I0r1h5wW-TC-zRVwiETnH0NPeoQinpJE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/rQJQu5gOEdvHWq2BY6yP6k3kBC4Vuy8DUVPJNw4RPlI.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/rWNj5pxto_HcBWfGQHQrM15PvWOer-wts7O4LgV67QU.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/s9_uFoDwGLcUur16kxrtLpPKbfA0V3azl1vqBWSNKGA.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/swqyo7BbpFrPuoHYxy7XcbWyqmyJPqXS9xDxMybeSQM.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/tgLFCdjiLkVLYM6Wv3jRULftoVs73i3Iw0Xa7oaUUv4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/uKxbLTHsue1MLaY_Fl2cp8IOeEX0inA2lwDILoU-EKw.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/ueaVAOQM9jhnGqQFqt7qGoidlWpqWAi55svgsGZZM_o.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/us_smT2kITzRcxjqYAheyHXlnnft9SGIgmKRWqbyjnQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/v0d1uWCIwxmDiKdu31sFGWk7ZZEMG6YRFOKaejtwXmg.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vpzgiA_m2JQ45wl83U7HR57UH4EMDgLPCexSvykzHsg.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/vwnS4NvLS669UBe5mtxMD-Tt1FVSmQ29MC5TlcKcgRs.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wPvKuOvu13VtQuvv3zWj4d5t5Nio-QKleoBor4-3i4Y.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/wckjqxlIKIfoWH-IyJnqShztGXf_Fwwnh3c8oCYqRC8.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/x4zoHbZdhCECp_9u7wVh1WJdwBmC9tESIf7fMldOo8k.cache +2 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xOmtlM2G5c827oXskJg-OjDANyst22B3a6taG7FY1FE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xQJZX5-KFpI46yRS_U0aTuffUvskyswLOH3VFW5Pca4.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/xWSq23A-4MbSv7P6lbwO9UVFPHg0uNzKmiIX11zRfi0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/x_qfOwAKQC9TG8oa9sxbezvs3Ea3ccEgKe_skl0XAYw.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/yDFVgMzNrtNfHyzBr8a0Xh8lWOl_77lkLakzPFwkqrE.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/yKqcEYnQFocNAqyOS1SHJr4A951w-V0S7qn2e_TgpkA.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/yq4GbhaM1Hh7WAO71EMlWiewAvgFWdw_camJuJpvpi0.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/z9s-SZNm0I1oEkgU86_kjp5HxhoFTONDJy3VhHwKALU.cache +1 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zHM5wYS6Oqmuiu2fkufpk7GkhChgIXN_ROcwTVmpvfA.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zHZU4hrFhpqsn1bPKrW2Rob9QQX6bVzgdxbUU_Nkd3A.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zTjVWEkuksziq_1NDKpSZqpcnk7IYJLxhFuRRRwjCoA.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zlMFi5q4Bxfsogaeli7FdxaMFKPmzJHxgVITSdHvtXc.cache +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/v3.0/zwW2KlEnzjzMgKl6RSHPwtx0tD6QJBrAxUP1sRD7q_Q.cache +1 -0
- metadata +165 -53
- data/test/dummy/db/migrate/20130412140523_create_spina_pages.spina.rb +0 -16
- data/test/dummy/db/migrate/20130412140723_change_columns_pages.spina.rb +0 -7
- data/test/dummy/db/migrate/20130412175127_create_spina_users.spina.rb +0 -13
- data/test/dummy/db/migrate/20130412175554_create_spina_page_parts.spina.rb +0 -13
- data/test/dummy/db/migrate/20130412175555_change_admin_of_users.spina.rb +0 -6
- data/test/dummy/db/migrate/20130412180101_create_spina_page_includes.spina.rb +0 -13
- data/test/dummy/db/migrate/20130412182303_create_spina_photos.spina.rb +0 -10
- data/test/dummy/db/migrate/20130412191955_create_spina_accounts.spina.rb +0 -17
- data/test/dummy/db/migrate/20130414145616_create_spina_inquiries.spina.rb +0 -14
- data/test/dummy/db/migrate/20130422094426_add_theme_to_spina_accounts.spina.rb +0 -6
- data/test/dummy/db/migrate/20130422161301_remove_theme_from_spina_accounts.spina.rb +0 -6
- data/test/dummy/db/migrate/20130422194211_change_default_value_column_archived_inquiries.spina.rb +0 -6
- data/test/dummy/db/migrate/20130425080933_change_page_includes.spina.rb +0 -9
- data/test/dummy/db/migrate/20130426122731_add_parent_id_to_spina_pages.spina.rb +0 -6
- data/test/dummy/db/migrate/20130426132453_change_column_spina_pages.spina.rb +0 -6
- data/test/dummy/db/migrate/20130426133450_change_colum_n_spina_pages_again.spina.rb +0 -6
- data/test/dummy/db/migrate/20130426133636_bring_out_the_nukes.spina.rb +0 -7
- data/test/dummy/db/migrate/20130429092958_add_name_to_spina_pages.spina.rb +0 -6
- data/test/dummy/db/migrate/20130503072811_change_column_stomme_onzin.spina.rb +0 -7
- data/test/dummy/db/migrate/20130503072850_add_last_logged_in_to_users.spina.rb +0 -6
- data/test/dummy/db/migrate/20130503073738_change_column_spina_users.spina.rb +0 -6
- data/test/dummy/db/migrate/20130503104917_create_spina_spina_files.spina.rb +0 -10
- data/test/dummy/db/migrate/20130503105407_add_file_to_spina_page_parts.spina.rb +0 -6
- data/test/dummy/db/migrate/20130503110055_change_columns_spina_files.spina.rb +0 -7
- data/test/dummy/db/migrate/20130503110354_fix_namespaces.spina.rb +0 -13
- data/test/dummy/db/migrate/20130503135202_create_spina_galleries.spina.rb +0 -11
- data/test/dummy/db/migrate/20130504171717_add_seo_title_to_spina_pages.spina.rb +0 -6
- data/test/dummy/db/migrate/20130516132920_add_spam_to_spina_inquiries.spina.rb +0 -6
- data/test/dummy/db/migrate/20130524104253_add_page_partable_to_spina_page_parts.spina.rb +0 -131
- data/test/dummy/db/migrate/20130528195734_remove_deprecated_columns_from_spina_page_parts.spina.rb +0 -14
- data/test/dummy/db/migrate/20130715152615_switch_to_nested_sets_instead_of_position_pages.spina.rb +0 -11
- data/test/dummy/db/migrate/20130719120131_add_skip_to_first_child_and_templates_to_spina_pages.spina.rb +0 -8
- data/test/dummy/db/migrate/20130719121553_add_draft_to_spina_pages.spina.rb +0 -6
- data/test/dummy/db/migrate/20130719122158_add_link_url_to_spina_pages.spina.rb +0 -6
- data/test/dummy/db/migrate/20130719134709_rename_spina_file_to_attachments.spina.rb +0 -10
- data/test/dummy/db/migrate/20130725112244_add_ancestry_to_spina_pages.spina.rb +0 -11
- data/test/dummy/db/migrate/20130730185551_add_materialized_path_to_spina_pages.spina.rb +0 -6
- data/test/dummy/db/migrate/20130918133920_change_column_page_parts.spina.rb +0 -6
- data/test/dummy/db/migrate/20130919074011_create_spina_texts.spina.rb +0 -9
- data/test/dummy/db/migrate/20130919074023_create_spina_lines.spina.rb +0 -9
- data/test/dummy/db/migrate/20130919074838_remove_column_from_spina_page_parts.spina.rb +0 -5
- data/test/dummy/db/migrate/20131210122702_change_column_spina_texts.rb +0 -5
- data/test/dummy/db/migrate/20131212080016_add_required_stuff_to_spina_accounts.rb +0 -6
- data/test/dummy/db/migrate/20140225141812_create_layout_parts.rb +0 -12
- data/test/dummy/db/migrate/20140225151146_add_account_id_to_spina_layout_parts.rb +0 -5
- data/test/dummy/db/migrate/20140407095608_add_active_to_spina_pages.rb +0 -5
- data/test/dummy/db/migrate/20150402144912_create_structures.spina.rb +0 -28
- data/test/dummy/db/migrate/20150430085614_add_robots_allowed_to_spina_accounts.spina.rb +0 -6
- data/test/dummy/db/migrate/20150430085615_add_position_to_spina_photo_collections_photos.spina.rb +0 -6
- data/test/dummy/db/migrate/20150430085616_create_spina_colors.spina.rb +0 -9
@@ -1,16 +0,0 @@
|
|
1
|
-
# This migration comes from spina (originally 20130412140449)
|
2
|
-
class CreateSpinaPages < ActiveRecord::Migration
|
3
|
-
def change
|
4
|
-
create_table :spina_pages do |t|
|
5
|
-
t.string :title
|
6
|
-
t.string :menu_title
|
7
|
-
t.string :description
|
8
|
-
t.boolean :show_in_menu
|
9
|
-
t.string :position
|
10
|
-
t.string :slug
|
11
|
-
t.integer :deletable
|
12
|
-
|
13
|
-
t.timestamps
|
14
|
-
end
|
15
|
-
end
|
16
|
-
end
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# This migration comes from spina (originally 20130412140656)
|
2
|
-
class ChangeColumnsPages < ActiveRecord::Migration
|
3
|
-
def change
|
4
|
-
change_column :spina_pages, :show_in_menu, :boolean, default: true
|
5
|
-
change_column :spina_pages, :deletable, :boolean, default: true
|
6
|
-
end
|
7
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# This migration comes from spina (originally 20130412173041)
|
2
|
-
class CreateSpinaUsers < ActiveRecord::Migration
|
3
|
-
def change
|
4
|
-
create_table :spina_users do |t|
|
5
|
-
t.string :name
|
6
|
-
t.string :email
|
7
|
-
t.string :password_digest
|
8
|
-
t.boolean :admin
|
9
|
-
|
10
|
-
t.timestamps
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# This migration comes from spina (originally 20130412175403)
|
2
|
-
class CreateSpinaPageParts < ActiveRecord::Migration
|
3
|
-
def change
|
4
|
-
create_table :spina_page_parts do |t|
|
5
|
-
t.string :name
|
6
|
-
t.integer :position, default: 0
|
7
|
-
t.string :content_type
|
8
|
-
t.string :tag
|
9
|
-
|
10
|
-
t.timestamps
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# This migration comes from spina (originally 20130412180027)
|
2
|
-
class CreateSpinaPageIncludes < ActiveRecord::Migration
|
3
|
-
def change
|
4
|
-
create_table :spina_page_includes do |t|
|
5
|
-
t.text :content
|
6
|
-
t.integer :page_id
|
7
|
-
t.integer :page_part_id
|
8
|
-
t.integer :photo_id
|
9
|
-
|
10
|
-
t.timestamps
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# This migration comes from spina (originally 20130412191946)
|
2
|
-
class CreateSpinaAccounts < ActiveRecord::Migration
|
3
|
-
def change
|
4
|
-
create_table :spina_accounts do |t|
|
5
|
-
t.string :name
|
6
|
-
t.string :address
|
7
|
-
t.string :postal_code
|
8
|
-
t.string :city
|
9
|
-
t.string :phone
|
10
|
-
t.string :email
|
11
|
-
t.text :preferences
|
12
|
-
t.string :logo
|
13
|
-
|
14
|
-
t.timestamps
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# This migration comes from spina (originally 20130414145608)
|
2
|
-
class CreateSpinaInquiries < ActiveRecord::Migration
|
3
|
-
def change
|
4
|
-
create_table :spina_inquiries do |t|
|
5
|
-
t.string :name
|
6
|
-
t.string :email
|
7
|
-
t.string :phone
|
8
|
-
t.text :message
|
9
|
-
t.boolean :archived
|
10
|
-
|
11
|
-
t.timestamps
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
@@ -1,9 +0,0 @@
|
|
1
|
-
# This migration comes from spina (originally 20130425080630)
|
2
|
-
class ChangePageIncludes < ActiveRecord::Migration
|
3
|
-
def change
|
4
|
-
drop_table :spina_page_includes
|
5
|
-
add_column :spina_page_parts, :page_id, :integer
|
6
|
-
add_column :spina_page_parts, :photo_id, :integer
|
7
|
-
add_column :spina_page_parts, :content, :text
|
8
|
-
end
|
9
|
-
end
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# This migration comes from spina (originally 20130503110240)
|
2
|
-
class FixNamespaces < ActiveRecord::Migration
|
3
|
-
def change
|
4
|
-
drop_table :spina_spina_files
|
5
|
-
|
6
|
-
create_table :spina_files do |t|
|
7
|
-
t.string :file
|
8
|
-
t.integer :page_part_id
|
9
|
-
|
10
|
-
t.timestamps
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
@@ -1,131 +0,0 @@
|
|
1
|
-
class AddPagePartableToSpinaPageParts < ActiveRecord::Migration
|
2
|
-
|
3
|
-
module Spina
|
4
|
-
def self.table_name_prefix
|
5
|
-
'spina_'
|
6
|
-
end
|
7
|
-
|
8
|
-
class PagePart < ActiveRecord::Base
|
9
|
-
belongs_to :page
|
10
|
-
belongs_to :page_partable, polymorphic: true
|
11
|
-
|
12
|
-
belongs_to :photo
|
13
|
-
belongs_to :file
|
14
|
-
has_many :files
|
15
|
-
has_many :galleries
|
16
|
-
has_many :photos, through: :galleries
|
17
|
-
end
|
18
|
-
|
19
|
-
class Gallery < ActiveRecord::Base
|
20
|
-
belongs_to :photo
|
21
|
-
belongs_to :page_part
|
22
|
-
end
|
23
|
-
|
24
|
-
class Photo < ActiveRecord::Base
|
25
|
-
has_many :page_parts, through: :galleries
|
26
|
-
|
27
|
-
has_many :page_parts, as: :page_partable
|
28
|
-
has_and_belongs_to_many :photo_collections, join_table: 'spina_photo_collections_photos'
|
29
|
-
end
|
30
|
-
|
31
|
-
class PhotoCollection < ActiveRecord::Base
|
32
|
-
has_one :page_part, as: :page_partable
|
33
|
-
has_and_belongs_to_many :photos, join_table: 'spina_photo_collections_photos'
|
34
|
-
end
|
35
|
-
|
36
|
-
class File < ActiveRecord::Base
|
37
|
-
belongs_to :page_part
|
38
|
-
|
39
|
-
has_many :page_parts, as: :page_partable
|
40
|
-
has_and_belongs_to_many :file_collections, join_table: 'spina_file_collections_files'
|
41
|
-
end
|
42
|
-
|
43
|
-
class FileCollection < ActiveRecord::Base
|
44
|
-
has_one :page_part, as: :page_partable
|
45
|
-
has_and_belongs_to_many :files, join_table: 'spina_file_collections_files'
|
46
|
-
end
|
47
|
-
|
48
|
-
end
|
49
|
-
|
50
|
-
|
51
|
-
def up
|
52
|
-
change_table :spina_page_parts do |t|
|
53
|
-
t.references :page_partable, polymorphic: true
|
54
|
-
end
|
55
|
-
|
56
|
-
create_table :spina_photo_collections do |t|
|
57
|
-
t.timestamps
|
58
|
-
end
|
59
|
-
|
60
|
-
create_table :spina_photo_collections_photos do |t|
|
61
|
-
t.integer :photo_collection_id
|
62
|
-
t.integer :photo_id
|
63
|
-
end
|
64
|
-
|
65
|
-
create_table :spina_file_collections do |t|
|
66
|
-
t.timestamps
|
67
|
-
end
|
68
|
-
|
69
|
-
create_table :spina_file_collections_files do |t|
|
70
|
-
t.integer :file_collection_id
|
71
|
-
t.integer :file_id
|
72
|
-
end
|
73
|
-
|
74
|
-
Spina::PagePart.reset_column_information
|
75
|
-
Spina::PagePart.all.each do |part|
|
76
|
-
case part.content_type
|
77
|
-
when "photo"
|
78
|
-
part.update_attributes!({ page_partable_type: "Photo", page_partable_id: part.photo.id }, without_protection: true)
|
79
|
-
when "photos"
|
80
|
-
photo_collection = Spina::PhotoCollection.create
|
81
|
-
part.update_attributes!({ page_partable_type: "PhotoCollection", page_partable_id: photo_collection.id }, without_protection: true)
|
82
|
-
part.photos.each do |photo|
|
83
|
-
photo_collection.photos << photo
|
84
|
-
end
|
85
|
-
when "file"
|
86
|
-
# puts part.file.inspect
|
87
|
-
part.update_attributes!({ page_partable_type: "File", page_partable_id: nil }, without_protection: true)
|
88
|
-
when "files"
|
89
|
-
file_collection = Spina::FileCollection.create
|
90
|
-
part.update_attributes!({ page_partable_type: "FileCollection", page_partable_id: file_collection.id }, without_protection: true)
|
91
|
-
part.files.each do |file|
|
92
|
-
file_collection.files << file
|
93
|
-
end
|
94
|
-
when "text"
|
95
|
-
part.update_attributes!({ page_partable_type: "Text" }, without_protection: true)
|
96
|
-
when "line"
|
97
|
-
part.update_attributes!({ page_partable_type: "Line" }, without_protection: true)
|
98
|
-
end
|
99
|
-
end
|
100
|
-
|
101
|
-
drop_table :spina_galleries
|
102
|
-
remove_column :spina_page_parts, :content_type
|
103
|
-
remove_column :spina_page_parts, :photo_id
|
104
|
-
remove_column :spina_files, :page_part_id
|
105
|
-
|
106
|
-
end
|
107
|
-
|
108
|
-
def down
|
109
|
-
|
110
|
-
change_table :spina_page_parts do |t|
|
111
|
-
t.remove_references :page_partable, polymorphic: true
|
112
|
-
end
|
113
|
-
|
114
|
-
drop_table :spina_photo_collections
|
115
|
-
drop_table :spina_photo_collections_photos
|
116
|
-
drop_table :spina_file_collections
|
117
|
-
drop_table :spina_file_collections_files
|
118
|
-
|
119
|
-
create_table :spina_galleries do |t|
|
120
|
-
t.integer :photo_id
|
121
|
-
t.integer :page_part_id
|
122
|
-
|
123
|
-
t.timestamps
|
124
|
-
end
|
125
|
-
|
126
|
-
add_column :spina_page_parts, :content_type
|
127
|
-
add_column :spina_page_parts, :photo_id
|
128
|
-
add_column :spina_files, :page_part_id
|
129
|
-
end
|
130
|
-
|
131
|
-
end
|
data/test/dummy/db/migrate/20130528195734_remove_deprecated_columns_from_spina_page_parts.spina.rb
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
# This migration comes from spina (originally 20130527124130)
|
2
|
-
class RemoveDeprecatedColumnsFromSpinaPageParts < ActiveRecord::Migration
|
3
|
-
def up
|
4
|
-
remove_column :spina_page_parts, :file_id
|
5
|
-
remove_column :spina_page_parts, :file
|
6
|
-
remove_column :spina_page_parts, :position
|
7
|
-
end
|
8
|
-
|
9
|
-
def down
|
10
|
-
add_column :spina_page_parts, :file_id, :integer
|
11
|
-
add_column :spina_page_parts, :file, :string
|
12
|
-
add_column :spina_page_parts, :position, :integer
|
13
|
-
end
|
14
|
-
end
|