testflight 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +55 -0
- data/bin/testflight +1 -1
- data/lib/testflight.rb +1 -1
- data/lib/testflight/builder.rb +3 -3
- data/lib/testflight/cli.rb +1 -1
- data/lib/testflight/config.rb +1 -1
- data/lib/testflight/version.rb +2 -2
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a7b86cfb6d1c6b243fdd064012550fe160e2b685
|
4
|
+
data.tar.gz: c1c6769a0d58bc9b13d4e5bc001562890d24ddc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d894c90ef2af1fa9473a996f337a0857e440f6c196aec8e7ca442dbc896a3f4a5df7eb1bf9fcf1ca425a72cb8822e3eeb9195a77fd85e4d7b5db349398e76c1f
|
7
|
+
data.tar.gz: ea302f6aa90d6b7cb67bb6b2c4a9432f45a2414cb465d32d8a3d22c988262d8abf75564272c5cee4c8b8ba399af89ae44ee7a53c040a586e426de78e338ef23c
|
data/README.rdoc
CHANGED
@@ -20,6 +20,8 @@
|
|
20
20
|
|
21
21
|
= Introduction
|
22
22
|
|
23
|
+
http://stillmaintained.com/berk/testflight.png
|
24
|
+
|
23
25
|
If you ever developed an iOS app, you most likely had to deal with the tedious tasks of manually building, packaging,
|
24
26
|
checking in, tagging, and distributing your iOS application to your testers through testflightapp.com.
|
25
27
|
|
@@ -139,6 +141,59 @@ Have a safe flight!
|
|
139
141
|
|
140
142
|
|
141
143
|
|
144
|
+
|
145
|
+
= Bonus
|
146
|
+
|
147
|
+
If you like browsing Github, finding, downloading and copying iOS libraries into your own project folder, then manually linking them,
|
148
|
+
etc.., keep doing that and skip this section.
|
149
|
+
|
150
|
+
If the above task drives you crazy, then you got to try CocoaPods! http://cocoapods.org
|
151
|
+
|
152
|
+
It is a pretty awesome framework for "managing library dependencies in Objective-C projects".
|
153
|
+
|
154
|
+
Here is how you can try it out:
|
155
|
+
|
156
|
+
Visit cocoapods.org and follow the instructions on how to install it. Basically, just:
|
157
|
+
|
158
|
+
$ gem install cocoapods
|
159
|
+
$ pod setup
|
160
|
+
|
161
|
+
Most of the COOL libraries are already available on CocoaPods. So search and find whatever you need.
|
162
|
+
|
163
|
+
Create a new iOS project in Xcode.
|
164
|
+
|
165
|
+
cd into the project folder and create a file name "Podfile". Enter the following:
|
166
|
+
|
167
|
+
platform :ios, '7.0'
|
168
|
+
pod 'Reachability', '~> 3.1.1'
|
169
|
+
pod "AFNetworking", "~> 2.0"
|
170
|
+
|
171
|
+
Install the pods you just mentioned by executing:
|
172
|
+
|
173
|
+
$ pod install
|
174
|
+
|
175
|
+
Notice that when you created a project earlier, you just had a project file in your folder, but now you have a workspace file.
|
176
|
+
From this point on, always use the workspace file to open your projects. Rest assure, tesflight gem knows that too.
|
177
|
+
|
178
|
+
Run the checkin command:
|
179
|
+
|
180
|
+
$ testflight checkin
|
181
|
+
|
182
|
+
Run the takeoff command:
|
183
|
+
|
184
|
+
$ testflight takeoff
|
185
|
+
|
186
|
+
|
187
|
+
Now you are all set to build the best app on the App Store.
|
188
|
+
|
189
|
+
You are now using a pretty amazing managing dependencies framweork for embedding third party libraries into your app.
|
190
|
+
And you are also using an amazing service, tesflightapp.com, for distributing your app to your testers. (Don't forget to check out the FlightPath product).
|
191
|
+
|
192
|
+
And, well, you are using this cool gem to glue it all together.
|
193
|
+
|
194
|
+
Enjoy!
|
195
|
+
|
196
|
+
|
142
197
|
= Authors
|
143
198
|
|
144
199
|
Michael Berkovich
|
data/bin/testflight
CHANGED
data/lib/testflight.rb
CHANGED
data/lib/testflight/builder.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c)
|
2
|
+
# Copyright (c) 2014 Michael Berkovich
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -137,8 +137,8 @@ module Testflight
|
|
137
137
|
|
138
138
|
def upload_to_testflightapp(opts = {})
|
139
139
|
cmd = "curl #{TESTFLIGHT_ENDPOINT} "
|
140
|
-
cmd << "-F file
|
141
|
-
cmd << "-F dsym
|
140
|
+
cmd << "-F file=@'#{Testflight::Config.distribution_file}' "
|
141
|
+
cmd << "-F dsym=@'#{Testflight::Config.distribution_dsym_file}' "
|
142
142
|
cmd << "-F api_token=#{Testflight::Config.api_token} "
|
143
143
|
cmd << "-F team_token=#{Testflight::Config.team_token} "
|
144
144
|
cmd << "-F notify=#{opts[:notify]} "
|
data/lib/testflight/cli.rb
CHANGED
data/lib/testflight/config.rb
CHANGED
data/lib/testflight/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#--
|
2
|
-
# Copyright (c)
|
2
|
+
# Copyright (c) 2014 Michael Berkovich
|
3
3
|
#
|
4
4
|
# Permission is hereby granted, free of charge, to any person obtaining
|
5
5
|
# a copy of this software and associated documentation files (the
|
@@ -22,7 +22,7 @@
|
|
22
22
|
#++
|
23
23
|
|
24
24
|
module Testflight
|
25
|
-
VERSION = "1.0.
|
25
|
+
VERSION = "1.0.3"
|
26
26
|
end
|
27
27
|
|
28
28
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testflight
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Berkovich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.18.1
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.18.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: plist
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -57,7 +57,8 @@ files:
|
|
57
57
|
- LICENSE
|
58
58
|
- README.rdoc
|
59
59
|
homepage: https://github.com/berk/testflight
|
60
|
-
licenses:
|
60
|
+
licenses:
|
61
|
+
- MIT
|
61
62
|
metadata: {}
|
62
63
|
post_install_message:
|
63
64
|
rdoc_options: []
|