guess_os 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +7 -0
  2. data/.standard.yml +3 -0
  3. data/CHANGELOG.md +5 -0
  4. data/Gemfile +12 -0
  5. data/Gemfile.lock +48 -0
  6. data/LICENSE +674 -0
  7. data/README.md +30 -0
  8. data/Rakefile +19 -0
  9. data/examples/demo-1-input.rb +25 -0
  10. data/examples/demo-2-input.rb +40 -0
  11. data/examples/demo-3-staticvalues.rb +9 -0
  12. data/examples/demo-4-staticvalues.rb +28 -0
  13. data/guess_os.gemspec +38 -0
  14. data/lib/guess_os/conn.rb +76 -0
  15. data/lib/guess_os/host.rb +27 -0
  16. data/lib/guess_os/os.rb +16 -0
  17. data/lib/guess_os/type.rb +92 -0
  18. data/lib/guess_os/version.rb +6 -0
  19. data/lib/guess_os.rb +7 -0
  20. data/sig/guess_os.rbs +4 -0
  21. data/vagrant/.gitignore +5 -0
  22. data/vagrant/debian/.gitignore +2 -0
  23. data/vagrant/debian/Vagrantfile +23 -0
  24. data/vagrant/manjaro/.gitignore +3 -0
  25. data/vagrant/manjaro/Vagrantfile +22 -0
  26. data/vagrant/manjaro/Vagrantfile.1mv +26 -0
  27. data/vagrant/minix/.gitignore +3 -0
  28. data/vagrant/minix/README.md +6 -0
  29. data/vagrant/minix/Vagrantfile +19 -0
  30. data/vagrant/opensuse/.gitignore +4 -0
  31. data/vagrant/opensuse/Vagrantfile +25 -0
  32. data/vagrant/opensuse.kde/.gitignore +1 -0
  33. data/vagrant/opensuse.kde/Vagrantfile +20 -0
  34. data/vagrant/ubuntu/.gitignore +2 -0
  35. data/vagrant/ubuntu/02-install-software.rb +27 -0
  36. data/vagrant/ubuntu/Vagrantfile +27 -0
  37. data/vagrant/ubuntu/install-software.rb +27 -0
  38. data/vagrant/windows10/.gitignore +1 -0
  39. data/vagrant/windows10/Vagrantfile +17 -0
  40. data/vagrant/windows10/Vagrantfile.edge +19 -0
  41. data/vagrant/windows7/.gitignore +2 -0
  42. data/vagrant/windows7/Vagrantfile +21 -0
  43. data/vagrant/winserver/.gitignore +3 -0
  44. data/vagrant/winserver/Vagrantfile +19 -0
  45. metadata +88 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: c3c636ee0b15fd1c68aa6a2bb4c4272979cb73c89a6886855a683854d00d38d2
4
+ data.tar.gz: da8e7869effe5ce9b00c46b7b706e6328ea494fd9f670308c5c893990694441d
5
+ SHA512:
6
+ metadata.gz: 1a2ae103136276617761854bf15943de46e1e69727da5030393e9a26e667a93ca766ff647e946832e7c1d967fd2938be2902d86ca6ebc40bfe65e7a73f25b386
7
+ data.tar.gz: 1bca1bc1cee18330ac2dcbe78dd89dc2e3c45ebdc97ee58fb34ed19c4758eeeecf53400fb2df078425f129e3eac679f97ae3b730014773bf0f70a2f248bed099
data/.standard.yml ADDED
@@ -0,0 +1,3 @@
1
+ # For available configuration options, see:
2
+ # https://github.com/testdouble/standard
3
+ ruby_version: 2.6
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2022-07-03
4
+
5
+ - Initial release
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in guess_os.gemspec
6
+ gemspec
7
+
8
+ # gem "test-unit", "~> 3.0"
9
+
10
+ gem 'bump'
11
+ gem 'rake'
12
+ gem "standard"
data/Gemfile.lock ADDED
@@ -0,0 +1,48 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ guess_os (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ ast (2.4.2)
10
+ bump (0.10.0)
11
+ parallel (1.22.1)
12
+ parser (3.1.2.0)
13
+ ast (~> 2.4.1)
14
+ rainbow (3.1.1)
15
+ rake (13.0.6)
16
+ regexp_parser (2.5.0)
17
+ rexml (3.2.5)
18
+ rubocop (1.29.1)
19
+ parallel (~> 1.10)
20
+ parser (>= 3.1.0.0)
21
+ rainbow (>= 2.2.2, < 4.0)
22
+ regexp_parser (>= 1.8, < 3.0)
23
+ rexml (>= 3.2.5, < 4.0)
24
+ rubocop-ast (>= 1.17.0, < 2.0)
25
+ ruby-progressbar (~> 1.7)
26
+ unicode-display_width (>= 1.4.0, < 3.0)
27
+ rubocop-ast (1.18.0)
28
+ parser (>= 3.1.1.0)
29
+ rubocop-performance (1.13.3)
30
+ rubocop (>= 1.7.0, < 2.0)
31
+ rubocop-ast (>= 0.4.0)
32
+ ruby-progressbar (1.11.0)
33
+ standard (1.12.1)
34
+ rubocop (= 1.29.1)
35
+ rubocop-performance (= 1.13.3)
36
+ unicode-display_width (2.2.0)
37
+
38
+ PLATFORMS
39
+ x86_64-linux
40
+
41
+ DEPENDENCIES
42
+ bump
43
+ guess_os!
44
+ rake
45
+ standard
46
+
47
+ BUNDLED WITH
48
+ 2.3.11