sevcheck 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/sevcheck.rb +7 -0
  3. metadata +43 -0
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 8da71dd1929b0d7809898f57f9b59688433b63e2
4
+ data.tar.gz: 904e3e180e4cbf5852f26a4a5a4eb62c1a89a25d
5
+ SHA512:
6
+ metadata.gz: 3454c69b2150dbc19095ebedcaf6b22e635b39628333f29f10924b662688940d90f2c50f8bfad62006e553fd6eebf069fc9ed0eb949a781c142c11f2c1764f79
7
+ data.tar.gz: c116cda91d101703c60bea20b9208764409616e218ed5337ea1aa7a18615d3012ffe09c70ec2bfa69c71de9cefd21a726af02ef265b9a5517738b52075a4e259
@@ -0,0 +1,7 @@
1
+ require 'date'
2
+ class SevCheck
3
+ def self.runcheck(severity, age)
4
+ riskfactor = severity * age
5
+ return riskfactor
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,43 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sevcheck
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.2
5
+ platform: ruby
6
+ authors:
7
+ - DKel
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-01-01 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A simple severity checking gem
14
+ email: dkel@email.ie
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - lib/sevcheck.rb
20
+ homepage: http://rubygems.org/gems/sevcheck
21
+ licenses: []
22
+ metadata: {}
23
+ post_install_message:
24
+ rdoc_options: []
25
+ require_paths:
26
+ - lib
27
+ required_ruby_version: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: '0'
32
+ required_rubygems_version: !ruby/object:Gem::Requirement
33
+ requirements:
34
+ - - ">="
35
+ - !ruby/object:Gem::Version
36
+ version: '0'
37
+ requirements: []
38
+ rubyforge_project:
39
+ rubygems_version: 2.6.14.1
40
+ signing_key:
41
+ specification_version: 4
42
+ summary: "!"
43
+ test_files: []