evt-diagnostics-sample 0.1.1.0 → 0.1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0bfa71e7155d416e8b5919a510eb42a29ad47e5eda3ea83301892f8bcc418be
4
- data.tar.gz: d61d62a639d2d6984682a364133be0e33af4509fe59f3387c7a39acd0a9a23de
3
+ metadata.gz: eaebb460a7afe3e75318cff5e3a456e629465e610bcba05ec5e92fa269dc3ce5
4
+ data.tar.gz: 861b6d711a66daae5d3ada8ee851ba63979b21b272eca714e4325ff2c6b6e4bc
5
5
  SHA512:
6
- metadata.gz: 6220de6b74d5bd569917279c26ee0a656b29eca1dc290206af36091cb6811cd697770906e3efcbba24569d6c13e41ed851f6c5be82fb147a6c3df1130be8c2c2
7
- data.tar.gz: dd3c09a188c28ef3aef40003763a6475273e6e277001e3f0017cd985501a994cd74388d6fa7b1209d0b226fd3847a0f71c71943aab6d99698429833e1f02274c
6
+ metadata.gz: 6140d6cd712f5560695aa9224d6d869fb8cf95c274fb7817cb52a9fc9ae4740d4ccd6cf01c864fde1c5418e8e1851f64beb01897c9762ae734500e855892cb6e
7
+ data.tar.gz: 0465da295d038744547a5c583fde76fa26324c6a793437b274d57abaa69624f116ef74fed02d6bb8f6f6089e049b929f33cf148916d604f42a527c371764b93a
@@ -2,3 +2,5 @@ require 'clock/controls'
2
2
 
3
3
  require 'diagnostics/sample/controls/clock'
4
4
  require 'diagnostics/sample/controls/time'
5
+
6
+ require 'diagnostics/sample/controls/standard_deviation'
@@ -0,0 +1,16 @@
1
+ module Diagnostics
2
+ class Sample
3
+ module Controls
4
+ module StandardDeviation
5
+ # Source: https://en.wikipedia.org/wiki/Standard_deviation#Population_standard_deviation_of_grades_of_eight_students (Nathan Ladd, Wed 30 May 2018)
6
+ def self.values
7
+ [2, 4, 4, 4, 5, 5, 7, 9]
8
+ end
9
+
10
+ def self.result
11
+ 2
12
+ end
13
+ end
14
+ end
15
+ end
16
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-diagnostics-sample
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.0
4
+ version: 0.1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project
@@ -75,6 +75,7 @@ files:
75
75
  - lib/diagnostics/sample.rb
76
76
  - lib/diagnostics/sample/controls.rb
77
77
  - lib/diagnostics/sample/controls/clock.rb
78
+ - lib/diagnostics/sample/controls/standard_deviation.rb
78
79
  - lib/diagnostics/sample/controls/time.rb
79
80
  - lib/diagnostics/sample/defaults.rb
80
81
  - lib/diagnostics/sample/log.rb