billymeltdown-choctop 0.11.0.4 → 0.11.0.5
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/lib/choctop.rb +7 -1
- metadata +2 -2
data/lib/choctop.rb
CHANGED
|
@@ -90,6 +90,12 @@ class ChocTop
|
|
|
90
90
|
# The remote directory where the xml + dmg files will be uploaded
|
|
91
91
|
attr_accessor :remote_dir
|
|
92
92
|
|
|
93
|
+
# goddamn nuisance
|
|
94
|
+
attr_accessor :generate_index_php
|
|
95
|
+
def generate_index_php
|
|
96
|
+
@generate_index_php ||= false
|
|
97
|
+
end
|
|
98
|
+
|
|
93
99
|
# Defines the transport to use for upload, default is :rsync, :scp is also available
|
|
94
100
|
attr_accessor :transport
|
|
95
101
|
def transport
|
|
@@ -276,7 +282,7 @@ class ChocTop
|
|
|
276
282
|
task :feed do
|
|
277
283
|
make_appcast
|
|
278
284
|
make_dmg_symlink
|
|
279
|
-
make_index_redirect
|
|
285
|
+
make_index_redirect if generate_index_php == true
|
|
280
286
|
make_release_notes
|
|
281
287
|
end
|
|
282
288
|
|