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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45c988f70cffd958c9fd2584996418bb298a26af
4
- data.tar.gz: e7b1f78db42b513d14d250427fa93751d2042670
3
+ metadata.gz: c328488e5b38e66a7ec4c2c97d59b9d833a62698
4
+ data.tar.gz: f1955610e4016dc4a562d3316856924784576f1b
5
5
  SHA512:
6
- metadata.gz: 9d3620dea68b81957963929757b6d40499956b522f5107c074ea61015977a6a16443411142356a0b95b96b3f2314f1dbb035054a77680eda18e75b088709c340
7
- data.tar.gz: e4effa159c2dfe07b658c41c7586491ae562894c20fb46b35d7fd45905b51de8a122d2bf4685a41a82e1530b07d1327084b501701235b7f42cac6f77748446db
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
@@ -1,3 +1,3 @@
1
1
  module SendGrid
2
- VERSION = '4.0.5'
2
+ VERSION = '4.0.6'
3
3
  end
@@ -5,7 +5,7 @@ require 'minitest/unit'
5
5
 
6
6
  class TestAPI < MiniTest::Test
7
7
 
8
- unless File.exists?('/usr/local/bin/prism') || File.exists?(File.join(Dir.pwd, 'prism/bin/prism'))
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
- if ENV['TRAVIS']
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.5", SendGrid::VERSION)
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.5
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-17 00:00:00.000000000 Z
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