fastlane 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 672ab45d6dfb1699e366bcb470d4599d4cbc7cb8
4
- data.tar.gz: 7c0ee56e9603900623d1f41c5f543851a8587aa3
3
+ metadata.gz: 7712610ad940e76f9e9548555f84834db2022939
4
+ data.tar.gz: 32c170a4ac5b1a17069785ca55b2192524df301f
5
5
  SHA512:
6
- metadata.gz: ca08511c7f631225459d027b316276014e81f9fcdc1defe167254f555ad5d5a169d8f8937aab29e06a9226eec54913a808a32fa370ba1f51965c88f2cc484d58
7
- data.tar.gz: af369c3d4115294e164754b3c3e39063eabac9bfdbb1a367b32bbe282b520dd67a27c14f4381af42fa9d67f06212b5bb9e16dc1a779af2a615704a84d1ff8f9c
6
+ metadata.gz: ee1e46c4830c9990c112e6be84a85fdf44433023a95f8b9c242f736272ea0b0841f80c9700f1dd54780ff4acd85265ea2e17884ec73c3283c5d4b2a7a469a25f
7
+ data.tar.gz: baa6239e7d1287df96d30e3a2149e3415a07665a4744385c5dc2b232854c7672fa2705ae929a6efde994c3d4a4db94d5db9e7ab5508d016e608188119de5075d
data/README.md CHANGED
@@ -36,7 +36,6 @@ Get in contact with the developer on Twitter: [@KrauseFx](https://twitter.com/Kr
36
36
 
37
37
  -------
38
38
 
39
-
40
39
  # Features
41
40
  - Connect all tools, part of the ```fastlane``` toolchain to work seamlessly together
42
41
  - Define different ```deployment lanes``` for App Store deployment, beta builds or testing
@@ -52,6 +51,8 @@ Get in contact with the developer on Twitter: [@KrauseFx](https://twitter.com/Kr
52
51
  - Very flexible configuration using a fully customizable `Fastfile`
53
52
  - Once up and running, you have a fully working **Continuous Deployment** process. Just trigger ```fastlane``` and you're good to go.
54
53
 
54
+ ##### Take a look at the [fastlane website](http://fastlane.tools) for more information about why and when to use `fastlane`.
55
+
55
56
  # Installation
56
57
 
57
58
  I recommend following the [fastlane guide](https://github.com/KrauseFx/fastlane/blob/master/GUIDE.md) to get started.
@@ -126,7 +127,7 @@ cocoapods # this will run pod install
126
127
 
127
128
 
128
129
  #### [xctool](https://github.com/facebook/xctool)
129
- You can run any xctool action. This will require having [xctool](https://github.com/facebook/xctool) installed throw [homebrew](http://brew.sh/).
130
+ You can run any xctool action. This will require having [xctool](https://github.com/facebook/xctool) installed through [homebrew](http://brew.sh/).
130
131
  ```ruby
131
132
  xctool :test
132
133
  ```
@@ -204,7 +205,7 @@ testmunk
204
205
 
205
206
  #### Custom Shell Scripts
206
207
  ```ruby
207
- sh "./your_bash_script.sh
208
+ sh "./your_bash_script.sh"
208
209
  ```
209
210
 
210
211
  ### *before_all* block
@@ -22,11 +22,15 @@ module Fastlane
22
22
  require 'shenzhen/plugins/hockeyapp'
23
23
 
24
24
  raise "No API Token for Hockey given, pass using `api_token: 'token'`".red unless options[:api_token].to_s.length > 0
25
- raise "No IPA file given or found, pass using `ipa: 'path.ipa'`".red unless File.exists?(options[:ipa])
25
+ raise "No IPA file given or found, pass using `ipa: 'path.ipa'`".red unless options[:ipa]
26
+ raise "IPA file on path '#{File.expand_path(options[:ipa])}' not found".red unless File.exists?(options[:ipa])
26
27
 
27
28
  Helper.log.info "Starting with ipa upload to HockeyApp... this could take some time.".green
28
29
 
29
30
  client = Shenzhen::Plugins::HockeyApp::Client.new(options[:api_token])
31
+
32
+ return if Helper.is_test?
33
+
30
34
  response = client.upload_build(options[:ipa], options)
31
35
  case response.status
32
36
  when 200...300
@@ -1,3 +1,3 @@
1
1
  module Fastlane
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-15 00:00:00.000000000 Z
11
+ date: 2015-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json