Skip to content

Commit

Permalink
Colorize
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaclayton committed May 19, 2011
1 parent bd1f0b5 commit a38b5c0
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 14 deletions.
14 changes: 9 additions & 5 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
2 changes: 1 addition & 1 deletion features/support/env.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Bundler.require
Bundler.require(:test)

require "aruba/cucumber"
require "capybara/cucumber"
Expand Down
4 changes: 4 additions & 0 deletions lib/blueprint/blueprint.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
require "rubygems"
require "bundler"
Bundler.require(:default)

require 'fileutils'
module Blueprint
# path to the root Blueprint directory
Expand Down
1 change: 0 additions & 1 deletion lib/blueprint/compressor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down
14 changes: 7 additions & 7 deletions lib/blueprint/grid_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a38b5c0

Please sign in to comment.