Permalink
Browse files

1 First commit

  • Loading branch information...
0 parents commit be730fe7226c0078ca2c4fefc9397117e9668123 @id774 committed Oct 7, 2012
@@ -0,0 +1,25 @@
+*.gem
+*.rbc
+.bundle
+.config
+coverage
+InstalledFiles
+lib/bundler/man
+pkg
+rdoc
+spec/reports
+test/tmp
+test/version_tmp
+tmp
+
+# YARD artifacts
+.yardoc
+_yardoc
+
+Gemfile.lock
+db/*.db
+.bundle
+.rbenv-version
+
+vendor/gems/
+vendor/bundle/
16 Gemfile
@@ -0,0 +1,16 @@
+# Version:20121008
+
+source :rubygems
+
+group :test do
+ gem 'rspec'
+ gem 'rcov', :platforms => :mri_18
+ gem 'simplecov'
+ gem 'simplecov-rcov'
+end
+
+group :development do
+ gem "cucumber"
+ gem "bundler"
+ gem "jeweler"
+end
@@ -0,0 +1,55 @@
+Kmeans Cluster
+==============
+
+**K-means clustering**
+
+
+What is This?
+-------------
+
+http://en.wikipedia.org/wiki/K-means_clustering
+
+
+Environment
+-----------
+
+After ruby 1.8.
+
+
+Development
+-----------
+
+We need your help.
+
+**Repository**
+
++ https://github.com/id774/kmeans
+
+
+ChangeLog
+---------
+
+See doc/ChangeLog file.
+
+
+Developers
+----------
+
+See doc/AUTHORS.
+
+
+Author
+------
+
+**774**
+
++ http://id774.net
++ http://github.com/id774
+
+
+Copyright and license
+---------------------
+
+See the file doc/LICENSE.
+
+
@@ -0,0 +1,45 @@
+# encoding: utf-8
+
+require 'rubygems'
+
+require 'rspec/core'
+require 'rspec/core/rake_task'
+
+task :spec do
+ RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.rspec_opts = ["-c","-fs"]
+ spec.pattern = FileList['spec/**/*_spec.rb']
+ end
+end
+
+if /^1\.9\./ =~ RUBY_VERSION
+ desc "Run RSpec code examples with simplecov"
+ task :simplecov do
+ ENV['COVERAGE'] = "on"
+ Rake::Task[:spec].invoke
+ end
+else
+ desc "Run RSpec code examples with rcov"
+ RSpec::Core::RakeTask.new(:rcov) do |spec|
+ spec.pattern = FileList['spec/lib/**/*_spec.rb']
+ exclude_files = [
+ "gems",
+ ]
+ spec.rcov_opts = ['--exclude', exclude_files.join(",")]
+ spec.rcov = true
+ end
+end
+
+require 'jeweler'
+Jeweler::Tasks.new do |gem|
+ # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
+ gem.name = "kmeans"
+ gem.homepage = "http://github.com/id774/kmeans"
+ gem.license = "GPL"
+ gem.summary = %Q{kmeans}
+ gem.description = %Q{K-means clustering}
+ gem.email = "idnanashi@gmail.com"
+ gem.authors = ["id774"]
+ # dependencies defined in Gemfile
+end
+Jeweler::RubygemsDotOrgTasks.new
@@ -0,0 +1 @@
+0.0.1
@@ -0,0 +1 @@
+id774
Oops, something went wrong.

0 comments on commit be730fe

Please sign in to comment.