scottkit 0.2.0 → 0.4.0

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.
Files changed (8) hide show
  1. data/.yardopts +1 -0
  2. data/Changes +26 -0
  3. data/README +1 -19
  4. data/Rakefile +1 -6
  5. data/VERSION +1 -1
  6. data/lib/scottkit/compile.rb +6 -4
  7. metadata +16 -9
  8. data/Makefile +0 -5
data/.yardopts ADDED
@@ -0,0 +1 @@
1
+ --no-private bin/scottkit lib/**/.rb - Changes GPL-2 notes/Definition notes/Definition.saved-game
data/Changes ADDED
@@ -0,0 +1,26 @@
1
+ Revision history for Ruby gem ScottKit.
2
+
3
+ 0.4.0 Mon Mar 1 22:20:09 GMT 2010
4
+ * Move towards using YARD for documentation instead of Rdoc. This
5
+ includes changes to things like the format of the Changes file. Far
6
+ from perfect so far: for example, plain-text documentation like
7
+ doc/Definition gets mangled.
8
+
9
+ 0.3.0 February 28, 2010
10
+ * Move ScottKit out of its sub-siubdirectory in the 9Gb "mike"
11
+ module into its own git module.
12
+ * Move repository hosting to github.
13
+ * Arrange for formatted documentation to appear at
14
+ http://rdoc.info/projects/MikeTaylor/scottkit
15
+
16
+ 0.2.0 February 28, 2010
17
+ * Add -z option to sleep after finishing -- useful when running in a
18
+ DOS Shell under Windows, so that error messages can be seen.
19
+ * Add facility to load a game while playing using "#load"
20
+
21
+ 0.1.0 February 28, 2010
22
+ * Add -p option to compile and play a game from source.
23
+
24
+ 0.0.0 February 28, 2010
25
+ * Initial release.
26
+
data/README CHANGED
@@ -68,27 +68,9 @@ intended. None of Scott's own games is so sloppy.
68
68
  STILL TO DO
69
69
 
70
70
  * Tweak compiler to break actions when they need too many arguments as
71
- well as when they need too many instructions.
71
+ well as when they need too many instructions.
72
72
  * Write tutorial scaffolding.
73
73
  * Write other documentation, e.g. reference guide.
74
74
  * Ensure that the right files are built by rdoc.
75
- * Figure out where the changelog is supposed to be and what format is
76
- standard.
77
75
  * Write blog entry about learning language vs. packaging culture
78
- * Move git repo to one of the standard places.
79
-
80
-
81
- CHANGES
82
-
83
- Release 0.2.0
84
- - Add -z option to sleep after finishing -- useful when
85
- running in a DOS Shell under Windows, so that error messages
86
- can be seen.
87
- - Add facility to load a game while playing using "#load"
88
-
89
- Release 0.1.0
90
- - Add -p option to compile and play a game from source.
91
-
92
- Release 0.0.0
93
- - Initial release.
94
76
 
data/Rakefile CHANGED
@@ -8,15 +8,10 @@ begin
8
8
  gem.summary = "ScottKit is a toolkit for compiling, decompiling and playing adventure games in the Scott Adams format."
9
9
  gem.description = gem.summary
10
10
  gem.email = "mike@miketaylor.org.uk"
11
- gem.homepage = "http://www.miketaylor.org.uk/tech/advent/scottkit/"
11
+ gem.homepage = "http://github.com/MikeTaylor/scottkit"
12
12
  gem.author = "Mike Taylor"
13
13
  # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
14
14
  # No version, date or files -- I guess jeweler takes care of those
15
-
16
- # I need to explicitly specify the executables because jeweler for
17
- # some reason wants to run in the top level directory of my git
18
- # module, so that it makes a filelist from the contents of ../../bin.
19
- gem.executables = ["scottkit"]
20
15
  end
21
16
  Jeweler::GemcutterTasks.new
22
17
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.4.0
@@ -516,11 +516,13 @@ module ScottKit
516
516
  CGame = Struct.new(:ident, :version, :unknown1, :unknown2,
517
517
  :start, :treasury, :maxload, :wordlen,
518
518
  :lighttime, :lightsource, :rooms, :items,
519
- :actions, :verbgroups, :noungroups) #:nodoc:
520
- CRoom = Struct.new(:name, :desc, :exits) #:nodoc:
521
- CItem = Struct.new(:name, :desc, :called, :where) #:nodoc:
519
+ :actions, :verbgroups, :noungroups) #@private
520
+ CRoom = Struct.new(:name, :desc, :exits) #@private
521
+ #@private
522
+ CItem = Struct.new(:name, :desc, :called, :where)
523
+ # @private
522
524
  CAction = Struct.new(:verb, :noun, :conds, :instructions,
523
- :comment, :gathered_args) #:nodoc:
525
+ :comment, :gathered_args)
524
526
 
525
527
 
526
528
  class Lexer #:nodoc:
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 2
7
+ - 4
8
8
  - 0
9
- version: 0.2.0
9
+ version: 0.4.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Mike Taylor
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-02-28 00:00:00 +00:00
17
+ date: 2010-03-01 00:00:00 +00:00
18
18
  default_executable: scottkit
19
19
  dependencies: []
20
20
 
@@ -24,12 +24,13 @@ executables:
24
24
  - scottkit
25
25
  extensions: []
26
26
 
27
- extra_rdoc_files: []
28
-
27
+ extra_rdoc_files:
28
+ - README
29
29
  files:
30
30
  - .gitignore
31
+ - .yardopts
32
+ - Changes
31
33
  - GPL-2
32
- - Makefile
33
34
  - README
34
35
  - Rakefile
35
36
  - VERSION
@@ -93,7 +94,7 @@ files:
93
94
  - test/test_save.rb
94
95
  - test/withio_test.rb
95
96
  has_rdoc: true
96
- homepage: http://www.miketaylor.org.uk/tech/advent/scottkit/
97
+ homepage: http://github.com/MikeTaylor/scottkit
97
98
  licenses: []
98
99
 
99
100
  post_install_message:
@@ -122,5 +123,11 @@ rubygems_version: 1.3.6
122
123
  signing_key:
123
124
  specification_version: 3
124
125
  summary: ScottKit is a toolkit for compiling, decompiling and playing adventure games in the Scott Adams format.
125
- test_files: []
126
-
126
+ test_files:
127
+ - test/test_canonicalise.rb
128
+ - test/test_compile.rb
129
+ - test/test_decompile.rb
130
+ - test/test_play.rb
131
+ - test/test_playadams.rb
132
+ - test/test_save.rb
133
+ - test/withio_test.rb
data/Makefile DELETED
@@ -1,5 +0,0 @@
1
- # This doesn't build anything, it just runs tests
2
-
3
- **default**:
4
- ruby1.9 -I lib -rrake/rake_test_loader test/test_*
5
-