kanrisuru 0.16.0 → 0.16.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/lib/kanrisuru/command.rb +2 -3
  4. data/lib/kanrisuru/core/zypper/commands/add_repo.rb +1 -8
  5. data/lib/kanrisuru/core/zypper/commands/add_service.rb +4 -2
  6. data/lib/kanrisuru/core/zypper/commands/info.rb +1 -2
  7. data/lib/kanrisuru/core/zypper/commands/install.rb +2 -3
  8. data/lib/kanrisuru/core/zypper/commands/modify_repo.rb +1 -7
  9. data/lib/kanrisuru/core/zypper/commands/modify_service.rb +3 -1
  10. data/lib/kanrisuru/core/zypper/commands/remove.rb +1 -2
  11. data/lib/kanrisuru/core/zypper/commands/remove_repo.rb +3 -3
  12. data/lib/kanrisuru/core/zypper/commands/remove_service.rb +6 -1
  13. data/lib/kanrisuru/core/zypper/commands/search.rb +1 -3
  14. data/lib/kanrisuru/core/zypper/commands/source_install.rb +2 -0
  15. data/lib/kanrisuru/core/zypper/commands.rb +10 -1
  16. data/lib/kanrisuru/mode/permission.rb +103 -0
  17. data/lib/kanrisuru/mode.rb +2 -98
  18. data/lib/kanrisuru/os_package.rb +2 -0
  19. data/lib/kanrisuru/remote/fstab/entry.rb +154 -0
  20. data/lib/kanrisuru/remote/fstab/options.rb +143 -0
  21. data/lib/kanrisuru/remote/fstab.rb +3 -283
  22. data/lib/kanrisuru/remote/host.rb +1 -3
  23. data/lib/kanrisuru/version.rb +1 -1
  24. data/spec/functional/core/{ip/ip_address_label_spec.rb → ip_address_label_spec.rb} +0 -0
  25. data/spec/functional/core/{ip/ip_address_spec.rb → ip_address_spec.rb} +0 -0
  26. data/spec/functional/core/{ip/ip_link_spec.rb → ip_link_spec.rb} +0 -0
  27. data/spec/functional/core/{ip/ip_maddress_spec.rb → ip_maddress_spec.rb} +0 -0
  28. data/spec/functional/core/{ip/ip_neighbour_spec.rb → ip_neighbour_spec.rb} +0 -0
  29. data/spec/functional/core/{ip/ip_route_spec.rb → ip_route_spec.rb} +0 -0
  30. data/spec/functional/core/{ip/ip_rule_spec.rb → ip_rule_spec.rb} +0 -0
  31. data/spec/functional/core/{ip/ip_spec.rb → ip_spec.rb} +0 -0
  32. data/spec/functional/core/zypper_spec.rb +708 -0
  33. data/spec/helper/stub_network.rb +1 -1
  34. metadata +14 -10
@@ -130,7 +130,7 @@ class StubNetwork
130
130
  operating_system: 'GNU/Linux',
131
131
  hardware_platform: 'x86_64',
132
132
  processor: 'x86_64',
133
- release: 'opensuse-leap',
133
+ release: 'opensuse_leap',
134
134
  version: 15.2
135
135
  }
136
136
  }
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.16.0
4
+ version: 0.16.4
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-12-15 00:00:00.000000000 Z
11
+ date: 2021-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel_tests
@@ -417,6 +417,7 @@ files:
417
417
  - lib/kanrisuru/core/zypper/types.rb
418
418
  - lib/kanrisuru/logger.rb
419
419
  - lib/kanrisuru/mode.rb
420
+ - lib/kanrisuru/mode/permission.rb
420
421
  - lib/kanrisuru/os_package.rb
421
422
  - lib/kanrisuru/os_package/collection.rb
422
423
  - lib/kanrisuru/os_package/define.rb
@@ -427,6 +428,8 @@ files:
427
428
  - lib/kanrisuru/remote/env.rb
428
429
  - lib/kanrisuru/remote/file.rb
429
430
  - lib/kanrisuru/remote/fstab.rb
431
+ - lib/kanrisuru/remote/fstab/entry.rb
432
+ - lib/kanrisuru/remote/fstab/options.rb
430
433
  - lib/kanrisuru/remote/host.rb
431
434
  - lib/kanrisuru/remote/memory.rb
432
435
  - lib/kanrisuru/remote/os.rb
@@ -446,14 +449,14 @@ files:
446
449
  - spec/functional/core/file_spec.rb
447
450
  - spec/functional/core/find_spec.rb
448
451
  - spec/functional/core/group_spec.rb
449
- - spec/functional/core/ip/ip_address_label_spec.rb
450
- - spec/functional/core/ip/ip_address_spec.rb
451
- - spec/functional/core/ip/ip_link_spec.rb
452
- - spec/functional/core/ip/ip_maddress_spec.rb
453
- - spec/functional/core/ip/ip_neighbour_spec.rb
454
- - spec/functional/core/ip/ip_route_spec.rb
455
- - spec/functional/core/ip/ip_rule_spec.rb
456
- - spec/functional/core/ip/ip_spec.rb
452
+ - spec/functional/core/ip_address_label_spec.rb
453
+ - spec/functional/core/ip_address_spec.rb
454
+ - spec/functional/core/ip_link_spec.rb
455
+ - spec/functional/core/ip_maddress_spec.rb
456
+ - spec/functional/core/ip_neighbour_spec.rb
457
+ - spec/functional/core/ip_route_spec.rb
458
+ - spec/functional/core/ip_rule_spec.rb
459
+ - spec/functional/core/ip_spec.rb
457
460
  - spec/functional/core/mount_spec.rb
458
461
  - spec/functional/core/path_spec.rb
459
462
  - spec/functional/core/socket_spec.rb
@@ -463,6 +466,7 @@ files:
463
466
  - spec/functional/core/transfer_spec.rb
464
467
  - spec/functional/core/user_spec.rb
465
468
  - spec/functional/core/yum_spec.rb
469
+ - spec/functional/core/zypper_spec.rb
466
470
  - spec/functional/remote/cluster_spec.rb
467
471
  - spec/functional/remote/cpu_spec.rb
468
472
  - spec/functional/remote/env_spec.rb