blast_off 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 +4 -4
- data/.travis.yml +6 -0
- data/CHANGELOG.md +6 -0
- data/README.md +5 -3
- data/bin/blast_off +3 -1
- data/lib/blast_off/services/qiniu.rb +2 -1
- data/lib/blast_off/template/index.html.erb +1 -1
- data/lib/blast_off/version.rb +1 -1
- data/lib/blast_off.rb +0 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1202d1d5e2f9986fe696bf9d5380561292d91e45
|
4
|
+
data.tar.gz: 35baf8634c4c525a5e37220a8a5f85f5dd6beb5d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f63439b3cde6a62bb732e5c170efa7df41db779086f2031232ccb0a554e1d8eeb1c8cc23105b021753403acc483bc522364e03f7d8c10a6c9321cf6859edb9b8
|
7
|
+
data.tar.gz: 041bff9493d50b1bdbc72abecd012042e1442f7fb7bb269b23346bbd2c229850e44f4e9b87850faa3ab0a4e1e52e07537e52040eedbb9d9d135f918e03567546
|
data/.travis.yml
ADDED
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
## master
|
4
4
|
|
5
|
+
## [v0.2.0](https://github.com/linjunpop/blast_off/tree/v0.2.0)
|
6
|
+
|
7
|
+
* Let services' `generate` method return URL address.
|
8
|
+
* Use [goQR.me](http://goqr.me) to generate QR code, as Google chart infographics has been deprecated.
|
9
|
+
* Disable debug mode of qiniu-rs gem.
|
10
|
+
|
5
11
|
## [v0.1.0](https://github.com/linjunpop/blast_off/tree/v0.1.0)
|
6
12
|
|
7
13
|
* Add html template.
|
data/README.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
An iOS beta distribution tool.
|
4
4
|
|
5
|
+
[![Build Status](https://travis-ci.org/linjunpop/blast_off.png?branch=master)](https://travis-ci.org/linjunpop/blast_off)
|
6
|
+
[![Gem Version](https://badge.fury.io/rb/blast_off.png)](http://badge.fury.io/rb/blast_off)
|
7
|
+
[![Code Climate](https://codeclimate.com/github/linjunpop/blast_off.png)](https://codeclimate.com/github/linjunpop/blast_off)
|
8
|
+
|
5
9
|
Supported services:
|
6
10
|
|
7
11
|
* Qiniu(http://qiniu.com)
|
@@ -63,9 +67,7 @@ Example:
|
|
63
67
|
|
64
68
|
`$ blast_off qiniu --ipa_file_path=Foobar.ipa --bucket=foobar --access_key=$QINIU_ACCESS_KEY --secret_key=$QINIU_SECRET_KEY`
|
65
69
|
|
66
|
-
## Changelog
|
67
|
-
|
68
|
-
https://github.com/linjunpop/blast_off/wiki/Changelog
|
70
|
+
## [Changelog](CHANGELOG.md)
|
69
71
|
|
70
72
|
## Contributing
|
71
73
|
|
data/bin/blast_off
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
require 'gli'
|
3
|
+
require 'rainbow'
|
3
4
|
require 'blast_off'
|
4
5
|
|
5
6
|
include GLI::App
|
@@ -28,12 +29,13 @@ command :qiniu do |c|
|
|
28
29
|
help_now!('Secret Key is required') unless options[:secret_key]
|
29
30
|
help_now!('Bucket is required') unless options[:bucket]
|
30
31
|
|
31
|
-
BlastOff::Services::Qiniu.new(
|
32
|
+
url = BlastOff::Services::Qiniu.new(
|
32
33
|
ipa_file_path: options[:ipa_file_path],
|
33
34
|
access_key: options[:access_key],
|
34
35
|
secret_key: options[:secret_key],
|
35
36
|
bucket: options[:bucket]
|
36
37
|
).distribute
|
38
|
+
puts url.foreground(:white).background(:blue)
|
37
39
|
end
|
38
40
|
end
|
39
41
|
|
@@ -12,6 +12,7 @@ module BlastOff
|
|
12
12
|
@qiniu_bucket = bucket
|
13
13
|
|
14
14
|
::Qiniu::RS.establish_connection!(
|
15
|
+
enable_debug: false,
|
15
16
|
access_key: access_key,
|
16
17
|
secret_key: secret_key
|
17
18
|
)
|
@@ -40,7 +41,7 @@ module BlastOff
|
|
40
41
|
|
41
42
|
upload(@ipa_file_path, "#{@ipa_file.name}.ipa")
|
42
43
|
|
43
|
-
|
44
|
+
"#{base_url}/index.html"
|
44
45
|
end
|
45
46
|
|
46
47
|
private
|
@@ -39,7 +39,7 @@
|
|
39
39
|
<body>
|
40
40
|
<div class="container">
|
41
41
|
<h1><%= app_name %></h1>
|
42
|
-
<img src="http://
|
42
|
+
<img src="http://api.qrserver.com/v1/create-qr-code/?size=250x250&data=<%= base_url %>/index.html" alt="" />
|
43
43
|
<h2>Version: <%= app_version %></h2>
|
44
44
|
<p>
|
45
45
|
<a class="button" href="itms-services://?action=download-manifest&url=<%= base_url %>/manifest.plist">Install</a>
|
data/lib/blast_off/version.rb
CHANGED
data/lib/blast_off.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blast_off
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jun Lin
|
@@ -118,6 +118,7 @@ extra_rdoc_files: []
|
|
118
118
|
files:
|
119
119
|
- .gitignore
|
120
120
|
- .rspec
|
121
|
+
- .travis.yml
|
121
122
|
- CHANGELOG.md
|
122
123
|
- Gemfile
|
123
124
|
- LICENSE.txt
|