carps 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +2 -4
- data/PostInstall.txt +1 -1
- data/README.rdoc +25 -6
- data/bin/carps +0 -1
- data/features/steps/wizard.rb +0 -14
- data/features/wizard.feature +0 -7
- data/lib/carps.rb +1 -1
- data/lib/carps/wizard/wizard.rb +0 -7
- data/website/index.html +49 -85
- metadata +4 -4
data/History.txt
CHANGED
data/PostInstall.txt
CHANGED
data/README.rdoc
CHANGED
@@ -1,11 +1,28 @@
|
|
1
1
|
= CARPS, the Computer Assisted Role-Playing Game System
|
2
2
|
|
3
|
-
|
3
|
+
= CARPS is hosted on github:
|
4
4
|
|
5
5
|
* http://github.com/elginer/carps
|
6
6
|
|
7
|
-
|
7
|
+
= To Install:
|
8
8
|
|
9
|
+
== Windows users:
|
10
|
+
|
11
|
+
download the installer from
|
12
|
+
|
13
|
+
http://rubyforge.org/frs/download.php/73276/install_carps.exe
|
14
|
+
|
15
|
+
== Windows developers:
|
16
|
+
|
17
|
+
First install win32console:
|
18
|
+
|
19
|
+
<tt>gem install win32console</tt>
|
20
|
+
|
21
|
+
Then follow the instructions for 'Using gem'.
|
22
|
+
|
23
|
+
== Using gem:
|
24
|
+
|
25
|
+
<tt>#</tt>
|
9
26
|
<tt># Install the gem</tt>
|
10
27
|
|
11
28
|
<tt>sudo gem install carps</tt>
|
@@ -14,7 +31,7 @@
|
|
14
31
|
|
15
32
|
<tt>carps_init</tt>
|
16
33
|
|
17
|
-
|
34
|
+
= Description:
|
18
35
|
|
19
36
|
CARPS, the Computer Assisted Role-Playing Game System,
|
20
37
|
is a tool for playing pen and paper RPGs over the Internet.
|
@@ -39,6 +56,8 @@ CARPS has other strengths:
|
|
39
56
|
|
40
57
|
* *Anyone* can play or host a CARPS game! All you need is an email account.
|
41
58
|
|
59
|
+
* As a consequence of this, CARPS is completely decentralized. No-one can stop you using CARPS once you download it.
|
60
|
+
|
42
61
|
* CARPS is designed to be secure. Multiple email security options are supported, and all CARPS messages are cryptographically signed to prevent spoofing.
|
43
62
|
|
44
63
|
* You can instruct CARPS to use your favourite text editor and terminal emulator.
|
@@ -57,7 +76,7 @@ CARPS has other strengths:
|
|
57
76
|
|
58
77
|
* Security mechanisms are *not* well audited.
|
59
78
|
|
60
|
-
|
79
|
+
= Requirements:
|
61
80
|
|
62
81
|
For users:
|
63
82
|
|
@@ -79,13 +98,13 @@ For developing CARPS, you will also need:
|
|
79
98
|
|
80
99
|
* cucumber
|
81
100
|
|
82
|
-
|
101
|
+
= Instructions
|
83
102
|
|
84
103
|
Instructions are present in the CARPS wiki
|
85
104
|
|
86
105
|
* http://github.com/elginer/carps/wiki
|
87
106
|
|
88
|
-
|
107
|
+
= License:
|
89
108
|
|
90
109
|
Copyright 2010 John Morrice
|
91
110
|
|
data/bin/carps
CHANGED
data/features/steps/wizard.rb
CHANGED
@@ -113,17 +113,3 @@ Then /^the salty wizard builds needed directories$/ do
|
|
113
113
|
raise StandardError, "Salty Wizard did not create needed directories."
|
114
114
|
end
|
115
115
|
end
|
116
|
-
|
117
|
-
When /^one of the salty wizard's files is in fact a directory$/ do
|
118
|
-
file = $CONFIG + "/" + $salty_files[0]
|
119
|
-
FileUtils.rm file
|
120
|
-
FileUtils.mkdir file
|
121
|
-
end
|
122
|
-
|
123
|
-
Then /^the wizard, attempting to create files, causes the program to exit$/ do
|
124
|
-
begin
|
125
|
-
$wizard.create_files
|
126
|
-
rescue SystemExit => e
|
127
|
-
puts e
|
128
|
-
end
|
129
|
-
end
|
data/features/wizard.feature
CHANGED
@@ -21,13 +21,6 @@ Feature: wizard
|
|
21
21
|
Given a partially populated folder
|
22
22
|
Then the salty wizard builds needed directories
|
23
23
|
|
24
|
-
Scenario: fail on error
|
25
|
-
Given the config directory is wizard
|
26
|
-
Then clean the wizard directory
|
27
|
-
Given a salty wizard
|
28
|
-
Given one of the salty wizard's files is in fact a directory
|
29
|
-
Then the wizard, attempting to create files, causes the program to exit
|
30
|
-
|
31
24
|
Scenario: setup email
|
32
25
|
Given the config directory is wizard
|
33
26
|
Then clean the wizard directory
|
data/lib/carps.rb
CHANGED
data/lib/carps/wizard/wizard.rb
CHANGED
@@ -78,13 +78,6 @@ module CARPS
|
|
78
78
|
not (fs and ds)
|
79
79
|
end
|
80
80
|
|
81
|
-
# Create files
|
82
|
-
def create_files
|
83
|
-
create_all @files, "file" do |path|
|
84
|
-
FileUtils.touch path
|
85
|
-
end
|
86
|
-
end
|
87
|
-
|
88
81
|
# Create directories
|
89
82
|
def create_directories
|
90
83
|
create_all @dirs, "directory", do |path|
|
data/website/index.html
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
3
|
<head>
|
4
4
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
5
|
-
<title>CARPS 0.2
|
5
|
+
<title>CARPS 0.3.2</title>
|
6
6
|
<style type="text/css">
|
7
7
|
body
|
8
8
|
{
|
@@ -12,17 +12,50 @@ font-family:"DejaVu Sans", "Arial";
|
|
12
12
|
</head>
|
13
13
|
<body>
|
14
14
|
<h1>CARPS, the Computer Assisted Role-Playing Game System</h1>
|
15
|
-
<
|
15
|
+
<h1>CARPS is hosted on github:</h1>
|
16
16
|
<ul>
|
17
17
|
<li><p>
|
18
18
|
<a href="http://github.com/elginer/carps">github.com/elginer/carps</a>
|
19
19
|
</p>
|
20
20
|
</li>
|
21
21
|
</ul>
|
22
|
-
<
|
22
|
+
<h1>To Install:</h1>
|
23
|
+
<h2>Windows users:</h2>
|
24
|
+
<p>
|
25
|
+
download the installer from
|
26
|
+
</p>
|
27
|
+
<p>
|
28
|
+
<a
|
29
|
+
href="http://rubyforge.org/frs/download.php/73276/install_carps.exe">rubyforge.org/frs/download.php/73276/install_carps.exe</a>
|
30
|
+
</p>
|
31
|
+
<h2>Windows developers:</h2>
|
32
|
+
<p>
|
33
|
+
First install win32console:
|
34
|
+
</p>
|
35
|
+
<p>
|
36
|
+
<tt>gem install win32console</tt>
|
37
|
+
</p>
|
38
|
+
<p>
|
39
|
+
Then follow the instructions for ‘Using gem’.
|
40
|
+
</p>
|
41
|
+
<h2>Using gem:</h2>
|
42
|
+
<p>
|
43
|
+
<tt>#</tt> <tt># Install the gem</tt>
|
44
|
+
</p>
|
45
|
+
<p>
|
46
|
+
<tt>sudo gem install carps</tt>
|
47
|
+
</p>
|
48
|
+
<p>
|
49
|
+
<tt># Initialize the carps user directory. Run this as your everyday
|
50
|
+
user.</tt>
|
51
|
+
</p>
|
52
|
+
<p>
|
53
|
+
<tt>carps_init</tt>
|
54
|
+
</p>
|
55
|
+
<h1>Description:</h1>
|
23
56
|
<p>
|
24
57
|
CARPS, the Computer Assisted Role-Playing Game System, is a tool for
|
25
|
-
playing pen and paper RPGs over the
|
58
|
+
playing pen and paper RPGs over the Internet.
|
26
59
|
</p>
|
27
60
|
<p>
|
28
61
|
CARPS differs from other such systems because CARPS is not a
|
@@ -77,6 +110,11 @@ account.
|
|
77
110
|
</p>
|
78
111
|
</li>
|
79
112
|
<li><p>
|
113
|
+
As a consequence of this, CARPS is completely decentralized. No-one can
|
114
|
+
stop you using CARPS once you download it.
|
115
|
+
</p>
|
116
|
+
</li>
|
117
|
+
<li><p>
|
80
118
|
CARPS is designed to be secure. Multiple email security options are
|
81
119
|
supported, and all CARPS messages are cryptographically signed to prevent
|
82
120
|
spoofing.
|
@@ -118,7 +156,7 @@ Security mechanisms are <b>not</b> well audited.
|
|
118
156
|
</p>
|
119
157
|
</li>
|
120
158
|
</ul>
|
121
|
-
<
|
159
|
+
<h1>Requirements:</h1>
|
122
160
|
<p>
|
123
161
|
For users:
|
124
162
|
</p>
|
@@ -161,88 +199,14 @@ cucumber
|
|
161
199
|
</p>
|
162
200
|
</li>
|
163
201
|
</ul>
|
164
|
-
<
|
165
|
-
<p>
|
166
|
-
<tt># Install the gem</tt>
|
167
|
-
</p>
|
168
|
-
<p>
|
169
|
-
<tt>sudo gem install carps</tt>
|
170
|
-
</p>
|
171
|
-
<p>
|
172
|
-
<tt># Initialize the carps user directory. Run this as your everyday
|
173
|
-
user.</tt>
|
174
|
-
</p>
|
175
|
-
<p>
|
176
|
-
<tt>carps_init</tt>
|
177
|
-
</p>
|
178
|
-
<h2>Basic Instructions:</h2>
|
179
|
-
<p>
|
180
|
-
Run carps -h for help
|
181
|
-
</p>
|
182
|
-
<p>
|
183
|
-
The first time CARPS is run, it will launch a wizard to help you configure
|
184
|
-
your email settings, and choose a text editor and a terminal emulator.
|
185
|
-
</p>
|
186
|
-
<p>
|
187
|
-
It is a good idea to specify a terminal emulator, as then CARPS can launch
|
188
|
-
a mod in a new window (or similar). Then the first CARPS window will act
|
189
|
-
as an email logger, letting you see when you receive mails, without
|
190
|
-
interfering with the text you type into the new window.
|
191
|
-
</p>
|
192
|
-
<p>
|
193
|
-
You’re also going to need to install a mod to play CARPS. See the
|
194
|
-
example ‘fools’ mod:
|
195
|
-
</p>
|
196
|
-
<ul>
|
197
|
-
<li><p>
|
198
|
-
<a href="http://fools.rubyforge.org">fools.rubyforge.org</a>
|
199
|
-
</p>
|
200
|
-
</li>
|
201
|
-
</ul>
|
202
|
-
<h2>Campaigns (For the DM):</h2>
|
203
|
-
<p>
|
204
|
-
When you set up a new game, CARPS will ask for you to enter the name of a
|
205
|
-
campaign.
|
206
|
-
</p>
|
207
|
-
<p>
|
208
|
-
This allows you to create game resources prior to starting a game.
|
209
|
-
</p>
|
210
|
-
<p>
|
211
|
-
For example, the following applies if your mod is called foo, the campaign
|
212
|
-
is called bar, and your carps user data directory is /home/user/carps
|
213
|
-
</p>
|
202
|
+
<h1>Instructions</h1>
|
214
203
|
<p>
|
215
|
-
|
204
|
+
Instructions are present in the CARPS wiki
|
216
205
|
</p>
|
217
|
-
<
|
218
|
-
|
219
|
-
</
|
220
|
-
<
|
221
|
-
<tt>/home/user/carps/dm/campaigns/foo/bar</tt>
|
222
|
-
</p>
|
223
|
-
<p>
|
224
|
-
the NPCSs directory:
|
225
|
-
</p>
|
226
|
-
<p>
|
227
|
-
<tt>/home/user/carps/dm/campaigns/foo/bar/npcs</tt>
|
228
|
-
</p>
|
229
|
-
<p>
|
230
|
-
the rooms directory:
|
231
|
-
</p>
|
232
|
-
<p>
|
233
|
-
<tt>/home/user/carps/dm/campaigns/foo/bar/rooms</tt>
|
234
|
-
</p>
|
235
|
-
<p>
|
236
|
-
NPCs are defined as YAML files, according to the mod’s schema. Put
|
237
|
-
them in the NPCs directory. They MUST have the <tt>.yaml</tt> extension.
|
238
|
-
</p>
|
239
|
-
<p>
|
240
|
-
Rooms are defined as text files. These are just predefined pieces of prose
|
241
|
-
that the DM will send to the players when they enter a room, for instance.
|
242
|
-
Put them in the rooms directory. They MUST have the <tt>.txt</tt>
|
243
|
-
extension.
|
244
|
-
</p>
|
245
|
-
<h2>License:</h2>
|
206
|
+
<pre>
|
207
|
+
* http://github.com/elginer/carps/wiki
|
208
|
+
</pre>
|
209
|
+
<h1>License:</h1>
|
246
210
|
<p>
|
247
211
|
Copyright 2010 John Morrice
|
248
212
|
</p>
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 3
|
8
|
-
-
|
9
|
-
version: 0.3.
|
8
|
+
- 2
|
9
|
+
version: 0.3.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- John Morrice
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-11-
|
17
|
+
date: 2010-11-14 00:00:00 +00:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -257,7 +257,7 @@ post_install_message: |
|
|
257
257
|
o
|
258
258
|
><> ><> ><>
|
259
259
|
|
260
|
-
Thank you for installing CARPS 0.3.
|
260
|
+
Thank you for installing CARPS 0.3.2
|
261
261
|
|
262
262
|
For help, run:
|
263
263
|
|