Permalink
Browse files

initial by http://github.com/grosser/project_template

  • Loading branch information...
0 parents commit d5843b9fb1da46d4f0fd49af49c023a5f23e87b1 @grosser committed Dec 31, 2010
Showing with 110 additions and 0 deletions.
  1. +7 −0 Gemfile
  2. +26 −0 Gemfile.lock
  3. +20 −0 Rakefile
  4. +15 −0 Readme.md
  5. +1 −0 VERSION
  6. +3 −0 lib/tic_tac_toe.rb
  7. +2 −0 spec/spec_helper.rb
  8. +7 −0 spec/tic_tac_toe_spec.rb
  9. +29 −0 tic_tac_toe.gemspec
@@ -0,0 +1,7 @@
+source :rubygems
+
+group :dev do # not development <-> would add unneeded development dependencies in gemspec
+ gem 'rake'
+ gem 'rspec', '~>2'
+ gem 'jeweler'
+end
@@ -0,0 +1,26 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ diff-lcs (1.1.2)
+ git (1.2.5)
+ jeweler (1.5.2)
+ bundler (~> 1.0.0)
+ git (>= 1.2.5)
+ rake
+ rake (0.8.7)
+ rspec (2.3.0)
+ rspec-core (~> 2.3.0)
+ rspec-expectations (~> 2.3.0)
+ rspec-mocks (~> 2.3.0)
+ rspec-core (2.3.1)
+ rspec-expectations (2.3.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.3.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ jeweler
+ rake
+ rspec (~> 2)
@@ -0,0 +1,20 @@
+task :default => :spec
+require "rspec/core/rake_task"
+RSpec::Core::RakeTask.new(:spec) do |t|
+ t.rspec_opts = '--backtrace --color'
+end
+
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |gem|
+ gem.name = 'tic_tac_toe'
+ gem.summary = "Play Tic-Tac-Toe using Curses"
+ gem.email = "michael@grosser.it"
+ gem.homepage = "http://github.com/grosser/#{gem.name}"
+ gem.authors = ["Michael Grosser"]
+ end
+
+ Jeweler::GemcutterTasks.new
+rescue LoadError
+ puts "Jeweler, or one of its dependencies, is not available. Install it with: gem install jeweler"
+end
@@ -0,0 +1,15 @@
+Play Tic-Tac-Toe using Curses
+
+Install
+=======
+ sudo gem install tic_tac_toe
+
+Usage
+=====
+ CODE_EXAMPLE
+
+Author
+======
+[Michael Grosser](http://grosser.it)
+grosser.michael@gmail.com
+Hereby placed under public domain, do what you want, just do not hold me accountable...
@@ -0,0 +1 @@
+0.0.0
@@ -0,0 +1,3 @@
+class TicTacToe
+ VERSION = File.read( File.join(File.dirname(__FILE__),'..','VERSION') ).strip
+end
@@ -0,0 +1,2 @@
+$LOAD_PATH.unshift 'lib'
+require 'tic_tac_toe'
@@ -0,0 +1,7 @@
+require File.expand_path('spec/spec_helper')
+
+describe TicTacToe do
+ it "has a VERSION" do
+ TicTacToe::VERSION.should =~ /^\d+\.\d+\.\d+$/
+ end
+end
@@ -0,0 +1,29 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{tic_tac_toe}
+ s.version = "0.0.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Michael Grosser"]
+ s.date = %q{2010-12-31}
+ s.email = %q{michael@grosser.it}
+ s.homepage = %q{http://github.com/grosser/tic_tac_toe}
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.7}
+ s.summary = %q{Play Tic-Tac-Toe using Curses}
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ else
+ end
+ else
+ end
+end
+

0 comments on commit d5843b9

Please sign in to comment.