Permalink
Browse files

checking my playground

  • Loading branch information...
0 parents commit 89bc6a05c2ba74e6d9893e00d1a2e20daf4c8e13 @cheezy committed Sep 25, 2011
@@ -0,0 +1,4 @@
+*.gem
+.bundle
+Gemfile.lock
+pkg/*
@@ -0,0 +1 @@
+rvm 1.9.2-p290
@@ -0,0 +1,4 @@
+source "http://rubygems.org"
+
+# Specify your gem's dependencies in testgen.gemspec
+gemspec
@@ -0,0 +1 @@
+require 'bundler/gem_tasks'
@@ -0,0 +1,10 @@
+#!/usr/bin/env ruby
+require 'rubygems'
+require 'thor'
+
+class TestGenCommand < Thor
+ def app
+ end
+end
+
+TestGenCommand.start
@@ -0,0 +1,5 @@
+require "testgen/version"
+
+module Testgen
+ # Your code goes here...
+end
@@ -0,0 +1,29 @@
+module TestGen
+ class ProjectGenerator < Thor::Group
+ include Thor::Actions
+
+ argument :name
+
+ def self.source_root
+ File.dirname(__FILE__)
+ end
+
+ def gemfile
+ copy_file 'Gemfile'
+ end
+
+ def rakefile
+ copy_file 'Rakefile'
+ end
+
+ def features
+ empty_directory 'features'
+
+ inside 'features' do
+ empty_directory 'support'
+ empty_directory 'step_definitions'
+ end
+ end
+
+ end
+end
@@ -0,0 +1,3 @@
+
+gem 'cucumber'
+gem 'rspec'
@@ -0,0 +1,3 @@
+module TestGen
+ VERSION = "0.1"
+end
@@ -0,0 +1,25 @@
+# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "testgen/version"
+
+Gem::Specification.new do |s|
+ s.name = "testgen"
+ s.version = TestGen::VERSION
+ s.authors = ["Jeffrey S. Morgan"]
+ s.email = ["jeff.morgan@leandog.com"]
+ s.homepage = "http://github.com/cheezy/testgen"
+ s.summary = %q{Generators for testers using Cucumber}
+ s.description = %q{A collection of generators testers can use to create test projects and various test itens for use with Cucumber}
+
+ s.rubyforge_project = "testgen"
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
+
+ s.add_dependency 'thor', '>=0.14.6'
+
+ s.add_development_dependency 'rspec', '>=2.6.0'
+ s.add_development_dependency 'cucumber', '>=1.0.0'
+end

0 comments on commit 89bc6a0

Please sign in to comment.