carps 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/PostInstall.txt CHANGED
@@ -5,7 +5,7 @@
5
5
  o
6
6
  ><> ><> ><>
7
7
 
8
- Thank you for installing CARPS 0.3.0
8
+ Thank you for installing CARPS 0.3.1
9
9
 
10
10
  For help, run:
11
11
 
data/README.rdoc CHANGED
@@ -4,10 +4,20 @@
4
4
 
5
5
  * http://github.com/elginer/carps
6
6
 
7
+ == To Install:
8
+
9
+ <tt># Install the gem</tt>
10
+
11
+ <tt>sudo gem install carps</tt>
12
+
13
+ <tt># Initialize the carps user directory. Run this as your everyday user.</tt>
14
+
15
+ <tt>carps_init</tt>
16
+
7
17
  == Description:
8
18
 
9
19
  CARPS, the Computer Assisted Role-Playing Game System,
10
- is a tool for playing pen and paper RPGs over the internet.
20
+ is a tool for playing pen and paper RPGs over the Internet.
11
21
 
12
22
  CARPS differs from other such systems because CARPS is not a 'real-time' system. It suits people who want to log on once or twice a day, take a turn, and then log out again. While _OpenRPG_ could be described as being similar to a chat-room, CARPS is more similar to an email client.
13
23
 
@@ -69,59 +79,11 @@ For developing CARPS, you will also need:
69
79
 
70
80
  * cucumber
71
81
 
72
- == To Install:
73
-
74
- <tt># Install the gem</tt>
75
-
76
- <tt>sudo gem install carps</tt>
77
-
78
- <tt># Initialize the carps user directory. Run this as your everyday user.</tt>
79
-
80
- <tt>carps_init</tt>
81
-
82
- == Basic Instructions:
83
-
84
- Run carps -h for help
85
-
86
- The first time CARPS is run, it will launch a wizard to help you configure
87
- your email settings, and choose a text editor and a terminal emulator.
88
-
89
- It is a good idea to specify a terminal emulator, as then CARPS can launch a
90
- mod in a new window (or similar). Then the first CARPS window will act as an
91
- email logger, letting you see when you receive mails, without interfering with
92
- the text you type into the new window.
93
-
94
- You're also going to need to install a mod to play CARPS. See the example 'fools' mod:
95
-
96
- * http://github.com/elginer/fools
97
-
98
-
99
- == Campaigns (For the DM):
100
-
101
- When you set up a new game, CARPS will ask for you to enter the name of a campaign.
102
-
103
- This allows you to create game resources prior to starting a game.
104
-
105
- For example, the following applies if your mod is called foo, the campaign is called bar, and your carps user data directory is /home/user/carps
106
-
107
- You should create the following directories
108
-
109
- the campaign directory:
110
-
111
- <tt>/home/user/carps/dm/campaigns/foo/bar</tt>
112
-
113
- the NPCSs directory:
114
-
115
- <tt>/home/user/carps/dm/campaigns/foo/bar/npcs</tt>
116
-
117
- the rooms directory:
118
-
119
- <tt>/home/user/carps/dm/campaigns/foo/bar/rooms</tt>
120
-
121
- NPCs are defined as YAML files, according to the mod's schema. Put them in the NPCs directory. They MUST have the <tt>.yaml</tt> extension.
82
+ == Instructions
122
83
 
123
- Rooms are defined as text files. These are just predefined pieces of prose that the DM will send to the players when they enter a room, for instance. Put them in the rooms directory. They MUST have the <tt>.txt</tt> extension.
84
+ Instructions are present in the CARPS wiki
124
85
 
86
+ * http://github.com/elginer/carps/wiki
125
87
 
126
88
  == License:
127
89
 
@@ -66,7 +66,13 @@ Then /^clean the wizard directory$/ do
66
66
  end
67
67
 
68
68
  Then /^run the wizard$/ do
69
- $wizard.run
69
+ begin
70
+ $wizard.run
71
+ rescue SystemExit => e
72
+ unless e.status == 0
73
+ exit e.status
74
+ end
75
+ end
70
76
  end
71
77
 
72
78
  Given /^a sweet wizard$/ do
@@ -440,7 +440,7 @@ module CARPS
440
440
 
441
441
  def initialize
442
442
  super
443
- add_raw_command :editor, "Specify a text editor.\n\tUse %f in place of the filepath.\n\t\tExample:\n\t\tvim %f", "COMMAND"
443
+ add_raw_command :editor, "Specify a text editor.\n\tUse %f in place of the filepath.\n\t\tExample:\n\t\tgvim --nofork %f", "COMMAND"
444
444
  add_command :wait, "Wait until the user says the editor is finished. This may be useful if your editor forks into the background.\nDefault: no", "yes/no"
445
445
  @confirm = false
446
446
  end
@@ -54,6 +54,7 @@ module CARPS
54
54
  puts ""
55
55
  end
56
56
  UI::highlight "Tada! Wizard complete."
57
+ CARPS::enter_quit
57
58
  end
58
59
 
59
60
  # Would this be the first time the wizard has run?
data/lib/carps.rb CHANGED
@@ -41,5 +41,5 @@ require "carps/wizard"
41
41
  #
42
42
  # The CARPS module which functions as a namespace for CARPS classes.
43
43
  module CARPS
44
- VERSION = '0.3.0'
44
+ VERSION = '0.3.1'
45
45
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 3
8
- - 0
9
- version: 0.3.0
8
+ - 1
9
+ version: 0.3.1
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-11 00:00:00 +00:00
17
+ date: 2010-11-12 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.0
260
+ Thank you for installing CARPS 0.3.1
261
261
 
262
262
  For help, run:
263
263