sendgrid4r 1.10.0 → 1.11.0

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: e26da8c2d562f33c4745134539a4cd52eab206a7
4
- data.tar.gz: 5625dabfb3c35a7caa4cd56245c2cca645498633
3
+ metadata.gz: 4cda12931359478f468bbeded469791515cf5860
4
+ data.tar.gz: 97cac6512ee508361d0af538fb139ebaa50bafa5
5
5
  SHA512:
6
- metadata.gz: 9590d767b8b961ddb477e403426fd552191f801c4ffbefb92854c245469f10c3a328ae9a580575b5b44b439e894cb18afdd44b649ed40c8fd5f83eecee6fb9b4
7
- data.tar.gz: b51a20b262ca15afd06406514ef0d7355a8c19c41e007a8a1e55eee2ed5e441e6bd0b5f1ba13753182533d963a642903aebaab0dfc983f6b76e8463fe250cffe
6
+ metadata.gz: cb38ffbfc69efab257fec97f634efb9bfa8f5a7d1e36e1c8256b0fc64b3e68f2a73eaa19cf3fc8bad245c6abb865c0266a9087d39b401828ae02b1faa74f8207
7
+ data.tar.gz: 56fbd91625138b4f67abb5734708ca474c864d8b0d79ee986701e2952db85eb19cb9f5fe6118bb3bfba1f8e7b12052bac68f683fa7063be93ffb08421941bf69
@@ -8,20 +8,10 @@ module SendGrid4r::REST
8
8
  include Request
9
9
 
10
10
  def self.url
11
- "#{BASE_URL}/mail/send/beta"
12
- end
13
-
14
- def self.warn_beta
15
- warn(
16
- '[WARN] Mail endpoint is currently in beta! Do not use '\
17
- 'this method in production. When this endpoint is ready for '\
18
- 'general release, your code might require an update in order to '\
19
- 'use the official one.'
20
- )
11
+ "#{BASE_URL}/mail/send"
21
12
  end
22
13
 
23
14
  def send(params:, &block)
24
- Mail.warn_beta
25
15
  post(@auth, Mail.url, params.to_h, &block)
26
16
  end
27
17
  end
@@ -2,5 +2,5 @@
2
2
  # SendGrid API v3 wrapper implementation.
3
3
  #
4
4
  module SendGrid4r
5
- VERSION = '1.10.0'
5
+ VERSION = '1.11.0'
6
6
  end
data/spec/client_spec.rb CHANGED
@@ -324,7 +324,7 @@ describe SendGrid4r::Client do
324
324
 
325
325
  describe 'VERSION' do
326
326
  it 'returns VERSION value' do
327
- expect(SendGrid4r::VERSION).to eq('1.10.0')
327
+ expect(SendGrid4r::VERSION).to eq('1.11.0')
328
328
  end
329
329
  end
330
330
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sendgrid4r
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - awwa500@gmail.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-03 00:00:00.000000000 Z
11
+ date: 2016-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client