settlers 0.2.1 → 0.3.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.
data/Rakefile DELETED
@@ -1,10 +0,0 @@
1
- begin
2
- require 'shoe'
3
- rescue LoadError
4
- abort 'Please `gem install shoe` to get started.'
5
- end
6
-
7
- Shoe.tie('settlers', '0.2.1', "Provides a simple command-line executable for playing Robb Thomas' JSettlers game.") do |spec|
8
- spec.add_dependency 'dnssd'
9
- spec.add_dependency 'highline'
10
- end
data/lib/settlers/jar.rb DELETED
@@ -1,17 +0,0 @@
1
- module Settlers
2
- class Jar
3
- def initialize(path)
4
- @path = path
5
- end
6
-
7
- def running(class_name)
8
- JavaCommand.new(full_path, class_name)
9
- end
10
-
11
- private
12
-
13
- def full_path
14
- File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'resources', 'jsettlers-1.0.6', @path))
15
- end
16
- end
17
- end
@@ -1,22 +0,0 @@
1
- module Settlers
2
- class JavaCommand
3
- def initialize(class_path, class_name)
4
- @class_path, @class_name = class_path, class_name
5
- end
6
-
7
- def run(*args)
8
- system command(args)
9
- end
10
-
11
- def start(*args)
12
- pid = fork { exec command(args) }
13
- at_exit { Process.kill 'INT', pid }
14
- end
15
-
16
- private
17
-
18
- def command(args)
19
- "java -cp #{@class_path} #{@class_name} #{args.join(' ')}"
20
- end
21
- end
22
- end
@@ -1,50 +0,0 @@
1
- [ The list of the different public versions of JSettlers ]
2
-
3
- > 1.0.6 (build 2004-11-17)
4
-
5
- - Fixed the same PORT property error in the Account client
6
- - Fixed bug which could allow modified clients to invoke admin
7
- commands (*STOP*, *KILLCHANNEL*, etc) (Lasse Vartiainen)
8
- - Fixed 920375, 1022157: mysql-connector-3.x fails: version 2.x works
9
- (Mezryn)
10
- - Fixed 1060651: Bots crash if database backend is used (Jack Twilley)
11
- - Moved more SQL error handling and reconnecting from SOCServer to
12
- SOCDBHelper correcting potential errors like 1060651
13
-
14
- > 1.0.5 (build 2004-06-12)
15
-
16
- - Fixed an error introduced into the applet initialization which kept
17
- the PORT property from being read properly
18
-
19
- > 1.0.4 (build 2004-06-10)
20
-
21
- - build.xml file added for Ant builds
22
- - soc.util.Version class added so both build files and source code get
23
- version and copyright info from build.xml. Clients and server updated
24
- - Build process creates two jar files: one for client, one for server
25
- - README updated for jar file invocation, with additional sections for
26
- intro, requirements, hosting a server, and development
27
- - Fix for inconsistent game state when players leave a game.
28
- - Divider in chat window cannot be moved off-screen
29
- - Text of game chat now correctly scrolls to bottom of text.
30
- - Rewrite of much of the display code to address continuing display
31
- issues. Methods which directly manipulate GUI components can cause
32
- race conditions, and are now never called from main networking
33
- thread.
34
- - Removed calls to deprecated methods
35
- - Images can now be loaded from files (on server or not) or from
36
- within jar.
37
-
38
- > 1.0.3 (build 2004-03-29)
39
-
40
- - Continuing to fix the display bug in the SOCPlayerClient
41
-
42
- > 1.0.2 (build 2004-03-26)
43
-
44
- - Fixed display bug (again) in the SOCPlayerClient when run as a stand
45
- alone.
46
-
47
- > 1.0 (build 2004-03-14)
48
-
49
- - First release. See the README file for how to setup a server and
50
- robot clients.
data/settlers.gemspec DELETED
@@ -1,38 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- Gem::Specification.new do |s|
4
- s.name = %q{settlers}
5
- s.version = "0.2.1"
6
-
7
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Matthew Todd"]
9
- s.date = %q{2010-01-09}
10
- s.default_executable = %q{settlers}
11
- s.email = %q{matthew.todd@gmail.com}
12
- s.executables = ["settlers"]
13
- s.extra_rdoc_files = ["README.rdoc"]
14
- s.files = ["Rakefile", "settlers.gemspec", "README.rdoc", "bin/settlers", "lib/settlers", "lib/settlers/application.rb", "lib/settlers/jar.rb", "lib/settlers/java_command.rb", "lib/settlers.rb", "resources/jsettlers-1.0.6", "resources/jsettlers-1.0.6/COPYING.txt", "resources/jsettlers-1.0.6/JSettlers.jar", "resources/jsettlers-1.0.6/JSettlersServer.jar", "resources/jsettlers-1.0.6/README.txt", "resources/jsettlers-1.0.6/VERSIONS.txt"]
15
- s.rdoc_options = ["--main", "README.rdoc", "--title", "settlers-0.2.1", "--inline-source"]
16
- s.require_paths = ["lib"]
17
- s.rubygems_version = %q{1.3.5}
18
- s.summary = %q{Provides a simple command-line executable for playing Robb Thomas' JSettlers game.}
19
-
20
- if s.respond_to? :specification_version then
21
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
22
- s.specification_version = 3
23
-
24
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
25
- s.add_development_dependency(%q<shoe>, [">= 0"])
26
- s.add_runtime_dependency(%q<dnssd>, [">= 0"])
27
- s.add_runtime_dependency(%q<highline>, [">= 0"])
28
- else
29
- s.add_dependency(%q<shoe>, [">= 0"])
30
- s.add_dependency(%q<dnssd>, [">= 0"])
31
- s.add_dependency(%q<highline>, [">= 0"])
32
- end
33
- else
34
- s.add_dependency(%q<shoe>, [">= 0"])
35
- s.add_dependency(%q<dnssd>, [">= 0"])
36
- s.add_dependency(%q<highline>, [">= 0"])
37
- end
38
- end