lib/ubiquo/template.erb in ubiquo-0.2.11 vs lib/ubiquo/template.erb in ubiquo-0.3.0
- old
+ new
@@ -11,10 +11,11 @@
ubiquo_jobs
ubiquo_i18n
ubiquo_activity
ubiquo_versions
ubiquo_guides
+ ubiquo_design
]
choosen_plugin_set = "<%= @opts[:profile].to_s %>"
case choosen_plugin_set
@@ -196,17 +197,15 @@
map.namespace :ubiquo do |ubiquo|
end
# Ubiquo plugins routes. See routes.rb from each plugin path.
-#{ubiquo_routes}
<% if @opts[:template] == :edge && @opts[:profile] == :complete %>
<%= "map.from_plugin :ubiquo_categories" %>
<% end %>
-<% if opts[:gnuine] %>
- <%= "map.from_plugin :ubiquo_design" %>
-<% end %>
+#{ubiquo_routes}
+
############# default routes
#map.connect ':controller/:action/:id'
#map.connect ':controller/:action/:id.:format'
end
CODE
@@ -259,12 +258,9 @@
ubiquo_branch = <%= @opts[:template] == :edge ? 'nil' : "'0.7-stable'" %>
add_plugins(selected_plugins + external_plugins, :branch => ubiquo_branch, :devel => <%= @opts[:devel] ? true : false %>)
<% if @opts[:template] == :edge && @opts[:profile] == :complete %>
add_plugins(['ubiquo_categories'], :branch => nil)
-<% end %>
-<% if @opts[:gnuine] && opts[:profile] == :complete %>
-plugin 'ubiquo_design', :git => 'gitosis@gandalf.gnuine.com:ubiquo_design.git', :submodule => true, :branch => ubiquo_branch
<% end %>
rake("rails:update")
rake("calendardateselect:install")
rake("ubiquo:install OVERWRITE=yes")