Add this line to your application's Gemfile:
gem 'appx'
And then execute:
$ bundle
Or install it yourself as:
$ gem install appx
require 'appx'
appx = Appx::File('path/to/file.appx')
puts appx.manifest.identity_name
puts appx.manifest.version
Bug reports and pull requests are welcome on GitHub at https://github.com/nearlyfreeapps/appx.
The gem is available as open source under the terms of the MIT License.