0.0
Low commit activity in last 3 years
A long-lived project that still receives updates
A collection of macOS facts and useful information for MacAdmins
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 2.2.33
= 5.18.1
>= 11.2.2
 Project Readme

Marshmallow

Note: This has not been fully tested since macOS 10.14 but is working as of Ventura 13.4.1

This gem is a collection of macOS specific facts and actions that may be helpful for macadmins.

Usage

To see a list of available options for Marshmallow, require 'Marshmallow' in the file then type:
puts Marshmallow.options

the output should be similar to this:


- apps_installed
- ard_info1
- ard_info2
- ard_info3
- ard_info4
- boot_rom
- boot_volume
- build
- computer_name
- cores
- domain_check
- fastuserswitch_check
- firewall_check
- free_space
- graphics
- hd_size
- listoflocaladmins
- loginwindow_check
- memory
- model
- model_id
- options
- os_version
- processor_name
- processor_number
- processor_speed
- profiles_all
- profiles_installed
- serial
- smc
- system_launchagents
- system_launchdaemons
- user_launchagents
- user_launchdaemons
- users
- uuid

Examples:

To print the serial number: puts Marshmallow.serial

To print the computer name: puts Marshmallow.computer_name

License

The gem is available as open source under the terms of the MIT License.