snatch 1.0.8 → 1.0.9
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/VERSION +1 -1
- data/lib/snatch/clean/html.rb +1 -1
- data/lib/snatch.rb +2 -2
- data/snatch.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.9
|
data/lib/snatch/clean/html.rb
CHANGED
data/lib/snatch.rb
CHANGED
@@ -26,7 +26,7 @@ class Snatch
|
|
26
26
|
UPLOADS_DIR = 'uploads'
|
27
27
|
|
28
28
|
def initialize(url = nil)
|
29
|
-
@url = url ||
|
29
|
+
@url = url || MARKETING_SITE
|
30
30
|
end
|
31
31
|
|
32
32
|
def self.fetch(url = nil)
|
@@ -94,7 +94,7 @@ class Snatch
|
|
94
94
|
|
95
95
|
def download_files
|
96
96
|
puts "Downloading #{@url.quote}"
|
97
|
-
_wget "-P #{PUBLIC_PATH} -nH -
|
97
|
+
_wget "-P #{PUBLIC_PATH} -nH -rq #{@url.quote}"
|
98
98
|
end
|
99
99
|
|
100
100
|
def process_lame_cms_files
|
data/snatch.gemspec
CHANGED