glitter 0.0.6 → 0.0.7
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.
- data/README.md +10 -0
- data/lib/glitter/templates/rss.xml.erb +1 -1
- data/lib/glitter/version.rb +1 -1
- data/spec/lib/glitter_spec.rb +1 -0
- metadata +4 -4
data/README.md
CHANGED
@@ -35,6 +35,16 @@ It should also be noted that Glitter uses HTTPS S3 URLs to eliminate the need fo
|
|
35
35
|
Updated head https://s3.amazonaws.com/my_app/my-app-head.zip to https://s3.amazonaws.com/my_app/my-app-1.0.0.zip
|
36
36
|
Updated https://s3.amazonaws.com/my_app/appcast.xml
|
37
37
|
|
38
|
+
5. Distribute the link to your app
|
39
|
+
|
40
|
+
https://s3.amazonaws.com/my_app/my-app-head.zip is the "current" version of your application and a history is maintained with https://s3.amazonaws.com/my_app/my-app-1.0.0.zip assets. You'll probably want to link to the "head" asset of your app and keep the older builds around for troubleshooting purposes.
|
41
|
+
|
42
|
+
If you want a vanity URL to distribte your app, setup a redirect like this in nginx:
|
43
|
+
|
44
|
+
rewrite ^/my-app.zip$ https://s3.amazonaws.com/my_app/my-app-head.zip;
|
45
|
+
|
46
|
+
Now send your users to mydomain.com/my-app.zip and they'll get the latest version of your app. I don't recommend using a CNAME with your application because it won't work with Amazon's HTTPS servers and you'll have to jump through some hoops to sign your app distributions with a DSA signature. Not worth it in my opinion.
|
47
|
+
|
38
48
|
That's it!
|
39
49
|
|
40
50
|
# License
|
@@ -14,7 +14,7 @@
|
|
14
14
|
]]>
|
15
15
|
</description>
|
16
16
|
<pubDate><%= asset.published_at.strftime("%a, %d %b %Y %H:%M:%S %z") %></pubDate>
|
17
|
-
<enclosure url="<%= asset.url %>" sparkle:version="
|
17
|
+
<enclosure url="<%= asset.url %>" sparkle:version="<%= version %>" length="<%= asset.file.stat.size %>" type="application/octet-stream" />
|
18
18
|
</item>
|
19
19
|
<% end %>
|
20
20
|
</channel>
|
data/lib/glitter/version.rb
CHANGED
data/spec/lib/glitter_spec.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glitter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 7
|
10
|
+
version: 0.0.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Brad Gessler
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-06-
|
18
|
+
date: 2011-06-09 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|