sysadmin 0.1.4 → 0.1.5

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
  SHA1:
3
- metadata.gz: 28af9c9c22c9750679a8935519abcd2e634600f9
4
- data.tar.gz: 1e321e887af1710d69eeacccbe3fab108fb66473
3
+ metadata.gz: c97b377baf2648ff39d95525f93b423892ab3dfc
4
+ data.tar.gz: 96b732005a0d3d090411c9610961e17facb7b86b
5
5
  SHA512:
6
- metadata.gz: 39cdce494b486ae6df720629167a74fb3ba7b1beb8179dc9cc97d5736feb5e8686b882f6e67ba0328ae7b84d33cfc402fc18a3f4754eae996dbc7a6ad347700e
7
- data.tar.gz: 6b37752ad61df612725174a3f030dca6f53f25d9505e150fce678d933a7fe04f890b264a9a470fe7e9d7caaa622fd9bf373ec5872371b43da8e05d651ca8165f
6
+ metadata.gz: 1c13c0dd5aec140a9a169be96a24ffe4f2ab64afcaacb25626394649ca0408924e5e7e044bdb887e1f624c5718598e977732612ef5bb8162efd703b115827683
7
+ data.tar.gz: 156c0fa7310930f420ab830db3c1b957a416ef1800a625523b37e11d2b0ad002fdc7acd8cf845161e3afee959de04889ac4dbdec67f696667dd157ef8cd91e3a
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -1,10 +1,17 @@
1
+ === 0.1.5 / 2013-10-08
2
+
3
+ * Fix typo
4
+
5
+ * Array#standard_deviation
6
+
7
+
1
8
  === 0.1.4 / 2013-08-20
2
9
 
3
10
  * Add Class Extension
4
11
 
5
12
  * Array#average
6
13
  * Array#variance
7
- * Array#standard_devitation
14
+ * Array#standard_deviation
8
15
 
9
16
 
10
17
  === 0.1.3 / 2012-10-25
@@ -65,7 +65,7 @@ $ gem install sysadmin
65
65
  * Array#variance
66
66
  配列の分散を返却する
67
67
 
68
- * Array#standard_devitation
68
+ * Array#standard_deviation
69
69
  配列の標準偏差を返却する
70
70
 
71
71
  - Sysadmin::Util
@@ -2,12 +2,12 @@
2
2
  # Name:: Sysadmin
3
3
  # Author:: 774 <http://id774.net>
4
4
  # Created:: Mar 23, 2012
5
- # Updated:: Aug 20, 2013
5
+ # Updated:: Oct 08, 2013
6
6
  # Copyright:: 774 Copyright (c) 2012
7
7
  # License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
8
8
 
9
9
  module Sysadmin
10
- VERSION = "0.1.4"
10
+ VERSION = "0.1.5"
11
11
  require File.dirname(__FILE__) + "/sysadmin/util"
12
12
  require File.dirname(__FILE__) + "/sysadmin/array_ext"
13
13
  require File.dirname(__FILE__) + "/sysadmin/file_ext"
@@ -1,7 +1,7 @@
1
1
  # Name:: Sysadmin::ArrayExtension
2
2
  # Author:: 774 <http://id774.net>
3
3
  # Created:: Aug 20, 2013
4
- # Updated:: Aug 20, 2013
4
+ # Updated:: Oct 08, 2013
5
5
  # Copyright:: 774 Copyright (c) 2013
6
6
  # License:: Licensed under the GNU GENERAL PUBLIC LICENSE, Version 3.0.
7
7
 
@@ -16,7 +16,7 @@ class Array
16
16
  inject(0.0) { |sum, i| sum += (i - ave)**2 } / size
17
17
  end
18
18
 
19
- def standard_devitation
19
+ def standard_deviation
20
20
  Math::sqrt(self.variance)
21
21
  end
22
22
 
@@ -17,10 +17,10 @@ describe Sysadmin, 'Array クラス拡張' do
17
17
  end
18
18
  end
19
19
 
20
- context 'で standard_devitation メソッドを呼ぶ場合' do
20
+ context 'で standard_deviation メソッドを呼ぶ場合' do
21
21
  it "標準偏差が返却される" do
22
22
  a = [88, 99, 77, 66, 55, 40]
23
- a.standard_devitation.should == 19.79407880037754
23
+ a.standard_deviation.should == 19.79407880037754
24
24
  end
25
25
  end
26
26
  end
@@ -5,7 +5,7 @@ require File.dirname(__FILE__) + '/../spec_helper'
5
5
  describe Sysadmin, 'sysadmin' do
6
6
  context 'のバージョンを参照した場合' do
7
7
  it "バージョンが正しく表示される" do
8
- expect = '0.1.4'
8
+ expect = '0.1.5'
9
9
  Sysadmin.const_get(:VERSION).should be_true
10
10
  Sysadmin.const_get(:VERSION).should == expect
11
11
  end
@@ -2,14 +2,15 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
+ # stub: sysadmin 0.1.5 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
8
  s.name = "sysadmin"
8
- s.version = "0.1.4"
9
+ s.version = "0.1.5"
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
12
  s.authors = ["id774"]
12
- s.date = "2013-08-20"
13
+ s.date = "2013-10-08"
13
14
  s.description = "The general-purpose library for system administrations"
14
15
  s.email = "idnanashi@gmail.com"
15
16
  s.extra_rdoc_files = [
@@ -59,7 +60,7 @@ Gem::Specification.new do |s|
59
60
  s.homepage = "http://github.com/id774/sysadmin"
60
61
  s.licenses = ["GPL"]
61
62
  s.require_paths = ["lib"]
62
- s.rubygems_version = "2.0.6"
63
+ s.rubygems_version = "2.1.5"
63
64
  s.summary = "Sysadmin"
64
65
 
65
66
  if s.respond_to? :specification_version then
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sysadmin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - id774
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-20 00:00:00.000000000 Z
11
+ date: 2013-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  version: '0'
119
119
  requirements: []
120
120
  rubyforge_project:
121
- rubygems_version: 2.0.6
121
+ rubygems_version: 2.1.5
122
122
  signing_key:
123
123
  specification_version: 4
124
124
  summary: Sysadmin