lib/spontaneous/generators/site.rb in spontaneous-0.2.0.alpha2 vs lib/spontaneous/generators/site.rb in spontaneous-0.2.0.alpha3

- old
+ new

@@ -25,9 +25,10 @@ if self.class.available_dbs.include?(options.database) @valid = true say "Generating '#{domain}'...", :bold @domain = domain @site_name = domain.to_s.gsub(/\./, "_") + @username = domain.split(/\./).first self.destination_root = options[:root] empty_directory(@site_name) self.destination_root = self.destination_root / @site_name directory "config" directory "schema"