icu_ratings 0.2.0 → 0.2.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/README.rdoc +2 -0
- data/lib/icu_ratings/player.rb +2 -0
- data/lib/icu_ratings/result.rb +2 -0
- data/lib/icu_ratings/tournament.rb +2 -0
- data/spec/player_spec.rb +1 -0
- data/spec/result_spec.rb +1 -0
- data/spec/tournament_spec.rb +1 -0
- metadata +4 -6
- data/Rakefile +0 -44
- data/VERSION.yml +0 -5
data/README.rdoc
CHANGED
data/lib/icu_ratings/player.rb
CHANGED
data/lib/icu_ratings/result.rb
CHANGED
data/spec/player_spec.rb
CHANGED
data/spec/result_spec.rb
CHANGED
data/spec/tournament_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: icu_ratings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.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
|
|
@@ -20,14 +20,13 @@ executables: []
|
|
20
20
|
extensions: []
|
21
21
|
|
22
22
|
extra_rdoc_files:
|
23
|
+
- LICENCE
|
23
24
|
- README.rdoc
|
24
25
|
files:
|
25
26
|
- .autotest
|
26
27
|
- .gitignore
|
27
28
|
- LICENCE
|
28
29
|
- README.rdoc
|
29
|
-
- Rakefile
|
30
|
-
- VERSION.yml
|
31
30
|
- lib/icu_ratings.rb
|
32
31
|
- lib/icu_ratings/player.rb
|
33
32
|
- lib/icu_ratings/result.rb
|
@@ -42,8 +41,7 @@ licenses: []
|
|
42
41
|
|
43
42
|
post_install_message:
|
44
43
|
rdoc_options:
|
45
|
-
- --charset
|
46
|
-
- UTF-8
|
44
|
+
- --charset=utf-8
|
47
45
|
require_paths:
|
48
46
|
- lib
|
49
47
|
required_ruby_version: !ruby/object:Gem::Requirement
|
data/Rakefile
DELETED
@@ -1,44 +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_ratings"
|
10
|
-
gem.summary = "For rating chess tournaments."
|
11
|
-
gem.description = "Build an object that represents a chess tournament then get it to calculate ratings of all the players."
|
12
|
-
gem.homepage = "http://github.com/sanichi/icu_ratings"
|
13
|
-
gem.authors = ["Mark Orr"]
|
14
|
-
gem.email = "mark.j.l.orr@googlemail.com"
|
15
|
-
gem.files = FileList['[A-Z]*', '{lib,spec}/**/*', '.gitignore', '.autotest']
|
16
|
-
gem.has_rdoc = true
|
17
|
-
gem.rdoc_options = ["--charset", "UTF-8"]
|
18
|
-
end
|
19
|
-
Jeweler::GemcutterTasks.new
|
20
|
-
rescue LoadError
|
21
|
-
puts "Jeweler not available. Install it with: sudo gem install jeweler."
|
22
|
-
end
|
23
|
-
|
24
|
-
task :default => :spec
|
25
|
-
|
26
|
-
Spec::Rake::SpecTask.new(:spec) do |spec|
|
27
|
-
spec.libs << 'lib' << 'spec'
|
28
|
-
spec.spec_files = FileList['spec/**/*_spec.rb']
|
29
|
-
spec.spec_opts = ['--colour --format nested']
|
30
|
-
end
|
31
|
-
|
32
|
-
Rake::RDocTask.new(:rdoc) do |rdoc|
|
33
|
-
if File.exist?('VERSION.yml')
|
34
|
-
config = YAML.load(File.read('VERSION.yml'))
|
35
|
-
version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
|
36
|
-
else
|
37
|
-
version = ""
|
38
|
-
end
|
39
|
-
|
40
|
-
rdoc.rdoc_dir = 'rdoc'
|
41
|
-
rdoc.title = "ICU Ratings #{version}"
|
42
|
-
rdoc.rdoc_files.include('README*')
|
43
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
44
|
-
end
|