planet_express 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +14 -6
- data/README.md +9 -0
- data/lib/planet_express/delivery.rb +6 -4
- data/lib/planet_express/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
planet_express (0.1.
|
4
|
+
planet_express (0.1.6)
|
5
5
|
activesupport
|
6
6
|
hpricot
|
7
7
|
log4r
|
@@ -9,9 +9,13 @@ PATH
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activesupport (
|
13
|
-
i18n (
|
14
|
-
|
12
|
+
activesupport (4.0.2)
|
13
|
+
i18n (~> 0.6, >= 0.6.4)
|
14
|
+
minitest (~> 4.2)
|
15
|
+
multi_json (~> 1.3)
|
16
|
+
thread_safe (~> 0.1)
|
17
|
+
tzinfo (~> 0.3.37)
|
18
|
+
atomic (1.1.14)
|
15
19
|
awesome_print (1.1.0)
|
16
20
|
coderay (1.0.8)
|
17
21
|
diff-lcs (1.1.3)
|
@@ -25,11 +29,12 @@ GEM
|
|
25
29
|
guard (>= 1.1)
|
26
30
|
rspec (~> 2.11)
|
27
31
|
hpricot (0.8.6)
|
28
|
-
i18n (0.6.
|
32
|
+
i18n (0.6.9)
|
29
33
|
listen (0.5.3)
|
30
34
|
log4r (1.1.10)
|
31
35
|
method_source (0.7.1)
|
32
|
-
|
36
|
+
minitest (4.7.5)
|
37
|
+
multi_json (1.8.4)
|
33
38
|
pry (0.9.9.6)
|
34
39
|
coderay (~> 1.0.5)
|
35
40
|
method_source (~> 0.7.1)
|
@@ -46,6 +51,9 @@ GEM
|
|
46
51
|
ruby_gntp (0.3.4)
|
47
52
|
slop (2.4.4)
|
48
53
|
thor (0.16.0)
|
54
|
+
thread_safe (0.1.3)
|
55
|
+
atomic
|
56
|
+
tzinfo (0.3.38)
|
49
57
|
|
50
58
|
PLATFORMS
|
51
59
|
ruby
|
data/README.md
CHANGED
@@ -51,6 +51,15 @@ Silverpop API
|
|
51
51
|
|
52
52
|
Check this file: [doc/silverpop_api.md](./doc/silverpop_api.md)
|
53
53
|
|
54
|
+
Build
|
55
|
+
------------
|
56
|
+
|
57
|
+
# do changes and update version.rb and CHANGELOG.
|
58
|
+
# git commit & push
|
59
|
+
rake build;
|
60
|
+
rake release;
|
61
|
+
|
62
|
+
|
54
63
|
Contributing
|
55
64
|
------------
|
56
65
|
|
@@ -96,11 +96,13 @@ module PlanetExpress
|
|
96
96
|
recipients_received = @response.at('RECIPIENTS_RECEIVED').innerHTML
|
97
97
|
emails_sent = @response.at('EMAILS_SENT').innerHTML
|
98
98
|
|
99
|
-
|
100
|
-
|
101
|
-
|
99
|
+
if status == 2
|
100
|
+
logger.error "PlanetExpress error: #{error_string}, response: #{response}"
|
101
|
+
end
|
102
102
|
|
103
|
-
|
103
|
+
logger.warn "PlanetExpress can't retrieve the response!" if @response.nil?
|
104
|
+
logger.info "PlanetExpress delivered (#{emails_sent}/#{recipients_received}) emails."
|
105
|
+
response
|
104
106
|
end
|
105
107
|
end
|
106
108
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: planet_express
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-07-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|