Permalink
Browse files

hoe-ify

  • Loading branch information...
1 parent 67cc3f2 commit 6e0fb15b64155ac0792f649ff1e6110b02a6bc1c @thewoolleyman committed Apr 30, 2008
Showing with 97 additions and 0 deletions.
  1. +6 −0 History.txt
  2. +7 −0 Manifest.txt
  3. +48 −0 README.txt
  4. +20 −0 Rakefile
  5. 0 README → bin/timeliner
  6. +5 −0 geminstaller.yml
  7. +3 −0 lib/timeliner.rb
  8. +8 −0 spec/timeliner_spec.rb
View
@@ -0,0 +1,6 @@
+=== 0.1.0 / 2008-04-30
+
+* Initial Project Creation
+
+ * Migrate from old location
+
View
@@ -0,0 +1,7 @@
+History.txt
+Manifest.txt
+README.txt
+Rakefile
+bin/timeliner
+lib/timeliner.rb
+test/test_timeliner.rb
View
@@ -0,0 +1,48 @@
+= timeliner
+
+* Timeliner (http://github.com/thewoolleyman/timeliner/tree/master/README.txt)
+
+== DESCRIPTION:
+
+Simple tool for performance analysis of Ruby code
+
+== FEATURES/PROBLEMS:
+
+* Finding slow code.
+
+== SYNOPSIS:
+
+ Allows you to enclose code in blocks, and reports on how long the blocks took to execute.
+
+== REQUIREMENTS:
+
+* None
+
+== INSTALL:
+
+* gem install timeliner --source=http://gems.github.com/timeliner (TODO: check/correct)
+
+== LICENSE:
+
+(The MIT License)
+
+Copyright (c) 2008 Chad Woolley
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -0,0 +1,20 @@
+# -*- ruby -*-
+
+require 'rubygems'
+require 'hoe'
+require './lib/timeliner.rb'
+
+Hoe.new('timeliner', Timeliner::VERSION) do |p|
+ # rubyforge_name = 'timelinerx' # if different than lowercase project name
+ p.developer('Chad Woolley', 'thewoolleyman@gmail.com')
+end
+
+desc "Run Specs"
+task :spec do
+ system("spec **/*_spec.rb") || raise("Specs Failed!")
+end
+
+desc "Update the manifest"
+task :update_manifest do
+ system('rake diff_manifest | patch -p0 Manifest.txt')
+end
View
File renamed without changes.
View
@@ -0,0 +1,5 @@
+gems:
+- name: hoe
+ version: 1.5.1
+- name: rspec
+ version: 1.1.3
View
@@ -0,0 +1,3 @@
+class Timeliner
+ VERSION = '1.0.0'
+end
View
@@ -0,0 +1,8 @@
+require 'spec'
+require File.expand_path(File.dirname(__FILE__) + "/../lib/timeliner.rb")
+
+describe Timeliner do
+ it "should pass" do
+ 1.should == 2
+ end
+end

0 comments on commit 6e0fb15

Please sign in to comment.