postageapp 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/postageapp/configuration.rb +1 -1
- data/lib/postageapp/failed_request.rb +2 -2
- data/postageapp.gemspec +2 -2
- data/test/rails_initialization_test.rb +1 -1
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.6
|
@@ -26,7 +26,7 @@ module PostageApp::FailedRequest
|
|
26
26
|
receipt_response = PostageApp::Request.new(:get_message_receipt, :uid => filename).send(true)
|
27
27
|
if receipt_response.ok?
|
28
28
|
PostageApp.logger.info "NOT RESENDING FAILED REQUEST [#{filename}]"
|
29
|
-
File.delete(file_path(filename))
|
29
|
+
File.delete(file_path(filename)) rescue nil
|
30
30
|
|
31
31
|
elsif receipt_response.not_found?
|
32
32
|
PostageApp.logger.info "RESENDING FAILED REQUEST [#{filename}]"
|
@@ -34,7 +34,7 @@ module PostageApp::FailedRequest
|
|
34
34
|
|
35
35
|
# Not a fail, so we can remove this file, if it was then
|
36
36
|
# there will be another attempt to resend
|
37
|
-
File.delete(file_path(filename)) if !response.fail?
|
37
|
+
File.delete(file_path(filename)) rescue nil if !response.fail?
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
data/postageapp.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{postageapp}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Oleg Khabarov, The Working Group Inc"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-09-08}
|
13
13
|
s.description = %q{Gem that interfaces with PostageApp.com service to send emails from web apps}
|
14
14
|
s.email = %q{oleg@twg.ca}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: postageapp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 6
|
10
|
+
version: 1.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Oleg Khabarov, The Working Group Inc
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-09-08 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|