fastlane-plugin-appbox 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 812266418cb398415aa69b11ed4ef1260c6796eb
4
- data.tar.gz: 72ff74f22c7e6dd75bcdc66fde4eea27e770064e
3
+ metadata.gz: 28e0bdb20c1d90b96f2dbc73ef7830ecd239f674
4
+ data.tar.gz: 9a547ca533a33783531f1c62db25005e638d7d9e
5
5
  SHA512:
6
- metadata.gz: c978385cb04184fb0309e12d367a584f310298003424610f8dfcf32d93abec6f3ccc404dded5a33f08c8d4d58e978893e7980ef9405241fb8e0b18f8f305b377
7
- data.tar.gz: 68a96eabf054b52031750d4ede73ca99136647432b20cf5528141f39aa8d48c2c090806aeaa2775ab7043c86e2ef8f9efca02cd4cc1450656bb810d86a2ec739
6
+ metadata.gz: 0c713f57a83f5bfc46499708a7338f010fe02a2fb2ba7a538188adf46464b9384b28822e60f152440f417dff75b9989548b002d2f67e1a57576d3947f917aae8
7
+ data.tar.gz: 07cdb4930e1155f3ffe3ff547b082d8905ee2e832c07b89c0c5b411ab46db6bc2206a5ccfd42cbf4ec244ce67b0fa92518ee7d32e2540f7c05a8a099930041dd
data/README.md CHANGED
@@ -1,38 +1,22 @@
1
- # appbox plugin
1
+ # AppBox Plugin for Fastlane
2
2
 
3
3
  [![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-appbox)
4
4
 
5
5
  ## Getting Started
6
6
 
7
- This project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-appbox`, add it to your project by running:
7
+ This project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-appbox`, add it to your project by running:
8
8
 
9
9
  ```bash
10
10
  fastlane add_plugin appbox
11
11
  ```
12
12
 
13
13
  ## About appbox
14
-
15
- Deploy Development, Ad-Hoc and In-house (Enterprise) iOS applications directly to the devices from your Dropbox account.
14
+ [AppBox](https://getappbox.com) is a tool for iOS developers to build and deploy Development, Ad-Hoc and In-house (Enterprise) applications directly to the devices from your Dropbox account. Also, available on [Github](https://github.com/vineetchoudhary/AppBox-iOSAppsWirelessInstallation).
16
15
 
17
16
  ## Example
18
17
 
19
18
  Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
20
19
 
21
- **Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
22
-
23
- ## Run tests for this plugin
24
-
25
- To run both the tests, and code style validation, run
26
-
27
- ```
28
- rake
29
- ```
30
-
31
- To automatically fix many of the styling issues, use
32
- ```
33
- rubocop -a
34
- ```
35
-
36
20
  ## Issues and Feedback
37
21
  For any other issues and feedback about this plugin, please submit it to this repository.
38
22
 
@@ -25,12 +25,24 @@ module Fastlane
25
25
  else
26
26
  appbox_path = "/Applications/AppBox.app/Contents/MacOS/AppBox"
27
27
  end
28
- UI.message("AppBox Path - #{appbox_path}")
29
28
 
30
- # Start AppBox
31
- UI.message("Starting AppBox...")
32
- exit_status = system("exec #{appbox_path} ipa='#{ipa_path}' email='#{emails}' message='#{message}'")
33
- UI.message("Back to the Fastlane from AppBox with Success: #{exit_status}")
29
+ if File.file?(appbox_path)
30
+ UI.message("AppBox Path - #{appbox_path}")
31
+
32
+ # Start AppBox
33
+ UI.message("Starting AppBox...")
34
+ exit_status = system("exec #{appbox_path} ipa='#{ipa_path}' email='#{emails}' message='#{message}'")
35
+
36
+ if exit_status
37
+ UI.success('AppBox finished successfully �')
38
+ else
39
+ UI.error('AppBox finished with errors �')
40
+ UI.message('Please feel free to open an issue on the project GitHub page. Please include a description of what is not working right with your issue. https://github.com/getappbox/fastlane-plugin-appbox/issues/new')
41
+ exit
42
+ end
43
+ else
44
+ UI.error("AppBox not found at path #{appbox_path}. Please install appbox first.")
45
+ end
34
46
 
35
47
  end
36
48
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Appbox
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-appbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vineet Choudhary