rubyforge 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/History.txt +7 -1
  2. data/README.txt +2 -1
  3. data/Rakefile +1 -1
  4. data/lib/rubyforge.rb +3 -3
  5. metadata +3 -3
@@ -1,4 +1,10 @@
1
- Version History:
1
+ == Version History:
2
+
3
+ === 0.4.4 / 2007-08-13:
4
+
5
+ * New type_id values will merge with extant data. (self-repairing data is Good)
6
+ * Scrape processor_ids, merging in with extant data.
7
+ * Default to "Other" if a file's type is unrecognized.
2
8
 
3
9
  === 0.4.3 / 2007-07-23:
4
10
 
data/README.txt CHANGED
@@ -9,9 +9,10 @@ A script which automates a limited set of rubyforge operations.
9
9
 
10
10
  * Run 'rubyforge help' for complete usage.
11
11
  * Setup: For first time users AND upgrades to 0.4.0:
12
- * rubyforge setup
12
+ * rubyforge setup (deletes your username and password, so run sparingly!)
13
13
  * edit ~/.rubyforge/user-config.yml
14
14
  * rubyforge config
15
+ * For all rubyforge upgrades, run 'rubyforge config' to ensure you have latest.
15
16
  * Don't forget to login! logging in will store a cookie in your
16
17
  .rubyforge directory which expires after a time. always run the
17
18
  login command before any operation that requires authentication,
data/Rakefile CHANGED
@@ -17,7 +17,7 @@ Hoe.new("rubyforge", RubyForge::VERSION) do |p|
17
17
  p.author = ['Ara T Howard', 'Ryan Davis', 'Eric Hodel']
18
18
  p.need_tar = false
19
19
 
20
- changes = p.paragraphs_of("History.txt", 1).first
20
+ changes = p.paragraphs_of("History.txt", 1..2).join("\n\n")
21
21
  summary, *description = p.paragraphs_of("README.txt", 3, 3..4)
22
22
 
23
23
  p.changes = changes
@@ -26,7 +26,7 @@ end
26
26
  class RubyForge
27
27
 
28
28
  # :stopdoc:
29
- VERSION = '0.4.3'
29
+ VERSION = '0.4.4'
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"
@@ -231,7 +231,7 @@ class RubyForge
231
231
  release_date ||= Time::now.strftime("%Y-%m-%d %H:%M")
232
232
 
233
233
  type_id ||= userfile.path[%r|\.[^\./]+$|]
234
- type_id = lookup "type", type_id
234
+ type_id = (lookup "type", type_id rescue lookup "type", ".oth")
235
235
 
236
236
  processor_id ||= "Any"
237
237
  processor_id = lookup "processor", processor_id
@@ -307,7 +307,7 @@ class RubyForge
307
307
  userfile = open userfile, 'rb'
308
308
 
309
309
  type_id ||= userfile.path[%r|\.[^\./]+$|]
310
- type_id = lookup "type", type_id
310
+ type_id = (lookup "type", type_id rescue lookup "type", ".oth")
311
311
 
312
312
  processor_id ||= "Any"
313
313
  processor_id = lookup "processor", processor_id
metadata CHANGED
@@ -3,15 +3,15 @@ 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.3
7
- date: 2007-07-23 00:00:00 -07:00
6
+ version: 0.4.4
7
+ date: 2007-08-13 00:00:00 -07:00
8
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 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 (deletes your username and password, so run sparingly!) * edit ~/.rubyforge/user-config.yml * rubyforge config * For all rubyforge upgrades, run 'rubyforge config' to ensure you have latest. * 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