kanrisuru 0.2.7 → 0.2.8

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: '02938cd29be8b4f58c3bee34c23a9812f698bba6059527aff428bf33b14d042a'
4
- data.tar.gz: 2dd378d354a441deccc1e5eebfaaa27a45a042ddcadf483a2c5835e55515320c
3
+ metadata.gz: 34a295375b187db49db38cccaa4fdd155d706378b1615d58744aa62f9172cada
4
+ data.tar.gz: ed2e0995c40b0fa3902100377bb275e1413d98caf13bbd60b04bceb122d81301
5
5
  SHA512:
6
- metadata.gz: 9e5986e22a6e3f6b0e11d2f1b4b6e6293b0e7ce90b7e5f848f5df27e06569a30060d42257d502c035b46c488ac3f2bad098dd267d180618a5843360ab1e4db7a
7
- data.tar.gz: d13bafb8ee5a585193e3e00a3ba16ab70f3eedad5666c9e4d5eb4036457d9db37cdda608ce9cce49fef978b789b3500e9142263fc1fbcd4aba5d10b1ac93d30a
6
+ metadata.gz: df90e5eca434eb978f0396919571f08c976aed094f096b62988368fcc93b2a1177c46e947aceb732273f420cd28d7ebd8ccf4db532398ddbdd87e7d4ccf8afc6
7
+ data.tar.gz: 8c0b99e559e4f50610532dc57ef5ff0bb544259deac214cf03edcab3463f904e5935bcc4e6cdf041a4b231a44476df51084d3ba7570d8d4978dae14c31ca31d8
data/kanrisuru.gemspec CHANGED
@@ -9,19 +9,19 @@ Gem::Specification.new do |gem|
9
9
  gem.email = 'ryan@avamia.com'
10
10
  gem.license = 'MIT'
11
11
  gem.summary = 'Manage remote servers over ssh with ruby.'
12
+ gem.description = 'Manage remote servers over ssh with ruby.'
12
13
  gem.homepage = 'https://github.com/avamia/kanrisuru'
13
14
 
14
15
  gem.required_ruby_version = '>= 2.5.0'
15
- gem.required_rubygems_version = '>= 1.8.11'
16
16
 
17
- gem.add_development_dependency 'rspec', '>= 3.10.0'
18
- gem.add_development_dependency 'rubocop', '>= 1.12.1'
19
- gem.add_development_dependency 'rubocop-rspec', '>= 2.2.0'
20
- gem.add_development_dependency 'simplecov', '>= 0.21.2'
17
+ gem.add_development_dependency 'rspec', '~> 3.10'
18
+ gem.add_development_dependency 'rubocop', '~> 1.12'
19
+ gem.add_development_dependency 'rubocop-rspec', '~> 2.2'
20
+ gem.add_development_dependency 'simplecov', '~> 0.21'
21
21
 
22
- gem.add_runtime_dependency 'net-ping', '>= 2.0.8'
23
- gem.add_runtime_dependency 'net-scp', '>= 3.0.0'
24
- gem.add_runtime_dependency 'net-ssh', '>= 6.1.0'
22
+ gem.add_runtime_dependency 'net-ping', '~> 2.0'
23
+ gem.add_runtime_dependency 'net-scp', '~> 3.0'
24
+ gem.add_runtime_dependency 'net-ssh', '~> 6.1'
25
25
 
26
26
  gem.files = `git ls-files`.split("\n")
27
27
  gem.require_paths = ['lib']
@@ -341,8 +341,11 @@ module Kanrisuru
341
341
  end
342
342
  end
343
343
 
344
- current_row.description = description.strip
345
- rows << current_row
344
+ if current_row
345
+ current_row.description = description.strip
346
+ rows << current_row
347
+ end
348
+
346
349
  rows
347
350
  end
348
351
  end
@@ -13,11 +13,11 @@ module Kanrisuru
13
13
  case unit.downcase
14
14
  when 'b'
15
15
  Kanrisuru::Util::Bits.convert_bytes(size, :byte, :kilobyte)
16
- when 'kb', 'k'
16
+ when 'kb', 'k', 'kib'
17
17
  size
18
- when 'mb', 'm'
18
+ when 'mb', 'm', 'mib'
19
19
  Kanrisuru::Util::Bits.convert_from_mb(size, :kilobyte).to_i
20
- when 'gb', 'g'
20
+ when 'gb', 'g', 'gib'
21
21
  Kanrisuru::Util::Bits.convert_from_gb(size, :kilobyte).to_i
22
22
  end
23
23
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kanrisuru
4
- VERSION = '0.2.7'
4
+ VERSION = '0.2.8'
5
5
  end
metadata CHANGED
@@ -1,114 +1,114 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kanrisuru
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Mammina
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-18 00:00:00.000000000 Z
11
+ date: 2021-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.10.0
19
+ version: '3.10'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.10.0
26
+ version: '3.10'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.12.1
33
+ version: '1.12'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.12.1
40
+ version: '1.12'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.2.0
47
+ version: '2.2'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 2.2.0
54
+ version: '2.2'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: simplecov
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.21.2
61
+ version: '0.21'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.21.2
68
+ version: '0.21'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: net-ping
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 2.0.8
75
+ version: '2.0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 2.0.8
82
+ version: '2.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: net-scp
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 3.0.0
89
+ version: '3.0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 3.0.0
96
+ version: '3.0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: net-ssh
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 6.1.0
103
+ version: '6.1'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 6.1.0
111
- description:
110
+ version: '6.1'
111
+ description: Manage remote servers over ssh with ruby.
112
112
  email: ryan@avamia.com
113
113
  executables: []
114
114
  extensions: []
@@ -218,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  requirements:
219
219
  - - ">="
220
220
  - !ruby/object:Gem::Version
221
- version: 1.8.11
221
+ version: '0'
222
222
  requirements: []
223
223
  rubygems_version: 3.1.2
224
224
  signing_key: