motion-fabric 0.3 → 0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/motion-fabric.rb +13 -1
- 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: e6fdcc31b873d10220bec84619c51fae77599de3
|
4
|
+
data.tar.gz: c59c891b77bfee86d42746ccd12d9e789f003a33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a262984785728861b92ec6b847af140026da52e92f5e436afd3b65f9ac9d26c42325985f0bec0c52193c5f3a562b9d6699ada07da81a389ac1a8695b6491a485
|
7
|
+
data.tar.gz: 575163751ea4a52a377838aedd2e59b7f3785ea00a869bd01277f3bbf19552afc361f845a486ae81f1f4f1e1f7d559db476577a5a248279b9976c6947fe8969b
|
data/lib/motion-fabric.rb
CHANGED
@@ -120,6 +120,7 @@ def fabric_run(platform)
|
|
120
120
|
end
|
121
121
|
|
122
122
|
namespace :fabric do
|
123
|
+
desc 'Create a new app in Fabric'
|
123
124
|
task :setup do
|
124
125
|
# Build for the simulator so we generate the data needed by the "run" tool
|
125
126
|
Rake::Task["build:simulator"].execute
|
@@ -131,6 +132,7 @@ namespace :fabric do
|
|
131
132
|
Rake::Task["simulator"].execute
|
132
133
|
end
|
133
134
|
|
135
|
+
desc 'Upload a build to Crashlytics'
|
134
136
|
task :upload do
|
135
137
|
App.config.fabric.beta_block.call if App.config.fabric.beta_block
|
136
138
|
|
@@ -147,15 +149,25 @@ namespace :fabric do
|
|
147
149
|
App.info "Fabric", "Uploading IPA"
|
148
150
|
notes_path = File.join(Dir.tmpdir, 'fabric-notes.txt')
|
149
151
|
open(notes_path, 'w') { |io| io.write ENV['notes'] }
|
150
|
-
|
152
|
+
|
153
|
+
args = ""
|
154
|
+
args << " -ipaPath \"#{App.config.archive}\""
|
155
|
+
args << " -notesPath \"#{notes_path}\""
|
156
|
+
args << " -emails \"#{ENV['emails']}\"" if ENV['emails']
|
157
|
+
args << " -groupAliases \"#{ENV['groups']}\"" if ENV['groups']
|
158
|
+
args << " -notifications \"#{ENV['notifications']}\"" if ENV['notifications']
|
159
|
+
|
160
|
+
system(%Q{#{pods_root}/Crashlytics/submit #{api_key} #{build_secret} #{args}})
|
151
161
|
end
|
152
162
|
end
|
153
163
|
|
154
164
|
namespace :dsym do
|
165
|
+
desc 'Upload the dSYM file for the device executable to Crashlytics'
|
155
166
|
task :device do
|
156
167
|
fabric_run(App.config_without_setup.deploy_platform)
|
157
168
|
end
|
158
169
|
|
170
|
+
desc 'Upload the dSYM file for the simulator executable to Crashlytics'
|
159
171
|
task :simulator do
|
160
172
|
fabric_run(App.config_without_setup.local_platform)
|
161
173
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-fabric
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.4'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HipByte
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: motion-cocoapods
|