code
stringlengths
1
1.73M
language
stringclasses
1 value
#!C:/ruby/bin/ruby require File.dirname(__FILE__) + "/../config/environment" unless defined?(RAILS_ROOT) # If you're using RubyGems and mod_ruby, this require should be changed to an absolute path one, like: # "/usr/local/lib/ruby/gems/1.8/gems/rails-0.8.0/lib/dispatcher" -- otherwise performance is severely impaired...
Ruby
#!C:/ruby/bin/ruby # # You may specify the path to the FastCGI crash log (a log of unhandled # exceptions which forced the FastCGI instance to exit, great for debugging) # and the number of requests to process before running garbage collection. # # By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log #...
Ruby
ENV["RAILS_ENV"] = "test" require File.expand_path(File.dirname(__FILE__) + "/../config/environment") require 'test_help' class Test::Unit::TestCase # Transactional fixtures accelerate your tests by wrapping each test method # in a transaction that's rolled back on completion. This ensures that the # test datab...
Ruby
#version 0.4 #grosser.michael>AT<gmail>DOT<com #code.google.com/p/agiledox-rake # #rake dox #rake test:dox #rake test:units:dox #rake spec:models:dox agiledox_options = { :write => false, #default: false :list_nested_actions => true, #for test:functionals, default: true } class AgileDox def ini...
Ruby
#!/usr/bin/ruby # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # "agent...
Ruby
#!/usr/bin/ruby # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # "agent...
Ruby
# This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # "agent-orange" is distr...
Ruby
# This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # "agent-orange" is distr...
Ruby
# This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # "agent-orange" is distr...
Ruby
# This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # "agent-orange" is distr...
Ruby
require "rake" task :default => :test task :test do ruby "tests/test_suite.rb" end task :doc do system "rdoc" , "lib" , "bin" end
Ruby
# test_suite.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any la...
Ruby
# tagging_test_cases.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option...
Ruby
# tagging_tests.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any...
Ruby
# Created by Jamie Hardt on 2006-06-27. # Copyright (c) 2006. All rights reserved. class String def /(str) self + File::SEPARATOR + str end end
Ruby
# track.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later v...
Ruby
# session.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later...
Ruby
# region.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later ...
Ruby
# blender.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later...
Ruby
# tag_interpreter.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) ...
Ruby
# pdf_qs.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later ...
Ruby
require "rake" task :default => :test task :test do ruby "tests/test_suite.rb" end task :doc do system "rdoc" , "lib" , "bin" end
Ruby
# test_suite.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any la...
Ruby
# tagging_test_cases.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option...
Ruby
# tagging_tests.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any...
Ruby
# Created by Jamie Hardt on 2006-06-27. # Copyright (c) 2006. All rights reserved. class String # Conatenates a File::SEPARATOR to the end of the receiver and then adds the string argument. def /(str) self + File::SEPARATOR + str end end
Ruby
# track.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later v...
Ruby
# session.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later...
Ruby
# region.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later ...
Ruby
# blender.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later...
Ruby
# tag_interpreter.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) ...
Ruby
# pdf_qs.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later ...
Ruby
require "rake" task :default => :test task :test do ruby "tests/test_suite.rb" end task :doc do system "rdoc" , "lib" , "bin" end
Ruby
# test_suite.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any la...
Ruby
# tagging_test_cases.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option...
Ruby
# tagging_tests.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: charts.rb,v 1.2 2005/05/16 03:59:21 austin Exp $ #++ # A namespace for charts th...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: simpletable.rb,v 1.13.2.2 2005/09/07 17:01:14 austin Exp $ #++ require 'pdf/writer...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: graphics.rb,v 1.12.2.1 2005/08/25 03:38:05 austin Exp $ #++ # Points for use in ...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: arc4.rb,v 1.2 2005/05/16 03:59:21 austin Exp $ #++ require 'digest/md5' # ARC4 ...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: state.rb,v 1.2 2005/05/16 03:59:21 austin Exp $ #++ class PDF::Writer class Stat...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: fontmetrics.rb,v 1.4 2005/06/16 04:28:25 austin Exp $ #++ class PDF::Writer::Font...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: ohash.rb,v 1.2 2005/05/16 03:59:21 austin Exp $ #++ # Based on [ruby-talk:20551]...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: strokestyle.rb,v 1.5 2005/06/02 21:20:35 austin Exp $ #++ # A class that represe...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: object.rb,v 1.3 2005/05/25 11:19:50 austin Exp $ #++ class PDF::Writer::Object d...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: outline.rb,v 1.2 2005/05/16 03:59:21 austin Exp $ #++ # Define the outlines in t...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: info.rb,v 1.4 2005/05/25 21:18:08 austin Exp $ #++ # Define the document informa...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: viewerpreferences.rb,v 1.2 2005/05/16 03:59:21 austin Exp $ #++ # Set the viewer...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: outlines.rb,v 1.2 2005/05/16 03:59:21 austin Exp $ #++ # Define the outlines in ...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: contents.rb,v 1.2.2.1 2005/08/25 03:38:06 austin Exp $ #++ # The contents object...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: encryption.rb,v 1.2 2005/05/16 03:59:21 austin Exp $ #++ # Encryption object cla...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: font.rb,v 1.5 2005/06/28 21:32:17 austin Exp $ #++ # An object to hold the font ...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: destination.rb,v 1.2 2005/05/16 03:59:21 austin Exp $ #++ # Destination object, ...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: action.rb,v 1.5 2005/05/24 22:19:42 austin Exp $ #++ # An action object, used to...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: catalog.rb,v 1.2 2005/05/16 03:59:21 austin Exp $ #++ # Define the document cata...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: procset.rb,v 1.2 2005/05/16 03:59:21 austin Exp $ #++ # The document Procedure S...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: fontencoding.rb,v 1.4 2005/06/28 21:32:17 austin Exp $ #++ # The font encoding c...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: fontdescriptor.rb,v 1.2 2005/05/16 03:59:21 austin Exp $ #++ # A font descriptor...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: annotation.rb,v 1.2 2005/05/16 03:59:21 austin Exp $ #++ # An annotation object,...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: pages.rb,v 1.2 2005/05/16 03:59:21 austin Exp $ #++ # object which is a parent t...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: en.rb,v 1.9.2.1 2005/08/25 03:38:06 austin Exp $ #++ # PDF::Writer::Lang::EN is ...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: oreader.rb,v 1.2 2005/05/16 03:59:21 austin Exp $ #++ module PDF::Writer::OffsetRe...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # This file is also licensed under standard Ruby licensing provisions: the # ...
Ruby
#! /usr/bin/env ruby #-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: techbook.rb,v 1.17.2.1 2005/08/25 03:38:05 austin Exp $ #++ r...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: stddev.rb,v 1.9.2.2 2005/09/07 17:01:14 austin Exp $ #++ require 'pdf/writer' requ...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: quickref.rb,v 1.10.2.3 2005/09/07 17:01:14 austin Exp $ #++ require 'pdf/simpletab...
Ruby
#-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: math.rb,v 1.3 2005/05/16 20:44:34 austin Exp $ #++ # Encapsulate some of the mat...
Ruby
#! /usr/bin/env ruby #-- # PDF::Writer for Ruby. # http://rubyforge.org/projects/ruby-pdf/ # Copyright 2003 - 2005 Austin Ziegler. # # Licensed under a MIT-style licence. See LICENCE in the main distribution # for full licensing information. # # $Id: techbook.rb,v 1.17.2.1 2005/08/25 03:38:05 austin Exp $ #++ r...
Ruby
# Created by Jamie Hardt on 2006-06-27. # Copyright (c) 2006. All rights reserved. class String # Conatenates a File::SEPARATOR to the end of the receiver and then adds the string argument. def /(str) self + File::SEPARATOR + str end end
Ruby
# track.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later v...
Ruby
# session.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later...
Ruby
# region.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later ...
Ruby
#-- # Colour management with Ruby. # # Copyright 2005 Austin Ziegler # http://rubyforge.org/ruby-pdf/ # # Licensed under a MIT-style licence. # # $Id: metallic.rb,v 1.1 2005/08/05 23:07:20 austin Exp $ #++ # This namespace contains some RGB metallic colours suggested by Jim Freeze. module Color::RGB::Metallic ...
Ruby
#-- # Colour management with Ruby. # # Copyright 2005 Austin Ziegler # http://rubyforge.org/ruby-pdf/ # # Licensed under a MIT-style licence. # # $Id: yiq.rb,v 1.3 2005/08/08 02:44:17 austin Exp $ #++ # A colour object representing YIQ (NTSC) colour encoding. class Color::YIQ # Creates a YIQ colour object fr...
Ruby
#-- # Colour management with Ruby. # # Copyright 2005 Austin Ziegler # http://rubyforge.org/ruby-pdf/ # # Licensed under a MIT-style licence. # # $Id: grayscale.rb,v 1.3 2005/08/08 02:44:17 austin Exp $ #++ # A colour object representing shades of grey. Used primarily in PDF # document creation. class Color::G...
Ruby
#-- # Colour management with Ruby. # # Copyright 2005 Austin Ziegler # http://rubyforge.org/ruby-pdf/ # # Licensed under a MIT-style licence. # # $Id: rgb-colors.rb,v 1.1 2005/08/05 23:07:20 austin Exp $ #++ class Color::RGB AliceBlue = Color::RGB.new(0xf0, 0xf8, 0xff).freeze AntiqueWhite ...
Ruby
#-- # Colour management with Ruby. # # Copyright 2005 Austin Ziegler # http://rubyforge.org/ruby-pdf/ # # Licensed under a MIT-style licence. # # $Id: cmyk.rb,v 1.5 2005/08/08 02:44:17 austin Exp $ #++ # An CMYK colour object. CMYK (cyan, magenta, yellow, and black) colours # are based on additive percentages ...
Ruby
#-- # Colour management with Ruby. # # Copyright 2005 Austin Ziegler # http://rubyforge.org/ruby-pdf/ # # Licensed under a MIT-style licence. # # $Id: css.rb,v 1.1 2005/08/05 23:07:20 austin Exp $ #++ require 'color' # This namespace contains some CSS colour names. module Color::CSS # Returns the RGB colour...
Ruby
#-- # Colour management with Ruby. # # Copyright 2005 Austin Ziegler # http://rubyforge.org/ruby-pdf/ # # Licensed under a MIT-style licence. # # $Id: gimp.rb,v 1.3 2005/08/08 02:44:17 austin Exp $ #++ require 'color/palette' # A class that can read a GIMP (GNU Image Manipulation Program) palette # file and p...
Ruby
#-- # Colour management with Ruby. # # Copyright 2005 Austin Ziegler # http://rubyforge.org/ruby-pdf/ # # Licensed under a MIT-style licence. # # $Id: monocontrast.rb,v 1.3 2005/08/08 02:44:17 austin Exp $ #++ require 'color/palette' # Generates a monochromatic constrasting colour palette for background and #...
Ruby
#-- # Colour management with Ruby. # # Copyright 2005 Austin Ziegler # http://rubyforge.org/ruby-pdf/ # # Licensed under a MIT-style licence. # # $Id: palette.rb,v 1.2 2005/08/05 23:07:20 austin Exp $ #++ require 'color' module Color::Palette end
Ruby
# blender.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later...
Ruby
# tag_interpreter.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) ...
Ruby
#-- # Colour management with Ruby. # # Copyright 2005 Austin Ziegler # http://rubyforge.org/ruby-pdf/ # # Licensed under a MIT-style licence. # # $Id: color.rb,v 1.8 2005/08/08 02:44:17 austin Exp $ #++ # = Colour Management with Ruby # # == Copyright # Copyright 2005 by Austin Ziegler # # Color::RGB and Color::CM...
Ruby
# pdf_qs.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later ...
Ruby
#-- # Transaction::Simple # Simple object transaction support for Ruby # http://rubyforge.org/projects/trans-simple/ # Version 1.4.0 # # Licensed under a MIT-style licence. See Licence.txt in the main # distribution for full licensing information. # # Copyright (c) 2003 - 2007 Austin Ziegler # # $Id: threadsafe.rb 50...
Ruby
#-- # Transaction::Simple # Simple object transaction support for Ruby # http://rubyforge.org/projects/trans-simple/ # Version 1.4.0 # # Licensed under a MIT-style licence. See Licence.txt in the main # distribution for full licensing information. # # Copyright (c) 2003 - 2007 Austin Ziegler # # $Id: group.rb 47 2007...
Ruby
#-- # Transaction::Simple # Simple object transaction support for Ruby # http://rubyforge.org/projects/trans-simple/ # Version 1.4.0 # # Licensed under a MIT-style licence. See Licence.txt in the main # distribution for full licensing information. # # Copyright (c) 2003 - 2007 Austin Ziegler # # $Id: group.rb 47 2007...
Ruby
# :title: Transaction::Simple -- Active Object Transaction Support for Ruby # :main: Readme.txt #-- # Transaction::Simple # Simple object transaction support for Ruby # http://rubyforge.org/projects/trans-simple/ # Version 1.4.0 # # Licensed under a MIT-style licence. See Licence.txt in the main # distribution for f...
Ruby
require "rake" task :default => :test task :test do ruby "tests/test_suite.rb" end task :doc do system "rdoc" , "lib" , "bin" end
Ruby
# test_suite.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any la...
Ruby
# tagging_test_cases.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option...
Ruby
# tagging_tests.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any...
Ruby
# Created by Jamie Hardt on 2006-06-27. # Copyright (c) 2006. All rights reserved. class String def /(str) self + File::SEPARATOR + str end end
Ruby
# track.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later v...
Ruby
# session.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later...
Ruby
# region.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later ...
Ruby
# blender.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later...
Ruby
# tag_interpreter.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) ...
Ruby
# pdf_qs.rb # Author:: Jamie Hardt # # This file is part of "agent-orange". # # "agent-orange" is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later ...
Ruby