motion-deploygate
DeployGate integration for RubyMotion projects
Installation
Add this line to your application's Gemfile:
gem 'motion-deploygate'
And then execute:
$ bundle
Or install it yourself as:
$ gem install motion-deploygate
Setup
Install the DeployGate command with
curl https://deploygate.com/install.sh | /bin/sh
on Terminal.app.Download the DeployGate SDK for iOS from https://deploygate.com/docs/ios_sdk and unpack it. Then, copy
DeployGateSDK.framework
intovendor
directory of your RubyMotion project. Create thevendor
directory if it does not exist.Configure the DeployGate SDK in your
Rakefile
. Set upuser_id
,api_key
,user_infomation
andsdk
variables as following.
Motion::Project::App.setup do |app|
...
app.development do
app.deploygate.user_id = '<user_id>'
app.deploygate.api_key = '<api_key>'
app.deploygate.user_infomation = true # or false
app.deploygate.sdk = 'vendor/DeployGateSDK.framework'
end
...
end
Usage
Submit your app to DeployGate
% rake deploygate:submit
Symbolicate a crashlog
Download a crashlog from DeployGate then run the following command to symbolicate a crashlog.
% rake deploygate:symbolicate file=file_path_to_crashlog
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request