srcforge 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.txt +1 -2
- data/docs/README.txt +6 -6
- metadata +1 -3
- data/srcforge.gemspec +0 -31
data/HISTORY.txt
CHANGED
data/docs/README.txt
CHANGED
@@ -13,7 +13,7 @@ and verified using ruby's digest/md5.
|
|
13
13
|
|
14
14
|
|
15
15
|
Use:
|
16
|
-
srcforge -h
|
16
|
+
srcforge.rb -h
|
17
17
|
|
18
18
|
to obtain a list of the latest command-line switches.
|
19
19
|
|
@@ -21,7 +21,7 @@ to obtain a list of the latest command-line switches.
|
|
21
21
|
|
22
22
|
Common Usage:
|
23
23
|
|
24
|
-
> srcforge [options] <project>
|
24
|
+
> srcforge.rb [options] <project>
|
25
25
|
|
26
26
|
where <project> is a valid sourceforge project, as named in the
|
27
27
|
http://sourceforge.net/projects/<project>.
|
@@ -34,7 +34,7 @@ That is, .exe's or .zip's for windows, and tar.gz files for others.
|
|
34
34
|
Example 1: Downloading binaries
|
35
35
|
---------
|
36
36
|
|
37
|
-
> srcforge scons
|
37
|
+
> srcforge.rb scons
|
38
38
|
Using proxy 127.0.0.1:8118
|
39
39
|
Connecting to sourceforge...
|
40
40
|
Files to download:
|
@@ -50,7 +50,7 @@ Downloading from 'easynews.dl.sourceforge.net':
|
|
50
50
|
Example 2: Downloading source code only
|
51
51
|
---------
|
52
52
|
|
53
|
-
> srcforge scons -src
|
53
|
+
> srcforge.rb scons -src
|
54
54
|
Using proxy 127.0.0.1:8118
|
55
55
|
Connecting to sourceforge...
|
56
56
|
Files to download:
|
@@ -67,7 +67,7 @@ Downloading from 'easynews.dl.sourceforge.net':
|
|
67
67
|
Example 3: Downloading everything for all platforms
|
68
68
|
---------
|
69
69
|
|
70
|
-
> srcforge scons -all
|
70
|
+
> srcforge.rb scons -all
|
71
71
|
Using proxy 127.0.0.1:8118
|
72
72
|
Connecting to sourceforge...
|
73
73
|
Files to download:
|
@@ -89,7 +89,7 @@ Downloading from 'easynews.dl.sourceforge.net':
|
|
89
89
|
Example 4: Choose what to download
|
90
90
|
---------
|
91
91
|
|
92
|
-
> srcforge scons -all -ch
|
92
|
+
> srcforge.rb scons -all -ch
|
93
93
|
Using proxy 127.0.0.1:8118
|
94
94
|
Connecting to sourceforge...
|
95
95
|
Files to download:
|
metadata
CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.8.11
|
|
3
3
|
specification_version: 1
|
4
4
|
name: srcforge
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version:
|
6
|
+
version: 1.0.0
|
7
7
|
date: 2006-05-17 00:00:00 -03:00
|
8
8
|
summary: Download tool for files at sourceforge.net.
|
9
9
|
require_paths:
|
@@ -31,7 +31,6 @@ files:
|
|
31
31
|
- bin/srcforge
|
32
32
|
- lib/sourceforge.rb
|
33
33
|
- HISTORY.txt
|
34
|
-
- srcforge.gemspec
|
35
34
|
- docs/README.txt
|
36
35
|
test_files: []
|
37
36
|
|
@@ -39,7 +38,6 @@ rdoc_options: []
|
|
39
38
|
|
40
39
|
extra_rdoc_files:
|
41
40
|
- HISTORY.txt
|
42
|
-
- srcforge.gemspec
|
43
41
|
- docs/README.txt
|
44
42
|
executables:
|
45
43
|
- srcforge
|
data/srcforge.gemspec
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
require "rubygems"
|
2
|
-
|
3
|
-
spec = Gem::Specification.new do |spec|
|
4
|
-
spec.name = "srcforge"
|
5
|
-
spec.version = '0.1.0'
|
6
|
-
spec.author = "Gonzalo Garramuno"
|
7
|
-
spec.email = 'ggarram@advance.dsl.com.ar'
|
8
|
-
spec.homepage = 'http://www.rubyforge.org/projects/srcforge/'
|
9
|
-
spec.summary = 'Download tool for files at sourceforge.net.'
|
10
|
-
spec.executables = ['srcforge']
|
11
|
-
spec.files = ['bin/srcforge', 'lib/sourceforge.rb']
|
12
|
-
spec.description = <<-EOF
|
13
|
-
This script allows you to easily automate the downloading of
|
14
|
-
the latest version of any sourceforge project (as stored up
|
15
|
-
to 31/03/2006) from any of sourceforge server by having it
|
16
|
-
parse the web pages for the project and extract the latest
|
17
|
-
release.
|
18
|
-
It supports connecting through a proxy if either the
|
19
|
-
environment variable HTTP_PROXY or http_proxy is defined.
|
20
|
-
Also, downloads can be resumed like wget, in case the
|
21
|
-
download is abruptly terminated.
|
22
|
-
If .md5 checksums are available, they will also be downloaded
|
23
|
-
and verified using ruby's digest/md5.
|
24
|
-
EOF
|
25
|
-
spec.add_dependency("narf", ">= 0.7.3")
|
26
|
-
spec.add_dependency("getopt-declare", ">= 1.12")
|
27
|
-
spec.extra_rdoc_files = ["HISTORY.txt", "srcforge.gemspec"] + Dir.glob("docs/README.txt")
|
28
|
-
spec.has_rdoc = true
|
29
|
-
spec.rubyforge_project = 'srcforge'
|
30
|
-
spec.required_ruby_version = '>= 1.8.0'
|
31
|
-
end
|