File tree Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Expand file tree Collapse file tree 4 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 1
1
require 'rake'
2
+ require 'bundler'
2
3
require 'bundler/gem_tasks'
3
4
require "rspec/core/rake_task"
4
5
require 'rdoc/task'
5
6
6
7
# Setup the necessary gems, specified in the gemspec.
7
- require 'bundler'
8
8
begin
9
9
Bundler . setup ( :default , :development )
10
10
rescue Bundler ::BundlerError => e
@@ -23,5 +23,3 @@ task :console do
23
23
end
24
24
25
25
task :default => [ :spec ]
26
-
27
- # vim: syntax=ruby
Original file line number Diff line number Diff line change 18
18
#
19
19
# Algorithms for unidimensional minimization
20
20
require 'text-table'
21
+
21
22
module Minimization
22
- VERSION = "0.2.1"
23
23
FailedIteration = Class . new ( Exception )
24
24
# Base class for unidimensional minimizers
25
25
class Unidimensional
Original file line number Diff line number Diff line change
1
+ module Minimization
2
+ VERSION = '0.2.1'
3
+ end
Original file line number Diff line number Diff line change 1
- # -*- encoding: utf-8 -*-
2
- lib = File . expand_path ( '../lib/' , __FILE__ )
3
- $:. unshift lib unless $:. include? ( lib )
1
+ $LOAD_PATH. unshift File . expand_path ( '../lib' , __FILE__ )
4
2
3
+ require 'date'
4
+ require 'minimization/version'
5
5
6
6
Gem ::Specification . new do |s |
7
7
s . name = "minimization"
8
- s . version = "0.2.1"
8
+ s . version = Minimization ::VERSION
9
+ s . date = Date . today . to_s
10
+
9
11
s . authors = [ "Claudio Bustos" , "Rajat Kapoor" ]
10
12
s . email = [ "clbustos@gmail.com" , "rajat100493@gmail.com" ]
11
13
You can’t perform that action at this time.
0 commit comments