motion-hockeyrink allows RubyMotion projects to easily embed the HockeyApp SDK and be submitted to HockeyApp
gem install motion-hockeyrink
In your Rakefile:
require 'motion-hockeyrink'
# Mandatory for installation the HockeySDK pod
require 'motion-cocoapods'
Motion::Project::App.setup do |app|
# ...
# Mandatory
app.identifier = "com.usepropeller.hockeyapp.example"
# Mandatory
app.version = "0.0.1"
# Mandatory
app.pods do
pod 'HockeySDK'
end
app.hockeyapp do
# Mandatory
app.hockeyapp.api_token = "your_api_token"
# Mandatory
app.hockeyapp.app_id = "your_app_id"
# other options for app.hockeyapp; see "Configurations" below
end
end
$ rake hockeyapp
# ...
Create ./build/iPhoneOS-6.1-Development/Example.dSYM
Upload #<HockeyApp>
The app.hockeyapp
and rake hockeyapp
task accept the following options:
notes
- Release notes for this versionnotes_type
, either"textile"
or"markdown"
- The format of your release notes (default is"textile"
)notify
, eithertrue
orfalse
- Whether or not to notify your testers (default isfalse
)status
, either"deny"
or"allow"
- Whether testers can download the new version (default is"deny"
)mandatory
, eithertrue
orfalse
- Whether or not this is a mandatory version (default isfalse
)tags
- A comma-separated string of tags for this version
So, this:
app.hockeyapp.notes = "New version"
app.hockeyapp.notify = true
app.hockeyapp.tags = "hello,world"
is the same as:
rake hockeyapp notes='New version' notify=true tags='hello,world'
See LICENSE