sendgrid-ruby 4.0.5 → 4.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/sendgrid/version.rb +1 -1
- data/test/sendgrid/test_sendgrid-ruby.rb +3 -7
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c328488e5b38e66a7ec4c2c97d59b9d833a62698
|
4
|
+
data.tar.gz: f1955610e4016dc4a562d3316856924784576f1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e730ebf3c7009e2be06a4709f2a69c87c83b478b76583337e65a98ad2f500870e3e8024d37a6b20c57dfe4385411b7b6823e163d2cbb6609211a1d349450699
|
7
|
+
data.tar.gz: a927b744ba0a811748c2cdafe21e3a0e298d1b83ed172f493393a25b1c4fdff66162bab71c99dceb49643470ea6bb0e9076a1571ff8ddf1a2813cb6dd025f5e0
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# Change Log
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
+
## [4.0.5] - 2016-10-18 ##
|
5
|
+
### Added
|
6
|
+
- Pull #113: Fix Travis CI Prism functionality for non-SendGrid contributors, update deprecated File.exists
|
7
|
+
|
4
8
|
## [4.0.5] - 2016-10-17 ##
|
5
9
|
### Added
|
6
10
|
- Pull #110, fixed Issue #109
|
data/lib/sendgrid/version.rb
CHANGED
@@ -5,7 +5,7 @@ require 'minitest/unit'
|
|
5
5
|
|
6
6
|
class TestAPI < MiniTest::Test
|
7
7
|
|
8
|
-
unless File.
|
8
|
+
unless File.exist?('/usr/local/bin/prism') || File.exists?(File.join(Dir.pwd, 'prism/bin/prism'))
|
9
9
|
if RUBY_PLATFORM =~ /mswin|mingw/
|
10
10
|
puts 'Please download the Windows binary (https://github.com/stoplightio/prism/releases) and place it in your /usr/local/bin directory'
|
11
11
|
else
|
@@ -26,11 +26,7 @@ class TestAPI < MiniTest::Test
|
|
26
26
|
puts 'Prism started'
|
27
27
|
|
28
28
|
def setup
|
29
|
-
|
30
|
-
host = ENV['MOCK_HOST']
|
31
|
-
else
|
32
|
-
host = "http://localhost:4010"
|
33
|
-
end
|
29
|
+
host = "http://localhost:4010"
|
34
30
|
@sg = SendGrid::API.new(api_key: "SENDGRID_API_KEY", host: host)
|
35
31
|
end
|
36
32
|
|
@@ -57,7 +53,7 @@ class TestAPI < MiniTest::Test
|
|
57
53
|
')
|
58
54
|
assert_equal(test_headers, sg.request_headers)
|
59
55
|
assert_equal("v3", sg.version)
|
60
|
-
assert_equal("4.0.
|
56
|
+
assert_equal("4.0.6", SendGrid::VERSION)
|
61
57
|
assert_instance_of(SendGrid::Client, sg.client)
|
62
58
|
end
|
63
59
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sendgrid-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elmer Thomas
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-10-
|
13
|
+
date: 2016-10-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: ruby_http_client
|