rbook-pacstream 0.7 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGELOG +11 -0
  2. data/Rakefile +3 -3
  3. data/lib/rbook/pacstream.rb +7 -1
  4. metadata +4 -2
@@ -0,0 +1,11 @@
1
+ v0.7.1
2
+ - wrap the quit call in a rescue block. Sometimes the remote server closes the connection so quickly, Net::FTP freaks out when the socket closes, and we don't really care.
3
+
4
+ v0.7
5
+ - tightened up syntax
6
+ - added support for sending files
7
+ - can download POAs and Invoices
8
+
9
+ v0.6
10
+ - basic release
11
+ - can download orders only
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'rake/testtask'
6
6
  require "rake/gempackagetask"
7
7
  require 'spec/rake/spectask'
8
8
 
9
- PKG_VERSION = "0.7"
9
+ PKG_VERSION = "0.7.1"
10
10
  PKG_NAME = "rbook-pacstream"
11
11
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
12
12
  RUBYFORGE_PROJECT = 'rbook'
@@ -70,12 +70,12 @@ spec = Gem::Specification.new do |spec|
70
70
  spec.platform = Gem::Platform::RUBY
71
71
  spec.summary = "A library for interaction with the PACSTREAM service"
72
72
  spec.files = Dir.glob("{examples,lib,specs}/**/**/*") +
73
- ["Rakefile"]
73
+ ["Rakefile", "CHANGELOG", "COPYING", "README"]
74
74
 
75
75
  spec.require_path = "lib"
76
76
  spec.test_files = Dir[ "specs/**/*.rb" ]
77
77
  spec.has_rdoc = true
78
- spec.extra_rdoc_files = %w{README COPYING LICENSE}
78
+ spec.extra_rdoc_files = %w{README COPYING LICENSE CHANGELOG}
79
79
  spec.rdoc_options << '--title' << 'pacstream Documentation' <<
80
80
  '--main' << 'README' << '-q'
81
81
  spec.add_dependency('rbook-isbn', '>= 1.0')
@@ -126,7 +126,13 @@ module RBook
126
126
  # logout from the pacstream server
127
127
  def quit
128
128
  raise PacstreamCommandError, "No current session open" unless @ftp
129
- @ftp.quit
129
+
130
+ begin
131
+ @ftp.quit
132
+ rescue Exception => e
133
+ # do nothing. Sometimes the server closes the connection and causes
134
+ # the ftp lib to freak out a little
135
+ end
130
136
  end
131
137
 
132
138
  # Deprecated way to download files from the pacstream server
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: rbook-pacstream
5
5
  version: !ruby/object:Gem::Version
6
- version: "0.7"
6
+ version: 0.7.1
7
7
  date: 2007-10-24 00:00:00 +10:00
8
8
  summary: A library for interaction with the PACSTREAM service
9
9
  require_paths:
@@ -34,8 +34,9 @@ files:
34
34
  - lib/rbook/pacstream.rb
35
35
  - specs/pacstream_spec.rb
36
36
  - Rakefile
37
- - README
37
+ - CHANGELOG
38
38
  - COPYING
39
+ - README
39
40
  - LICENSE
40
41
  test_files:
41
42
  - specs/pacstream_spec.rb
@@ -49,6 +50,7 @@ extra_rdoc_files:
49
50
  - README
50
51
  - COPYING
51
52
  - LICENSE
53
+ - CHANGELOG
52
54
  executables: []
53
55
 
54
56
  extensions: []