Permalink
Browse files

releasing gem v0.1.0 - closes #4

  • Loading branch information...
1 parent 3945748 commit 0a74bde62c81037e6b6f38313e18c1c05cd1a8ef @ryanb committed Jan 2, 2010
Showing with 34 additions and 3 deletions.
  1. +2 −1 .gitignore
  2. +3 −0 CHANGELOG.rdoc
  3. +1 −1 LICENSE
  4. +5 −1 README.rdoc
  5. +23 −0 rubywarrior.gemspec
View
@@ -1 +1,2 @@
-tmp/**/*
+tmp/**/*
+*.gem
View
@@ -0,0 +1,3 @@
+0.1.0 (Jan 2, 2010)
+
+* initial release
View
@@ -1,4 +1,4 @@
-Copyright (c) 2008 Ryan Bates
+Copyright (c) 2010 Ryan Bates
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
View
@@ -9,7 +9,11 @@ NOTE: The player directory structure changed on July 18, 2009. If you have an ol
== Getting Started
-Run the "rubywarrior" executable (contained in the bin directory) to setup your profile which will create a rubywarrior directory in your current location. There you will find a player.rb file in your profile's directory which looks like this:
+First install the gem.
+
+ gem install rubywarrior
+
+Then run the "rubywarrior" command to setup your profile. This will create a rubywarrior directory in your current location where you will find a player.rb file in your profile's directory containing this:
class Player
def play_turn(warrior)
View
@@ -0,0 +1,23 @@
+Gem::Specification.new do |s|
+ s.name = "rubywarrior"
+ s.summary = "Game written in Ruby for learning Ruby and artificial intelligence."
+ s.description = "You play as a warrior climbing a tall tower. On each floor you need to write a Ruby script to instruct the warrior to battle enemies, rescue captives, and reach the stairs."
+ s.homepage = "http://github.com/ryanb/ruby-warrior"
+
+ s.version = "0.1.0"
+ s.date = "2010-01-02"
+
+ s.authors = ["Ryan Bates"]
+ s.email = "ryan@railscasts.com"
+
+ s.require_paths = ["lib"]
+ s.files = Dir["lib/**/*"] + Dir["spec/**/*"] + Dir["features/**/*"] + Dir["towers/**/*"] + Dir["templates/**/*"] + ["bin/rubywarrior", "LICENSE", "README.rdoc", "Rakefile", "CHANGELOG.rdoc"]
+ s.extra_rdoc_files = ["README.rdoc", "CHANGELOG.rdoc", "LICENSE"]
+ s.executables = ["rubywarrior"]
+
+ s.has_rdoc = true
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "RubyWarrior", "--main", "README.rdoc"]
+
+ s.rubygems_version = "1.3.4"
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2")
+end

0 comments on commit 0a74bde

Please sign in to comment.