emailage 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/emailage/client.rb +1 -1
- data/lib/emailage/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 453c8d9e70ba5e4bc4cd44667be1f2ce31f899c1
|
4
|
+
data.tar.gz: 2a16b537b6f3ef7a9928f245eade0eb8314fa67b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18d6d9947af1f148c4d7cff531bceb62cf1a2e9aaba51787a6a4c651031f0d03a6f0eb191ff663ae58df01345bf2fefdf4c54253bf15cf0b2d46515771ea6239
|
7
|
+
data.tar.gz: a1b99fb447b2f710d5d0f8198538acf48b7e9534c2141ab843a19642c75243ac1d1d1aa97aac6b8b4e759012c1de5bd94359cdea353acafcc43a5444c162ea82
|
data/lib/emailage/client.rb
CHANGED
@@ -44,7 +44,7 @@ module Emailage
|
|
44
44
|
:oauth_version => 1.0
|
45
45
|
}.merge(params)
|
46
46
|
|
47
|
-
res = Typhoeus.get url, :params => params.merge(:oauth_signature => Signature.create('GET', url, params, @hmac_key))
|
47
|
+
res = Typhoeus.get url, :params => params.merge(:oauth_signature => Signature.create('GET', url, params, @hmac_key)), :sslversion => :tlsv1
|
48
48
|
|
49
49
|
# For whatever reason Emailage dispatches JSON with unreadable symbls at the start, like \xEF\xBB\xBF.
|
50
50
|
json = res.body.sub(/^[^{]+/, '')
|
data/lib/emailage/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: emailage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sergey Baev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -194,3 +194,4 @@ signing_key:
|
|
194
194
|
specification_version: 4
|
195
195
|
summary: Emailage API client written in Ruby
|
196
196
|
test_files: []
|
197
|
+
has_rdoc:
|