plot_statistics 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
data/bin/plot_statistics CHANGED
@@ -9,6 +9,8 @@ rescue LoadError
9
9
  end
10
10
 
11
11
  ARGV.each do |file_name|
12
+ puts "\nCommand started at: #{Time.now}\n"
13
+
12
14
  file = File.new(file_name)
13
15
 
14
16
  puts "\n"
@@ -24,9 +26,15 @@ ARGV.each do |file_name|
24
26
  PlotStatistics::Clam.new(:x => x.to_i, :y => y.to_i)
25
27
  end
26
28
 
27
- actual_plot = PlotStatistics::ClamPlot.new(clams)
28
- monte_carlo = PlotStatistics::MonteCarlo.new(actual_plot.number_of_clams)
29
+ puts "\nActual plot started at: #{Time.now}\n"
29
30
 
31
+ actual_plot = PlotStatistics::ClamPlot.new(clams)
30
32
  puts actual_plot.inspect
33
+
34
+ puts "\nMonte Carlo plots started at: #{Time.now}\n"
35
+
36
+ monte_carlo = PlotStatistics::MonteCarlo.new(actual_plot.number_of_clams)
31
37
  puts monte_carlo.inspect
38
+
39
+ puts "\mCommand finished at: #{Time.now}\n"
32
40
  end
@@ -0,0 +1,9 @@
1
+ class PlotStatistics
2
+ class Output
3
+ attr_accessor :clam_plot, :monte_carlo
4
+
5
+ def initialize(params={})
6
+
7
+ end
8
+ end
9
+ end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{plot_statistics}
8
- s.version = "0.2.0"
8
+ s.version = "0.2.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Asa Wilson"]
@@ -31,6 +31,7 @@ Gem::Specification.new do |s|
31
31
  "lib/plot_statistics/clam.rb",
32
32
  "lib/plot_statistics/clam_plot.rb",
33
33
  "lib/plot_statistics/monte_carlo.rb",
34
+ "lib/plot_statistics/output.rb",
34
35
  "plot_statistics.gemspec",
35
36
  "spec/plot_statistics_spec.rb",
36
37
  "spec/spec.opts",
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 0
9
- version: 0.2.0
8
+ - 1
9
+ version: 0.2.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Asa Wilson
@@ -53,6 +53,7 @@ files:
53
53
  - lib/plot_statistics/clam.rb
54
54
  - lib/plot_statistics/clam_plot.rb
55
55
  - lib/plot_statistics/monte_carlo.rb
56
+ - lib/plot_statistics/output.rb
56
57
  - plot_statistics.gemspec
57
58
  - spec/plot_statistics_spec.rb
58
59
  - spec/spec.opts