net-sftp 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.rdoc CHANGED
@@ -1,3 +1,8 @@
1
+ === 2.0.3 / 17 Nov 2009
2
+
3
+ * Reference the correct Exception class when rescuing errors [Scott Tadman]
4
+
5
+
1
6
  === 2.0.2 / 1 Feb 2009
2
7
 
3
8
  * Avoid using 'ensure' in Net::SFTP.start since it causes unfriendly behavior when exceptions are raised [Jamis Buck]
data/lib/net/sftp.rb CHANGED
@@ -41,7 +41,7 @@ module Net
41
41
  rescue Object => anything
42
42
  begin
43
43
  session.shutdown!
44
- rescue Exception
44
+ rescue ::Exception
45
45
  # swallow exceptions that occur while trying to shutdown
46
46
  end
47
47
 
@@ -6,7 +6,7 @@ module Net; module SFTP
6
6
  class Version < Net::SSH::Version
7
7
  MAJOR = 2
8
8
  MINOR = 0
9
- TINY = 2
9
+ TINY = 3
10
10
 
11
11
  # The current version, as a Version instance
12
12
  CURRENT = new(MAJOR, MINOR, TINY)
data/net-sftp.gemspec CHANGED
@@ -1,36 +1,34 @@
1
+ # -*- encoding: utf-8 -*-
2
+
1
3
  Gem::Specification.new do |s|
2
4
  s.name = %q{net-sftp}
3
- s.version = "2.0.2"
5
+ s.version = "2.0.3"
4
6
 
5
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
6
8
  s.authors = ["Jamis Buck"]
7
- s.date = %q{2009-02-01}
9
+ s.date = %q{2009-11-17}
8
10
  s.description = %q{A pure Ruby implementation of the SFTP client protocol}
9
11
  s.email = %q{jamis@jamisbuck.org}
10
12
  s.extra_rdoc_files = ["CHANGELOG.rdoc", "lib/net/sftp/constants.rb", "lib/net/sftp/errors.rb", "lib/net/sftp/operations/dir.rb", "lib/net/sftp/operations/download.rb", "lib/net/sftp/operations/file.rb", "lib/net/sftp/operations/file_factory.rb", "lib/net/sftp/operations/upload.rb", "lib/net/sftp/packet.rb", "lib/net/sftp/protocol/01/attributes.rb", "lib/net/sftp/protocol/01/base.rb", "lib/net/sftp/protocol/01/name.rb", "lib/net/sftp/protocol/02/base.rb", "lib/net/sftp/protocol/03/base.rb", "lib/net/sftp/protocol/04/attributes.rb", "lib/net/sftp/protocol/04/base.rb", "lib/net/sftp/protocol/04/name.rb", "lib/net/sftp/protocol/05/base.rb", "lib/net/sftp/protocol/06/attributes.rb", "lib/net/sftp/protocol/06/base.rb", "lib/net/sftp/protocol/base.rb", "lib/net/sftp/protocol.rb", "lib/net/sftp/request.rb", "lib/net/sftp/response.rb", "lib/net/sftp/session.rb", "lib/net/sftp/version.rb", "lib/net/sftp.rb", "README.rdoc"]
11
13
  s.files = ["CHANGELOG.rdoc", "lib/net/sftp/constants.rb", "lib/net/sftp/errors.rb", "lib/net/sftp/operations/dir.rb", "lib/net/sftp/operations/download.rb", "lib/net/sftp/operations/file.rb", "lib/net/sftp/operations/file_factory.rb", "lib/net/sftp/operations/upload.rb", "lib/net/sftp/packet.rb", "lib/net/sftp/protocol/01/attributes.rb", "lib/net/sftp/protocol/01/base.rb", "lib/net/sftp/protocol/01/name.rb", "lib/net/sftp/protocol/02/base.rb", "lib/net/sftp/protocol/03/base.rb", "lib/net/sftp/protocol/04/attributes.rb", "lib/net/sftp/protocol/04/base.rb", "lib/net/sftp/protocol/04/name.rb", "lib/net/sftp/protocol/05/base.rb", "lib/net/sftp/protocol/06/attributes.rb", "lib/net/sftp/protocol/06/base.rb", "lib/net/sftp/protocol/base.rb", "lib/net/sftp/protocol.rb", "lib/net/sftp/request.rb", "lib/net/sftp/response.rb", "lib/net/sftp/session.rb", "lib/net/sftp/version.rb", "lib/net/sftp.rb", "Rakefile", "README.rdoc", "setup.rb", "test/common.rb", "test/protocol/01/test_attributes.rb", "test/protocol/01/test_base.rb", "test/protocol/01/test_name.rb", "test/protocol/02/test_base.rb", "test/protocol/03/test_base.rb", "test/protocol/04/test_attributes.rb", "test/protocol/04/test_base.rb", "test/protocol/04/test_name.rb", "test/protocol/05/test_base.rb", "test/protocol/06/test_attributes.rb", "test/protocol/06/test_base.rb", "test/protocol/test_base.rb", "test/test_all.rb", "test/test_dir.rb", "test/test_download.rb", "test/test_file.rb", "test/test_file_factory.rb", "test/test_packet.rb", "test/test_protocol.rb", "test/test_request.rb", "test/test_response.rb", "test/test_session.rb", "test/test_upload.rb", "Manifest", "net-sftp.gemspec"]
12
- s.has_rdoc = true
13
14
  s.homepage = %q{http://net-ssh.rubyforge.org/sftp}
14
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Net-sftp", "--main", "README.rdoc"]
15
16
  s.require_paths = ["lib"]
16
17
  s.rubyforge_project = %q{net-ssh}
17
- s.rubygems_version = %q{1.2.0}
18
+ s.rubygems_version = %q{1.3.3}
18
19
  s.summary = %q{A pure Ruby implementation of the SFTP client protocol}
19
20
  s.test_files = ["test/test_all.rb"]
20
21
 
21
22
  if s.respond_to? :specification_version then
22
23
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
23
- s.specification_version = 2
24
+ s.specification_version = 3
24
25
 
25
- if current_version >= 3 then
26
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
26
27
  s.add_runtime_dependency(%q<net-ssh>, [">= 2.0.9"])
27
- s.add_development_dependency(%q<echoe>, [">= 0"])
28
28
  else
29
29
  s.add_dependency(%q<net-ssh>, [">= 2.0.9"])
30
- s.add_dependency(%q<echoe>, [">= 0"])
31
30
  end
32
31
  else
33
32
  s.add_dependency(%q<net-ssh>, [">= 2.0.9"])
34
- s.add_dependency(%q<echoe>, [">= 0"])
35
33
  end
36
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: net-sftp
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-01 00:00:00 -07:00
12
+ date: 2009-11-17 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -22,16 +22,6 @@ dependencies:
22
22
  - !ruby/object:Gem::Version
23
23
  version: 2.0.9
24
24
  version:
25
- - !ruby/object:Gem::Dependency
26
- name: echoe
27
- type: :development
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: "0"
34
- version:
35
25
  description: A pure Ruby implementation of the SFTP client protocol
36
26
  email: jamis@jamisbuck.org
37
27
  executables: []
@@ -126,6 +116,8 @@ files:
126
116
  - net-sftp.gemspec
127
117
  has_rdoc: true
128
118
  homepage: http://net-ssh.rubyforge.org/sftp
119
+ licenses: []
120
+
129
121
  post_install_message:
130
122
  rdoc_options:
131
123
  - --line-numbers
@@ -151,9 +143,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
143
  requirements: []
152
144
 
153
145
  rubyforge_project: net-ssh
154
- rubygems_version: 1.2.0
146
+ rubygems_version: 1.3.3
155
147
  signing_key:
156
- specification_version: 2
148
+ specification_version: 3
157
149
  summary: A pure Ruby implementation of the SFTP client protocol
158
150
  test_files:
159
151
  - test/test_all.rb