typus 3.1.0.rc18 → 3.1.0.rc19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. data/.gitignore +14 -11
  2. data/.travis.yml +12 -0
  3. data/CHANGELOG +253 -0
  4. data/Gemfile +69 -0
  5. data/Guardfile +11 -0
  6. data/README.md +14 -26
  7. data/Rakefile +24 -100
  8. data/app/assets/javascripts/typus/application.js +8 -2
  9. data/app/assets/javascripts/typus/custom.js +2 -0
  10. data/app/assets/javascripts/typus/jquery.application.js +14 -0
  11. data/app/assets/stylesheets/typus/application.css +18 -10
  12. data/app/assets/stylesheets/typus/content.css +0 -1
  13. data/app/assets/stylesheets/typus/custom.css +11 -0
  14. data/app/assets/stylesheets/typus/errors.css +1 -1
  15. data/app/assets/stylesheets/typus/forms.css +17 -5
  16. data/app/assets/stylesheets/typus/hacks.css +4 -0
  17. data/app/assets/stylesheets/typus/header.css +8 -2
  18. data/app/assets/stylesheets/typus/pagination.css +3 -3
  19. data/app/assets/stylesheets/typus/sidebar.css +4 -0
  20. data/app/assets/stylesheets/typus/tables.css +0 -1
  21. data/app/controllers/admin/account_controller.rb +1 -2
  22. data/app/controllers/admin/base_controller.rb +5 -2
  23. data/app/controllers/admin/dashboard_controller.rb +5 -0
  24. data/app/controllers/admin/resource_controller.rb +1 -2
  25. data/app/controllers/admin/resources_controller.rb +36 -51
  26. data/app/controllers/admin/session_controller.rb +2 -3
  27. data/app/helpers/admin/base_helper.rb +2 -5
  28. data/app/helpers/admin/resources/data_types/belongs_to_helper.rb +35 -27
  29. data/app/helpers/admin/resources/data_types/dragonfly_helper.rb +16 -3
  30. data/app/helpers/admin/resources/data_types/has_and_belongs_to_many_helper.rb +45 -13
  31. data/app/helpers/admin/resources/data_types/has_many_helper.rb +27 -19
  32. data/app/helpers/admin/resources/data_types/has_one_helper.rb +24 -11
  33. data/app/helpers/admin/resources/data_types/paperclip_helper.rb +1 -1
  34. data/app/helpers/admin/resources/data_types/string_helper.rb +1 -1
  35. data/app/helpers/admin/resources/data_types/text_helper.rb +1 -1
  36. data/app/helpers/admin/resources/data_types/transversal_helper.rb +1 -1
  37. data/app/helpers/admin/resources/data_types/tree_helper.rb +1 -1
  38. data/app/helpers/admin/resources/display_helper.rb +10 -9
  39. data/app/helpers/admin/resources/filters_helper.rb +3 -10
  40. data/app/helpers/admin/resources/form_helper.rb +12 -2
  41. data/app/helpers/admin/resources/list_helper.rb +13 -5
  42. data/app/helpers/admin/resources/relationships_helper.rb +0 -21
  43. data/app/helpers/admin/resources_helper.rb +3 -3
  44. data/app/mailers/admin/mailer.rb +9 -4
  45. data/app/views/admin/base/user_guide.html.erb +1 -1
  46. data/app/views/admin/dashboard/{show.html.erb → index.html.erb} +0 -0
  47. data/app/views/admin/dashboard/widgets/_applications.html.erb +32 -10
  48. data/app/views/admin/mailer/reset_password_instructions.html.erb +9 -0
  49. data/app/views/admin/mailer/reset_password_instructions.text.erb +9 -0
  50. data/app/views/admin/resources/edit.html.erb +3 -13
  51. data/app/views/admin/resources/index.html.erb +11 -4
  52. data/app/views/admin/resources/new.html.erb +2 -2
  53. data/app/views/admin/resources/show.html.erb +1 -1
  54. data/app/views/admin/shared/_head.html.erb +2 -2
  55. data/app/views/admin/templates/_belongs_to.html.erb +6 -9
  56. data/app/views/admin/templates/_dragonfly.html.erb +1 -1
  57. data/app/views/admin/templates/_dragonfly_form_preview.html.erb +21 -0
  58. data/app/views/admin/templates/_dragonfly_preview.html.erb +1 -1
  59. data/app/views/admin/templates/_has_and_belongs_to_many.html.erb +15 -0
  60. data/app/views/admin/templates/{_has_n.html.erb → _has_many.html.erb} +0 -0
  61. data/app/views/admin/templates/_password.html.erb +1 -1
  62. data/app/views/admin/templates/_selector.html.erb +1 -11
  63. data/app/views/admin/templates/_string.html.erb +2 -20
  64. data/app/views/admin/templates/_string_with_preview.html.erb +2 -3
  65. data/app/views/admin/templates/_text.html.erb +1 -8
  66. data/app/views/admin/templates/_text_with_ckeditor.html.erb +1 -1
  67. data/app/views/admin/templates/_text_with_ckeditor_and_assets.html.erb +12 -9
  68. data/app/views/helpers/admin/base/_apps.html.erb +12 -4
  69. data/app/views/helpers/admin/base/_login_info.html.erb +1 -1
  70. data/app/views/helpers/admin/resources/_filters.html.erb +2 -1
  71. data/app/views/helpers/admin/resources/_sidebar.html.erb +25 -41
  72. data/app/views/layouts/admin/base.html.erb +1 -1
  73. data/config/locales/typus.ca.yml +1 -1
  74. data/config/locales/typus.de.yml +40 -35
  75. data/config/locales/typus.el.yml +1 -1
  76. data/config/locales/typus.es.yml +1 -1
  77. data/config/locales/typus.fr.yml +1 -1
  78. data/config/locales/typus.hu.yml +1 -1
  79. data/config/locales/typus.it.yml +1 -1
  80. data/config/locales/typus.locale.models.yml.template +17 -0
  81. data/config/locales/typus.locale.yml.template +80 -0
  82. data/config/locales/typus.pt-BR.yml +1 -1
  83. data/config/locales/typus.pt-PT.yml +2 -2
  84. data/config/locales/typus.ru.yml +1 -1
  85. data/config/locales/typus.zh-CN.yml +1 -1
  86. data/config/routes.rb +5 -1
  87. data/lib/generators/templates/config/initializers/typus.rb +9 -0
  88. data/lib/generators/templates/config/typus/README +0 -6
  89. data/lib/support/active_record.rb +2 -10
  90. data/lib/support/string.rb +6 -1
  91. data/lib/typus.rb +49 -10
  92. data/lib/typus/authentication/base.rb +0 -4
  93. data/lib/typus/authentication/none_with_role.rb +15 -0
  94. data/lib/typus/configuration.rb +3 -7
  95. data/lib/typus/controller/ancestry.rb +1 -1
  96. data/lib/typus/controller/bulk.rb +6 -2
  97. data/lib/typus/controller/format.rb +38 -25
  98. data/lib/typus/orm/active_record/class_methods.rb +0 -1
  99. data/lib/typus/orm/active_record/search.rb +6 -2
  100. data/lib/typus/orm/base.rb +4 -3
  101. data/lib/typus/orm/mongoid.rb +4 -0
  102. data/lib/typus/orm/{mongo → mongoid}/class_methods.rb +4 -3
  103. data/lib/typus/resources.rb +9 -0
  104. data/lib/typus/version.rb +1 -1
  105. data/typus.gemspec +13 -13
  106. data/vendor/assets/chosen/chosen-sprite.png +0 -0
  107. data/vendor/assets/chosen/chosen.css +334 -0
  108. data/vendor/assets/chosen/chosen.jquery.min.js +10 -0
  109. data/vendor/assets/fancybox/jquery.fancybox-1.3.4.css +17 -17
  110. metadata +57 -131
  111. data/.gitmodules +0 -6
  112. data/app/assets/javascripts/typus.js +0 -8
  113. data/app/assets/stylesheets/typus.css +0 -20
  114. data/app/assets/stylesheets/typus/actions.css +0 -11
  115. data/app/views/admin/mailer/reset_password_link.text.erb +0 -9
  116. data/app/views/admin/templates/_belongs_to_with_autocomplete.html.erb +0 -26
  117. data/lib/typus/controller/associations.rb +0 -146
  118. data/lib/typus/controller/autocomplete.rb +0 -16
  119. data/vendor/assets/fancybox/jquery.easing-1.3.pack.js +0 -72
  120. data/vendor/assets/fancybox/jquery.fancybox-1.3.4.js +0 -1156
  121. data/vendor/assets/fancybox/jquery.mousewheel-3.0.4.pack.js +0 -14
  122. data/vendor/assets/formalize/css/_formalize.sass +0 -332
  123. data/vendor/assets/formalize/css/demo.css +0 -47
  124. data/vendor/assets/formalize/css/reset.css +0 -202
  125. data/vendor/assets/formalize/css/text.css +0 -81
  126. data/vendor/assets/formalize/js/dojo.formalize.js +0 -166
  127. data/vendor/assets/formalize/js/dojo.formalize.min.js +0 -1
  128. data/vendor/assets/formalize/js/extjs.formalize.js +0 -163
  129. data/vendor/assets/formalize/js/extjs.formalize.min.js +0 -1
  130. data/vendor/assets/formalize/js/jquery.formalize.js +0 -150
  131. data/vendor/assets/formalize/js/mootools.formalize.js +0 -155
  132. data/vendor/assets/formalize/js/mootools.formalize.min.js +0 -1
  133. data/vendor/assets/formalize/js/prototype.formalize.js +0 -163
  134. data/vendor/assets/formalize/js/prototype.formalize.min.js +0 -1
  135. data/vendor/assets/formalize/js/yui.formalize.js +0 -152
  136. data/vendor/assets/formalize/js/yui.formalize.min.js +0 -1
  137. data/vendor/assets/jquery-tokeninput/jquery.tokeninput.js +0 -736
  138. data/vendor/assets/jquery-tokeninput/token-input.css +0 -120
@@ -0,0 +1,10 @@
1
+ // Chosen, a Select Box Enhancer for jQuery and Protoype
2
+ // by Patrick Filler for Harvest, http://getharvest.com
3
+ //
4
+ // Version 0.9.1
5
+ // Full source at https://github.com/harvesthq/chosen
6
+ // Copyright (c) 2011 Harvest http://getharvest.com
7
+
8
+ // MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
9
+ // This file is generated by `cake build`, do not edit it by hand.
10
+ (function(){var a,b,c,d,e=function(a,b){return function(){return a.apply(b,arguments)}};d=this,a=jQuery,a.fn.extend({chosen:function(c,d){return a.browser!=="msie"||a.browser.version!=="6.0"&&a.browser.version!=="7.0"?a(this).each(function(e){if(!a(this).hasClass("chzn-done"))return new b(this,c,d)}):this}}),b=function(){function b(b){this.set_default_values(),this.form_field=b,this.form_field_jq=a(this.form_field),this.is_multiple=this.form_field.multiple,this.is_rtl=this.form_field_jq.hasClass("chzn-rtl"),this.default_text_default=this.form_field.multiple?"Select Some Options":"Select an Option",this.set_up_html(),this.register_observers(),this.form_field_jq.addClass("chzn-done")}b.prototype.set_default_values=function(){this.click_test_action=e(function(a){return this.test_active_click(a)},this),this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.result_single_selected=null;return this.choices=0},b.prototype.set_up_html=function(){var b,d,e,f;this.container_id=this.form_field.id.length?this.form_field.id.replace(/(:|\.)/g,"_"):this.generate_field_id(),this.container_id+="_chzn",this.f_width=this.form_field_jq.width(),this.default_text=this.form_field_jq.data("placeholder")?this.form_field_jq.data("placeholder"):this.default_text_default,b=a("<div />",{id:this.container_id,"class":"chzn-container "+(this.is_rtl?"chzn-rtl":""),style:"width: "+this.f_width+"px;"}),this.is_multiple?b.html('<ul class="chzn-choices"><li class="search-field"><input type="text" value="'+this.default_text+'" class="default" autocomplete="off" style="width:25px;" /></li></ul><div class="chzn-drop" style="left:-9000px;"><ul class="chzn-results"></ul></div>'):b.html('<a href="javascript:void(0)" class="chzn-single"><span>'+this.default_text+'</span><div><b></b></div></a><div class="chzn-drop" style="left:-9000px;"><div class="chzn-search"><input type="text" autocomplete="off" /></div><ul class="chzn-results"></ul></div>'),this.form_field_jq.hide().after(b),this.container=a("#"+this.container_id),this.container.addClass("chzn-container-"+(this.is_multiple?"multi":"single")),this.dropdown=this.container.find("div.chzn-drop").first(),d=this.container.height(),e=this.f_width-c(this.dropdown),this.dropdown.css({width:e+"px",top:d+"px"}),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chzn-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chzn-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chzn-search").first(),this.selected_item=this.container.find(".chzn-single").first(),f=e-c(this.search_container)-c(this.search_field),this.search_field.css({width:f+"px"})),this.results_build();return this.set_tab_index()},b.prototype.register_observers=function(){this.container.mousedown(e(function(a){return this.container_mousedown(a)},this)),this.container.mouseenter(e(function(a){return this.mouse_enter(a)},this)),this.container.mouseleave(e(function(a){return this.mouse_leave(a)},this)),this.search_results.mouseup(e(function(a){return this.search_results_mouseup(a)},this)),this.search_results.mouseover(e(function(a){return this.search_results_mouseover(a)},this)),this.search_results.mouseout(e(function(a){return this.search_results_mouseout(a)},this)),this.form_field_jq.bind("liszt:updated",e(function(a){return this.results_update_field(a)},this)),this.search_field.blur(e(function(a){return this.input_blur(a)},this)),this.search_field.keyup(e(function(a){return this.keyup_checker(a)},this)),this.search_field.keydown(e(function(a){return this.keydown_checker(a)},this));if(this.is_multiple){this.search_choices.click(e(function(a){return this.choices_click(a)},this));return this.search_field.focus(e(function(a){return this.input_focus(a)},this))}return this.selected_item.focus(e(function(a){return this.activate_field(a)},this))},b.prototype.container_mousedown=function(b){b&&b.type==="mousedown"&&b.stopPropagation();if(!this.pending_destroy_click){this.active_field?!this.is_multiple&&b&&(a(b.target)===this.selected_item||a(b.target).parents("a.chzn-single").length)&&(b.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),a(document).click(this.click_test_action),this.results_show());return this.activate_field()}return this.pending_destroy_click=!1},b.prototype.mouse_enter=function(){return this.mouse_on_container=!0},b.prototype.mouse_leave=function(){return this.mouse_on_container=!1},b.prototype.input_focus=function(a){if(!this.active_field)return setTimeout(e(function(){return this.container_mousedown()},this),50)},b.prototype.input_blur=function(a){if(!this.mouse_on_container){this.active_field=!1;return setTimeout(e(function(){return this.blur_test()},this),100)}},b.prototype.blur_test=function(a){if(!this.active_field&&this.container.hasClass("chzn-container-active"))return this.close_field()},b.prototype.close_field=function(){a(document).unbind("click",this.click_test_action),this.is_multiple||(this.selected_item.attr("tabindex",this.search_field.attr("tabindex")),this.search_field.attr("tabindex",-1)),this.active_field=!1,this.results_hide(),this.container.removeClass("chzn-container-active"),this.winnow_results_clear(),this.clear_backstroke(),this.show_search_field_default();return this.search_field_scale()},b.prototype.activate_field=function(){!this.is_multiple&&!this.active_field&&(this.search_field.attr("tabindex",this.selected_item.attr("tabindex")),this.selected_item.attr("tabindex",-1)),this.container.addClass("chzn-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val());return this.search_field.focus()},b.prototype.test_active_click=function(b){return a(b.target).parents("#"+this.container_id).length?this.active_field=!0:this.close_field()},b.prototype.results_build=function(){var a,b,c,e,f,g;c=new Date,this.parsing=!0,this.results_data=d.SelectParser.select_to_array(this.form_field),this.is_multiple&&this.choices>0?(this.search_choices.find("li.search-choice").remove(),this.choices=0):this.is_multiple||this.selected_item.find("span").text(this.default_text),a="",g=this.results_data;for(e=0,f=g.length;e<f;e++)b=g[e],b.group?a+=this.result_add_group(b):b.empty||(a+=this.result_add_option(b),b.selected&&this.is_multiple?this.choice_build(b):b.selected&&!this.is_multiple&&this.selected_item.find("span").text(b.text));this.show_search_field_default(),this.search_field_scale(),this.search_results.html(a);return this.parsing=!1},b.prototype.result_add_group=function(b){if(!b.disabled){b.dom_id=this.container_id+"_g_"+b.array_index;return'<li id="'+b.dom_id+'" class="group-result">'+a("<div />").text(b.label).html()+"</li>"}return""},b.prototype.result_add_option=function(a){var b;if(!a.disabled){a.dom_id=this.container_id+"_o_"+a.array_index,b=a.selected&&this.is_multiple?[]:["active-result"],a.selected&&b.push("result-selected"),a.group_array_index!=null&&b.push("group-option");return'<li id="'+a.dom_id+'" class="'+b.join(" ")+'">'+a.html+"</li>"}return""},b.prototype.results_update_field=function(){this.result_clear_highlight(),this.result_single_selected=null;return this.results_build()},b.prototype.result_do_highlight=function(a){var b,c,d,e,f;if(a.length){this.result_clear_highlight(),this.result_highlight=a,this.result_highlight.addClass("highlighted"),d=parseInt(this.search_results.css("maxHeight"),10),f=this.search_results.scrollTop(),e=d+f,c=this.result_highlight.position().top+this.search_results.scrollTop(),b=c+this.result_highlight.outerHeight();if(b>=e)return this.search_results.scrollTop(b-d>0?b-d:0);if(c<f)return this.search_results.scrollTop(c)}},b.prototype.result_clear_highlight=function(){this.result_highlight&&this.result_highlight.removeClass("highlighted");return this.result_highlight=null},b.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show()},b.prototype.results_show=function(){var a;this.is_multiple||(this.selected_item.addClass("chzn-single-with-drop"),this.result_single_selected&&this.result_do_highlight(this.result_single_selected)),a=this.is_multiple?this.container.height():this.container.height()-1,this.dropdown.css({top:a+"px",left:0}),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.search_field.val());return this.winnow_results()},b.prototype.results_hide=function(){this.is_multiple||this.selected_item.removeClass("chzn-single-with-drop"),this.result_clear_highlight(),this.dropdown.css({left:"-9000px"});return this.results_showing=!1},b.prototype.set_tab_index=function(a){var b;if(this.form_field_jq.attr("tabindex")){b=this.form_field_jq.attr("tabindex"),this.form_field_jq.attr("tabindex",-1);if(this.is_multiple)return this.search_field.attr("tabindex",b);this.selected_item.attr("tabindex",b);return this.search_field.attr("tabindex",-1)}},b.prototype.show_search_field_default=function(){if(this.is_multiple&&this.choices<1&&!this.active_field){this.search_field.val(this.default_text);return this.search_field.addClass("default")}this.search_field.val("");return this.search_field.removeClass("default")},b.prototype.search_results_mouseup=function(b){var c;c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first();if(c.length){this.result_highlight=c;return this.result_select(b)}},b.prototype.search_results_mouseover=function(b){var c;c=a(b.target).hasClass("active-result")?a(b.target):a(b.target).parents(".active-result").first();if(c)return this.result_do_highlight(c)},b.prototype.search_results_mouseout=function(b){if(a(b.target).hasClass("active-result"))return this.result_clear_highlight()},b.prototype.choices_click=function(b){b.preventDefault();if(this.active_field&&!a(b.target).hasClass("search-choice")&&!this.results_showing)return this.results_show()},b.prototype.choice_build=function(b){var c,d;c=this.container_id+"_c_"+b.array_index,this.choices+=1,this.search_container.before('<li class="search-choice" id="'+c+'"><span>'+b.html+'</span><a href="javascript:void(0)" class="search-choice-close" rel="'+b.array_index+'"></a></li>'),d=a("#"+c).find("a").first();return d.click(e(function(a){return this.choice_destroy_link_click(a)},this))},b.prototype.choice_destroy_link_click=function(b){b.preventDefault(),this.pending_destroy_click=!0;return this.choice_destroy(a(b.target))},b.prototype.choice_destroy=function(a){this.choices-=1,this.show_search_field_default(),this.is_multiple&&this.choices>0&&this.search_field.val().length<1&&this.results_hide(),this.result_deselect(a.attr("rel"));return a.parents("li").first().remove()},b.prototype.result_select=function(a){var b,c,d,e;if(this.result_highlight){b=this.result_highlight,c=b.attr("id"),this.result_clear_highlight(),b.addClass("result-selected"),this.is_multiple?this.result_deactivate(b):this.result_single_selected=b,e=c.substr(c.lastIndexOf("_")+1),d=this.results_data[e],d.selected=!0,this.form_field.options[d.options_index].selected=!0,this.is_multiple?this.choice_build(d):this.selected_item.find("span").first().text(d.text),(!a.metaKey||!this.is_multiple)&&this.results_hide(),this.search_field.val(""),this.form_field_jq.trigger("change");return this.search_field_scale()}},b.prototype.result_activate=function(a){return a.addClass("active-result").show()},b.prototype.result_deactivate=function(a){return a.removeClass("active-result").hide()},b.prototype.result_deselect=function(b){var c,d;d=this.results_data[b],d.selected=!1,this.form_field.options[d.options_index].selected=!1,c=a("#"+this.container_id+"_o_"+b),c.removeClass("result-selected").addClass("active-result").show(),this.result_clear_highlight(),this.winnow_results(),this.form_field_jq.trigger("change");return this.search_field_scale()},b.prototype.results_search=function(a){return this.results_showing?this.winnow_results():this.results_show()},b.prototype.winnow_results=function(){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;j=new Date,this.no_results_clear(),h=0,i=this.search_field.val()===this.default_text?"":a("<div/>").text(a.trim(this.search_field.val())).html(),f=new RegExp("^"+i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),m=new RegExp(i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"i"),r=this.results_data;for(n=0,p=r.length;n<p;n++){c=r[n];if(!c.disabled&&!c.empty)if(c.group)a("#"+c.dom_id).hide();else if(!this.is_multiple||!c.selected){b=!1,g=c.dom_id;if(f.test(c.html))b=!0,h+=1;else if(c.html.indexOf(" ")>=0||c.html.indexOf("[")===0){e=c.html.replace(/\[|\]/g,"").split(" ");if(e.length)for(o=0,q=e.length;o<q;o++)d=e[o],f.test(d)&&(b=!0,h+=1)}b?(i.length?(k=c.html.search(m),l=c.html.substr(0,k+i.length)+"</em>"+c.html.substr(k+i.length),l=l.substr(0,k)+"<em>"+l.substr(k)):l=c.html,a("#"+g).html!==l&&a("#"+g).html(l),this.result_activate(a("#"+g)),c.group_array_index!=null&&a("#"+this.results_data[c.group_array_index].dom_id).show()):(this.result_highlight&&g===this.result_highlight.attr("id")&&this.result_clear_highlight(),this.result_deactivate(a("#"+g)))}}return h<1&&i.length?this.no_results(i):this.winnow_results_set_highlight()},b.prototype.winnow_results_clear=function(){var b,c,d,e,f;this.search_field.val(""),c=this.search_results.find("li"),f=[];for(d=0,e=c.length;d<e;d++)b=c[d],b=a(b),f.push(b.hasClass("group-result")?b.show():!this.is_multiple||!b.hasClass("result-selected")?this.result_activate(b):void 0);return f},b.prototype.winnow_results_set_highlight=function(){var a,b;if(!this.result_highlight){b=this.is_multiple?[]:this.search_results.find(".result-selected"),a=b.length?b.first():this.search_results.find(".active-result").first();if(a!=null)return this.result_do_highlight(a)}},b.prototype.no_results=function(b){var c;c=a('<li class="no-results">No results match "<span></span>"</li>'),c.find("span").first().html(b);return this.search_results.append(c)},b.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},b.prototype.keydown_arrow=function(){var b,c;this.result_highlight?this.results_showing&&(c=this.result_highlight.nextAll("li.active-result").first(),c&&this.result_do_highlight(c)):(b=this.search_results.find("li.active-result").first(),b&&this.result_do_highlight(a(b)));if(!this.results_showing)return this.results_show()},b.prototype.keyup_arrow=function(){var a;if(!this.results_showing&&!this.is_multiple)return this.results_show();if(this.result_highlight){a=this.result_highlight.prevAll("li.active-result");if(a.length)return this.result_do_highlight(a.first());this.choices>0&&this.results_hide();return this.result_clear_highlight()}},b.prototype.keydown_backstroke=function(){if(this.pending_backstroke){this.choice_destroy(this.pending_backstroke.find("a").first());return this.clear_backstroke()}this.pending_backstroke=this.search_container.siblings("li.search-choice").last();return this.pending_backstroke.addClass("search-choice-focus")},b.prototype.clear_backstroke=function(){this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus");return this.pending_backstroke=null},b.prototype.keyup_checker=function(a){var b,c;b=(c=a.which)!=null?c:a.keyCode,this.search_field_scale();switch(b){case 8:if(this.is_multiple&&this.backstroke_length<1&&this.choices>0)return this.keydown_backstroke();if(!this.pending_backstroke){this.result_clear_highlight();return this.results_search()}break;case 13:a.preventDefault();if(this.results_showing)return this.result_select(a);break;case 27:if(this.results_showing)return this.results_hide();break;case 9:case 38:case 40:case 16:case 91:case 17:break;default:return this.results_search()}},b.prototype.keydown_checker=function(a){var b,c;b=(c=a.which)!=null?c:a.keyCode,this.search_field_scale(),b!==8&&this.pending_backstroke&&this.clear_backstroke();switch(b){case 8:this.backstroke_length=this.search_field.val().length;break;case 9:this.mouse_on_container=!1;break;case 13:a.preventDefault();break;case 38:a.preventDefault(),this.keyup_arrow();break;case 40:this.keydown_arrow()}},b.prototype.search_field_scale=function(){var b,c,d,e,f,g,h,i,j;if(this.is_multiple){d=0,h=0,f="position:absolute; left: -1000px; top: -1000px; display:none;",g=["font-size","font-style","font-weight","font-family","line-height","text-transform","letter-spacing"];for(i=0,j=g.length;i<j;i++)e=g[i],f+=e+":"+this.search_field.css(e)+";";c=a("<div />",{style:f}),c.text(this.search_field.val()),a("body").append(c),h=c.width()+25,c.remove(),h>this.f_width-10&&(h=this.f_width-10),this.search_field.css({width:h+"px"}),b=this.container.height();return this.dropdown.css({top:b+"px"})}},b.prototype.generate_field_id=function(){var a;a=this.generate_random_id(),this.form_field.id=a;return a},b.prototype.generate_random_id=function(){var b;b="sel"+this.generate_random_char()+this.generate_random_char()+this.generate_random_char();while(a("#"+b).length>0)b+=this.generate_random_char();return b},b.prototype.generate_random_char=function(){var a,b,c;a="0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZ",c=Math.floor(Math.random()*a.length);return b=a.substring(c,c+1)};return b}(),c=function(a){var b;return b=a.outerWidth()-a.width()},d.get_side_border_padding=c}).call(this),function(){var a;a=function(){function a(){this.options_index=0,this.parsed=[]}a.prototype.add_node=function(a){return a.nodeName==="OPTGROUP"?this.add_group(a):this.add_option(a)},a.prototype.add_group=function(a){var b,c,d,e,f,g;b=this.parsed.length,this.parsed.push({array_index:b,group:!0,label:a.label,children:0,disabled:a.disabled}),f=a.childNodes,g=[];for(d=0,e=f.length;d<e;d++)c=f[d],g.push(this.add_option(c,b,a.disabled));return g},a.prototype.add_option=function(a,b,c){if(a.nodeName==="OPTION"){a.text!==""?(b!=null&&(this.parsed[b].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:a.value,text:a.text,html:a.innerHTML,selected:a.selected,disabled:c===!0?c:a.disabled,group_array_index:b})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0});return this.options_index+=1}};return a}(),a.select_to_array=function(b){var c,d,e,f,g;d=new a,g=b.childNodes;for(e=0,f=g.length;e<f;e++)c=g[e],d.add_node(c);return d.parsed},this.SelectParser=a}.call(this)
@@ -35,7 +35,7 @@
35
35
  left: 0;
36
36
  width: 40px;
37
37
  height: 480px;
38
- background-image: url('fancybox.png');
38
+ background-image: url('../fancybox.png');
39
39
  }
40
40
 
41
41
  #fancybox-overlay {
@@ -99,7 +99,7 @@
99
99
  right: -15px;
100
100
  width: 30px;
101
101
  height: 30px;
102
- background: transparent url('fancybox.png') -40px 0px;
102
+ background: transparent url('../fancybox.png') -40px 0px;
103
103
  cursor: pointer;
104
104
  z-index: 1103;
105
105
  display: none;
@@ -137,7 +137,7 @@
137
137
  width: 35%;
138
138
  cursor: pointer;
139
139
  outline: none;
140
- background: transparent url('blank.gif');
140
+ background: transparent url('../blank.gif');
141
141
  z-index: 1102;
142
142
  display: none;
143
143
  }
@@ -163,12 +163,12 @@
163
163
  }
164
164
 
165
165
  #fancybox-left-ico {
166
- background-image: url('fancybox.png');
166
+ background-image: url('../fancybox.png');
167
167
  background-position: -40px -30px;
168
168
  }
169
169
 
170
170
  #fancybox-right-ico {
171
- background-image: url('fancybox.png');
171
+ background-image: url('../fancybox.png');
172
172
  background-position: -40px -60px;
173
173
  }
174
174
 
@@ -199,13 +199,13 @@
199
199
  top: -20px;
200
200
  left: 0;
201
201
  width: 100%;
202
- background-image: url('fancybox-x.png');
202
+ background-image: url('../fancybox-x.png');
203
203
  }
204
204
 
205
205
  #fancybox-bg-ne {
206
206
  top: -20px;
207
207
  right: -20px;
208
- background-image: url('fancybox.png');
208
+ background-image: url('../fancybox.png');
209
209
  background-position: -40px -162px;
210
210
  }
211
211
 
@@ -213,14 +213,14 @@
213
213
  top: 0;
214
214
  right: -20px;
215
215
  height: 100%;
216
- background-image: url('fancybox-y.png');
216
+ background-image: url('../fancybox-y.png');
217
217
  background-position: -20px 0px;
218
218
  }
219
219
 
220
220
  #fancybox-bg-se {
221
221
  bottom: -20px;
222
222
  right: -20px;
223
- background-image: url('fancybox.png');
223
+ background-image: url('../fancybox.png');
224
224
  background-position: -40px -182px;
225
225
  }
226
226
 
@@ -228,14 +228,14 @@
228
228
  bottom: -20px;
229
229
  left: 0;
230
230
  width: 100%;
231
- background-image: url('fancybox-x.png');
231
+ background-image: url('../fancybox-x.png');
232
232
  background-position: 0px -20px;
233
233
  }
234
234
 
235
235
  #fancybox-bg-sw {
236
236
  bottom: -20px;
237
237
  left: -20px;
238
- background-image: url('fancybox.png');
238
+ background-image: url('../fancybox.png');
239
239
  background-position: -40px -142px;
240
240
  }
241
241
 
@@ -243,13 +243,13 @@
243
243
  top: 0;
244
244
  left: -20px;
245
245
  height: 100%;
246
- background-image: url('fancybox-y.png');
246
+ background-image: url('../fancybox-y.png');
247
247
  }
248
248
 
249
249
  #fancybox-bg-nw {
250
250
  top: -20px;
251
251
  left: -20px;
252
- background-image: url('fancybox.png');
252
+ background-image: url('../fancybox.png');
253
253
  background-position: -40px -122px;
254
254
  }
255
255
 
@@ -282,7 +282,7 @@
282
282
 
283
283
  #fancybox-title-over {
284
284
  padding: 10px;
285
- background-image: url('fancy_title_over.png');
285
+ background-image: url('../fancy_title_over.png');
286
286
  display: block;
287
287
  }
288
288
 
@@ -306,7 +306,7 @@
306
306
 
307
307
  #fancybox-title-float-left {
308
308
  padding: 0 0 0 15px;
309
- background: url('fancybox.png') -40px -90px no-repeat;
309
+ background: url('../fancybox.png') -40px -90px no-repeat;
310
310
  }
311
311
 
312
312
  #fancybox-title-float-main {
@@ -314,12 +314,12 @@
314
314
  line-height: 29px;
315
315
  font-weight: bold;
316
316
  padding: 0 0 3px 0;
317
- background: url('fancybox-x.png') 0px -40px;
317
+ background: url('../fancybox-x.png') 0px -40px;
318
318
  }
319
319
 
320
320
  #fancybox-title-float-right {
321
321
  padding: 0 0 0 15px;
322
- background: url('fancybox.png') -55px -90px no-repeat;
322
+ background: url('../fancybox.png') -55px -90px no-repeat;
323
323
  }
324
324
 
325
325
  /* IE6 */
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: typus
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.rc18
4
+ version: 3.1.0.rc19
5
5
  prerelease: 6
6
6
  platform: ruby
7
7
  authors:
@@ -9,66 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-12 00:00:00.000000000Z
12
+ date: 2011-08-31 00:00:00.000000000Z
13
13
  dependencies:
14
- - !ruby/object:Gem::Dependency
15
- name: dragonfly
16
- requirement: &70096177538180 !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ~>
20
- - !ruby/object:Gem::Version
21
- version: '0.9'
22
- type: :development
23
- prerelease: false
24
- version_requirements: *70096177538180
25
14
  - !ruby/object:Gem::Dependency
26
15
  name: jquery-rails
27
- requirement: &70096175063500 !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
30
- - - ! '>='
31
- - !ruby/object:Gem::Version
32
- version: '0'
33
- type: :development
34
- prerelease: false
35
- version_requirements: *70096175063500
36
- - !ruby/object:Gem::Dependency
37
- name: paperclip
38
- requirement: &70096175063040 !ruby/object:Gem::Requirement
39
- none: false
40
- requirements:
41
- - - ! '>='
42
- - !ruby/object:Gem::Version
43
- version: '0'
44
- type: :development
45
- prerelease: false
46
- version_requirements: *70096175063040
47
- - !ruby/object:Gem::Dependency
48
- name: rack-cache
49
- requirement: &70096175062620 !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- type: :development
56
- prerelease: false
57
- version_requirements: *70096175062620
58
- - !ruby/object:Gem::Dependency
59
- name: rails-trash
60
- requirement: &70096175062120 !ruby/object:Gem::Requirement
61
- none: false
62
- requirements:
63
- - - ~>
64
- - !ruby/object:Gem::Version
65
- version: 1.1.1
66
- type: :development
67
- prerelease: false
68
- version_requirements: *70096175062120
69
- - !ruby/object:Gem::Dependency
70
- name: jquery-rails
71
- requirement: &70096175061700 !ruby/object:Gem::Requirement
16
+ requirement: &70366422637200 !ruby/object:Gem::Requirement
72
17
  none: false
73
18
  requirements:
74
19
  - - ! '>='
@@ -76,10 +21,10 @@ dependencies:
76
21
  version: '0'
77
22
  type: :runtime
78
23
  prerelease: false
79
- version_requirements: *70096175061700
24
+ version_requirements: *70366422637200
80
25
  - !ruby/object:Gem::Dependency
81
26
  name: kaminari
82
- requirement: &70096175061240 !ruby/object:Gem::Requirement
27
+ requirement: &70366422636760 !ruby/object:Gem::Requirement
83
28
  none: false
84
29
  requirements:
85
30
  - - ! '>='
@@ -87,50 +32,41 @@ dependencies:
87
32
  version: '0'
88
33
  type: :runtime
89
34
  prerelease: false
90
- version_requirements: *70096175061240
91
- - !ruby/object:Gem::Dependency
92
- name: sass-rails
93
- requirement: &70096175060740 !ruby/object:Gem::Requirement
94
- none: false
95
- requirements:
96
- - - ~>
97
- - !ruby/object:Gem::Version
98
- version: 3.1.0.rc.2
99
- type: :runtime
100
- prerelease: false
101
- version_requirements: *70096175060740
35
+ version_requirements: *70366422636760
102
36
  - !ruby/object:Gem::Dependency
103
37
  name: rails
104
- requirement: &70096175060240 !ruby/object:Gem::Requirement
38
+ requirement: &70366422636260 !ruby/object:Gem::Requirement
105
39
  none: false
106
40
  requirements:
107
41
  - - ~>
108
42
  - !ruby/object:Gem::Version
109
- version: 3.1.0.rc4
43
+ version: 3.1.0
110
44
  type: :runtime
111
45
  prerelease: false
112
- version_requirements: *70096175060240
46
+ version_requirements: *70366422636260
113
47
  description: Ruby on Rails Admin Panel (Engine) to allow trusted users edit structured
114
48
  content.
115
49
  email:
116
- - core@typuscms.com
50
+ - core@typuscmf.com
117
51
  executables: []
118
52
  extensions: []
119
53
  extra_rdoc_files: []
120
54
  files:
121
55
  - .gitignore
122
- - .gitmodules
56
+ - .travis.yml
57
+ - CHANGELOG
58
+ - Gemfile
59
+ - Guardfile
123
60
  - MIT-LICENSE
124
61
  - README.md
125
62
  - Rakefile
126
- - app/assets/javascripts/typus.js
127
63
  - app/assets/javascripts/typus/application.js
64
+ - app/assets/javascripts/typus/custom.js
128
65
  - app/assets/javascripts/typus/jquery.application.js
129
- - app/assets/stylesheets/typus.css
130
66
  - app/assets/stylesheets/typus/account.css
131
- - app/assets/stylesheets/typus/actions.css
132
67
  - app/assets/stylesheets/typus/application.css
133
68
  - app/assets/stylesheets/typus/content.css
69
+ - app/assets/stylesheets/typus/custom.css
134
70
  - app/assets/stylesheets/typus/defaults.css
135
71
  - app/assets/stylesheets/typus/errors.css
136
72
  - app/assets/stylesheets/typus/footer.css
@@ -177,13 +113,14 @@ files:
177
113
  - app/views/admin/account/new.html.erb
178
114
  - app/views/admin/base/user_guide.html.erb
179
115
  - app/views/admin/dashboard/_sidebar.html.erb
180
- - app/views/admin/dashboard/show.html.erb
116
+ - app/views/admin/dashboard/index.html.erb
181
117
  - app/views/admin/dashboard/styles.html.erb
182
118
  - app/views/admin/dashboard/widgets/_applications.html.erb
183
119
  - app/views/admin/dashboard/widgets/_models.html.erb
184
120
  - app/views/admin/dashboard/widgets/_models_extended.html.erb
185
121
  - app/views/admin/dashboard/widgets/_resources.html.erb
186
- - app/views/admin/mailer/reset_password_link.text.erb
122
+ - app/views/admin/mailer/reset_password_instructions.html.erb
123
+ - app/views/admin/mailer/reset_password_instructions.text.erb
187
124
  - app/views/admin/resources/_actions.html.erb
188
125
  - app/views/admin/resources/_edit.html.erb
189
126
  - app/views/admin/resources/_form.html.erb
@@ -201,13 +138,14 @@ files:
201
138
  - app/views/admin/shared/_head.html.erb
202
139
  - app/views/admin/templates/README.md
203
140
  - app/views/admin/templates/_belongs_to.html.erb
204
- - app/views/admin/templates/_belongs_to_with_autocomplete.html.erb
205
141
  - app/views/admin/templates/_boolean.html.erb
206
142
  - app/views/admin/templates/_date.html.erb
207
143
  - app/views/admin/templates/_datetime.html.erb
208
144
  - app/views/admin/templates/_dragonfly.html.erb
145
+ - app/views/admin/templates/_dragonfly_form_preview.html.erb
209
146
  - app/views/admin/templates/_dragonfly_preview.html.erb
210
- - app/views/admin/templates/_has_n.html.erb
147
+ - app/views/admin/templates/_has_and_belongs_to_many.html.erb
148
+ - app/views/admin/templates/_has_many.html.erb
211
149
  - app/views/admin/templates/_has_one.html.erb
212
150
  - app/views/admin/templates/_paperclip.html.erb
213
151
  - app/views/admin/templates/_paperclip_preview.html.erb
@@ -236,6 +174,30 @@ files:
236
174
  - app/views/layouts/admin/base.html.erb
237
175
  - app/views/layouts/admin/headless.html.erb
238
176
  - app/views/layouts/admin/session.html.erb
177
+ - config/locales/typus.ca.models.yml
178
+ - config/locales/typus.ca.yml
179
+ - config/locales/typus.de.models.yml
180
+ - config/locales/typus.de.yml
181
+ - config/locales/typus.el.models.yml
182
+ - config/locales/typus.el.yml
183
+ - config/locales/typus.es.models.yml
184
+ - config/locales/typus.es.yml
185
+ - config/locales/typus.fr.models.yml
186
+ - config/locales/typus.fr.yml
187
+ - config/locales/typus.hu.models.yml
188
+ - config/locales/typus.hu.yml
189
+ - config/locales/typus.it.models.yml
190
+ - config/locales/typus.it.yml
191
+ - config/locales/typus.locale.models.yml.template
192
+ - config/locales/typus.locale.yml.template
193
+ - config/locales/typus.pt-BR.models.yml
194
+ - config/locales/typus.pt-BR.yml
195
+ - config/locales/typus.pt-PT.models.yml
196
+ - config/locales/typus.pt-PT.yml
197
+ - config/locales/typus.ru.models.yml
198
+ - config/locales/typus.ru.yml
199
+ - config/locales/typus.zh-CN.models.yml
200
+ - config/locales/typus.zh-CN.yml
239
201
  - config/routes.rb
240
202
  - lib/generators/templates/config/initializers/typus.rb
241
203
  - lib/generators/templates/config/initializers/typus_authentication.rb
@@ -265,13 +227,12 @@ files:
265
227
  - lib/typus/authentication/devise.rb
266
228
  - lib/typus/authentication/http_basic.rb
267
229
  - lib/typus/authentication/none.rb
230
+ - lib/typus/authentication/none_with_role.rb
268
231
  - lib/typus/authentication/session.rb
269
232
  - lib/typus/configuration.rb
270
233
  - lib/typus/controller/actions.rb
271
234
  - lib/typus/controller/acts_as_list.rb
272
235
  - lib/typus/controller/ancestry.rb
273
- - lib/typus/controller/associations.rb
274
- - lib/typus/controller/autocomplete.rb
275
236
  - lib/typus/controller/bulk.rb
276
237
  - lib/typus/controller/featured_image.rb
277
238
  - lib/typus/controller/filters.rb
@@ -290,7 +251,8 @@ files:
290
251
  - lib/typus/orm/active_record/user/instance_methods.rb
291
252
  - lib/typus/orm/active_record/user/instance_methods_more.rb
292
253
  - lib/typus/orm/base.rb
293
- - lib/typus/orm/mongo/class_methods.rb
254
+ - lib/typus/orm/mongoid.rb
255
+ - lib/typus/orm/mongoid/class_methods.rb
294
256
  - lib/typus/regex.rb
295
257
  - lib/typus/resources.rb
296
258
  - lib/typus/version.rb
@@ -313,6 +275,9 @@ files:
313
275
  - vendor/assets/adapt/images/h1.png
314
276
  - vendor/assets/adapt/js/adapt.js
315
277
  - vendor/assets/adapt/js/adapt.min.js
278
+ - vendor/assets/chosen/chosen-sprite.png
279
+ - vendor/assets/chosen/chosen.css
280
+ - vendor/assets/chosen/chosen.jquery.min.js
316
281
  - vendor/assets/fancybox/blank.gif
317
282
  - vendor/assets/fancybox/fancy_close.png
318
283
  - vendor/assets/fancybox/fancy_loading.png
@@ -333,57 +298,15 @@ files:
333
298
  - vendor/assets/fancybox/fancybox-x.png
334
299
  - vendor/assets/fancybox/fancybox-y.png
335
300
  - vendor/assets/fancybox/fancybox.png
336
- - vendor/assets/fancybox/jquery.easing-1.3.pack.js
337
301
  - vendor/assets/fancybox/jquery.fancybox-1.3.4.css
338
- - vendor/assets/fancybox/jquery.fancybox-1.3.4.js
339
302
  - vendor/assets/fancybox/jquery.fancybox-1.3.4.pack.js
340
- - vendor/assets/fancybox/jquery.mousewheel-3.0.4.pack.js
341
303
  - vendor/assets/formalize/.gitignore
342
- - vendor/assets/formalize/css/_formalize.sass
343
- - vendor/assets/formalize/css/demo.css
344
304
  - vendor/assets/formalize/css/formalize.css
345
- - vendor/assets/formalize/css/reset.css
346
- - vendor/assets/formalize/css/text.css
347
305
  - vendor/assets/formalize/images/button.png
348
306
  - vendor/assets/formalize/images/select_arrow.gif
349
- - vendor/assets/formalize/js/dojo.formalize.js
350
- - vendor/assets/formalize/js/dojo.formalize.min.js
351
- - vendor/assets/formalize/js/extjs.formalize.js
352
- - vendor/assets/formalize/js/extjs.formalize.min.js
353
- - vendor/assets/formalize/js/jquery.formalize.js
354
307
  - vendor/assets/formalize/js/jquery.formalize.min.js
355
- - vendor/assets/formalize/js/mootools.formalize.js
356
- - vendor/assets/formalize/js/mootools.formalize.min.js
357
- - vendor/assets/formalize/js/prototype.formalize.js
358
- - vendor/assets/formalize/js/prototype.formalize.min.js
359
- - vendor/assets/formalize/js/yui.formalize.js
360
- - vendor/assets/formalize/js/yui.formalize.min.js
361
308
  - vendor/assets/jquery-searchField/jquery.searchField.js
362
- - vendor/assets/jquery-tokeninput/jquery.tokeninput.js
363
- - vendor/assets/jquery-tokeninput/token-input.css
364
- - config/locales/typus.ca.models.yml
365
- - config/locales/typus.ca.yml
366
- - config/locales/typus.de.models.yml
367
- - config/locales/typus.de.yml
368
- - config/locales/typus.el.models.yml
369
- - config/locales/typus.el.yml
370
- - config/locales/typus.es.models.yml
371
- - config/locales/typus.es.yml
372
- - config/locales/typus.fr.models.yml
373
- - config/locales/typus.fr.yml
374
- - config/locales/typus.hu.models.yml
375
- - config/locales/typus.hu.yml
376
- - config/locales/typus.it.models.yml
377
- - config/locales/typus.it.yml
378
- - config/locales/typus.pt-BR.models.yml
379
- - config/locales/typus.pt-BR.yml
380
- - config/locales/typus.pt-PT.models.yml
381
- - config/locales/typus.pt-PT.yml
382
- - config/locales/typus.ru.models.yml
383
- - config/locales/typus.ru.yml
384
- - config/locales/typus.zh-CN.models.yml
385
- - config/locales/typus.zh-CN.yml
386
- homepage: http://core.typuscms.com/
309
+ homepage: http://core.typuscmf.com/
387
310
  licenses: []
388
311
  post_install_message:
389
312
  rdoc_options: []
@@ -395,6 +318,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
395
318
  - - ! '>='
396
319
  - !ruby/object:Gem::Version
397
320
  version: '0'
321
+ segments:
322
+ - 0
323
+ hash: -1042388540158321156
398
324
  required_rubygems_version: !ruby/object:Gem::Requirement
399
325
  none: false
400
326
  requirements:
@@ -403,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
403
329
  version: 1.3.1
404
330
  requirements: []
405
331
  rubyforge_project: typus
406
- rubygems_version: 1.8.7
332
+ rubygems_version: 1.8.9
407
333
  signing_key:
408
334
  specification_version: 3
409
335
  summary: Effortless backend interface for Ruby on Rails applications. (Admin scaffold