icu_tournament 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/icu_tournament/result.rb +1 -0
- metadata +4 -5
- data/.gitignore +0 -4
- data/Rakefile +0 -57
data/VERSION.yml
CHANGED
@@ -72,6 +72,7 @@ clear what is meant. For eample, the following would all be converted to _D_:
|
|
72
72
|
result.score = 'd'
|
73
73
|
result.score = '='
|
74
74
|
result.score = '0.5'
|
75
|
+
result.score = '½'
|
75
76
|
|
76
77
|
The _points_ read-only accessor always returns a floating point number: either 0.0, 0.5 or 1.0.
|
77
78
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: icu_tournament
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Orr
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-01-
|
12
|
+
date: 2010-01-04 00:00:00 +00:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -29,12 +29,11 @@ executables: []
|
|
29
29
|
extensions: []
|
30
30
|
|
31
31
|
extra_rdoc_files:
|
32
|
+
- LICENCE
|
32
33
|
- README.rdoc
|
33
34
|
files:
|
34
|
-
- .gitignore
|
35
35
|
- LICENCE
|
36
36
|
- README.rdoc
|
37
|
-
- Rakefile
|
38
37
|
- VERSION.yml
|
39
38
|
- lib/icu_tournament.rb
|
40
39
|
- lib/icu_tournament/federation.rb
|
@@ -62,7 +61,7 @@ licenses: []
|
|
62
61
|
|
63
62
|
post_install_message:
|
64
63
|
rdoc_options:
|
65
|
-
- --charset=
|
64
|
+
- --charset=utf-8
|
66
65
|
require_paths:
|
67
66
|
- lib
|
68
67
|
required_ruby_version: !ruby/object:Gem::Requirement
|
data/.gitignore
DELETED
data/Rakefile
DELETED
@@ -1,57 +0,0 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'rake'
|
3
|
-
require 'rake/rdoctask'
|
4
|
-
require 'spec/rake/spectask'
|
5
|
-
|
6
|
-
begin
|
7
|
-
require 'jeweler'
|
8
|
-
Jeweler::Tasks.new do |gem|
|
9
|
-
gem.name = "icu_tournament"
|
10
|
-
gem.summary = "For reading and writing files of chess tournament data."
|
11
|
-
gem.description = "Convert files of chess tournament data in different formats to ruby classes and vice-versa."
|
12
|
-
gem.homepage = "http://github.com/sanichi/icu_tournament"
|
13
|
-
gem.authors = ["Mark Orr"]
|
14
|
-
gem.email = "mark.j.l.orr@googlemail.com"
|
15
|
-
gem.files = FileList['[A-Z]*', '{lib,spec}/**/*', '.gitignore']
|
16
|
-
gem.has_rdoc = true
|
17
|
-
gem.rdoc_options = "--charset=UTF-8"
|
18
|
-
gem.add_dependency('fastercsv', '>= 1.4.0')
|
19
|
-
end
|
20
|
-
Jeweler::GemcutterTasks.new
|
21
|
-
rescue LoadError
|
22
|
-
puts "Jeweler not available. Install it with: sudo gem install jeweler."
|
23
|
-
end
|
24
|
-
|
25
|
-
task :default => :spec
|
26
|
-
|
27
|
-
Spec::Rake::SpecTask.new(:spec) do |spec|
|
28
|
-
spec.libs << 'lib' << 'spec'
|
29
|
-
spec.spec_files = FileList['spec/**/*_spec.rb']
|
30
|
-
spec.spec_opts = ['--colour --format nested --loadby mtime --reverse']
|
31
|
-
end
|
32
|
-
|
33
|
-
Spec::Rake::SpecTask.new(:fcsv) do |spec|
|
34
|
-
spec.libs << 'lib' << 'spec'
|
35
|
-
spec.spec_files = FileList['spec/tournament_fcsv_spec.rb']
|
36
|
-
spec.spec_opts = ['--colour --format nested']
|
37
|
-
end
|
38
|
-
|
39
|
-
Spec::Rake::SpecTask.new(:krs) do |spec|
|
40
|
-
spec.libs << 'lib' << 'spec'
|
41
|
-
spec.spec_files = FileList['spec/tournament_krause_spec.rb']
|
42
|
-
spec.spec_opts = ['--colour --format nested']
|
43
|
-
end
|
44
|
-
|
45
|
-
Rake::RDocTask.new(:rdoc) do |rdoc|
|
46
|
-
if File.exist?('VERSION.yml')
|
47
|
-
config = YAML.load(File.read('VERSION.yml'))
|
48
|
-
version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
|
49
|
-
else
|
50
|
-
version = ""
|
51
|
-
end
|
52
|
-
|
53
|
-
rdoc.rdoc_dir = 'rdoc'
|
54
|
-
rdoc.title = "ChessIcu #{version}"
|
55
|
-
rdoc.rdoc_files.include('README*')
|
56
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
57
|
-
end
|