Skip to content

This gem operates on Mac OSX Applications to retrieve information from them.

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt
Notifications You must be signed in to change notification settings

pr0d1r2/ruby_osx_app

Repository files navigation

ruby_osx_app

This gem operates on Mac OSX Applications to retrieve information from them.

Example usage

Into Gemfile put:

gem 'ruby_osx_app'

Get informations from app:

require 'osx_app'
osx_app = OsxApp.new('/Applications/1Password.app')
osx_app.version # => '4.0.3'
osx_app.version_major # => '4'
osx_app.minimum_osx # => '10.8.4'

You can initialize simpler:

osx_app = OsxApp.new('1Password.app')

Or even more simpler:

osx_app = OsxApp.new('1Password')

You can also get info from custom path app:

osx_app = OsxApp.new('/Volumes/ExternalDisk/Applications/1Password.app')

Contributing to ruby_osx_app

  • Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet.
  • Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it.
  • Fork the project.
  • Start a feature/bugfix branch.
  • Commit and push until you are happy with your contribution.
  • Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
  • Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.

Copyright

Copyright (c) 2013 Marcin Nowicki. See LICENSE.txt for further details.

About

This gem operates on Mac OSX Applications to retrieve information from them.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Packages

No packages published

Languages