Commit 29ae5faa40660445a84dd531799f0b53cbcadd93

simpler loadpath

Commit diff

bin/kipling

 
1require 'rubygems'
2require 'kipling'
3
1#!/usr/bin/env ruby
2require File.dirname(__FILE__) + '/../lib/kipling'
43Kipling::CommandLine.new.parse
toggle raw diff

lib/kipling.rb

 
1# Add the directory containing this file to the start of the load path if it
2# isn't there already.
3$:.unshift(File.dirname(__FILE__)) unless
4 $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
5
16require 'kipling/version'
27require 'kipling/card'
38require 'kipling/card_view'
toggle raw diff

lib/kipling/timeline.rb

 
1require 'rubygems'
12require 'active_support'
23
34module Kipling
toggle raw diff