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 +4 -4
- data/kanrisuru.gemspec +8 -8
- data/lib/kanrisuru/core/yum.rb +5 -2
- data/lib/kanrisuru/util/bits.rb +3 -3
- data/lib/kanrisuru/version.rb +1 -1
- metadata +32 -32
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34a295375b187db49db38cccaa4fdd155d706378b1615d58744aa62f9172cada
|
4
|
+
data.tar.gz: ed2e0995c40b0fa3902100377bb275e1413d98caf13bbd60b04bceb122d81301
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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', '
|
18
|
-
gem.add_development_dependency 'rubocop', '
|
19
|
-
gem.add_development_dependency 'rubocop-rspec', '
|
20
|
-
gem.add_development_dependency 'simplecov', '
|
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', '
|
23
|
-
gem.add_runtime_dependency 'net-scp', '
|
24
|
-
gem.add_runtime_dependency 'net-ssh', '
|
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']
|
data/lib/kanrisuru/core/yum.rb
CHANGED
data/lib/kanrisuru/util/bits.rb
CHANGED
@@ -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
|
data/lib/kanrisuru/version.rb
CHANGED
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.
|
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-
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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:
|
221
|
+
version: '0'
|
222
222
|
requirements: []
|
223
223
|
rubygems_version: 3.1.2
|
224
224
|
signing_key:
|