From 0f96f9c1396f4c52904704fe16325946338a9fa2 Mon Sep 17 00:00:00 2001 From: Stormwind Date: Thu, 22 Oct 2015 12:28:12 +0200 Subject: [PATCH] Use new writing of "rmagick" --- Gemfile | 2 +- lib/rubella/output/image.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 99fc58c..9b4f113 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,3 @@ source "https://rubygems.org" -gem "RMagick" +gem "rmagick" diff --git a/lib/rubella/output/image.rb b/lib/rubella/output/image.rb index 9947bc8..7ab43ef 100644 --- a/lib/rubella/output/image.rb +++ b/lib/rubella/output/image.rb @@ -1,5 +1,5 @@ require "rubella/output/base" -require 'RMagick' +require 'rmagick' module Rubella module Output @@ -33,7 +33,7 @@ module Rubella y = @data.dataset_length*@field_size # buckets x field_size # start drawing the damn thing - image = Magick::Image.new(x, y) { self.background_color = "white" } + image = Magick::Image.new(x, y) { self.background_color = "lime" } i = 0 @data.each do |point|