hawk 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hawk/s3_uploader.rb +7 -1
- data/lib/hawk/version.rb +1 -1
- data/templates/Hawkfile +1 -0
- 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: cac3c76eec689187853da628704a981e364ed591
|
4
|
+
data.tar.gz: 00153b5d085a98b662df85b26a7feeb006f84fdd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b76104a73d8362cc73c8b23162f7c990bb719d8fcba94fb3c77e0d7404cfb3fe5c2b73ef6b67d817f8c9434274a0c20e8dacf20f34de097a746560d35a90370
|
7
|
+
data.tar.gz: ae0369070a02bc77bb22a43afb09b5640013f33f541504c976760279604617104da9438dad6c70197f5e00d7c0111cf67c53ef73efa4ded7689aa33ecf6744c0
|
data/lib/hawk/s3_uploader.rb
CHANGED
@@ -54,11 +54,17 @@ module Hawk
|
|
54
54
|
obj.write(webpage_data, :content_type => 'text/html')
|
55
55
|
puts 'done'
|
56
56
|
end
|
57
|
-
@webpage_url = Googl.shorten(@webpage_url).short_url
|
58
57
|
end
|
59
58
|
@webpage_url
|
60
59
|
end
|
61
60
|
|
61
|
+
def short_webpage_url
|
62
|
+
if (!@short_webpage_url)
|
63
|
+
@short_webpage_url = Googl.shorten(webpage_url).short_url
|
64
|
+
end
|
65
|
+
@short_webpage_url
|
66
|
+
end
|
67
|
+
|
62
68
|
def icon_url
|
63
69
|
if (!@icon_url)
|
64
70
|
file = icon_path
|
data/lib/hawk/version.rb
CHANGED
data/templates/Hawkfile
CHANGED
@@ -89,6 +89,7 @@
|
|
89
89
|
# of the project
|
90
90
|
# <%= webpage_url %> : The url of an S3 hosted page which will redirect the user to
|
91
91
|
# install the application when opened on an iOS device
|
92
|
+
# <%= short_webpage_url %> : A goo.gl shortened url pointing to webpage_url
|
92
93
|
#
|
93
94
|
|
94
95
|
email_subject "A new update of <%= app_name %> is available for download"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hawk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mat Trudel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|