rubyforge 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/History.txt +58 -45
  2. data/Manifest.txt +0 -1
  3. data/README.txt +9 -3
  4. data/lib/rubyforge.rb +3 -3
  5. metadata +12 -10
  6. data/.cvsignore +0 -2
@@ -1,47 +1,60 @@
1
1
  Version History:
2
2
 
3
- * 0.4.2 / 2007-05-21:
4
- * Fix for windoze users (spaces in path).
5
- * Added check for extant release.
6
- * Added default hash for first-time releases.
7
-
8
- * 0.4.1 / 2007-03-08:
9
- * Verify that login succeeded and warn against if not (prolly should raise).
10
- * Print a friendly error if you have the wrong package id.
11
- * Handle upload error in add_release a bit better.
12
-
13
- * 0.4.0 / 2007-01-09:
14
- * config.yml split and moved to user-config.yml (up to the user to do).
15
- * auto-config.yml now generated via config command.
16
- * @config renamed to @userconfig.
17
- * @config["rubyforge"] moved to @autoconfig.
18
- * Added save_autoconfig.
19
- * Pulled scrape_project from scrape_config.
20
- * scrape_config no longer takes a user param. Use opts to specify.
21
- * scrape_project, add_project, add/remove_release now save automatically.
22
-
23
- * 0.3.2 / 2006-11-29:
24
- * Fixed file uploads for windows.
25
- * Correctly scrape releases with funky characters.
26
-
27
- * 0.3.1 / 2006-10-24:
28
- * Added SSL login.
29
- * Added yet more debugging output if $DEBUG.
30
-
31
- * 0.3.0 / 2006-09-30:
32
- * Added more debugging output if $DEBUG
33
- * Added news posting.
34
- * Added multiple file release to add_release (uses add_file for extras).
35
- * add_release now returns release_id
36
- * Fixed config scraper to include '-' in names.
37
-
38
- * 0.2.1 / 2006-09-14:
39
- * Gemspec was too loose about packaging. Now using manifest.
40
-
41
- * 0.2.0 / 2006-09-13:
42
- * Split original script into script and library.
43
- * Added tests for library.
44
- * Refactored heavily.
45
- * Added "config" command to scrape group/project/release ids from rubyforge.
46
- * Added "names" command to help pick groups and projects.
47
- * Added "add_file" command to add a file to an existing release.
3
+ === 0.4.3 / 2007-07-23:
4
+
5
+ * Set mode on .rubyforge directory to 700.
6
+ * Fix fetching of user id when user has no releases.
7
+
8
+ === 0.4.2 / 2007-05-21:
9
+
10
+ * Fix for windoze users (spaces in path).
11
+ * Added check for extant release.
12
+ * Added default hash for first-time releases.
13
+
14
+ === 0.4.1 / 2007-03-08:
15
+
16
+ * Verify that login succeeded and warn against if not (prolly should raise).
17
+ * Print a friendly error if you have the wrong package id.
18
+ * Handle upload error in add_release a bit better.
19
+
20
+ === 0.4.0 / 2007-01-09:
21
+
22
+ * config.yml split and moved to user-config.yml (up to the user to do).
23
+ * auto-config.yml now generated via config command.
24
+ * @config renamed to @userconfig.
25
+ * @config["rubyforge"] moved to @autoconfig.
26
+ * Added save_autoconfig.
27
+ * Pulled scrape_project from scrape_config.
28
+ * scrape_config no longer takes a user param. Use opts to specify.
29
+ * scrape_project, add_project, add/remove_release now save automatically.
30
+
31
+ === 0.3.2 / 2006-11-29:
32
+
33
+ * Fixed file uploads for windows.
34
+ * Correctly scrape releases with funky characters.
35
+
36
+ === 0.3.1 / 2006-10-24:
37
+
38
+ * Added SSL login.
39
+ * Added yet more debugging output if $DEBUG.
40
+
41
+ === 0.3.0 / 2006-09-30:
42
+
43
+ * Added more debugging output if $DEBUG
44
+ * Added news posting.
45
+ * Added multiple file release to add_release (uses add_file for extras).
46
+ * add_release now returns release_id
47
+ * Fixed config scraper to include '-' in names.
48
+
49
+ === 0.2.1 / 2006-09-14:
50
+
51
+ * Gemspec was too loose about packaging. Now using manifest.
52
+
53
+ === 0.2.0 / 2006-09-13:
54
+
55
+ * Split original script into script and library.
56
+ * Added tests for library.
57
+ * Refactored heavily.
58
+ * Added "config" command to scrape group/project/release ids from rubyforge.
59
+ * Added "names" command to help pick groups and projects.
60
+ * Added "add_file" command to add a file to an existing release.
@@ -1,4 +1,3 @@
1
- .cvsignore
2
1
  History.txt
3
2
  Manifest.txt
4
3
  README.txt
data/README.txt CHANGED
@@ -1,10 +1,11 @@
1
- == Synopsis
1
+ = Rubyforge
2
2
 
3
- rubyforge [options]* mode [mode_args]*
3
+ * http://codeforpeople.rubyforge.org/rubyforge/
4
+ * http://rubyforge.org/projects/codeforpeople/
4
5
 
5
6
  == Description
6
7
 
7
- A simplistic script which automates a limited set of rubyforge operations
8
+ A script which automates a limited set of rubyforge operations.
8
9
 
9
10
  * Run 'rubyforge help' for complete usage.
10
11
  * Setup: For first time users AND upgrades to 0.4.0:
@@ -15,3 +16,8 @@ A simplistic script which automates a limited set of rubyforge operations
15
16
  .rubyforge directory which expires after a time. always run the
16
17
  login command before any operation that requires authentication,
17
18
  such as uploading a package.
19
+
20
+ == Synopsis
21
+
22
+ rubyforge [options]* mode [mode_args]*
23
+
@@ -26,7 +26,7 @@ end
26
26
  class RubyForge
27
27
 
28
28
  # :stopdoc:
29
- VERSION = "0.4.2"
29
+ VERSION = '0.4.3'
30
30
  HOME = ENV["HOME"] || ENV["HOMEPATH"] || File::expand_path("~")
31
31
  RUBYFORGE_D = File::join HOME, ".rubyforge"
32
32
  CONFIG_F = File::join RUBYFORGE_D, "user-config.yml"
@@ -56,7 +56,7 @@ class RubyForge
56
56
  end
57
57
 
58
58
  def setup
59
- FileUtils::mkdir_p RUBYFORGE_D unless test ?d, RUBYFORGE_D
59
+ FileUtils::mkdir_p RUBYFORGE_D, :mode => 0700 unless test ?d, RUBYFORGE_D
60
60
  test ?e, CONFIG_F and FileUtils::mv CONFIG_F, "#{CONFIG_F}.bak"
61
61
  config = CONFIG[/\A.*(?=^\# AUTOCONFIG)/m]
62
62
  open(CONFIG_F, "w") { |f| f.write config }
@@ -99,7 +99,7 @@ class RubyForge
99
99
 
100
100
  unless data["group_ids"].has_key? project then
101
101
  html = URI.parse("http://rubyforge.org/projects/#{project}/index.html").read
102
- group_id = html[/(frs|tracker)\/\?group_id=\d+/][/\d+/].to_i
102
+ group_id = html[/(frs|tracker|mail)\/\?group_id=\d+/][/\d+/].to_i
103
103
  data["group_ids"][project] = group_id
104
104
  end
105
105
 
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.0.9
2
+ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: rubyforge
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.4.2
7
- date: 2007-05-21 00:00:00 -07:00
8
- summary: A simplistic script which automates a limited set of rubyforge operations
6
+ version: 0.4.3
7
+ date: 2007-07-23 00:00:00 -07:00
8
+ summary: A script which automates a limited set of rubyforge operations.
9
9
  require_paths:
10
10
  - lib
11
11
  email: ryand-ruby@zenspider.com
12
12
  homepage: http://rubyforge.org/projects/codeforpeople
13
13
  rubyforge_project: codeforpeople
14
- description: "A simplistic script which automates a limited set of rubyforge operations * Run 'rubyforge help' for complete usage. * Setup: For first time users AND upgrades to 0.4.0: * rubyforge setup * edit ~/.rubyforge/user-config.yml * rubyforge config * Don't forget to login! logging in will store a cookie in your .rubyforge directory which expires after a time. always run the login command before any operation that requires authentication, such as uploading a package."
14
+ description: "A script which automates a limited set of rubyforge operations. * Run 'rubyforge help' for complete usage. * Setup: For first time users AND upgrades to 0.4.0: * rubyforge setup * edit ~/.rubyforge/user-config.yml * rubyforge config * Don't forget to login! logging in will store a cookie in your .rubyforge directory which expires after a time. always run the login command before any operation that requires authentication, such as uploading a package."
15
15
  autorequire:
16
16
  default_executable:
17
17
  bindir: bin
@@ -31,7 +31,6 @@ authors:
31
31
  - Ryan Davis
32
32
  - Eric Hodel
33
33
  files:
34
- - .cvsignore
35
34
  - History.txt
36
35
  - Manifest.txt
37
36
  - README.txt
@@ -44,10 +43,13 @@ files:
44
43
  - test/test_rubyforge.rb
45
44
  test_files:
46
45
  - test/test_rubyforge.rb
47
- rdoc_options: []
48
-
49
- extra_rdoc_files: []
50
-
46
+ rdoc_options:
47
+ - --main
48
+ - README.txt
49
+ extra_rdoc_files:
50
+ - History.txt
51
+ - Manifest.txt
52
+ - README.txt
51
53
  executables:
52
54
  - rubyforge
53
55
  extensions: []
data/.cvsignore DELETED
@@ -1,2 +0,0 @@
1
- doc
2
- pkg