Skip to content

Commit

Permalink
releasing gem v0.1.0 - closes ryanb#4
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanb committed Jan 2, 2010
1 parent 3945748 commit 0a74bde
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
tmp/**/*
tmp/**/*
*.gem
3 changes: 3 additions & 0 deletions CHANGELOG.rdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
0.1.0 (Jan 2, 2010)

* initial release
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 5 additions & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
23 changes: 23 additions & 0 deletions rubywarrior.gemspec
Original file line number Diff line number Diff line change
@@ -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.