sendhub 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/sendhub.rb +6 -5
- data/lib/sendhub/client.rb +1 -1
- metadata +3 -3
data/lib/sendhub.rb
CHANGED
@@ -8,14 +8,15 @@ require 'json'
|
|
8
8
|
module Sendhub
|
9
9
|
end
|
10
10
|
|
11
|
+
require 'sendhub/http'
|
12
|
+
require 'sendhub/response'
|
13
|
+
require 'sendhub/client'
|
14
|
+
|
11
15
|
if defined? Rails
|
12
16
|
if Rails.version =~ /^2./
|
17
|
+
require 'action_mailer'
|
13
18
|
require 'sendhub/rails2'
|
14
19
|
elsif Rails.version =~ /^3./
|
15
20
|
require 'sendhub/rails3'
|
16
21
|
end
|
17
|
-
end
|
18
|
-
|
19
|
-
require 'sendhub/http'
|
20
|
-
require 'sendhub/response'
|
21
|
-
require 'sendhub/client'
|
22
|
+
end
|
data/lib/sendhub/client.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sendhub
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 7
|
10
|
+
version: 0.1.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Richard Taylor
|