Permalink
Browse files

Colorize

  • Loading branch information...
1 parent bd1f0b5 commit a38b5c03e2e2f1dbdfd50bc550601faf92e92e35 @joshuaclayton committed May 18, 2011
Showing with 23 additions and 14 deletions.
  1. +9 −5 Gemfile
  2. +2 −0 Gemfile.lock
  3. +1 −1 features/support/env.rb
  4. +4 −0 lib/blueprint/blueprint.rb
  5. +0 −1 lib/blueprint/compressor.rb
  6. +7 −7 lib/blueprint/grid_builder.rb
View
14 Gemfile
@@ -1,7 +1,11 @@
source "http://rubygems.org"
-gem "cucumber", "0.10.2"
-gem "aruba", "0.3.6"
-gem "rspec", "2.6.0"
-gem "capybara", "0.4.1.2"
-gem "capybara-webkit", "0.3.0"
+gem "colored"
+
+group :test do
+ gem "cucumber", "0.10.2"
+ gem "aruba", "0.3.6"
+ gem "rspec", "2.6.0"
+ gem "capybara", "0.4.1.2"
+ gem "capybara-webkit", "0.3.0"
+end
View
@@ -20,6 +20,7 @@ GEM
celerity (0.8.9)
childprocess (0.1.9)
ffi (~> 1.0.6)
+ colored (1.2)
cucumber (0.10.2)
builder (>= 2.1.2)
diff-lcs (>= 1.1.2)
@@ -63,5 +64,6 @@ DEPENDENCIES
aruba (= 0.3.6)
capybara (= 0.4.1.2)
capybara-webkit (= 0.3.0)
+ colored
cucumber (= 0.10.2)
rspec (= 2.6.0)
View
@@ -1,4 +1,4 @@
-Bundler.require
+Bundler.require(:test)
require "aruba/cucumber"
require "capybara/cucumber"
@@ -1,3 +1,7 @@
+require "rubygems"
+require "bundler"
+Bundler.require(:default)
+
require 'fileutils'
module Blueprint
# path to the root Blueprint directory
@@ -27,7 +27,6 @@ def initialize
self.namespace = ""
self.destination_path = Blueprint::BLUEPRINT_ROOT_PATH
self.custom_layout = CustomLayout.new
- self.project_name = nil
self.custom_css = {}
self.semantic_classes = {}
self.plugins = []
@@ -3,13 +3,13 @@
gem "rmagick"
require "rvg/rvg"
rescue Exception => e
- puts " #{"*" * 100}"
- puts " **"
- puts " ** Warning:"
- puts " ** Could not load the Rmagick gem. Please check your installation."
- puts " ** grid.png will not be generated."
- puts " **"
- puts " #{"*" * 100}\n"
+ puts " #{"*" * 100}".red
+ puts " **".red
+ puts " ** Warning:".red
+ puts " ** Could not load the Rmagick gem. Please check your installation.".red
+ puts " ** grid.png will not be generated.".red
+ puts " **".red
+ puts " #{"*" * 100}\n".red
end
module Blueprint

0 comments on commit a38b5c0

Please sign in to comment.