volatility 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 34a0fe28ef115c34bbad8596c9e1af1f456ffb61c5c5b2a764d63e415b4e7060
4
- data.tar.gz: 284a85fa31fd84118f693171c25b77bab6056abe9876a8252523ef5ceb80b04a
3
+ metadata.gz: a0b5ec6cb7d308ddcbdaffd0be5a523705439d2e34b4e4fcfe1735f15f5141c4
4
+ data.tar.gz: d10a22a734a413ffd11f891252596ed69a870f57aadb4832c7fef9e0c73cdb0c
5
5
  SHA512:
6
- metadata.gz: 30c7aa210a06480373c2f9c4589fd7b11e2a29d4307e2af0146b3373e1c91dac8f73173713e73dae6024021613a16fc169fa17a5a7a988e32aa656d3cef81922
7
- data.tar.gz: dac2a69cb91ce88aed4af2d2f1e898729e3cdf659be69d6238630b01e0c73e11ef9e9fead7fb0ffe0db77da8a68ecd5550e95fdbf55d6f4724098cbab8fae421
6
+ metadata.gz: 610ccdf77eebbcc63f26aa05190fae5977e3798d0b6f99c81b659f7ed6fede90cf541286a5505b8d651e6a58602c59a02c9fba74922f3675d963725ee7380a75
7
+ data.tar.gz: a91a2ce7050c523a00357d78f91e5981d3c7740734e992348e1a6607b92d9f232ea5e61f8e74fbe6fa8659742bddb3579057d2665651dcae96da6c0f9f351624
data/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
  [![We recommend RubyMine](https://www.elegantobjects.org/rubymine.svg)](https://www.jetbrains.com/ruby/)
5
5
 
6
6
  [![Build Status](https://travis-ci.org/yegor256/volatility.svg)](https://travis-ci.org/yegor256/volatility)
7
- [![Build status](https://ci.appveyor.com/api/projects/status/tbeaa0d4dk38xdb5?svg=true)](https://ci.appveyor.com/project/yegor256/volatility)
7
+ [![Build status](https://ci.appveyor.com/api/projects/status/ndp6dbqajjgr7y7y?svg=true)](https://ci.appveyor.com/project/yegor256/volatility-jm2bc)
8
8
  [![PDD status](http://www.0pdd.com/svg?name=yegor256/volatility)](http://www.0pdd.com/p?name=yegor256/volatility)
9
9
  [![Gem Version](https://badge.fury.io/rb/volatility.svg)](http://badge.fury.io/rb/volatility)
10
10
  [![Maintainability](https://api.codeclimate.com/v1/badges/74c909f06d4afa0d8001/maintainability)](https://codeclimate.com/github/yegor256/volatility/maintainability)
@@ -0,0 +1,22 @@
1
+ version: '{build}'
2
+ skip_tags: true
3
+ clone_depth: 10
4
+ branches:
5
+ only:
6
+ - master
7
+ except:
8
+ - gh-pages
9
+ os: Windows Server 2012
10
+ install:
11
+ - cmd: set SSL_CERT_FILE=C:/ruby24-x64/ssl/cert.pem
12
+ - cmd: SET PATH=C:\Ruby24-x64\bin;%PATH%
13
+ - cmd: ruby --version
14
+ - cmd: git --version
15
+ build_script:
16
+ - bundle update
17
+ - bundle install
18
+ test_script:
19
+ - bundle exec rake
20
+ cache:
21
+ - C:\Ruby200\bin -> sibit.gemspec
22
+ - C:\Ruby200\lib\ruby\gems\2.0.0 -> sibit.gemspec
@@ -23,7 +23,7 @@
23
23
 
24
24
  STDOUT.sync = true
25
25
 
26
- VERSION = '0.1.1'
26
+ VERSION = '0.1.2'
27
27
 
28
28
  require 'slop'
29
29
  require 'backtrace'
@@ -76,7 +76,7 @@ Options are:"
76
76
  put "µ = #{mu}"
77
77
  var = values.map { |v| (v - mu)**2 }.inject(&:+).to_f / values.count
78
78
  put "Var(X) = #{var}"
79
- puts var
79
+ puts format('%.8f', var)
80
80
  rescue StandardError => ex
81
81
  puts Backtrace.new(ex).to_s
82
82
  exit(255)
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
32
32
  s.rubygems_version = '2.2'
33
33
  s.required_ruby_version = '>= 2.3'
34
34
  s.name = 'volatility'
35
- s.version = '0.1.1'
35
+ s.version = '0.1.2'
36
36
  s.license = 'MIT'
37
37
  s.summary = 'Source Code Volatility'
38
38
  s.description = 'The command line tool calculates the SCV metric for a Git repo'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: volatility
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-14 00:00:00.000000000 Z
11
+ date: 2020-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backtrace
@@ -158,6 +158,7 @@ files:
158
158
  - LICENSE.txt
159
159
  - README.md
160
160
  - Rakefile
161
+ - appveyor.yml
161
162
  - bin/volatility
162
163
  - cucumber.yml
163
164
  - features/cli.feature