motion-hockeyapp 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +1 -1
- data/lib/motion/project/hockeyapp.rb +16 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55b90d76029b4876a7f8fd236c6775a0ae2dfd8d
|
4
|
+
data.tar.gz: 08c07bc4a4dad79dd6a1bc9648500b1685295934
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0ce85e790ed7b395615493d49dc5c784e5f35b13a91fd28dc19f15d955aebc8e03bcaf3a9f5743a12440a41f89217f17cc4e560a2faa25cdf4df872c64db304
|
7
|
+
data.tar.gz: 373af430043dad9225ae88b44c1f66d6c2c88004110ad9acc5077bc511fff1d6935d42db0e83948320c44dbd2875a01c64270c0fc6753ecd3db4a1bd71275d7c
|
data/README.rdoc
CHANGED
@@ -91,7 +91,7 @@ and be submitted to the HockeyApp platform.
|
|
91
91
|
|
92
92
|
motion-hockeyapp introduces a +hockeyapp+ Rake task to your project, which can be used to submit a development build. The +notes+ parameter may be provided, and its content will be used as the submission release notes.
|
93
93
|
|
94
|
-
$
|
94
|
+
$ notes="release notes here" rake hockeyapp
|
95
95
|
|
96
96
|
or build in hockeyapp mode and try to deploy it to your device, but skip uploading it to hockeyapp:
|
97
97
|
|
@@ -88,7 +88,6 @@ namespace 'hockeyapp' do
|
|
88
88
|
prefs = App.config.hockeyapp
|
89
89
|
|
90
90
|
App.fail "A value for app.hockeyapp.api_token is mandatory" unless prefs.api_token
|
91
|
-
notes = ENV['notes'].to_s
|
92
91
|
|
93
92
|
Rake::Task["archive"].invoke
|
94
93
|
|
@@ -96,9 +95,10 @@ namespace 'hockeyapp' do
|
|
96
95
|
app_dsym = App.config.app_bundle('iPhoneOS').sub(/\.app$/, '.dSYM')
|
97
96
|
app_dsym_zip = app_dsym + '.zip'
|
98
97
|
if !File.exist?(app_dsym_zip) or File.mtime(app_dsym) > File.mtime(app_dsym_zip)
|
99
|
-
p app_dsym
|
100
98
|
Dir.chdir(File.dirname(app_dsym)) do
|
101
|
-
|
99
|
+
args = "/usr/bin/zip", "-q", "-r", "#{File.basename(app_dsym)}.zip", File.basename(app_dsym)
|
100
|
+
App.info 'Run', args.join(" ")
|
101
|
+
system(*args)
|
102
102
|
end
|
103
103
|
end
|
104
104
|
|
@@ -106,10 +106,19 @@ namespace 'hockeyapp' do
|
|
106
106
|
prefs.notify ||= "0"
|
107
107
|
prefs.notes_type ||= "1"
|
108
108
|
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
109
|
+
cmd = %Q{/usr/bin/curl "https://rink.hockeyapp.net/api/2/apps" -F status="$status" -F notify="$notify" -F notes="$notes" -F notes_type="$notes_type" -F ipa="$ipa" -F dsym="$dsym" -H "$header"}
|
110
|
+
|
111
|
+
env = {
|
112
|
+
"notes" => ENV['notes'].to_s,
|
113
|
+
"status" => prefs.status.to_s,
|
114
|
+
"notify" => prefs.notify.to_s,
|
115
|
+
"notes_type" => prefs.notes_type.to_s,
|
116
|
+
"ipa" => "@#{App.config.archive}",
|
117
|
+
"dsym" => "@#{app_dsym_zip}",
|
118
|
+
"header" => "X-HockeyAppToken: #{prefs.api_token}"
|
119
|
+
}
|
120
|
+
App.info 'Run', "#{env.inspect} #{cmd}"
|
121
|
+
system(env, cmd)
|
113
122
|
end
|
114
123
|
|
115
124
|
desc "Records if the device build is created in hockeyapp mode, so some things can be cleaned up between mode switches"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-hockeyapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joe Noon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: motion-hockeyapp allows RubyMotion projects to easily embed the Hockey
|
14
14
|
SDK and be submitted to the HockeyApp platform.
|