hardware_information 1.0.71

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of hardware_information might be problematic. Click here for more details.

Files changed (39) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +65 -0
  3. data/bin/hardware_information +12 -0
  4. data/doc/README.gen +25 -0
  5. data/hardware_information.gemspec +44 -0
  6. data/lib/hardware_information/class/colours.rb +82 -0
  7. data/lib/hardware_information/class/constants.rb +145 -0
  8. data/lib/hardware_information/class/hardware_information.rb +32 -0
  9. data/lib/hardware_information/class/initialize.rb +24 -0
  10. data/lib/hardware_information/class/make_line.rb +55 -0
  11. data/lib/hardware_information/class/menu.rb +52 -0
  12. data/lib/hardware_information/class/misc.rb +275 -0
  13. data/lib/hardware_information/class/obtain.rb +255 -0
  14. data/lib/hardware_information/class/reset.rb +54 -0
  15. data/lib/hardware_information/class/run.rb +48 -0
  16. data/lib/hardware_information/css/project.css +3 -0
  17. data/lib/hardware_information/gui/gtk2/purchased_hardware/purchased_hardware.rb +34 -0
  18. data/lib/hardware_information/gui/gtk2/show_input_devices/show_input_devices.rb +34 -0
  19. data/lib/hardware_information/gui/gtk3/mounted_harddiscs/mounted_harddiscs.rb +103 -0
  20. data/lib/hardware_information/gui/gtk3/purchased_hardware/purchased_hardware.rb +34 -0
  21. data/lib/hardware_information/gui/gtk3/show_input_devices/show_input_devices.rb +34 -0
  22. data/lib/hardware_information/gui/libui/mounted_harddiscs/mounted_harddiscs.rb +88 -0
  23. data/lib/hardware_information/gui/shared_code/mounted_harddiscs/mounted_harddiscs_module.rb +107 -0
  24. data/lib/hardware_information/gui/shared_code/purchased_hardware/purchased_hardware_module.rb +291 -0
  25. data/lib/hardware_information/gui/shared_code/show_input_devices/show_input_devices_module.rb +187 -0
  26. data/lib/hardware_information/misc/purchased_hardware/README.md +7 -0
  27. data/lib/hardware_information/misc/purchased_hardware/purchased_hardware.rb +169 -0
  28. data/lib/hardware_information/monitor/README.md +6 -0
  29. data/lib/hardware_information/monitor/monitor.rb +36 -0
  30. data/lib/hardware_information/project/project.rb +29 -0
  31. data/lib/hardware_information/version/version.rb +19 -0
  32. data/lib/hardware_information/www/embeddable_interface.rb +52 -0
  33. data/lib/hardware_information/www/my_hardware.cgi +7 -0
  34. data/lib/hardware_information/www/my_hardware.rb +462 -0
  35. data/lib/hardware_information/www/my_hardware_for_sinatra.rb +65 -0
  36. data/lib/hardware_information/yaml/colours_for_the_hardware_information_project.yml +30 -0
  37. data/lib/hardware_information/yaml/usb_errors/usb_errors.yml +2 -0
  38. data/lib/hardware_information.rb +7 -0
  39. metadata +95 -0
@@ -0,0 +1,30 @@
1
+ # =========================================================================== #
2
+ # === colours_for_the_hardware_information_project
3
+ #
4
+ # This yaml file keeps the colours that are to be used for the
5
+ # hardware-information project, as far as the main report-action
6
+ # (on the commandline) is concerned.
7
+ #
8
+ # Keep the entries via the awkward !ruby/symbol, so that we can
9
+ # directly work with Symbols in the ruby code.
10
+ # =========================================================================== #
11
+
12
+ # =========================================================================== #
13
+ # === filesize_of_the_harddisc
14
+ # =========================================================================== #
15
+ !ruby/symbol filesize_of_the_harddisc: !ruby/symbol orchid # Use orchid as colour here.
16
+
17
+ # =========================================================================== #
18
+ # === file_system_type
19
+ # =========================================================================== #
20
+ !ruby/symbol file_system_type: !ruby/symbol steelblue # Use steelblue as colour here.
21
+
22
+ # =========================================================================== #
23
+ # === n_percent_occupied
24
+ # =========================================================================== #
25
+ !ruby/symbol n_percent_occupied: !ruby/symbol seagreen # Use seagreen as colour here.
26
+
27
+ # =========================================================================== #
28
+ # === highlighted_content
29
+ # =========================================================================== #
30
+ !ruby/symbol highlighted_content: !ruby/symbol orangered # Use orangered as colour here.
@@ -0,0 +1,2 @@
1
+ # USB error
2
+ -110: 'Timeout expired before the transfer completed'
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/ruby -w
2
+ # Encoding: UTF-8
3
+ # frozen_string_literal: true
4
+ # =========================================================================== #
5
+ require 'hardware_information/class/hardware_information.rb'
6
+ require 'hardware_information/misc/purchased_hardware/purchased_hardware.rb'
7
+ require 'hardware_information/www/embeddable_interface.rb'
metadata ADDED
@@ -0,0 +1,95 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hardware_information
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.71
5
+ platform: ruby
6
+ authors:
7
+ - Robert A. Heiler
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2022-08-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: colours
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ description: "\nThis small class will output Information about your hardware,\ni.e.
28
+ the Processor type and so on. It is supposed to be \na really small gem.\n\n"
29
+ email: shevy@inbox.lt
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - README.md
35
+ - bin/hardware_information
36
+ - doc/README.gen
37
+ - hardware_information.gemspec
38
+ - lib/hardware_information.rb
39
+ - lib/hardware_information/class/colours.rb
40
+ - lib/hardware_information/class/constants.rb
41
+ - lib/hardware_information/class/hardware_information.rb
42
+ - lib/hardware_information/class/initialize.rb
43
+ - lib/hardware_information/class/make_line.rb
44
+ - lib/hardware_information/class/menu.rb
45
+ - lib/hardware_information/class/misc.rb
46
+ - lib/hardware_information/class/obtain.rb
47
+ - lib/hardware_information/class/reset.rb
48
+ - lib/hardware_information/class/run.rb
49
+ - lib/hardware_information/css/project.css
50
+ - lib/hardware_information/gui/gtk2/purchased_hardware/purchased_hardware.rb
51
+ - lib/hardware_information/gui/gtk2/show_input_devices/show_input_devices.rb
52
+ - lib/hardware_information/gui/gtk3/mounted_harddiscs/mounted_harddiscs.rb
53
+ - lib/hardware_information/gui/gtk3/purchased_hardware/purchased_hardware.rb
54
+ - lib/hardware_information/gui/gtk3/show_input_devices/show_input_devices.rb
55
+ - lib/hardware_information/gui/libui/mounted_harddiscs/mounted_harddiscs.rb
56
+ - lib/hardware_information/gui/shared_code/mounted_harddiscs/mounted_harddiscs_module.rb
57
+ - lib/hardware_information/gui/shared_code/purchased_hardware/purchased_hardware_module.rb
58
+ - lib/hardware_information/gui/shared_code/show_input_devices/show_input_devices_module.rb
59
+ - lib/hardware_information/misc/purchased_hardware/README.md
60
+ - lib/hardware_information/misc/purchased_hardware/purchased_hardware.rb
61
+ - lib/hardware_information/monitor/README.md
62
+ - lib/hardware_information/monitor/monitor.rb
63
+ - lib/hardware_information/project/project.rb
64
+ - lib/hardware_information/version/version.rb
65
+ - lib/hardware_information/www/embeddable_interface.rb
66
+ - lib/hardware_information/www/my_hardware.cgi
67
+ - lib/hardware_information/www/my_hardware.rb
68
+ - lib/hardware_information/www/my_hardware_for_sinatra.rb
69
+ - lib/hardware_information/yaml/colours_for_the_hardware_information_project.yml
70
+ - lib/hardware_information/yaml/usb_errors/usb_errors.yml
71
+ homepage: https://rubygems.org/gems/environment_information
72
+ licenses:
73
+ - GPL-2.0
74
+ metadata: {}
75
+ post_install_message:
76
+ rdoc_options: []
77
+ require_paths:
78
+ - lib
79
+ required_ruby_version: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: 2.5.8
84
+ required_rubygems_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: 3.3.18
89
+ requirements: []
90
+ rubygems_version: 3.3.18
91
+ signing_key:
92
+ specification_version: 4
93
+ summary: This small class will output Information about your hardware, i.e. the Processor
94
+ type and so on. It is supposed to be a really small gem.
95
+ test_files: []