kmeans 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/doc/ChangeLog +5 -0
- data/kmeans.gemspec +2 -2
- data/lib/kmeans.rb +1 -1
- data/lib/kmeans/hcluster.rb +1 -1
- data/script/build +3 -1
- data/spec/lib/kmeans_spec.rb +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# -*- mode: ruby; coding: utf-8 -*-
|
2
2
|
|
3
3
|
require 'rubygems'
|
4
4
|
|
@@ -12,7 +12,7 @@ task :spec do
|
|
12
12
|
end
|
13
13
|
end
|
14
14
|
|
15
|
-
|
15
|
+
if RUBY_VERSION >= '1.9.0'
|
16
16
|
desc "Run RSpec code examples with simplecov"
|
17
17
|
task :simplecov do
|
18
18
|
ENV['COVERAGE'] = "on"
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.9
|
data/doc/ChangeLog
CHANGED
data/kmeans.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "kmeans"
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.9"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["id774"]
|
12
|
-
s.date = "2013-
|
12
|
+
s.date = "2013-07-04"
|
13
13
|
s.description = "K-means clustering"
|
14
14
|
s.email = "idnanashi@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
data/lib/kmeans.rb
CHANGED
data/lib/kmeans/hcluster.rb
CHANGED
data/script/build
CHANGED
@@ -5,6 +5,8 @@
|
|
5
5
|
#
|
6
6
|
# Maintainer: id774 <idnanashi@gmail.com>
|
7
7
|
#
|
8
|
+
# v1.2 4/17,2013
|
9
|
+
# Using simplecov for coverage.
|
8
10
|
# v1.1 3/14,2013
|
9
11
|
# Show ruby version.
|
10
12
|
# v1.0 3/16,2012
|
@@ -18,7 +20,7 @@ kickstart() {
|
|
18
20
|
}
|
19
21
|
|
20
22
|
run_tests() {
|
21
|
-
rake
|
23
|
+
rake simplecov
|
22
24
|
}
|
23
25
|
|
24
26
|
main() {
|
data/spec/lib/kmeans_spec.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kmeans
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-07-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: cucumber
|