rubyforge 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,10 @@
1
1
  == Version History:
2
2
 
3
+ === 1.0.3 / 2009-02-26:
4
+
5
+ * Fixed nil error in our Net::HTTP patches.
6
+ * Removed password from warning if the login possibly failed.
7
+
3
8
  === 1.0.2 / 2009-01-05:
4
9
 
5
10
  * All webby commands now login automatically.
data/Rakefile CHANGED
@@ -1,5 +1,8 @@
1
1
  # -*- ruby -*-
2
2
 
3
+ $:.unshift 'lib'
4
+ require 'rubyforge'
5
+
3
6
  begin
4
7
  require 'hoe'
5
8
  rescue LoadError
@@ -8,8 +11,6 @@ rescue LoadError
8
11
  please install it via rubygems."
9
12
  end
10
13
 
11
- $:.unshift 'lib'
12
-
13
14
  abort "you _must_ install this gem to release it" if
14
15
  ENV['VERSION'] && ENV['VERSION'] != RubyForge::VERSION
15
16
 
@@ -11,7 +11,7 @@ $TESTING = false unless defined? $TESTING
11
11
  class RubyForge
12
12
 
13
13
  # :stopdoc:
14
- VERSION = '1.0.2'
14
+ VERSION = '1.0.3'
15
15
  HOME = ENV["HOME"] || ENV["HOMEPATH"] || File::expand_path("~")
16
16
  RUBYFORGE_D = File::join HOME, ".rubyforge"
17
17
  CONFIG_F = File::join RUBYFORGE_D, "user-config.yml"
@@ -189,8 +189,8 @@ class RubyForge
189
189
 
190
190
  re = %r/personal\s+page\s+for:\s+#{ Regexp.escape username }/iom
191
191
  unless response =~ re
192
- warn("%s:%d: warning: potentially failed login using %s:%s" %
193
- [__FILE__,__LINE__,username,password]) unless $TESTING
192
+ warn("%s:%d: warning: potentially failed login using %s" %
193
+ [__FILE__, __LINE__, username]) unless $TESTING
194
194
  end
195
195
 
196
196
  response
@@ -21,7 +21,7 @@ class Net::HTTP
21
21
  alias :old_use_ssl= :use_ssl=
22
22
  def use_ssl= flag
23
23
  self.old_use_ssl = flag
24
- @ssl_context.tmp_dh_callback = proc {}
24
+ @ssl_context.tmp_dh_callback = proc {} if @ssl_context
25
25
  end
26
26
  end unless Net::HTTP.public_instance_methods.include? "old_use_ssl="
27
27
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyforge
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Davis
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2009-01-05 00:00:00 -08:00
14
+ date: 2009-02-26 00:00:00 -08:00
15
15
  default_executable:
16
16
  dependencies: []
17
17