kanrisuru 0.8.23 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +3 -1
  3. data/CHANGELOG.md +36 -19
  4. data/README.md +1 -0
  5. data/kanrisuru.gemspec +2 -1
  6. data/lib/kanrisuru/core/archive.rb +6 -5
  7. data/lib/kanrisuru/remote/cluster.rb +33 -1
  8. data/lib/kanrisuru/remote/cpu.rb +3 -3
  9. data/lib/kanrisuru/remote/env.rb +8 -0
  10. data/lib/kanrisuru/version.rb +1 -1
  11. data/spec/functional/core/archive_spec.rb +194 -0
  12. data/spec/functional/remote/cluster_spec.rb +57 -0
  13. data/spec/functional/remote/env_spec.rb +50 -0
  14. data/spec/helper/stub_network.rb +25 -1
  15. data/spec/{functional → integration}/os_package_spec.rb +0 -0
  16. data/spec/spec_helper.rb +3 -0
  17. data/spec/unit/command_spec.rb +31 -0
  18. data/spec/unit/core/apt_spec.rb +20 -0
  19. data/spec/unit/core/archive_spec.rb +20 -0
  20. data/spec/unit/core/disk_spec.rb +23 -0
  21. data/spec/unit/core/dmi_spec.rb +20 -0
  22. data/spec/unit/core/file_spec.rb +35 -0
  23. data/spec/unit/core/find_spec.rb +20 -0
  24. data/spec/unit/core/group_spec.rb +24 -0
  25. data/spec/unit/core/ip_spec.rb +20 -0
  26. data/spec/unit/core/path_spec.rb +25 -0
  27. data/spec/unit/core/socket_spec.rb +20 -0
  28. data/spec/unit/core/stat_spec.rb +27 -0
  29. data/spec/unit/core/system_spec.rb +35 -0
  30. data/spec/unit/core/transfer_spec.rb +22 -0
  31. data/spec/unit/core/user_spec.rb +25 -0
  32. data/spec/unit/core/yum_spec.rb +20 -0
  33. data/spec/unit/core/zypper_spec.rb +20 -0
  34. data/spec/unit/mode_spec.rb +31 -0
  35. data/spec/unit/remote/cluster_spec.rb +34 -0
  36. data/spec/unit/remote/cpu_spec.rb +50 -0
  37. data/spec/unit/remote/env_spec.rb +19 -0
  38. data/spec/unit/{fstab_spec.rb → remote/fstab_spec.rb} +0 -0
  39. metadata +27 -5
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kanrisuru
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.23
4
+ version: 0.10.0
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-11-19 00:00:00.000000000 Z
11
+ date: 2021-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0.21'
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov-cobertura
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '2.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '2.0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: net-ping
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -108,7 +122,8 @@ dependencies:
108
122
  - - "~>"
109
123
  - !ruby/object:Gem::Version
110
124
  version: '6.1'
111
- description: Manage remote servers over ssh with ruby.
125
+ description: Kanrisuru helps manage remote servers with objected oriented ruby. Results
126
+ come back as structured data, parsed, prepared and ready .
112
127
  email: ryan@avamia.com
113
128
  executables: []
114
129
  extensions: []
@@ -174,6 +189,7 @@ files:
174
189
  - lib/kanrisuru/util/signal.rb
175
190
  - lib/kanrisuru/version.rb
176
191
  - spec/functional/core/apt_spec.rb
192
+ - spec/functional/core/archive_spec.rb
177
193
  - spec/functional/core/find_spec.rb
178
194
  - spec/functional/core/path_spec.rb
179
195
  - spec/functional/core/socket_spec.rb
@@ -181,7 +197,8 @@ files:
181
197
  - spec/functional/core/stream_spec.rb
182
198
  - spec/functional/core/transfer_spec.rb
183
199
  - spec/functional/core/yum_spec.rb
184
- - spec/functional/os_package_spec.rb
200
+ - spec/functional/remote/cluster_spec.rb
201
+ - spec/functional/remote/env_spec.rb
185
202
  - spec/helper/expect_helpers.rb
186
203
  - spec/helper/stub_network.rb
187
204
  - spec/helper/test_hosts.rb
@@ -203,6 +220,7 @@ files:
203
220
  - spec/integration/core/user_spec.rb
204
221
  - spec/integration/core/yum_spec.rb
205
222
  - spec/integration/core/zypper_spec.rb
223
+ - spec/integration/os_package_spec.rb
206
224
  - spec/integration/remote/cluster_spec.rb
207
225
  - spec/integration/remote/cpu_spec.rb
208
226
  - spec/integration/remote/env_spec.rb
@@ -212,6 +230,7 @@ files:
212
230
  - spec/integration/remote/os_spec.rb
213
231
  - spec/integration/remote/remote_file_spec.rb
214
232
  - spec/spec_helper.rb
233
+ - spec/unit/command_spec.rb
215
234
  - spec/unit/core/apt_spec.rb
216
235
  - spec/unit/core/archive_spec.rb
217
236
  - spec/unit/core/disk_spec.rb
@@ -228,9 +247,12 @@ files:
228
247
  - spec/unit/core/user_spec.rb
229
248
  - spec/unit/core/yum_spec.rb
230
249
  - spec/unit/core/zypper_spec.rb
231
- - spec/unit/fstab_spec.rb
232
250
  - spec/unit/kanrisuru_spec.rb
233
251
  - spec/unit/mode_spec.rb
252
+ - spec/unit/remote/cluster_spec.rb
253
+ - spec/unit/remote/cpu_spec.rb
254
+ - spec/unit/remote/env_spec.rb
255
+ - spec/unit/remote/fstab_spec.rb
234
256
  - spec/unit/template_spec.rb
235
257
  - spec/unit/util_spec.rb
236
258
  - spec/zz_reboot_spec.rb