lib/generators/bootswatch/import/import_generator.rb in twitter-bootswatch-rails-2.3.2.8 vs lib/generators/bootswatch/import/import_generator.rb in twitter-bootswatch-rails-3.0.0.0

- old
+ new

@@ -15,12 +15,11 @@ class_path.first end end def theme_repo_url - #TODO: change for 3.0.0 release - "https://raw.github.com/thomaspark/bootswatch/gh-pages/2/#{theme_name}" + "https://raw.github.com/thomaspark/bootswatch/gh-pages/#{theme_name}" end def import_less stylesheets_dest_path = "app/assets/stylesheets/#{theme_directory}" @@ -37,12 +36,12 @@ gsub_file File.join(stylesheets_dest_path,'variables.less'), '"../img/glyphicons-halflings.png"', '"twitter/bootstrap/glyphicons-halflings.png"' - gsub_file File.join(stylesheets_dest_path,'variables.less'), - '"../img/glyphicons-halflings-white.png"', - '"twitter/bootstrap/glyphicons-halflings-white.png"' + gsub_file File.join(stylesheets_dest_path, 'variables.less'), + '"../fonts/"', + '"twitter/bootstrap/"' end end end