Skip to content

Commit 0a74bde

Browse files
committed
releasing gem v0.1.0 - closes ryanb#4
1 parent 3945748 commit 0a74bde

File tree

5 files changed

+34
-3
lines changed

5 files changed

+34
-3
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
tmp/**/*
1+
tmp/**/*
2+
*.gem

CHANGELOG.rdoc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
0.1.0 (Jan 2, 2010)
2+
3+
* initial release

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2008 Ryan Bates
1+
Copyright (c) 2010 Ryan Bates
22

33
Permission is hereby granted, free of charge, to any person obtaining
44
a copy of this software and associated documentation files (the

README.rdoc

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ NOTE: The player directory structure changed on July 18, 2009. If you have an ol
99

1010
== Getting Started
1111

12-
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:
12+
First install the gem.
13+
14+
gem install rubywarrior
15+
16+
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:
1317

1418
class Player
1519
def play_turn(warrior)

rubywarrior.gemspec

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Gem::Specification.new do |s|
2+
s.name = "rubywarrior"
3+
s.summary = "Game written in Ruby for learning Ruby and artificial intelligence."
4+
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."
5+
s.homepage = "http://github.com/ryanb/ruby-warrior"
6+
7+
s.version = "0.1.0"
8+
s.date = "2010-01-02"
9+
10+
s.authors = ["Ryan Bates"]
11+
s.email = "[email protected]"
12+
13+
s.require_paths = ["lib"]
14+
s.files = Dir["lib/**/*"] + Dir["spec/**/*"] + Dir["features/**/*"] + Dir["towers/**/*"] + Dir["templates/**/*"] + ["bin/rubywarrior", "LICENSE", "README.rdoc", "Rakefile", "CHANGELOG.rdoc"]
15+
s.extra_rdoc_files = ["README.rdoc", "CHANGELOG.rdoc", "LICENSE"]
16+
s.executables = ["rubywarrior"]
17+
18+
s.has_rdoc = true
19+
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "RubyWarrior", "--main", "README.rdoc"]
20+
21+
s.rubygems_version = "1.3.4"
22+
s.required_rubygems_version = Gem::Requirement.new(">= 1.2")
23+
end

0 commit comments

Comments
 (0)