life_game_viewer 0.9.3 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +17 -25
  2. data/lib/life_game_viewer/version.rb +1 -1
  3. metadata +1 -1
data/README.md CHANGED
@@ -20,7 +20,8 @@ with which developers could:
20
20
 
21
21
  (Note: The instructions below assume use of a Unix command line
22
22
  (e.g. Linux, Mac OS) and rvm. If you're using Windows,
23
- make the appropriate substitutions, such as '\' for '/', 'ren' for 'mv'.
23
+ make the appropriate substitutions, such as 'jruby' for 'ruby',
24
+ '\' for '/', 'ren' for 'mv', and 'set' for 'export'.
24
25
  Also, please see the troubleshooting section below if you have
25
26
  problems running the program.)
26
27
 
@@ -43,25 +44,24 @@ and above, this is the default setting, but for earlier versions
43
44
  you'll have to specify this mode by passing the _--1.9_ option to JRuby.
44
45
  Here are three ways to do that:
45
46
 
46
- 1) Put the following into your startup
47
+ 1) put the following into your startup
47
48
  shell's initialization file (e.g. .bashrc or .zshrc):
48
49
 
49
50
  ```
50
51
  export JRUBY_OPTS=--1.9
51
52
  ```
52
53
 
53
- 2) Execute the above command in your shell
54
+ 2) execute the above command in your shell
54
55
 
55
- 3) Precede the command with the variable/value setting, e.g.:
56
+ 3) precede the command with the variable/value setting, e.g.:
56
57
 
57
58
  You could do this for just the one command on your command line instead by preceding your JRuby commands with
58
59
  the setting, as in:
59
60
 
60
61
  ```
61
- JRUBY_OPTS=--1.9 jruby irb # or
62
- JRUBY_OPTS=--1.9 jruby # or
63
- JRUBY_OPTS=--1.9 jruby irb # or
64
-
62
+ JRUBY_OPTS=--1.9 irb # or
63
+ JRUBY_OPTS=--1.9 jruby # or
64
+ JRUBY_OPTS=--1.9 life_view_sample
65
65
  ```
66
66
 
67
67
 
@@ -145,7 +145,7 @@ please click the buttons.)
145
145
  Data is represented as follows:
146
146
 
147
147
  * The data is a single string of lines, each line representing a row in the matrix
148
- * Alive (true) values are represented as asterisks ('*'), and false values are hyphens.
148
+ * Alive (true) values are represented as asterisks ('*'), and false values are hyphens ('-').
149
149
 
150
150
  For example, the two lines below:
151
151
 
@@ -158,7 +158,7 @@ For example, the two lines below:
158
158
  lower right cells are alive. The final row's new line is optional.
159
159
 
160
160
  When you copy a new game's data into the application, it clears all other data and
161
- uses that as generation #0.
161
+ uses the new data as generation #0.
162
162
 
163
163
  The clipboard functionality enables you to edit game data by doing the following:
164
164
 
@@ -202,30 +202,22 @@ from which you started the program.
202
202
  Troubleshooting
203
203
  ---------------
204
204
 
205
- The most common problems will probably be related to the installation and use of JRuby,
206
- and the unintentional use of MRI Ruby instead of JRuby.
205
+ The most common problems will probably be that you are using MRI ruby
206
+ rather than JRuby, or be in 1.8 rather than 1.9 mode.
207
207
 
208
- To see which version of Ruby you're using, use the '-v' option for ruby or jruby:
208
+ To see which version of Ruby you're using, use the '-v' option for ruby or jruby, and
209
+ note whether the beginning of the line contains _ruby_ or _jruby_:
209
210
 
210
211
  ```
211
212
  >ruby -v
212
213
  jruby 1.6.7 (ruby-1.9.2-p312) (2012-02-22 3e82bc8) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_33) [darwin-x86_64-java]
213
214
  ```
214
215
 
215
- Another test is to try to require 'java'. When you see the error in the last command below,
216
- you know that you're not using JRuby:
216
+ To see which Ruby version mode JRuby is using you can do this:
217
217
 
218
218
  ```
219
- >ruby -v
220
- jruby 1.6.7 (ruby-1.9.2-p312) (2012-02-22 3e82bc8) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_33) [darwin-x86_64-java]
221
-
222
- >ruby -e "require 'java'"
223
-
224
- >rvm 1.9
225
-
226
- >ruby -e "require 'java'"
227
- /Users/keithb/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:
228
- in `require': cannot load such file -- java (LoadError)
219
+ >ruby -e "puts RUBY_VERSION"
220
+ 1.9.2
229
221
  ```
230
222
 
231
223
 
@@ -1,3 +1,3 @@
1
1
  module LifeGameViewer
2
- VERSION = "0.9.3"
2
+ VERSION = "0.9.4"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: life_game_viewer
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.9.3
5
+ version: 0.9.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Keith Bennett