hawk 1.4.0 → 1.4.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: 21f45a0e6206c88cc627e96cc6bbb68b49ed0eaf
4
- data.tar.gz: 1846369d1f0766d3f5d75e82c177dd1dd6435832
3
+ metadata.gz: cac3c76eec689187853da628704a981e364ed591
4
+ data.tar.gz: 00153b5d085a98b662df85b26a7feeb006f84fdd
5
5
  SHA512:
6
- metadata.gz: cfe69bd7d781c11c5efc05ed4772010ba7f64024b9fd4d5c14d613e2e95ca5eca7fb63354f8c4f560f20c1a28e964eaead13059802148d1b702996809a1f4d01
7
- data.tar.gz: 8f9b59f3dd73598ad982dbc816ce72840b8fb33061bd632257eff16c671d6e4f23e3a70c7d05a191d06e1a90a5dd26165350b5f1903ac2dbeda06504fa5d9640
6
+ metadata.gz: 8b76104a73d8362cc73c8b23162f7c990bb719d8fcba94fb3c77e0d7404cfb3fe5c2b73ef6b67d817f8c9434274a0c20e8dacf20f34de097a746560d35a90370
7
+ data.tar.gz: ae0369070a02bc77bb22a43afb09b5640013f33f541504c976760279604617104da9438dad6c70197f5e00d7c0111cf67c53ef73efa4ded7689aa33ecf6744c0
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Hawk
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
@@ -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.0
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-02-04 00:00:00.000000000 Z
11
+ date: 2015-03-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk